| /foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
| H A D | image_napi.cpp | 44 auto ctxt = std::make_shared<ContextBase>(); in New() local 45 ctxt->GetCbInfoSync(env, info); in New() 46 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 49 ASSERT_ERR(ctxt->env, image != nullptr, Status::E_ERROR, "no memory for image!"); in New() 51 ASSERT_CALL(env, napi_wrap(env, ctxt->self, image, Destructor, nullptr, nullptr), image); in New() 52 return ctxt->self; in New() 73 ImageNapi *ImageNapi::GetImage(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) in GetImage() argument 76 ctxt in GetImage() 84 auto ctxt = std::make_shared<ContextBase>(); GetImageUri() local 96 auto ctxt = std::make_shared<ContextBase>(); SetImageUri() local [all...] |
| H A D | audio_napi.cpp | 44 auto ctxt = std::make_shared<ContextBase>(); in New() local 45 ctxt->GetCbInfoSync(env, info); in New() 46 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 49 ASSERT_ERR(ctxt->env, audio != nullptr, Status::E_ERROR, "no memory for audio!"); in New() 51 ASSERT_CALL(env, napi_wrap(env, ctxt->self, audio, Destructor, nullptr, nullptr), audio); in New() 52 return ctxt->self; in New() 73 AudioNapi *AudioNapi::GetAudio(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) in GetAudio() argument 76 ctxt in GetAudio() 84 auto ctxt = std::make_shared<ContextBase>(); GetAudioUri() local 96 auto ctxt = std::make_shared<ContextBase>(); SetAudioUri() local [all...] |
| H A D | folder_napi.cpp | 44 auto ctxt = std::make_shared<ContextBase>(); in New() local 45 ctxt->GetCbInfoSync(env, info); in New() 46 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 49 ASSERT_ERR(ctxt->env, folder != nullptr, Status::E_ERROR, "no memory for folder!"); in New() 51 ASSERT_CALL(env, napi_wrap(env, ctxt->self, folder, Destructor, nullptr, nullptr), folder); in New() 52 return ctxt->self; in New() 73 FolderNapi *FolderNapi::GetFolder(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) in GetFolder() argument 76 ctxt in GetFolder() 84 auto ctxt = std::make_shared<ContextBase>(); GetFolderUri() local 96 auto ctxt = std::make_shared<ContextBase>(); SetFolderUri() local [all...] |
| H A D | unified_data_napi.cpp | 56 auto ctxt = std::make_shared<ContextBase>(); in New() local 57 auto input = [env, info, ctxt, &uRecord](size_t argc, napi_value *argv) { in New() 59 ctxt->status = napi_unwrap(env, *argv, reinterpret_cast<void **>(&uRecord)); in New() 60 ASSERT_BUSINESS_ERR(ctxt, (ctxt->status == napi_ok && uRecord != nullptr && uRecord->value_ != nullptr), in New() 62 ctxt->status = UnifiedDataUtils::IsValidType(uRecord->value_->GetType()) ? napi_ok : napi_invalid_arg; in New() 63 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok, Status::E_ERROR, "invalid type!"); in New() 68 ctxt->GetCbInfoSync(env, info, input); in New() 69 ASSERT_ERR(ctxt in New() 112 auto ctxt = std::make_shared<ContextBase>(); GetUnifiedData() local 122 auto ctxt = std::make_shared<ContextBase>(); AddRecord() local 144 auto ctxt = std::make_shared<ContextBase>(); GetRecords() local 236 auto ctxt = std::make_shared<ContextBase>(); HasType() local 299 auto ctxt = std::make_shared<ContextBase>(); SetProperties() local [all...] |
| H A D | summary_napi.cpp | 37 auto ctxt = std::make_shared<ContextBase>(); in New() local 38 ctxt->GetCbInfoSync(env, info); in New() 39 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 42 ASSERT_ERR(ctxt->env, summary != nullptr, Status::E_ERROR, "no memory for summary!"); in New() 44 ASSERT_CALL(env, napi_wrap(env, ctxt->self, summary, Destructor, nullptr, nullptr), summary); in New() 45 return ctxt->self; in New() 66 SummaryNapi *SummaryNapi::GetDataSummary(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) in GetDataSummary() argument 69 ctxt in GetDataSummary() 77 auto ctxt = std::make_shared<ContextBase>(); GetSummary() local 89 auto ctxt = std::make_shared<ContextBase>(); GetTotal() local [all...] |
| /third_party/libabigail/include/ |
| H A D | abg-writer.h | 43 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...] |
| /foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/ |
| H A D | js_distributedobject.cpp | 228 auto ctxt = std::make_shared<SaveContext>();
in JSSave() local 229 std::function<void(size_t argc, napi_value * argv)> getCbOpe = [env, ctxt](size_t argc, napi_value *argv) {
in JSSave() 230 INVALID_ARGS_RETURN_ERROR(ctxt, argc >= 2, "arguments error", std::make_shared<ParametersNum>("1 or 2"));
in JSSave() 231 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->deviceId);
in JSSave() 232 INVALID_ARGS_RETURN_ERROR(ctxt, ctxt->status == napi_ok, "arguments error",
in JSSave() 235 ctxt->status = JSUtil::GetValue(env, argv[1], ctxt->version);
in JSSave() 236 INVALID_STATUS_RETURN_ERROR(ctxt, "invali in JSSave() 275 auto ctxt = std::make_shared<RevokeSaveContext>(); JSRevokeSave() local 360 auto ctxt = std::make_shared<BindAssetStoreContext>(); JSBindAssetStore() local [all...] |
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| H A D | sev-es.c | 218 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel() argument 221 return copy_from_kernel_nofault(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); in vc_fetch_insn_kernel() 224 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn() argument 230 if (user_mode(ctxt->regs)) { in vc_decode_insn() 231 res = insn_fetch_from_user_inatomic(ctxt->regs, buffer); in vc_decode_insn() 233 ctxt->fi.vector = X86_TRAP_PF; in vc_decode_insn() 234 ctxt->fi.error_code = X86_PF_INSTR | X86_PF_USER; in vc_decode_insn() 235 ctxt->fi.cr2 = ctxt->regs->ip; in vc_decode_insn() 239 if (!insn_decode_from_regs(&ctxt in vc_decode_insn() 259 vc_write_mem(struct es_em_ctxt *ctxt, char *dst, char *buf, size_t size) vc_write_mem() argument 338 vc_read_mem(struct es_em_ctxt *ctxt, char *src, char *buf, size_t size) vc_read_mem() argument 416 vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned long vaddr, phys_addr_t *paddr) vc_slow_virt_to_phys() argument 451 vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) vc_ioio_check() argument 619 vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_msr() argument 781 vc_early_forward_exception(struct es_em_ctxt *ctxt) vc_early_forward_exception() argument 792 vc_insn_get_reg(struct es_em_ctxt *ctxt) vc_insn_get_reg() argument 808 vc_insn_get_rm(struct es_em_ctxt *ctxt) vc_insn_get_rm() argument 823 vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned int bytes, bool read) vc_do_mmio() argument 855 vc_handle_mmio_twobyte_ops(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_mmio_twobyte_ops() argument 944 vc_handle_mmio_movs(struct es_em_ctxt *ctxt, unsigned int bytes) vc_handle_mmio_movs() argument 992 vc_handle_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_mmio() argument 1077 vc_handle_dr7_write(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_dr7_write() argument 1115 vc_handle_dr7_read(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_dr7_read() argument 1132 vc_handle_wbinvd(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_wbinvd() argument 1138 vc_handle_rdpmc(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_rdpmc() argument 1157 vc_handle_monitor(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_monitor() argument 1167 vc_handle_mwait(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_mwait() argument 1174 vc_handle_vmmcall(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_vmmcall() argument 1206 vc_handle_trap_ac(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_trap_ac() argument 1219 vc_handle_exitcode(struct es_em_ctxt *ctxt, struct ghcb *ghcb, unsigned long exit_code) vc_handle_exitcode() argument 1280 vc_forward_exception(struct es_em_ctxt *ctxt) vc_forward_exception() argument 1317 struct es_em_ctxt ctxt; vc_raw_handle_exception() local 1460 struct es_em_ctxt ctxt; handle_vc_boot_ghcb() local [all...] |
| H A D | sev-es-shared.c | 77 static enum es_result vc_init_em_ctxt(struct es_em_ctxt *ctxt, in vc_init_em_ctxt() argument 83 memset(ctxt, 0, sizeof(*ctxt)); in vc_init_em_ctxt() 84 ctxt->regs = regs; in vc_init_em_ctxt() 87 ret = vc_decode_insn(ctxt); in vc_init_em_ctxt() 92 static void vc_finish_insn(struct es_em_ctxt *ctxt) in vc_finish_insn() argument 94 ctxt->regs->ip += ctxt->insn.length; in vc_finish_insn() 98 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call() 126 ctxt in sev_es_ghcb_hv_call() 97 sev_es_ghcb_hv_call(struct ghcb *ghcb, struct es_em_ctxt *ctxt, u64 exit_code, u64 exit_info_1, u64 exit_info_2) sev_es_ghcb_hv_call() argument 220 vc_insn_string_check(struct es_em_ctxt *ctxt, unsigned long address, bool write) vc_insn_string_check() argument 237 vc_insn_string_read(struct es_em_ctxt *ctxt, void *src, char *buf, unsigned int data_size, unsigned int count, bool backwards) vc_insn_string_read() argument 263 vc_insn_string_write(struct es_em_ctxt *ctxt, void *dst, char *buf, unsigned int data_size, unsigned int count, bool backwards) vc_insn_string_write() argument 308 vc_ioio_exitinfo(struct es_em_ctxt *ctxt, u64 *exitinfo) vc_ioio_exitinfo() argument 403 vc_handle_ioio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_ioio() argument 511 vc_handle_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_cpuid() argument 546 vc_handle_rdtsc(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned long exit_code) vc_handle_rdtsc() argument [all...] |
| /kernel/linux/linux-5.10/arch/x86/power/ |
| H A D | cpu.c | 38 static void msr_save_context(struct saved_context *ctxt) in msr_save_context() argument 40 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_save_context() 41 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_save_context() 50 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context() argument 52 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_restore_context() 53 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_restore_context() 65 * @ctxt - structure to store the registers contents in 77 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state() argument 87 store_idt(&ctxt->idt); in __save_processor_state() 95 ctxt in __save_processor_state() 196 __restore_processor_state(struct saved_context *ctxt) __restore_processor_state() argument [all...] |
| /kernel/linux/linux-6.6/arch/x86/power/ |
| H A D | cpu.c | 39 static void msr_save_context(struct saved_context *ctxt) in msr_save_context() argument 41 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_save_context() 42 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_save_context() 51 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context() argument 53 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_restore_context() 54 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_restore_context() 67 * @ctxt: Structure to store the registers contents in. 79 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state() argument 89 store_idt(&ctxt->idt); in __save_processor_state() 97 ctxt in __save_processor_state() 195 __restore_processor_state(struct saved_context *ctxt) __restore_processor_state() argument [all...] |
| /base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
| H A D | js_text_input_client_engine.cpp | 77 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 D | js_panel.cpp | 117 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 D | js_keyboard_controller_engine.cpp | 89 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...] |
| /foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
| H A D | js_field_node.cpp | 87 auto ctxt = std::make_shared<ContextBase>(); in New() local 88 auto input = [env, ctxt, &fieldName](size_t argc, napi_value* argv) { in New() 90 ASSERT_BUSINESS_ERR(ctxt, argc >= 1, Status::INVALID_ARGUMENT, in New() 92 ctxt->status = JSUtil::GetValue(env, argv[0], fieldName); in New() 93 ASSERT_BUSINESS_ERR(ctxt, ((ctxt->status == napi_ok) && !fieldName.empty()), in New() 96 ctxt->GetCbInfoSync(env, info, input); in New() 97 ASSERT_NULL(!ctxt->isThrowError, "JsFieldNode New exit"); in New() 108 ASSERT_CALL(env, napi_wrap(env, ctxt->self, fieldNode, finalize, nullptr, nullptr), fieldNode); in New() 109 return ctxt in New() 116 auto ctxt = std::make_shared<ContextBase>(); AppendChild() local 135 GetFieldNode(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase>& ctxt) GetFieldNode() argument 143 GetContextValue(napi_env env, std::shared_ptr<ContextBase> &ctxt, T &value) GetContextValue() argument 152 auto ctxt = std::make_shared<ContextBase>(); GetDefaultValue() local 161 auto ctxt = std::make_shared<ContextBase>(); SetDefaultValue() local 181 auto ctxt = std::make_shared<ContextBase>(); GetNullable() local 190 auto ctxt = std::make_shared<ContextBase>(); SetNullable() local 209 auto ctxt = std::make_shared<ContextBase>(); GetValueType() local 218 auto ctxt = std::make_shared<ContextBase>(); SetValueType() local [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
| H A D | js_field_node.cpp | 85 auto ctxt = std::make_shared<ContextBase>(); in New() local 86 auto input = [env, ctxt, &fieldName](size_t argc, napi_value* argv) { in New() 88 CHECK_ARGS_RETURN_VOID(ctxt, argc == 1, "invalid arguments!"); in New() 89 ctxt->status = JSUtil::GetValue(env, argv[0], fieldName); in New() 90 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid fieldName!"); in New() 91 CHECK_ARGS_RETURN_VOID(ctxt, !fieldName.empty(), "invalid arg[0], i.e. invalid fieldName!"); in New() 93 ctxt->GetCbInfoSync(env, info, input); in New() 94 NAPI_ASSERT(env, ctxt->status == napi_ok, "invalid arguments!"); in New() 105 ASSERT_CALL(env, napi_wrap(env, ctxt->self, fieldNode, finalize, nullptr, nullptr), fieldNode); in New() 106 return ctxt in New() 113 auto ctxt = std::make_shared<ContextBase>(); AppendChild() local 131 GetFieldNode(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase>& ctxt) GetFieldNode() argument 139 GetContextValue(napi_env env, std::shared_ptr<ContextBase> &ctxt, T &value) GetContextValue() argument 148 auto ctxt = std::make_shared<ContextBase>(); GetDefaultValue() local 157 auto ctxt = std::make_shared<ContextBase>(); SetDefaultValue() local 176 auto ctxt = std::make_shared<ContextBase>(); GetNullable() local 185 auto ctxt = std::make_shared<ContextBase>(); SetNullable() local 204 auto ctxt = std::make_shared<ContextBase>(); GetValueType() local 213 auto ctxt = std::make_shared<ContextBase>(); SetValueType() local [all...] |
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | phy-ctxt.c | 69 static void iwl_mvm_phy_ctxt_cmd_hdr(struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_hdr() argument 73 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(ctxt->id, in iwl_mvm_phy_ctxt_cmd_hdr() 74 ctxt->color)); in iwl_mvm_phy_ctxt_cmd_hdr() 79 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_set_rxchain() 97 if (active_cnt == 1 && iwl_mvm_rx_diversity_allowed(mvm, ctxt)) { in iwl_mvm_phy_ctxt_set_rxchain() 117 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_data_v1() 128 iwl_mvm_phy_ctxt_set_rxchain(mvm, ctxt, &tail->rxchain_info, in iwl_mvm_phy_ctxt_cmd_data_v1() 138 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_data() 151 iwl_mvm_phy_ctxt_set_rxchain(mvm, ctxt, &cmd->rxchain_info, in iwl_mvm_phy_ctxt_cmd_data() 155 int iwl_mvm_phy_send_rlc(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_send_rlc() argument 78 iwl_mvm_phy_ctxt_set_rxchain(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, __le32 *rxchain_info, u8 chains_static, u8 chains_dynamic) iwl_mvm_phy_ctxt_set_rxchain() argument 116 iwl_mvm_phy_ctxt_cmd_data_v1(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct iwl_phy_context_cmd_v1 *cmd, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) iwl_mvm_phy_ctxt_cmd_data_v1() argument 137 iwl_mvm_phy_ctxt_cmd_data(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct iwl_phy_context_cmd *cmd, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) iwl_mvm_phy_ctxt_cmd_data() argument 195 iwl_mvm_phy_ctxt_apply(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic, u32 action) iwl_mvm_phy_ctxt_apply() argument 253 iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) iwl_mvm_phy_ctxt_add() argument 274 iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) iwl_mvm_phy_ctxt_ref() argument 285 iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) iwl_mvm_phy_ctxt_changed() argument 325 iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) iwl_mvm_phy_ctxt_unref() argument [all...] |
| /foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
| H A D | js_client.cpp | 40 auto ctxt = std::make_shared<CloudStrategyContext>(); in SetCloudStrategy() local 41 ctxt->GetCbInfo(env, info, [env, ctxt](size_t argc, napi_value *argv) { in SetCloudStrategy() 43 ASSERT_BUSINESS_ERR(ctxt, argc >= 1, Status::INVALID_ARGUMENT, "The number of parameters is incorrect."); in SetCloudStrategy() 46 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK && strategy >= 0 && in SetCloudStrategy() 49 ctxt->strategy = static_cast<Strategy>(strategy); in SetCloudStrategy() 51 ctxt->SetDefault(); in SetCloudStrategy() 54 status = JSUtils::Convert2Value(env, argv[1], ctxt->param); in SetCloudStrategy() 55 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK, Status::INVALID_ARGUMENT, in SetCloudStrategy() 57 auto res = ctxt in SetCloudStrategy() [all...] |
| /base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
| H A D | js_input_method.cpp | 47 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...] |
| /kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 80 * ctxt, the Send WR is posted, and sendto returns. 135 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_alloc() local 141 size = sizeof(*ctxt); in svc_rdma_send_ctxt_alloc() 143 ctxt = kmalloc(size, GFP_KERNEL); in svc_rdma_send_ctxt_alloc() 144 if (!ctxt) in svc_rdma_send_ctxt_alloc() 154 svc_rdma_send_cid_init(rdma, &ctxt->sc_cid); in svc_rdma_send_ctxt_alloc() 156 ctxt->sc_send_wr.next = NULL; in svc_rdma_send_ctxt_alloc() 157 ctxt->sc_send_wr.wr_cqe = &ctxt->sc_cqe; in svc_rdma_send_ctxt_alloc() 158 ctxt in svc_rdma_send_ctxt_alloc() 185 struct svc_rdma_send_ctxt *ctxt; svc_rdma_send_ctxts_destroy() local 207 struct svc_rdma_send_ctxt *ctxt; svc_rdma_send_ctxt_get() local 241 svc_rdma_send_ctxt_put(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt) svc_rdma_send_ctxt_put() argument 280 struct svc_rdma_send_ctxt *ctxt = svc_rdma_wc_send() local 304 svc_rdma_send(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt) svc_rdma_send() argument 509 svc_rdma_dma_map_page(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt, struct page *page, unsigned long offset, unsigned int len) svc_rdma_dma_map_page() argument 535 svc_rdma_dma_map_buf(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt, unsigned char *base, unsigned int len) svc_rdma_dma_map_buf() argument 754 svc_rdma_save_io_pages(struct svc_rqst *rqstp, struct svc_rdma_send_ctxt *ctxt) svc_rdma_save_io_pages() argument [all...] |
| H A D | svc_rdma_rw.c | 55 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local 59 ctxt = svc_rdma_next_ctxt(&rdma->sc_rw_ctxts); in svc_rdma_get_rw_ctxt() 60 if (ctxt) { in svc_rdma_get_rw_ctxt() 61 list_del(&ctxt->rw_list); in svc_rdma_get_rw_ctxt() 65 ctxt = kmalloc(struct_size(ctxt, rw_first_sgl, SG_CHUNK_SIZE), in svc_rdma_get_rw_ctxt() 67 if (!ctxt) in svc_rdma_get_rw_ctxt() 69 INIT_LIST_HEAD(&ctxt->rw_list); in svc_rdma_get_rw_ctxt() 72 ctxt->rw_sg_table.sgl = ctxt in svc_rdma_get_rw_ctxt() 86 svc_rdma_put_rw_ctxt(struct svcxprt_rdma *rdma, struct svc_rdma_rw_ctxt *ctxt) svc_rdma_put_rw_ctxt() argument 103 struct svc_rdma_rw_ctxt *ctxt; svc_rdma_destroy_rw_ctxts() local 122 svc_rdma_rw_ctx_init(struct svcxprt_rdma *rdma, struct svc_rdma_rw_ctxt *ctxt, u64 offset, u32 handle, enum dma_data_direction direction) svc_rdma_rw_ctx_init() argument 176 struct svc_rdma_rw_ctxt *ctxt; svc_rdma_cc_release() local 350 struct svc_rdma_rw_ctxt *ctxt; svc_rdma_post_chunk_ctxt() local 389 svc_rdma_vec_to_sg(struct svc_rdma_write_info *info, unsigned int len, struct svc_rdma_rw_ctxt *ctxt) svc_rdma_vec_to_sg() argument 403 svc_rdma_pagelist_to_sg(struct svc_rdma_write_info *info, unsigned int remaining, struct svc_rdma_rw_ctxt *ctxt) svc_rdma_pagelist_to_sg() argument 438 svc_rdma_build_writes(struct svc_rdma_write_info *info, void (*constructor)(struct svc_rdma_write_info *info, unsigned int len, struct svc_rdma_rw_ctxt *ctxt), unsigned int remaining) svc_rdma_build_writes() argument 446 struct svc_rdma_rw_ctxt *ctxt; svc_rdma_build_writes() local 635 struct svc_rdma_rw_ctxt *ctxt; svc_rdma_build_read_segment() local [all...] |
| /kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 80 * ctxt, the Send WR is posted, and sendto returns. 127 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_alloc() local 132 ctxt = kmalloc_node(struct_size(ctxt, sc_sges, rdma->sc_max_send_sges), in svc_rdma_send_ctxt_alloc() 134 if (!ctxt) in svc_rdma_send_ctxt_alloc() 144 svc_rdma_send_cid_init(rdma, &ctxt->sc_cid); in svc_rdma_send_ctxt_alloc() 146 ctxt->sc_send_wr.next = NULL; in svc_rdma_send_ctxt_alloc() 147 ctxt->sc_send_wr.wr_cqe = &ctxt->sc_cqe; in svc_rdma_send_ctxt_alloc() 148 ctxt in svc_rdma_send_ctxt_alloc() 175 struct svc_rdma_send_ctxt *ctxt; svc_rdma_send_ctxts_destroy() local 198 struct svc_rdma_send_ctxt *ctxt; svc_rdma_send_ctxt_get() local 233 svc_rdma_send_ctxt_put(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt) svc_rdma_send_ctxt_put() argument 284 struct svc_rdma_send_ctxt *ctxt = svc_rdma_wc_send() local 313 svc_rdma_send(struct svcxprt_rdma *rdma, struct svc_rdma_send_ctxt *ctxt) svc_rdma_send() argument 527 struct svc_rdma_send_ctxt *ctxt = args->md_ctxt; svc_rdma_page_dma_map() local 811 svc_rdma_save_io_pages(struct svc_rqst *rqstp, struct svc_rdma_send_ctxt *ctxt) svc_rdma_save_io_pages() argument [all...] |
| /third_party/libabigail/src/ |
| H A D | abg-reporter-priv.cc | 35 /// @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...] |
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| H A D | sev.c | 272 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel() argument 275 return copy_from_kernel_nofault(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); in vc_fetch_insn_kernel() 278 static enum es_result __vc_decode_user_insn(struct es_em_ctxt *ctxt) in __vc_decode_user_insn() argument 283 insn_bytes = insn_fetch_from_user_inatomic(ctxt->regs, buffer); in __vc_decode_user_insn() 286 ctxt->fi.vector = X86_TRAP_PF; in __vc_decode_user_insn() 287 ctxt->fi.error_code = X86_PF_INSTR | X86_PF_USER; in __vc_decode_user_insn() 288 ctxt->fi.cr2 = ctxt->regs->ip; in __vc_decode_user_insn() 292 ctxt->fi.vector = X86_TRAP_GP; in __vc_decode_user_insn() 293 ctxt in __vc_decode_user_insn() 307 __vc_decode_kern_insn(struct es_em_ctxt *ctxt) __vc_decode_kern_insn() argument 327 vc_decode_insn(struct es_em_ctxt *ctxt) vc_decode_insn() argument 335 vc_write_mem(struct es_em_ctxt *ctxt, char *dst, char *buf, size_t size) vc_write_mem() argument 414 vc_read_mem(struct es_em_ctxt *ctxt, char *src, char *buf, size_t size) vc_read_mem() argument 492 vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned long vaddr, phys_addr_t *paddr) vc_slow_virt_to_phys() argument 527 vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) vc_ioio_check() argument 1196 vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_msr() argument 1397 vc_early_forward_exception(struct es_em_ctxt *ctxt) vc_early_forward_exception() argument 1408 vc_insn_get_rm(struct es_em_ctxt *ctxt) vc_insn_get_rm() argument 1423 vc_do_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned int bytes, bool read) vc_do_mmio() argument 1474 vc_handle_mmio_movs(struct es_em_ctxt *ctxt, unsigned int bytes) vc_handle_mmio_movs() argument 1522 vc_handle_mmio(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_mmio() argument 1603 vc_handle_dr7_write(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_dr7_write() argument 1644 vc_handle_dr7_read(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_dr7_read() argument 1664 vc_handle_wbinvd(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_wbinvd() argument 1670 vc_handle_rdpmc(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_rdpmc() argument 1689 vc_handle_monitor(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_monitor() argument 1699 vc_handle_mwait(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_mwait() argument 1706 vc_handle_vmmcall(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_vmmcall() argument 1738 vc_handle_trap_ac(struct ghcb *ghcb, struct es_em_ctxt *ctxt) vc_handle_trap_ac() argument 1751 vc_handle_exitcode(struct es_em_ctxt *ctxt, struct ghcb *ghcb, unsigned long exit_code) vc_handle_exitcode() argument 1812 vc_forward_exception(struct es_em_ctxt *ctxt) vc_forward_exception() argument 1862 struct es_em_ctxt ctxt; vc_raw_handle_exception() local 2005 struct es_em_ctxt ctxt; handle_vc_boot_ghcb() local 2176 struct es_em_ctxt ctxt; snp_issue_guest_request() local [all...] |
| /kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
| H A D | sysreg-sr.c | 21 void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_save_state_nvhe() argument 23 __sysreg_save_el1_state(ctxt); in __sysreg_save_state_nvhe() 24 __sysreg_save_common_state(ctxt); in __sysreg_save_state_nvhe() 25 __sysreg_save_user_state(ctxt); in __sysreg_save_state_nvhe() 26 __sysreg_save_el2_return_state(ctxt); in __sysreg_save_state_nvhe() 29 void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_restore_state_nvhe() argument 31 __sysreg_restore_el1_state(ctxt); in __sysreg_restore_state_nvhe() 32 __sysreg_restore_common_state(ctxt); in __sysreg_restore_state_nvhe() 33 __sysreg_restore_user_state(ctxt); in __sysreg_restore_state_nvhe() 34 __sysreg_restore_el2_return_state(ctxt); in __sysreg_restore_state_nvhe() [all...] |