Home
last modified time | relevance | path

Searched refs:ctxt (Results 1 - 25 of 74) sorted by relevance

123

/third_party/libwebsockets/lib/misc/
H A Dsha-1.c80 #define H(n) (ctxt->h.b32[(n)])
81 #define COUNT (ctxt->count)
82 #define BCOUNT (ctxt->c.b64[0] / 8)
83 #define W(n) (ctxt->m.b32[(n)])
86 ctxt->m.b8[(COUNT % 64)] = (x); \
89 ctxt->c.b64[0] += 8; \
91 sha1_step(ctxt); \
95 ctxt->m.b8[(COUNT % 64)] = (x); \
99 sha1_step(ctxt); \
104 sha1_step(struct sha1_ctxt *ctxt) in sha1_step() argument
192 _sha1_init(struct sha1_ctxt *ctxt) _sha1_init() argument
203 sha1_pad(struct sha1_ctxt *ctxt) sha1_pad() argument
237 sha1_loop(struct sha1_ctxt *ctxt, const unsigned char *input, size_t len) sha1_loop() argument
258 sha1_result(struct sha1_ctxt *ctxt, void *digest0) sha1_result() argument
[all...]
/applications/standard/calendardata/calendarmanager/napi/src/
H A Dcalendar_manager_napi.cpp41 auto ctxt = std::make_shared<CreateCalendarContext>(); in CreateCalendar() local
42 auto input = [env, ctxt](size_t argc, napi_value* argv) { in CreateCalendar()
44 CHECK_ARGS_RETURN_VOID(ctxt, argc == 1, "invalid arguments!"); in CreateCalendar()
45 NapiUtil::GetValue(env, argv[0], ctxt->account); in CreateCalendar()
46 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid keys!"); in CreateCalendar()
47 ctxt->ref = NapiUtil::NewWithRef(env, argc, argv, reinterpret_cast<void**>(&ctxt->calendar), in CreateCalendar()
50 ctxt->GetCbInfo(env, info, input); in CreateCalendar()
52 auto execute = [ctxt]() { in CreateCalendar()
53 auto nativteCalendar = Native::CalendarManager::GetInstance().CreateCalendar(ctxt in CreateCalendar()
78 auto ctxt = std::make_shared<DelCalendarContext>(); DeleteCalendar() local
135 auto ctxt = std::make_shared<GetCalendarContext>(); GetCalendar() local
168 auto ctxt = std::make_shared<GetAllCalendarContext>(); GetAllCalendars() local
246 auto ctxt = std::make_shared<EditEventContext>(); EditEvent() local
276 LaunchEditorPage(napi_env env, std::shared_ptr<EditEventContext> ctxt) LaunchEditorPage() argument
326 auto ctxt = std::make_shared<ContextBase>(); New() local
[all...]
H A Dcalendar_napi.cpp52 auto ctxt = std::make_shared<ContextBase>(); in New() local
53 auto input = [env, ctxt](size_t argc, napi_value* argv) { in New()
54 CHECK_ARGS_RETURN_VOID(ctxt, argc <= 1, "invalid arguments!"); in New()
56 ctxt->GetCbInfoSync(env, info, input); in New()
57 NAPI_ASSERT(env, ctxt->status == napi_ok, "invalid arguments!"); in New()
68 if (napi_wrap(env, ctxt->self, calendar, finalize, nullptr, nullptr) != napi_ok) { in New()
73 return ctxt->self; in New()
98 auto ctxt = std::make_shared<AddEventContext>(); in AddEvent() local
99 auto input = [env, ctxt](size_t argc, napi_value* argv) { in AddEvent()
101 CHECK_ARGS_RETURN_VOID(ctxt, arg in AddEvent()
131 auto ctxt = std::make_shared<AddEventsContext>(); AddEvents() local
159 auto ctxt = std::make_shared<DeleteEventContext>(); DeleteEvent() local
184 auto ctxt = std::make_shared<DeleteEventsContext>(); DeleteEvents() local
209 auto ctxt = std::make_shared<UpdateEventContext>(); UpdateEvent() local
235 auto ctxt = std::make_shared<DeleteEventsContext>(); UpdateEvents() local
260 auto ctxt = std::make_shared<GetEventsContext>(); GetEvents() local
346 auto ctxt = std::make_shared<SetConfigContext>(); SetConfig() local
[all...]
/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_work.cpp74 napi_value NapiWork::AsyncEnqueue(napi_env env, ContextBase *ctxt, const std::string &name, in AsyncEnqueue() argument
77 if (ctxt->status != napi_ok) { in AsyncEnqueue()
78 auto message = CODE_TO_MESSAGE.find(ctxt->errCode)->second + ". Error message: " + ctxt->errMessage; in AsyncEnqueue()
79 NapiUtils::ThrowError(env, message.c_str(), ctxt->errCode); in AsyncEnqueue()
80 delete ctxt; in AsyncEnqueue()
83 ctxt->execute = std::move(execute); in AsyncEnqueue()
84 ctxt->complete = std::move(complete); in AsyncEnqueue()
86 if (ctxt->callbackRef == nullptr) { in AsyncEnqueue()
87 napi_create_promise(ctxt in AsyncEnqueue()
127 GenerateOutput(ContextBase *ctxt) GenerateOutput() argument
166 SyncEnqueue(napi_env env, ContextBase *ctxt, const std::string &name, NapiExecute execute, NapiComplete complete) SyncEnqueue() argument
190 GenerateOutputSync(napi_env env, ContextBase *ctxt) GenerateOutputSync() argument
[all...]
/third_party/curl/lib/
H A Dhmac.c60 struct HMAC_context *ctxt; in Curl_HMAC_init() local
65 i = sizeof(*ctxt) + 2 * hashparams->hmac_ctxtsize + in Curl_HMAC_init()
67 ctxt = malloc(i); in Curl_HMAC_init()
69 if(!ctxt) in Curl_HMAC_init()
70 return ctxt; in Curl_HMAC_init()
72 ctxt->hmac_hash = hashparams; in Curl_HMAC_init()
73 ctxt->hmac_hashctxt1 = (void *) (ctxt + 1); in Curl_HMAC_init()
74 ctxt->hmac_hashctxt2 = (void *) ((char *) ctxt in Curl_HMAC_init()
107 Curl_HMAC_update(struct HMAC_context *ctxt, const unsigned char *data, unsigned int len) Curl_HMAC_update() argument
117 Curl_HMAC_final(struct HMAC_context *ctxt, unsigned char *result) Curl_HMAC_final() argument
158 struct HMAC_context *ctxt = Curl_hmacit() local
[all...]
/third_party/libabigail/src/
H A Dabg-writer.cc946 /// @param ctxt the context of the parsing.
952 do_indent_to_level(write_context& ctxt, in do_indent_to_level() argument
956 do_indent(ctxt.get_ostream(), in do_indent_to_level()
957 get_indent_to_level(ctxt, initial_indent, level)); in do_indent_to_level()
963 /// @param ctxt the context of the parsing.
969 get_indent_to_level(write_context& ctxt, unsigned initial_indent, in get_indent_to_level() argument
973 level * ctxt.get_config().get_xml_element_indent(); in get_indent_to_level()
988 /// @param ctxt the context of the parsing.
996 write_context& ctxt, in annotate()
1002 if (!ctxt in annotate()
995 annotate(const T& decl, write_context& ctxt, unsigned indent) annotate() argument
1028 annotate(const elf_symbol_sptr& sym, write_context& ctxt, unsigned indent) annotate() argument
1059 annotate(const typedef_decl_sptr& typedef_decl, write_context& ctxt, unsigned indent) annotate() argument
1095 annotate(const function_type_sptr& function_type, write_context& ctxt, unsigned indent) annotate() argument
1140 annotate(const function_decl_sptr& fn, write_context& ctxt, unsigned indent) annotate() argument
1190 annotate(const function_decl::parameter_sptr& parm, write_context& ctxt, unsigned indent) annotate() argument
1236 write_location(const location& loc, write_context& ctxt) write_location() argument
1267 write_location(const decl_base_sptr& decl, write_context& ctxt) write_location() argument
1855 write_naming_typedef(const decl_base_sptr& decl, write_context& ctxt) write_naming_typedef() argument
1880 write_type(const type_base_sptr& type, write_context& ctxt, unsigned indent) write_type() argument
1920 write_decl(const decl_base_sptr& decl, write_context& ctxt, unsigned indent) write_decl() argument
1969 write_decl_in_scope(const decl_base_sptr& decl, write_context& ctxt, unsigned initial_indent) write_decl_in_scope() argument
2079 set_show_locs(write_context& ctxt, bool flag) set_show_locs() argument
2091 set_annotate(write_context& ctxt, bool flag) set_annotate() argument
2102 set_ostream(write_context& ctxt, ostream& os) set_ostream() argument
2114 set_write_architecture(write_context& ctxt, bool flag) set_write_architecture() argument
2126 set_write_corpus_path(write_context& ctxt, bool flag) set_write_corpus_path() argument
2138 set_write_comp_dir(write_context& ctxt, bool flag) set_write_comp_dir() argument
2150 set_short_locs(write_context& ctxt, bool flag) set_short_locs() argument
2162 set_write_parameter_names(write_context& ctxt, bool flag) set_write_parameter_names() argument
2174 set_write_elf_needed(write_context& ctxt, bool flag) set_write_elf_needed() argument
2189 set_write_default_sizes(write_context& ctxt, bool flag) set_write_default_sizes() argument
2200 set_type_id_style(write_context& ctxt, type_id_style_kind style) set_type_id_style() argument
2216 write_canonical_types_of_scope(const scope_decl &scope, write_context &ctxt, const unsigned indent, bool is_member_type = false) write_canonical_types_of_scope() argument
2253 referenced_type_should_be_emitted(const type_base *t, const write_context& ctxt, const translation_unit& tu, bool tu_is_last) referenced_type_should_be_emitted() argument
2278 write_referenced_types(write_context & ctxt, const translation_unit& tu, const unsigned indent, bool is_last) write_referenced_types() argument
2393 write_translation_unit(write_context& ctxt, const translation_unit& tu, const unsigned indent, bool is_last) write_translation_unit() argument
2516 write_type_decl(const type_decl_sptr& d, write_context& ctxt, unsigned indent) write_type_decl() argument
2556 write_namespace_decl(const namespace_decl_sptr& decl, write_context& ctxt, unsigned indent) write_namespace_decl() argument
2615 write_qualified_type_def(const qualified_type_def_sptr& decl, const string& id, write_context& ctxt, unsigned indent) write_qualified_type_def() argument
2644 write_location(static_pointer_cast<decl_base>(decl), ctxt); write_qualified_type_def() local
2668 write_qualified_type_def(const qualified_type_def_sptr& decl, write_context& ctxt, unsigned indent) write_qualified_type_def() argument
2691 write_pointer_type_def(const pointer_type_def_sptr& decl, const string& id, write_context& ctxt, unsigned indent) write_pointer_type_def() argument
2725 write_location(static_pointer_cast<decl_base>(decl), ctxt); write_pointer_type_def() local
2743 write_pointer_type_def(const pointer_type_def_sptr& decl, write_context& ctxt, unsigned indent) write_pointer_type_def() argument
2766 write_reference_type_def(const reference_type_def_sptr& decl, const string& id, write_context& ctxt, unsigned indent) write_reference_type_def() argument
2806 write_location(static_pointer_cast<decl_base>(decl), ctxt); write_reference_type_def() local
2825 write_reference_type_def(const reference_type_def_sptr& decl, write_context& ctxt, unsigned indent) write_reference_type_def() argument
2840 write_array_subrange_type(const array_type_def::subrange_sptr& decl, write_context& ctxt, unsigned indent) write_array_subrange_type() argument
2914 write_array_type_def(const array_type_def_sptr& decl, const string& id, write_context& ctxt, unsigned indent) write_array_type_def() argument
2943 write_location(static_pointer_cast<decl_base>(decl), ctxt); write_array_type_def() local
2980 write_array_type_def(const array_type_def_sptr& decl, write_context& ctxt, unsigned indent) write_array_type_def() argument
3003 write_enum_type_decl(const enum_type_decl_sptr& d, const string& id, write_context& ctxt, unsigned indent) write_enum_type_decl() argument
3074 write_enum_type_decl(const enum_type_decl_sptr& decl, write_context& ctxt, unsigned indent) write_enum_type_decl() argument
3090 write_elf_symbol(const elf_symbol_sptr& sym, write_context& ctxt, unsigned indent) write_elf_symbol() argument
3158 write_elf_symbols_table(const elf_symbols& syms, write_context& ctxt, unsigned indent) write_elf_symbols_table() argument
3182 write_elf_needed(const vector<string>& needed, write_context& ctxt, unsigned indent) write_elf_needed() argument
3219 write_typedef_decl(const typedef_decl_sptr& decl, const string& id, write_context& ctxt, unsigned indent) write_typedef_decl() argument
3265 write_typedef_decl(const typedef_decl_sptr& decl, write_context& ctxt, unsigned indent) write_typedef_decl() argument
3283 write_var_decl(const var_decl_sptr& decl, write_context& ctxt, bool write_linkage_name, unsigned indent) write_var_decl() argument
3335 write_function_decl(const function_decl_sptr& decl, write_context& ctxt, bool skip_first_parm, unsigned indent) write_function_decl() argument
3434 write_function_type(const function_type_sptr& fn_type, write_context& ctxt, unsigned indent) write_function_type() argument
3538 write_class_decl_opening_tag(const class_decl_sptr& decl, const string& id, write_context& ctxt, unsigned indent, bool prepare_to_handle_empty) write_class_decl_opening_tag() argument
3610 write_union_decl_opening_tag(const union_decl_sptr& decl, const string& id, write_context& ctxt, unsigned indent, bool prepare_to_handle_empty) write_union_decl_opening_tag() argument
3671 write_class_decl(const class_decl_sptr& d, const string& id, write_context& ctxt, unsigned indent) write_class_decl() argument
3932 write_class_decl(const class_decl_sptr& decl, write_context& ctxt, unsigned indent) write_class_decl() argument
3947 write_union_decl(const union_decl_sptr& d, const string& id, write_context& ctxt, unsigned indent) write_union_decl() argument
4078 write_union_decl(const union_decl_sptr& decl, write_context& ctxt, unsigned indent) write_union_decl() argument
4093 write_member_type_opening_tag(const type_base_sptr& t, write_context& ctxt, unsigned indent) write_member_type_opening_tag() argument
4124 write_member_type(const type_base_sptr& t, write_context& ctxt, unsigned indent) write_member_type() argument
4139 id, ctxt, nb_ws) write_member_type() local
4141 id, ctxt, nb_ws) write_member_type() local
4143 id, ctxt, nb_ws) write_member_type() local
4145 id, ctxt, nb_ws) write_member_type() local
4147 id, ctxt, nb_ws) write_member_type() local
4149 id, ctxt, nb_ws) write_member_type() local
4151 id, ctxt, nb_ws)); write_member_type() local
4169 write_type_tparameter(const type_tparameter_sptr decl, write_context& ctxt, unsigned indent) write_type_tparameter() argument
4211 write_non_type_tparameter( const shared_ptr<non_type_tparameter> decl, write_context& ctxt, unsigned indent) write_non_type_tparameter() argument
4247 write_template_tparameter(const template_tparameter_sptr decl, write_context& ctxt, unsigned indent) write_template_tparameter() argument
4295 write_type_composition(const shared_ptr<type_composition> decl, write_context& ctxt, unsigned indent) write_type_composition() argument
4338 write_template_parameter(const shared_ptr<template_parameter> decl, write_context& ctxt, unsigned indent) write_template_parameter() argument
4361 write_template_parameters(const shared_ptr<template_decl> tmpl, write_context& ctxt, unsigned indent) write_template_parameters() argument
4383 write_function_tdecl(const shared_ptr<function_tdecl> decl, write_context& ctxt, unsigned indent) write_function_tdecl() argument
4428 write_class_tdecl(const shared_ptr<class_tdecl> decl, write_context& ctxt, unsigned indent) write_class_tdecl() argument
4462 write_version_info(write_context& ctxt) write_version_info() argument
4488 write_corpus(write_context& ctxt, const corpus_sptr& corpus, unsigned indent, bool member_of_group) write_corpus() argument
4606 write_corpus_group(write_context& ctxt, const corpus_group_sptr& group, unsigned indent) write_corpus_group() argument
4845 write_type_record(xml_writer::write_context& ctxt, const type_base* type, ostream& o) write_type_record() argument
4886 write_canonical_type_ids(xml_writer::write_context& ctxt, ostream& o) write_canonical_type_ids() argument
4923 write_canonical_type_ids(xml_writer::write_context& ctxt, const string &file_path) write_canonical_type_ids() argument
[all...]
H A Dabg-reporter-priv.cc35 /// @param ctxt the current diff context.
39 emit_num_value(uint64_t value, const diff_context& ctxt, ostream& out) in emit_num_value() argument
41 if (ctxt.show_hex_values()) in emit_num_value()
53 /// @param ctxt the current diff context to consider.
58 maybe_convert_bits_to_bytes(uint64_t bits, const diff_context& ctxt) in maybe_convert_bits_to_bytes() argument
60 if (ctxt.show_offsets_sizes_in_bits()) in maybe_convert_bits_to_bytes()
88 /// @param ctxt the current diff context to consider.
99 const diff_context& ctxt, in show_numerical_change()
105 ? maybe_convert_bits_to_bytes(old_bits, ctxt) in show_numerical_change()
108 ? maybe_convert_bits_to_bytes(new_bits, ctxt) in show_numerical_change()
96 show_numerical_change(const string& what, uint64_t old_bits, uint64_t new_bits, const diff_context& ctxt, ostream& out, bool show_bits_or_byte) show_numerical_change() argument
139 show_offset_or_size(const string& what, uint64_t value, const diff_context& ctxt, ostream& out) show_offset_or_size() argument
169 show_offset_or_size(uint64_t value, const diff_context& ctxt, ostream& out) show_offset_or_size() argument
182 represent(const diff_context& ctxt, method_decl_sptr mem_fn, ostream& out) represent() argument
206 ctxt, out); represent() local
232 represent_data_member(var_decl_sptr d, const diff_context_sptr& ctxt, ostream& out, const string& indent) represent_data_member() argument
279 maybe_show_relative_offset_change(const var_diff_sptr &diff, diff_context& ctxt, ostream& out) maybe_show_relative_offset_change() argument
338 maybe_show_relative_size_change(const var_diff_sptr &diff, diff_context& ctxt, ostream& out) maybe_show_relative_size_change() argument
391 represent(const var_diff_sptr &diff, diff_context_sptr ctxt, ostream& out, const string& indent, bool local_only) represent() argument
727 report_size_and_alignment_changes(type_or_decl_base_sptr first, type_or_decl_base_sptr second, diff_context_sptr ctxt, ostream& out, const string& indent) report_size_and_alignment_changes() argument
845 report_loc_info(const type_or_decl_base_sptr& tod, const diff_context& ctxt, ostream &out) report_loc_info() argument
888 report_name_size_and_alignment_changes(decl_base_sptr first, decl_base_sptr second, diff_context_sptr ctxt, ostream& out, const string& indent) report_name_size_and_alignment_changes() argument
1032 maybe_report_diff_for_member(const decl_base_sptr& decl1, const decl_base_sptr& decl2, const diff_context_sptr& ctxt, ostream& out, const string& indent) maybe_report_diff_for_member() argument
1085 maybe_report_diff_for_symbol(const elf_symbol_sptr& symbol1, const elf_symbol_sptr& symbol2, const diff_context_sptr& ctxt, ostream& out, const string& indent) maybe_report_diff_for_symbol() argument
1236 const diff_context_sptr& ctxt = d.context(); maybe_report_unreachable_type_changes() local
1347 const diff_context_sptr &ctxt = d->context(); maybe_report_interfaces_impacted_by_diff() local
1420 const diff_context_sptr& ctxt = d.context(); maybe_report_data_members_replaced_by_anon_dm() local
[all...]
H A Dabg-reporter-priv.h25 if (diff_context_sptr ctxt = d.context()) \
26 if (diff_sptr _diff_ = ctxt->get_canonical_diff_for(S1, S2)) \
107 maybe_convert_bits_to_bytes(uint64_t bits, const diff_context& ctxt);
110 emit_num_value(uint64_t value, const diff_context& ctxt, ostream& out);
115 const diff_context& ctxt,
120 const diff_context& ctxt,
127 const diff_context& ctxt,
132 represent(const diff_context& ctxt,
138 const diff_context_sptr& ctxt,
144 diff_context& ctxt,
[all...]
H A Dabg-leaf-reporter.cc484 const diff_context_sptr& ctxt = d.context(); in report() local
487 if (ctxt->get_allowed_category() & TYPE_DECL_ONLY_DEF_CHANGE_CATEGORY) in report()
511 d.get_priv()->count_filtered_deleted_mem_fns(ctxt); in report()
520 if (!(ctxt->get_allowed_category() in report()
527 represent(*ctxt, mem_fun, out); in report()
532 num_filtered = d.get_priv()->count_filtered_inserted_mem_fns(ctxt); in report()
541 if (!(ctxt->get_allowed_category() in report()
548 represent(*ctxt, mem_fun, out); in report()
560 if (!(ctxt->get_allowed_category() in report()
602 represent_data_member(data_mem, ctxt, ou in report()
689 const diff_context_sptr& ctxt = d.context(); report() local
781 diff_context_sptr ctxt = d.context(); report() local
1001 const diff_context_sptr& ctxt = d.context(); report() local
[all...]
H A Dabg-comparison.cc1849 /// @param ctxt the context of the diff. Note that this context
1854 diff_context_sptr ctxt) in diff()
1856 ctxt, NO_CHANGE_CATEGORY, in diff()
2455 diff_context_sptr ctxt) in type_diff_base()
2456 : diff(first_subject, second_subject, ctxt), in type_diff_base()
2472 /// @param ctxt the context of the diff. This object must stay alive
2477 diff_context_sptr ctxt) in decl_diff_base()
2478 : diff(first_subject, second_subject, ctxt), in decl_diff_base()
2535 /// @param ctxt the context of the diff. Note that this context
2541 diff_context_sptr ctxt) in distinct_diff()
1852 diff(type_or_decl_base_sptr first_subject, type_or_decl_base_sptr second_subject, diff_context_sptr ctxt) diff() argument
2453 type_diff_base(type_base_sptr first_subject, type_base_sptr second_subject, diff_context_sptr ctxt) type_diff_base() argument
2475 decl_diff_base(decl_base_sptr first_subject, decl_base_sptr second_subject, diff_context_sptr ctxt) decl_diff_base() argument
2539 distinct_diff(type_or_decl_base_sptr first, type_or_decl_base_sptr second, diff_context_sptr ctxt) distinct_diff() argument
2656 compute_diff_for_distinct_kinds(const type_or_decl_base_sptr first, const type_or_decl_base_sptr second, diff_context_sptr ctxt) compute_diff_for_distinct_kinds() argument
2692 try_to_diff(const type_or_decl_base_sptr first, const type_or_decl_base_sptr second, diff_context_sptr ctxt) try_to_diff() argument
2721 try_to_diff(const type_or_decl_base_sptr first, const type_or_decl_base_sptr second, diff_context_sptr ctxt) try_to_diff() argument
2762 try_to_diff_distinct_kinds(const type_or_decl_base_sptr first, const type_or_decl_base_sptr second, diff_context_sptr ctxt) try_to_diff_distinct_kinds() argument
2785 compute_diff_for_types(const type_or_decl_base_sptr& first, const type_or_decl_base_sptr& second, const diff_context_sptr& ctxt) compute_diff_for_types() argument
3098 compute_diff_for_decls(const decl_base_sptr first, const decl_base_sptr second, diff_context_sptr ctxt) compute_diff_for_decls() argument
3129 compute_diff(const decl_base_sptr first, const decl_base_sptr second, diff_context_sptr ctxt) compute_diff() argument
3159 compute_diff(const type_base_sptr first, const type_base_sptr second, diff_context_sptr ctxt) compute_diff() argument
3225 var_diff(var_decl_sptr first, var_decl_sptr second, diff_sptr type_diff, diff_context_sptr ctxt) var_diff() argument
3311 compute_diff(const var_decl_sptr first, const var_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
3341 pointer_diff(pointer_type_def_sptr first, pointer_type_def_sptr second, diff_sptr underlying, diff_context_sptr ctxt) pointer_diff() argument
3442 compute_diff(pointer_type_def_sptr first, pointer_type_def_sptr second, diff_context_sptr ctxt) compute_diff() argument
3478 array_diff(const array_type_def_sptr first, const array_type_def_sptr second, diff_sptr element_type_diff, diff_context_sptr ctxt) array_diff() argument
3595 compute_diff(array_type_def_sptr first, array_type_def_sptr second, diff_context_sptr ctxt) compute_diff() argument
3626 reference_diff(const reference_type_def_sptr first, const reference_type_def_sptr second, diff_sptr underlying, diff_context_sptr ctxt) reference_diff() argument
3727 compute_diff(reference_type_def_sptr first, reference_type_def_sptr second, diff_context_sptr ctxt) compute_diff() argument
3758 qualified_type_diff(qualified_type_def_sptr first, qualified_type_def_sptr second, diff_sptr under, diff_context_sptr ctxt) qualified_type_diff() argument
3874 compute_diff(const qualified_type_def_sptr first, const qualified_type_def_sptr second, diff_context_sptr ctxt) compute_diff() argument
3988 enum_diff(const enum_type_decl_sptr first, const enum_type_decl_sptr second, const diff_sptr underlying_type_diff, const diff_context_sptr ctxt) enum_diff() argument
4089 compute_diff(const enum_type_decl_sptr first, const enum_type_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
4314 count_filtered_changed_mem_fns(const diff_context_sptr& ctxt) count_filtered_changed_mem_fns() argument
4353 count_filtered_inserted_mem_fns(const diff_context_sptr& ctxt) count_filtered_inserted_mem_fns() argument
4386 count_filtered_deleted_mem_fns(const diff_context_sptr& ctxt) count_filtered_deleted_mem_fns() argument
4838 class_or_union_diff(class_or_union_sptr first_scope, class_or_union_sptr second_scope, diff_context_sptr ctxt) class_or_union_diff() argument
5503 class_diff(class_decl_sptr first_scope, class_decl_sptr second_scope, diff_context_sptr ctxt) class_diff() argument
5662 compute_diff(const class_decl_sptr first, const class_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
5782 base_diff(class_decl::base_spec_sptr first, class_decl::base_spec_sptr second, class_diff_sptr underlying, diff_context_sptr ctxt) base_diff() argument
5884 compute_diff(const class_decl::base_spec_sptr first, const class_decl::base_spec_sptr second, diff_context_sptr ctxt) compute_diff() argument
5939 union_diff(union_decl_sptr first_union, union_decl_sptr second_union, diff_context_sptr ctxt) union_diff() argument
5999 compute_diff(const union_decl_sptr first, const union_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
6274 scope_diff(scope_decl_sptr first_scope, scope_decl_sptr second_scope, diff_context_sptr ctxt) scope_diff() argument
6497 compute_diff(const scope_decl_sptr first, const scope_decl_sptr second, scope_diff_sptr d, diff_context_sptr ctxt) compute_diff() argument
6530 compute_diff(const scope_decl_sptr first_scope, const scope_decl_sptr second_scope, diff_context_sptr ctxt) compute_diff() argument
6554 fn_parm_diff(const function_decl::parameter_sptr first, const function_decl::parameter_sptr second, diff_context_sptr ctxt) fn_parm_diff() argument
6673 compute_diff(const function_decl::parameter_sptr first, const function_decl::parameter_sptr second, diff_context_sptr ctxt) compute_diff() argument
6819 function_type_diff(const function_type_sptr first, const function_type_sptr second, diff_context_sptr ctxt) function_type_diff() argument
6966 compute_diff(const function_type_sptr first, const function_type_sptr second, diff_context_sptr ctxt) compute_diff() argument
7022 function_decl_diff(const function_decl_sptr first, const function_decl_sptr second, diff_context_sptr ctxt) function_decl_diff() argument
7106 compute_diff(const function_decl_sptr first, const function_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
7145 type_decl_diff(const type_decl_sptr first, const type_decl_sptr second, diff_context_sptr ctxt) type_decl_diff() argument
7234 compute_diff(const type_decl_sptr first, const type_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
7279 typedef_diff(const typedef_decl_sptr first, const typedef_decl_sptr second, const diff_sptr underlying, diff_context_sptr ctxt) typedef_diff() argument
7384 compute_diff(const typedef_decl_sptr first, const typedef_decl_sptr second, diff_context_sptr ctxt) compute_diff() argument
7441 translation_unit_diff(translation_unit_sptr first, translation_unit_sptr second, diff_context_sptr ctxt) translation_unit_diff() argument
7500 compute_diff(const translation_unit_sptr first, const translation_unit_sptr second, diff_context_sptr ctxt) compute_diff() argument
7817 diff_stats(diff_context_sptr ctxt) diff_stats() argument
9194 function_is_suppressed(const function_decl* fn, const suppression_sptr suppr, function_suppression::change_kind k, const diff_context_sptr ctxt) function_is_suppressed() argument
9221 variable_is_suppressed(const var_decl* var, const suppression_sptr suppr, variable_suppression::change_kind k, const diff_context_sptr ctxt) variable_is_suppressed() argument
9238 diff_context_sptr ctxt = get_context(); apply_supprs_to_added_removed_fns_vars_unreachable_types() local
9744 diff_context_sptr ctxt = get_context(); apply_filters_and_compute_diff_stats() local
9919 diff_context_sptr ctxt = get_context(); emit_diff_stats() local
10156 diff_context_sptr ctxt = get_context(); categorize_redundant_changed_sub_nodes() local
10217 diff_context_sptr ctxt = get_context(); maybe_dump_diff_tree() local
10289 corpus_diff(corpus_sptr first, corpus_sptr second, diff_context_sptr ctxt) corpus_diff() argument
10777 diff_context_sptr ctxt = d->context(); visit_begin() local
10874 const diff_context_sptr &ctxt = context(); traverse() local
10896 const diff_context_sptr &ctxt = context(); traverse() local
10922 const diff_context_sptr &ctxt = context(); traverse() local
10951 compute_diff(const corpus_sptr f, const corpus_sptr s, diff_context_sptr ctxt) compute_diff() argument
11039 compute_diff(const corpus_group_sptr& f, const corpus_group_sptr& s, diff_context_sptr ctxt) compute_diff() argument
[all...]
/third_party/libabigail/include/
H A Dabg-writer.h43 set_show_locs(write_context& ctxt, bool flag);
46 set_annotate(write_context& ctxt, bool flag);
49 set_write_architecture(write_context& ctxt, bool flag);
52 set_write_corpus_path(write_context& ctxt, bool flag);
55 set_write_comp_dir(write_context& ctxt, bool flag);
58 set_write_elf_needed(write_context& ctxt, bool flag);
61 set_write_default_sizes(write_context& ctxt, bool flag);
64 set_short_locs(write_context& ctxt, bool flag);
67 set_write_parameter_names(write_context& ctxt, bool flag);
70 set_type_id_style(write_context& ctxt, type_id_style_kin
83 set_common_options(write_context& ctxt, const OPTS& opts) set_common_options() argument
[all...]
H A Dabg-comparison.h887 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...]
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_text_input_client_engine.cpp77 auto ctxt = std::make_shared<MoveCursorContext>(); in MoveCursor() local
78 auto input = [ctxt](napi_env env, size_t argc, napi_value *argv, napi_value self) -> napi_status { in MoveCursor()
82 auto status = JsUtils::GetValue(env, argv[0], ctxt->num); in MoveCursor()
84 PARAM_CHECK_RETURN(env, ctxt->num >= 0, "direction should be not less than 0!", TYPE_NONE, in MoveCursor()
88 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveCursor()
89 int32_t code = InputMethodAbility::GetInstance()->MoveCursor(ctxt->num); in MoveCursor()
91 ctxt->status = napi_ok; in MoveCursor()
92 ctxt->SetState(ctxt->status); in MoveCursor()
94 ctxt in MoveCursor()
175 GetSelectRange(napi_env env, napi_value argv, std::shared_ptr<SelectContext> ctxt) GetSelectRange() argument
193 GetSelectMovement(napi_env env, napi_value argv, std::shared_ptr<SelectContext> ctxt) GetSelectMovement() argument
210 auto ctxt = std::make_shared<SendKeyFunctionContext>(); SendKeyFunction() local
239 auto ctxt = std::make_shared<SendPrivateCommandContext>(); SendPrivateCommand() local
295 auto ctxt = std::make_shared<DeleteForwardContext>(); DeleteForward() local
349 auto ctxt = std::make_shared<DeleteBackwardContext>(); DeleteBackward() local
381 auto ctxt = std::make_shared<InsertTextContext>(); InsertText() local
463 auto ctxt = std::make_shared<GetForwardContext>(); GetForward() local
523 auto ctxt = std::make_shared<GetBackwardContext>(); GetBackward() local
569 auto ctxt = std::make_shared<GetEditorAttributeContext>(); GetEditorAttribute() local
598 auto ctxt = std::make_shared<SelectContext>(); SelectByRange() local
633 auto ctxt = std::make_shared<SelectContext>(); SelectByRangeSync() local
657 auto ctxt = std::make_shared<SelectContext>(); SelectByMovementSync() local
674 auto ctxt = std::make_shared<SelectContext>(); SelectByMovement() local
702 auto ctxt = std::make_shared<SendExtendActionContext>(); SendExtendAction() local
728 auto ctxt = std::make_shared<GetTextIndexAtCursorContext>(); GetTextIndexAtCursor() local
755 auto ctxt = std::make_shared<SetPreviewTextContext>(); SetPreviewText() local
815 auto ctxt = std::make_shared<FinishTextPreviewContext>(); FinishTextPreview() local
864 auto ctxt = std::make_shared<GetCallingWindowInfoContext>(); GetCallingWindowInfo() local
[all...]
H A Djs_panel.cpp117 auto ctxt = std::make_shared<PanelContentContext>(env, info); in SetUiContent() local
118 auto input = [ctxt](napi_env env, size_t argc, napi_value *argv, napi_value self) -> napi_status { in SetUiContent()
122 PARAM_CHECK_RETURN(env, JsUtils::GetValue(env, argv[0], ctxt->path) == napi_ok, in SetUiContent()
135 ctxt->contentStorage = contentStorage; in SetUiContent()
141 auto exec = [ctxt](AsyncCall::Context *ctx) { ctxt->SetState(napi_ok); }; in SetUiContent()
142 auto output = [ctxt](napi_env env, napi_value *result) -> napi_status { in SetUiContent()
143 CHECK_RETURN(ctxt->inputMethodPanel != nullptr, "inputMethodPanel is nullptr!", napi_generic_failure); in SetUiContent()
144 auto code = ctxt->inputMethodPanel->SetUiContent(ctxt in SetUiContent()
160 auto ctxt = std::make_shared<PanelContentContext>(env, info); Resize() local
205 auto ctxt = std::make_shared<PanelContentContext>(env, info); MoveTo() local
259 auto ctxt = std::make_shared<PanelContentContext>(env, info); Show() local
277 auto ctxt = std::make_shared<PanelContentContext>(env, info); Hide() local
412 CheckParam(napi_env env, size_t argc, napi_value *argv, std::shared_ptr<PanelContentContext> ctxt) CheckParam() argument
443 auto ctxt = std::make_shared<PanelContentContext>(env, info); AdjustPanelRect() local
[all...]
H A Djs_keyboard_controller_engine.cpp89 auto ctxt = std::make_shared<HideContext>(); in Hide() local
90 auto input = [ctxt](napi_env env, size_t argc, napi_value *argv, napi_value self) -> napi_status { in Hide()
93 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide()
96 ctxt->status = napi_ok; in Hide()
97 ctxt->SetState(ctxt->status); in Hide()
99 ctxt->SetErrorCode(code); in Hide()
102 ctxt->SetAction(std::move(input)); in Hide()
104 AsyncCall asyncCall(env, info, ctxt, 1); in Hide()
110 auto ctxt in HideKeyboard() local
126 auto ctxt = std::make_shared<ExitContext>(); ExitCurrentInputType() local
[all...]
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Djs_input_method.cpp47 std::shared_ptr<SwitchInputMethodContext> ctxt) in GetInputMethodProperty()
58 status = JsUtils::GetValue(env, result, ctxt->packageName); in GetInputMethodProperty()
62 status = JsUtils::GetValue(env, result, ctxt->methodId); in GetInputMethodProperty()
64 if (ctxt->packageName.empty() || ctxt->methodId.empty()) { in GetInputMethodProperty()
67 status = JsUtils::GetValue(env, result, ctxt->packageName); in GetInputMethodProperty()
72 status = JsUtils::GetValue(env, result, ctxt->methodId); in GetInputMethodProperty()
75 PARAM_CHECK_RETURN(env, (!ctxt->packageName.empty() && !ctxt->methodId.empty()), in GetInputMethodProperty()
77 IMSA_HILOGD("methodId: %{public}s, packageName: %{public}s.", ctxt in GetInputMethodProperty()
46 GetInputMethodProperty(napi_env env, napi_value argv, std::shared_ptr<SwitchInputMethodContext> ctxt) GetInputMethodProperty() argument
81 GetInputMethodSubProperty(napi_env env, napi_value argv, std::shared_ptr<SwitchInputMethodContext> ctxt) GetInputMethodSubProperty() argument
236 auto ctxt = std::make_shared<SwitchInputMethodContext>(); SwitchInputMethod() local
335 auto ctxt = std::make_shared<SwitchInputMethodContext>(); SwitchCurrentInputMethodSubtype() local
371 auto ctxt = std::make_shared<SwitchInputMethodContext>(); SwitchCurrentInputMethodAndSubtype() local
[all...]
H A Djs_get_input_method_setting.cpp163 std::shared_ptr<ListInputContext> ctxt) in GetInputMethodProperty()
171 JsUtils::GetValue(env, result, ctxt->property.name); in GetInputMethodProperty()
175 JsUtils::GetValue(env, result, ctxt->property.id); in GetInputMethodProperty()
177 if (ctxt->property.name.empty() || ctxt->property.id.empty()) { in GetInputMethodProperty()
180 JsUtils::GetValue(env, result, ctxt->property.name); in GetInputMethodProperty()
184 JsUtils::GetValue(env, result, ctxt->property.id); in GetInputMethodProperty()
186 PARAM_CHECK_RETURN(env, (!ctxt->property.name.empty() && !ctxt->property.id.empty()), in GetInputMethodProperty()
188 IMSA_HILOGD("methodId: %{public}s, packageName: %{public}s.", ctxt in GetInputMethodProperty()
162 GetInputMethodProperty(napi_env env, napi_value argv, std::shared_ptr<ListInputContext> ctxt) GetInputMethodProperty() argument
196 auto ctxt = std::make_shared<ListInputContext>(); ListInputMethod() local
224 auto ctxt = std::make_shared<ListInputContext>(); GetInputMethods() local
280 auto ctxt = std::make_shared<ListInputContext>(); GetAllInputMethods() local
319 auto ctxt = std::make_shared<DisplayOptionalInputMethodContext>(); DisplayOptionalInputMethod() local
341 auto ctxt = std::make_shared<DisplayOptionalInputMethodContext>(); ShowOptionalInputMethods() local
371 auto ctxt = std::make_shared<ListInputContext>(); ListInputMethodSubtype() local
405 auto ctxt = std::make_shared<ListInputContext>(); ListCurrentInputMethodSubtype() local
[all...]
H A Djs_get_input_method_controller.cpp443 auto ctxt = std::make_shared<HandleContext>(); in HandleSoftKeyboard() local
444 auto input = [ctxt](napi_env env, size_t argc, napi_value *argv, napi_value self) -> napi_status { in HandleSoftKeyboard()
447 auto output = [ctxt, isOutput](napi_env env, napi_value *result) -> napi_status { in HandleSoftKeyboard()
451 napi_status status = napi_get_boolean(env, ctxt->isHandle, result); in HandleSoftKeyboard()
455 auto exec = [ctxt, callback, needThrowException](AsyncCall::Context *ctx) { in HandleSoftKeyboard()
459 ctxt->status = napi_ok; in HandleSoftKeyboard()
460 ctxt->isHandle = true; in HandleSoftKeyboard()
461 ctxt->SetState(ctxt->status); in HandleSoftKeyboard()
465 ctxt in HandleSoftKeyboard()
537 auto ctxt = std::make_shared<AttachContext>(); Attach() local
[all...]
/third_party/curl/lib/vauth/
H A Ddigest.c343 struct MD5_context *ctxt; in Curl_auth_create_digest_md5_message() local
390 ctxt = Curl_MD5_init(Curl_DIGEST_MD5); in Curl_auth_create_digest_md5_message()
391 if(!ctxt) in Curl_auth_create_digest_md5_message()
394 Curl_MD5_update(ctxt, (const unsigned char *) userp, in Curl_auth_create_digest_md5_message()
396 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
397 Curl_MD5_update(ctxt, (const unsigned char *) realm, in Curl_auth_create_digest_md5_message()
399 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
400 Curl_MD5_update(ctxt, (const unsigned char *) passwdp, in Curl_auth_create_digest_md5_message()
402 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()
404 ctxt in Curl_auth_create_digest_md5_message()
[all...]
H A Dcram.c65 struct HMAC_context *ctxt; in Curl_auth_create_cram_md5_message() local
70 ctxt = Curl_HMAC_init(Curl_HMAC_MD5, in Curl_auth_create_cram_md5_message()
73 if(!ctxt) in Curl_auth_create_cram_md5_message()
78 Curl_HMAC_update(ctxt, Curl_bufref_ptr(chlg), in Curl_auth_create_cram_md5_message()
82 Curl_HMAC_final(ctxt, digest); in Curl_auth_create_cram_md5_message()
/base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager/
H A Djs_keyboard_panel_manager.cpp77 auto ctxt = std::make_shared<PanelManagerContext>(); in ConnectSystemCmd() local
79 auto exec = [ctxt, env, manager](AsyncCall::Context *ctx) { in ConnectSystemCmd()
81 ctxt->SetErrorCode(ret); in ConnectSystemCmd()
83 ctxt->SetState(napi_ok); in ConnectSystemCmd()
86 AsyncCall asyncCall(env, info, ctxt, 0); in ConnectSystemCmd()
191 auto ctxt = std::make_shared<SmartMenuContext>(); in GetSmartMenuCfg() local
192 auto output = [ctxt](napi_env env, napi_value *result) -> napi_status { in GetSmartMenuCfg()
193 *result = JsUtil::GetValue(env, ctxt->smartMenu); in GetSmartMenuCfg()
196 auto exec = [ctxt](AsyncCall::Context *ctx) { in GetSmartMenuCfg()
197 ctxt in GetSmartMenuCfg()
208 auto ctxt = std::make_shared<SendPrivateCommandContext>(); SendPrivateCommand() local
[all...]
/third_party/pulseaudio/src/tests/
H A Dgtk-test.c30 pa_context *ctxt; variable
38 ctxt = pa_context_new(pa_glib_mainloop_get_api(m), NULL); in connect()
39 g_assert(ctxt); in connect()
41 r = pa_context_connect(ctxt, NULL, PA_CONTEXT_NOAUTOSPAWN|PA_CONTEXT_NOFAIL, NULL); in connect()
44 pa_context_set_state_callback(ctxt, context_state_callback, NULL); in connect()
50 pa_context_unref(ctxt); in context_state_callback()
51 ctxt = NULL; in context_state_callback()
79 pa_context_unref(ctxt); in main()
/applications/standard/calendardata/calendarmanager/napi/include/
H A Dnapi_queue.h57 #define CHECK_ARGS_RETURN_VOID(ctxt, condition, message) \
60 (ctxt)->status = napi_invalid_arg; \
61 (ctxt)->error = std::string(message); \
67 #define CHECK_STATUS_RETURN_VOID(ctxt, message) \
69 if ((ctxt)->status != napi_ok) { \
70 (ctxt)->error = std::string(message); \
71 LOG_ERROR("test (ctxt->status %{public}d) failed: " message, (ctxt)->status); \
95 static napi_value AsyncWork(napi_env env, std::shared_ptr<ContextBase> ctxt,
/third_party/libabigail/tools/
H A Dabidiff.cc726 /// @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 Dabicompat.cc301 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...]

Completed in 33 milliseconds

123