/base/update/updater/services/include/applypatch/ |
H A D | block_writer.h | 29 BlockWriter(int fd, BlockSet& bs) : fd_(fd), bs_(bs), totalWritten_(0), blockIndex_(0), in BlockWriter() argument
|
H A D | transfer_manager.h | 33 BlockSet bs;
member
|
/base/update/updater/services/applypatch/ |
H A D | command_process.cpp | 45 BlockSet bs;
in Execute() local 46 bs.ParserAndInsert(params.GetArgumentByPos(1));
in Execute() 47 LOG(INFO) << " writing " << bs.TotalBlockSize() << " blocks of new data";
in Execute() 50 writerThreadInfo->writer = std::make_unique<BlockWriter>(params.GetFileDescriptor(), bs);
in Execute() 55 LOG(ERROR) << "writer thread could not write blocks. " << bs.TotalBlockSize() * H_BLOCK_SIZE -
in Execute() 68 params.GetTransferParams()->written += bs.TotalBlockSize();
in Execute()
|
/base/security/certificate_framework/frameworks/adapter/v2.0/src/ |
H A D | cf_adapter_extension_openssl.c | 520 BASIC_CONSTRAINTS *bs = (BASIC_CONSTRAINTS *)X509V3_get_d2i(exts, NID_basic_constraints, NULL, NULL);
in CheckBasicConstraints() local 521 if (bs == NULL) {
in CheckBasicConstraints() 528 if (!bs->ca) {
in CheckBasicConstraints() 536 if ((bs->pathlen == NULL) || (bs->pathlen->type == V_ASN1_NEG_INTEGER)) {
in CheckBasicConstraints() 544 long len = ASN1_INTEGER_get(bs->pathlen);
in CheckBasicConstraints() 553 BASIC_CONSTRAINTS_free(bs);
in CheckBasicConstraints()
|
/base/update/updater/test/unittest/applypatch_test/ |
H A D | imagepatch_unittest.h | 53 FileWriter(int fd, BlockSet &bs) : fd_(fd), bs_(bs), totalWritten_(0), currentBlockLeft_(0) {} in FileWriter() argument
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_cert_chain_openssl.c | 824 static CfResult VerifyOcspSigner(OCSP_BASICRESP *bs, STACK_OF(X509) *certChain, X509 *cert) in VerifyOcspSigner() argument 842 if (OCSP_basic_verify(bs, certChain, store, 0) != 1) { in VerifyOcspSigner() 851 static CfResult ParseResp(OCSP_BASICRESP *bs, OCSP_CERTID *certid) in ParseResp() argument 857 if (certid != NULL && OCSP_resp_find_status(bs, certid, &ocspStatus, NULL, NULL, &thisUpdate, &nextUpdate)) { in ParseResp() 911 OCSP_BASICRESP *bs = OCSP_response_get1_basic(localParam.resp); in ValidateOcspLocal() local 912 if (bs == NULL) { in ValidateOcspLocal() 918 if (localParam.req != NULL && ((i = OCSP_check_nonce(localParam.req, bs)) <= 0)) { in ValidateOcspLocal() 923 OCSP_BASICRESP_free(bs); in ValidateOcspLocal() 929 CfResult res = VerifyOcspSigner(bs, x509CertChain, trustCert); in ValidateOcspLocal() 932 OCSP_BASICRESP_free(bs); in ValidateOcspLocal() [all...] |
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/ |
H A D | hiappevent_base.h | 183 void AddParam(const std::string& key, const std::vector<bool>& bs);
184 void AddParam(const std::string& key, const std::vector<int8_t>& bs);
|
/base/update/updater/services/fs_manager/ |
H A D | do_partition.cpp | 70 BlockSpecific* bs = BLOCK_SPECIFIC(&dev); in DoFsync() local 74 status = fsync (bs->fd); in DoFsync()
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
H A D | hiappevent_app_event_test.cpp | 73 const std::vector<bool> bs = {false, true};
in HWTEST_F() local 74 event.AddParam("bools_key", bs);
in HWTEST_F()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
H A D | hiappevent_base.cpp | 470 void AppEventPack::AddParam(const std::string& key, const std::vector<bool>& bs)
in AddParam() argument 473 appEventParam.value.valueUnion.bs_.assign(bs.begin(), bs.end());
in AddParam()
|