| /foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/ |
| H A D | napi_queue.h | 58 #define CHECK_ARGS_RETURN_VOID(ctxt, condition, message) \ 61 (ctxt)->status = napi_invalid_arg; \ 62 (ctxt)->error = std::string(message); \ 68 #define CHECK_STATUS_RETURN_VOID(ctxt, message) \ 70 if ((ctxt)->status != napi_ok) { \ 71 (ctxt)->error = std::string(message); \ 72 ZLOGE("test (ctxt->status == napi_ok) failed: " message); \ 105 static napi_value AsyncWork(napi_env env, std::shared_ptr<ContextBase> ctxt, const std::string& name,
|
| H A D | js_kv_store.h | 84 static void OnDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt); 85 static void OffDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt); 87 static void OnSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt); 88 static void OffSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt);
|
| /third_party/libabigail/include/ |
| H A D | abg-comparison.h | 887 diff_context_sptr ctxt); 951 diff_context_sptr ctxt); 1099 diff_context_sptr ctxt); 1104 diff_context_sptr ctxt); 1117 diff_context_sptr ctxt); 1136 diff_context_sptr ctxt); 1164 diff_context_sptr ctxt = diff_context_sptr()); 1199 diff_context_sptr ctxt); 1205 diff_context_sptr ctxt); 1217 diff_context_sptr ctxt [all...] |
| H A D | abg-reader.h | 60 read_corpus_group_from_input(fe_iface& ctxt); 71 consider_types_not_reachable_from_public_interfaces(fe_iface& ctxt, 85 load_canonical_type_ids(fe_iface& ctxt,
|
| /third_party/libabigail/tools/ |
| H A D | abidiff.cc | 726 /// @param ctxt the diff context to update. 730 set_diff_context_from_opts(diff_context_sptr ctxt, in set_diff_context_from_opts() argument 733 ctxt->default_output_stream(&cout); in set_diff_context_from_opts() 734 ctxt->error_output_stream(&cerr); in set_diff_context_from_opts() 735 ctxt->show_leaf_changes_only(opts.leaf_changes_only); in set_diff_context_from_opts() 736 ctxt->show_hex_values(opts.show_hexadecimal_values); in set_diff_context_from_opts() 737 ctxt->show_offsets_sizes_in_bits(opts.show_offsets_sizes_in_bits); in set_diff_context_from_opts() 738 ctxt->show_relative_offset_changes(opts.show_relative_offset_changes); in set_diff_context_from_opts() 739 ctxt->show_stats_only(opts.show_stats_only); in set_diff_context_from_opts() 740 ctxt in set_diff_context_from_opts() 963 adjust_diff_context_for_kmidiff(diff_context &ctxt) adjust_diff_context_for_kmidiff() argument [all...] |
| H A D | abicompat.cc | 301 diff_context_sptr ctxt(new diff_context()); in create_diff_context() 302 ctxt->show_added_fns(false); in create_diff_context() 303 ctxt->show_added_vars(false); in create_diff_context() 304 ctxt->show_added_symbols_unreferenced_by_debug_info(false); in create_diff_context() 305 ctxt->show_linkage_names(true); in create_diff_context() 306 ctxt->show_redundant_changes(opts.show_redundant); in create_diff_context() 307 ctxt->show_locs(opts.show_locs); in create_diff_context() 309 ctxt->show_soname_change(!opts.ignore_soname); in create_diff_context() 310 ctxt->switch_categories_off in create_diff_context() 328 ctxt in create_diff_context() 354 perform_compat_check_in_normal_mode(options& opts, diff_context_sptr& ctxt, corpus_sptr app_corpus, corpus_sptr lib1_corpus, corpus_sptr lib2_corpus) perform_compat_check_in_normal_mode() argument 488 perform_compat_check_in_weak_mode(options& opts, diff_context_sptr& ctxt, corpus_sptr app_corpus, corpus_sptr lib_corpus) perform_compat_check_in_weak_mode() argument [all...] |
| H A D | kmidiff.cc | 319 /// @param ctxt the diff context to consider. 323 set_diff_context(diff_context_sptr ctxt, const options& opts) in set_diff_context() argument 325 ctxt->default_output_stream(&cout); in set_diff_context() 326 ctxt->error_output_stream(&cerr); in set_diff_context() 327 ctxt->show_relative_offset_changes(true); in set_diff_context() 328 ctxt->show_redundant_changes(false); in set_diff_context() 329 ctxt->show_locs(true); in set_diff_context() 330 ctxt->show_linkage_names(false); in set_diff_context() 331 ctxt->show_symbols_unreferenced_by_debug_info in set_diff_context() 333 ctxt in set_diff_context() [all...] |
| H A D | abilint.cc | 300 /// @param ctxt the abixml read context to consider. 305 build_type_use_tree(abigail::abixml::reader &ctxt, in build_type_use_tree() argument 309 vector<type_base_sptr>* types = get_types_from_type_id(ctxt, type_id); in build_type_use_tree() 314 artifact_use_rel = get_artifact_used_by_relation_map(ctxt); in build_type_use_tree() 451 /// @param ctxt the abixml read context to consider. 455 show_how_type_is_used(abigail::abixml::reader &ctxt, in show_how_type_is_used() argument 462 build_type_use_tree(ctxt, type_id); in show_how_type_is_used() 724 const write_context_sptr& ctxt in main() local 726 write_translation_unit(*ctxt, *tu, 0); in main() 740 const write_context_sptr& ctxt in main() local 865 const write_context_sptr ctxt = create_write_context(env, of); main() local [all...] |
| H A D | abidw.cc | 435 /// @param ctxt the context to initialize. 437 set_diff_context(diff_context_sptr& ctxt) in set_diff_context() argument 439 ctxt->default_output_stream(&cerr); in set_diff_context() 440 ctxt->error_output_stream(&cerr); in set_diff_context() 443 ctxt->switch_categories_off in set_diff_context() 748 diff_context_sptr ctxt(new diff_context); in load_corpus_and_write_abixml() 749 set_diff_context(ctxt); in load_corpus_and_write_abixml() 750 ctxt->show_locs(opts.show_locs); in load_corpus_and_write_abixml() 752 corpus_diff_sptr diff = compute_diff(corp, corp2, ctxt); in load_corpus_and_write_abixml() 879 const xml_writer::write_context_sptr& ctxt in load_kernel_corpus_group_and_write_abixml() local [all...] |
| /third_party/libabigail/src/ |
| H A D | abg-default-reporter.cc | 121 const diff_context_sptr& ctxt = d.context(); in report() local 124 if (ctxt->get_allowed_category() & TYPE_DECL_ONLY_DEF_CHANGE_CATEGORY) in report() 141 report_name_size_and_alignment_changes(first, second, ctxt, in report() 143 maybe_report_diff_for_member(first, second, ctxt, out, indent); in report() 208 report_loc_info(second, *ctxt, out); in report() 213 if (ctxt->show_leaf_changes_only()) in report() 559 diff_context_sptr ctxt = d.context(); in report_local_function_type_changes() local 625 diff_context_sptr ctxt = d.context(); in report() local 626 corpus_sptr fc = ctxt->get_first_corpus(); in report() 627 corpus_sptr sc = ctxt in report() 888 const diff_context_sptr& ctxt = d.context(); report() local 1272 const diff_context_sptr& ctxt = d.context(); report() local 1473 diff_context_sptr ctxt = d.context(); report() local 1704 const diff_context_sptr& ctxt = d.context(); report() local [all...] |
| H A D | abg-suppression.cc | 279 /// @param ctxt the context of the comparison. 287 const diff_context& ctxt) in sonames_of_binaries_match() 290 string first_soname = ctxt.get_corpus_diff()->first_corpus()->get_soname(), in sonames_of_binaries_match() 291 second_soname = ctxt.get_corpus_diff()->second_corpus()->get_soname(); in sonames_of_binaries_match() 309 /// @param ctxt the context of the comparison. 317 const diff_context &ctxt) in names_of_binaries_match() 320 string first_binary_path = ctxt.get_corpus_diff()->first_corpus()->get_path(), in names_of_binaries_match() 321 second_binary_path = ctxt.get_corpus_diff()->second_corpus()->get_path(); in names_of_binaries_match() 908 /// @param ctxt the context of comparison we are involved with. 914 const diff_context_sptr& ctxt) cons in suppresses_type() 286 sonames_of_binaries_match(const suppression_base& suppr, const diff_context& ctxt) sonames_of_binaries_match() argument 316 names_of_binaries_match(const suppression_base& suppr, const diff_context &ctxt) names_of_binaries_match() argument 2799 suppresses_function_symbol(const elf_symbol* sym, change_kind k, const diff_context_sptr ctxt) suppresses_function_symbol() argument 2887 suppresses_function_symbol(const elf_symbol_sptr sym, change_kind k, const diff_context_sptr ctxt) suppresses_function_symbol() argument [all...] |
| /third_party/node/deps/openssl/openssl/crypto/srp/ |
| H A D | srp_lib.c | 148 EVP_MD_CTX *ctxt; in SRP_Calc_x_ex() local 156 ctxt = EVP_MD_CTX_new(); in SRP_Calc_x_ex() 157 if (ctxt == NULL) in SRP_Calc_x_ex() 166 if (!EVP_DigestInit_ex(ctxt, sha1, NULL) in SRP_Calc_x_ex() 167 || !EVP_DigestUpdate(ctxt, user, strlen(user)) in SRP_Calc_x_ex() 168 || !EVP_DigestUpdate(ctxt, ":", 1) in SRP_Calc_x_ex() 169 || !EVP_DigestUpdate(ctxt, pass, strlen(pass)) in SRP_Calc_x_ex() 170 || !EVP_DigestFinal_ex(ctxt, dig, NULL) in SRP_Calc_x_ex() 171 || !EVP_DigestInit_ex(ctxt, sha1, NULL)) in SRP_Calc_x_ex() 175 if (!EVP_DigestUpdate(ctxt, c in SRP_Calc_x_ex() [all...] |
| H A D | srp_vfy.c | 554 EVP_MD_CTX *ctxt = NULL; in SRP_VBASE_get1_by_user() local 582 ctxt = EVP_MD_CTX_new(); in SRP_VBASE_get1_by_user() 583 if (ctxt == NULL in SRP_VBASE_get1_by_user() 584 || !EVP_DigestInit_ex(ctxt, md, NULL) in SRP_VBASE_get1_by_user() 585 || !EVP_DigestUpdate(ctxt, vb->seed_key, strlen(vb->seed_key)) in SRP_VBASE_get1_by_user() 586 || !EVP_DigestUpdate(ctxt, username, strlen(username)) in SRP_VBASE_get1_by_user() 587 || !EVP_DigestFinal_ex(ctxt, digs, NULL)) in SRP_VBASE_get1_by_user() 589 EVP_MD_CTX_free(ctxt); in SRP_VBASE_get1_by_user() 590 ctxt = NULL; in SRP_VBASE_get1_by_user() 600 EVP_MD_CTX_free(ctxt); in SRP_VBASE_get1_by_user() [all...] |
| /third_party/openssl/crypto/srp/ |
| H A D | srp_lib.c | 148 EVP_MD_CTX *ctxt; in SRP_Calc_x_ex() local 156 ctxt = EVP_MD_CTX_new(); in SRP_Calc_x_ex() 157 if (ctxt == NULL) in SRP_Calc_x_ex() 166 if (!EVP_DigestInit_ex(ctxt, sha1, NULL) in SRP_Calc_x_ex() 167 || !EVP_DigestUpdate(ctxt, user, strlen(user)) in SRP_Calc_x_ex() 168 || !EVP_DigestUpdate(ctxt, ":", 1) in SRP_Calc_x_ex() 169 || !EVP_DigestUpdate(ctxt, pass, strlen(pass)) in SRP_Calc_x_ex() 170 || !EVP_DigestFinal_ex(ctxt, dig, NULL) in SRP_Calc_x_ex() 171 || !EVP_DigestInit_ex(ctxt, sha1, NULL)) in SRP_Calc_x_ex() 175 if (!EVP_DigestUpdate(ctxt, c in SRP_Calc_x_ex() [all...] |
| H A D | srp_vfy.c | 555 EVP_MD_CTX *ctxt = NULL; in SRP_VBASE_get1_by_user() local 583 ctxt = EVP_MD_CTX_new(); in SRP_VBASE_get1_by_user() 584 if (ctxt == NULL in SRP_VBASE_get1_by_user() 585 || !EVP_DigestInit_ex(ctxt, md, NULL) in SRP_VBASE_get1_by_user() 586 || !EVP_DigestUpdate(ctxt, vb->seed_key, strlen(vb->seed_key)) in SRP_VBASE_get1_by_user() 587 || !EVP_DigestUpdate(ctxt, username, strlen(username)) in SRP_VBASE_get1_by_user() 588 || !EVP_DigestFinal_ex(ctxt, digs, NULL)) in SRP_VBASE_get1_by_user() 590 EVP_MD_CTX_free(ctxt); in SRP_VBASE_get1_by_user() 591 ctxt = NULL; in SRP_VBASE_get1_by_user() 601 EVP_MD_CTX_free(ctxt); in SRP_VBASE_get1_by_user() [all...] |
| /applications/standard/calendardata/calendarmanager/napi/src/ |
| H A D | event_filter_napi.cpp | 41 auto ctxt = std::make_shared<ContextBase>(); in New() local 42 auto input = [env, ctxt](size_t argc, napi_value* argv) { in New() 43 CHECK_ARGS_RETURN_VOID(ctxt, argc >= 1, "invalid arguments!"); in New() 45 ctxt->GetCbInfoSync(env, info, input); in New() 46 NAPI_ASSERT(env, ctxt->status == napi_ok, "invalid arguments!"); in New() 57 if (napi_wrap(env, ctxt->self, instance, finalize, nullptr, nullptr) != napi_ok) { in New() 62 return ctxt->self; in New()
|
| /base/time/time_service/framework/js/napi/common/include/ |
| H A D | napi_work.h | 63 static napi_value AsyncEnqueue(napi_env env, ContextBase *ctxt, const std::string &name, 65 static napi_value SyncEnqueue(napi_env env, ContextBase *ctxt, const std::string &name, 75 static void GenerateOutput(ContextBase *ctxt); 76 static napi_value GenerateOutputSync(napi_env env, ContextBase *ctxt);
|
| /base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
| H A D | js_input_method_engine_setting.cpp | 382 auto ctxt = std::make_shared<PanelContext>(); in CreatePanel() local 383 auto input = [ctxt](napi_env env, size_t argc, napi_value *argv, napi_value self) -> napi_status { in CreatePanel() 389 napi_status status = GetContext(env, argv[0], ctxt->context); in CreatePanel() 397 status = JsUtils::GetValue(env, argv[1], ctxt->panelInfo); in CreatePanel() 402 auto exec = [ctxt](AsyncCall::Context *ctx) { in CreatePanel() 403 auto ret = InputMethodAbility::GetInstance()->CreatePanel(ctxt->context, ctxt->panelInfo, ctxt->panel); in CreatePanel() 404 ctxt->SetErrorCode(ret); in CreatePanel() 406 ctxt in CreatePanel() 431 auto ctxt = std::make_shared<PanelContext>(); DestroyPanel() local [all...] |
| /third_party/curl/docs/examples/ |
| H A D | htmltitle.cpp | 243 htmlParserCtxtPtr ctxt; in parseHtml() local 246 ctxt = htmlCreatePushParserCtxt(&saxHandler, &context, "", 0, "", in parseHtml() 249 htmlParseChunk(ctxt, html.c_str(), html.size(), 0); in parseHtml() 250 htmlParseChunk(ctxt, "", 0, 1); in parseHtml() 252 htmlFreeParserCtxt(ctxt); in parseHtml()
|
| /third_party/libabigail/tests/ |
| H A D | test-abidiff.cc | 253 diff_context_sptr ctxt(new diff_context); in main() 254 ctxt->show_locs(false); in main() 256 d1= compute_diff(tu1, tu2, ctxt); in main() 258 d2 = compute_diff(corpus1, corpus2, ctxt); in main() 260 d2 = compute_diff(corpus_group1, corpus_group2, ctxt); in main()
|
| H A D | test-diff-dwarf.cc | 416 diff_context_sptr ctxt(new diff_context); in main() 417 ctxt->show_locs(false); in main() 419 corpus_diff_sptr d = compute_diff(corp0, corp1, ctxt); in main()
|
| /third_party/curl/lib/ |
| H A D | md5.c | 611 struct MD5_context *ctxt; in Curl_MD5_init() local 614 ctxt = malloc(sizeof(*ctxt)); in Curl_MD5_init() 616 if(!ctxt) in Curl_MD5_init() 617 return ctxt; in Curl_MD5_init() 619 ctxt->md5_hashctx = malloc(md5params->md5_ctxtsize); in Curl_MD5_init() 621 if(!ctxt->md5_hashctx) { in Curl_MD5_init() 622 free(ctxt); in Curl_MD5_init() 626 ctxt->md5_hash = md5params; in Curl_MD5_init() 628 if((*md5params->md5_init_func)(ctxt in Curl_MD5_init() [all...] |
| /third_party/rust/crates/serde/serde_derive_internals/src/ |
| H A D | mod.rs | 6 mod ctxt; modules 13 pub use self::ctxt::Ctxt;
|
| /third_party/rust/crates/serde/serde_derive/src/internals/ |
| H A D | mod.rs | 6 mod ctxt; modules 13 pub use self::ctxt::Ctxt;
|
| /third_party/lwip/src/netif/ppp/ |
| H A D | eap.c | 319 SHA1_CTX ctxt; in pncrypt_setkey() local 327 SHA1Init(&ctxt); in pncrypt_setkey() 328 SHA1Update(&ctxt, pn_secret, strlen(pn_secret)); in pncrypt_setkey() 330 SHA1Update(&ctxt, tbuf, strlen(tbuf)); in pncrypt_setkey() 331 SHA1Final(dig, &ctxt); in pncrypt_setkey() 650 SHA1_CTX ctxt; in eap_send_request() local 822 SHA1Init(&ctxt); in eap_send_request() 823 SHA1Update(&ctxt, &pcb->eap.es_server.ea_id, 1); in eap_send_request() 824 SHA1Update(&ctxt, pcb->eap.es_server.ea_skey, in eap_send_request() 826 SHA1Update(&ctxt, pc in eap_send_request() 1257 SHA1_CTX ctxt; global() local 1323 SHA1_CTX ctxt; eap_request() local 1736 SHA1_CTX ctxt; eap_response() local [all...] |