Home
last modified time | relevance | path

Searched refs:bs (Results 1 - 10 of 10) sorted by relevance

/base/update/updater/services/include/applypatch/
H A Dblock_writer.h29 BlockWriter(int fd, BlockSet& bs) : fd_(fd), bs_(bs), totalWritten_(0), blockIndex_(0), in BlockWriter() argument
H A Dtransfer_manager.h33 BlockSet bs; member
/base/update/updater/services/applypatch/
H A Dcommand_process.cpp45 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 Dcf_adapter_extension_openssl.c520 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 Dimagepatch_unittest.h53 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 Dx509_cert_chain_openssl.c824 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 Dhiappevent_base.h183 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 Ddo_partition.cpp70 BlockSpecific* bs = BLOCK_SPECIFIC(&dev); in DoFsync() local
74 status = fsync (bs->fd); in DoFsync()
/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_app_event_test.cpp73 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 Dhiappevent_base.cpp470 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()

Completed in 8 milliseconds