| /foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
| H A D | js_query.cpp | 70 auto ctxt = std::make_shared<ContextBase>(); in New() local 71 ctxt->GetCbInfoSync(env, info); in New() 72 NAPI_ASSERT(env, ctxt->status == napi_ok, "invalid arguments!"); in New() 83 ASSERT_CALL(env, napi_wrap(env, ctxt->self, query, finalize, nullptr, nullptr), query); in New() 84 return ctxt->self; in New() 90 auto ctxt = std::make_shared<ContextBase>(); in Reset() local 91 ctxt->GetCbInfoSync(env, info); in Reset() 92 NAPI_ASSERT(env, ctxt->status == napi_ok, "invalid arguments!"); in Reset() 94 auto& query = reinterpret_cast<JsQuery*>(ctxt->native)->query_; in Reset() 96 return ctxt in Reset() 121 auto ctxt = std::make_shared<ValueContext>(); EqualTo() local 146 auto ctxt = std::make_shared<ValueContext>(); NotEqualTo() local 171 auto ctxt = std::make_shared<ValueContext>(); GreaterThan() local 196 auto ctxt = std::make_shared<ValueContext>(); LessThan() local 221 auto ctxt = std::make_shared<ValueContext>(); GreaterThanOrEqualTo() local 246 auto ctxt = std::make_shared<ValueContext>(); LessThanOrEqualTo() local 271 auto ctxt = std::make_shared<ContextBase>(); IsNull() local 349 auto ctxt = std::make_shared<NumbersContext>(); InNumber() local 371 auto ctxt = std::make_shared<StringsContext>(); InString() local 391 auto ctxt = std::make_shared<NumbersContext>(); NotInNumber() local 413 auto ctxt = std::make_shared<StringsContext>(); NotInString() local 437 auto ctxt = std::make_shared<LikeContext>(); Like() local 461 auto ctxt = std::make_shared<UnlikeContext>(); Unlike() local 481 auto ctxt = std::make_shared<ContextBase>(); And() local 493 auto ctxt = std::make_shared<ContextBase>(); Or() local 506 auto ctxt = std::make_shared<ContextBase>(); OrderByAsc() local 525 auto ctxt = std::make_shared<ContextBase>(); OrderByDesc() local 546 auto ctxt = std::make_shared<LimitContext>(); Limit() local 566 auto ctxt = std::make_shared<ContextBase>(); IsNotNull() local 584 auto ctxt = std::make_shared<ContextBase>(); BeginGroup() local 595 auto ctxt = std::make_shared<ContextBase>(); EndGroup() local 607 auto ctxt = std::make_shared<ContextBase>(); PrefixKey() local 625 auto ctxt = std::make_shared<ContextBase>(); SetSuggestIndex() local 643 auto ctxt = std::make_shared<ContextBase>(); DeviceId() local 661 auto ctxt = std::make_shared<ContextBase>(); GetSqlLike() local [all...] |
| H A D | js_single_kv_store.cpp | 77 auto ctxt = std::make_shared<GetContext>(); in Get() local 78 auto input = [env, ctxt](size_t argc, napi_value* argv) { in Get() 80 CHECK_ARGS_RETURN_VOID(ctxt, argc == 1, "invalid arguments!"); in Get() 82 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->key); in Get() 83 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid key!"); in Get() 85 ctxt->GetCbInfo(env, info, input); in Get() 86 ZLOGD("key=%{public}.8s", ctxt->key.c_str()); in Get() 88 auto execute = [ctxt]() { in Get() 89 OHOS::DistributedKv::Key key(ctxt in Get() 161 auto ctxt = std::make_shared<GetEntriesContext>(); GetEntries() local 209 auto ctxt = std::make_shared<GetResultSetContext>(); GetResultSet() local 261 auto ctxt = std::make_shared<CloseResultSetContext>(); CloseResultSet() local 297 auto ctxt = std::make_shared<ResultSizeContext>(); GetResultSize() local 335 auto ctxt = std::make_shared<RemoveDeviceContext>(); RemoveDeviceData() local 370 auto ctxt = std::make_shared<SyncContext>(); Sync() local 410 auto ctxt = std::make_shared<SyncParamContext>(); SetSyncParam() local 441 auto ctxt = std::make_shared<SecurityLevelContext>(); GetSecurityLevel() local 462 auto ctxt = std::make_shared<ContextBase>(); New() local [all...] |
| H A D | js_device_kv_store.cpp | 86 auto ctxt = std::make_shared<GetContext>(); in Get() local 87 auto input = [env, ctxt](size_t argc, napi_value* argv) { in Get() 89 CHECK_ARGS_RETURN_VOID(ctxt, argc == 2, "invalid arguments!"); in Get() 90 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->deviceId); in Get() 91 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid deviceId!"); in Get() 92 ctxt->status = JSUtil::GetValue(env, argv[1], ctxt->key); in Get() 93 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[1], i.e. invalid key!"); in Get() 95 ctxt in Get() 202 auto ctxt = std::make_shared<GetEntriesContext>(); GetEntries() local 257 auto ctxt = std::make_shared<GetResultSetContext>(); GetResultSet() local 311 auto ctxt = std::make_shared<CloseResultSetContext>(); CloseResultSet() local 351 auto ctxt = std::make_shared<ResultSizeContext>(); GetResultSize() local 389 auto ctxt = std::make_shared<RemoveDeviceContext>(); RemoveDeviceData() local 424 auto ctxt = std::make_shared<SyncContext>(); Sync() local 457 auto ctxt = std::make_shared<ContextBase>(); New() local [all...] |
| H A D | js_kv_manager.cpp | 62 auto ctxt = std::make_shared<ContextInfo>(); in CreateKVManager() local 63 auto input = [env, ctxt](size_t argc, napi_value* argv) { in CreateKVManager() 65 CHECK_ARGS_RETURN_VOID(ctxt, argc == 1, "invalid arguments!"); in CreateKVManager() 67 ctxt->status = JSUtil::GetNamedProperty(env, argv[0], "bundleName", bundleName); in CreateKVManager() 68 CHECK_ARGS_RETURN_VOID(ctxt, (ctxt->status == napi_ok) && !bundleName.empty(), "invalid bundleName!"); in CreateKVManager() 70 ctxt->status = JSUtil::GetNamedProperty(env, argv[0], "userInfo", userInfo); in CreateKVManager() 71 CHECK_ARGS_RETURN_VOID(ctxt, ctxt->status == napi_ok, "invalid userInfo!"); in CreateKVManager() 73 ctxt in CreateKVManager() 127 auto ctxt = std::make_shared<GetKVStoreContext>(); GetKVStore() local 176 auto ctxt = std::make_shared<ContextInfo>(); CloseKVStore() local 216 auto ctxt = std::make_shared<ContextInfo>(); DeleteKVStore() local 255 auto ctxt = std::make_shared<ContextInfo>(); GetAllKVStoreId() local 281 auto ctxt = std::make_shared<ContextBase>(); On() local 318 auto ctxt = std::make_shared<ContextBase>(); Off() local 373 auto ctxt = std::make_shared<ContextBase>(); New() local [all...] |
| H A D | js_kv_store.cpp | 131 auto ctxt = std::make_shared<PutContext>(); in Put() local 133 ctxt->GetCbInfo(env, info, [env, ctxt](size_t argc, napi_value* argv) { in Put() 135 CHECK_ARGS_RETURN_VOID(ctxt, argc == 2, "invalid arguments!"); in Put() 136 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->key); in Put() 137 CHECK_STATUS_RETURN_VOID(ctxt, "invalid arg[0], i.e. invalid key!"); in Put() 138 ctxt->status = JSUtil::GetValue(env, argv[1], ctxt->value); in Put() 139 CHECK_STATUS_RETURN_VOID(ctxt, "invali in Put() 169 auto ctxt = std::make_shared<DeleteContext>(); Delete() local 198 auto ctxt = std::make_shared<ContextBase>(); OnEvent() local 224 auto ctxt = std::make_shared<ContextBase>(); OffEvent() local 253 auto ctxt = std::make_shared<PutBatchContext>(); PutBatch() local 285 auto ctxt = std::make_shared<DeleteBatchContext>(); DeleteBatch() local 318 auto ctxt = std::make_shared<ContextBase>(); StartTransaction() local 340 auto ctxt = std::make_shared<ContextBase>(); Commit() local 362 auto ctxt = std::make_shared<ContextBase>(); Rollback() local 387 auto ctxt = std::make_shared<EnableSyncContext>(); EnableSync() local 419 auto ctxt = std::make_shared<SyncRangeContext>(); SetSyncRange() local 445 OnDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OnDataChange() argument 482 OffDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OffDataChange() argument 529 OnSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OnSyncComplete() argument 548 OffSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OffSyncComplete() argument [all...] |
| /kernel/linux/linux-5.10/arch/x86/kvm/ |
| H A D | emulate.c | 195 int (*execute)(struct x86_emulate_ctxt *ctxt); 204 int (*check_perm)(struct x86_emulate_ctxt *ctxt); 243 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read() argument 245 if (!(ctxt->regs_valid & (1 << nr))) { in reg_read() 246 ctxt->regs_valid |= 1 << nr; in reg_read() 247 ctxt->_regs[nr] = ctxt->ops->read_gpr(ctxt, nr); in reg_read() 249 return ctxt->_regs[nr]; in reg_read() 252 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigne argument 259 reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) reg_rmw() argument 265 writeback_registers(struct x86_emulate_ctxt *ctxt) writeback_registers() argument 273 invalidate_registers(struct x86_emulate_ctxt *ctxt) invalidate_registers() argument 503 emulator_check_intercept(struct x86_emulate_ctxt *ctxt, enum x86_intercept intercept, enum x86_intercept_stage stage) emulator_check_intercept() argument 548 ad_mask(struct x86_emulate_ctxt *ctxt) ad_mask() argument 553 stack_mask(struct x86_emulate_ctxt *ctxt) stack_mask() argument 564 stack_size(struct x86_emulate_ctxt *ctxt) stack_size() argument 571 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) address_mask() argument 580 register_address(struct x86_emulate_ctxt *ctxt, int reg) register_address() argument 591 register_address_increment(struct x86_emulate_ctxt *ctxt, int reg, int inc) register_address_increment() argument 598 rsp_increment(struct x86_emulate_ctxt *ctxt, int inc) rsp_increment() argument 610 seg_base(struct x86_emulate_ctxt *ctxt, int seg) seg_base() argument 618 emulate_exception(struct x86_emulate_ctxt *ctxt, int vec, u32 error, bool valid) emulate_exception() argument 628 emulate_db(struct x86_emulate_ctxt *ctxt) emulate_db() argument 633 emulate_gp(struct x86_emulate_ctxt *ctxt, int err) emulate_gp() argument 638 emulate_ss(struct x86_emulate_ctxt *ctxt, int err) emulate_ss() argument 643 emulate_ud(struct x86_emulate_ctxt *ctxt) emulate_ud() argument 648 emulate_ts(struct x86_emulate_ctxt *ctxt, int err) emulate_ts() argument 653 emulate_de(struct x86_emulate_ctxt *ctxt) emulate_de() argument 658 emulate_nm(struct x86_emulate_ctxt *ctxt) emulate_nm() argument 663 get_segment_selector(struct x86_emulate_ctxt *ctxt, unsigned seg) get_segment_selector() argument 672 set_segment_selector(struct x86_emulate_ctxt *ctxt, u16 selector, unsigned seg) set_segment_selector() argument 683 ctxt_virt_addr_bits(struct x86_emulate_ctxt *ctxt) ctxt_virt_addr_bits() argument 688 emul_is_noncanonical_address(u64 la, struct x86_emulate_ctxt *ctxt) emul_is_noncanonical_address() argument 703 insn_alignment(struct x86_emulate_ctxt *ctxt, unsigned size) insn_alignment() argument 722 __linearize(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, unsigned *max_size, unsigned size, bool write, bool fetch, enum x86emul_mode mode, ulong *linear) __linearize() argument 789 linearize(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, unsigned size, bool write, ulong *linear) linearize() argument 799 assign_eip(struct x86_emulate_ctxt *ctxt, ulong dst) assign_eip() argument 815 emulator_recalc_and_set_mode(struct x86_emulate_ctxt *ctxt) emulator_recalc_and_set_mode() argument 861 assign_eip_near(struct x86_emulate_ctxt *ctxt, ulong dst) assign_eip_near() argument 866 assign_eip_far(struct x86_emulate_ctxt *ctxt, ulong dst) assign_eip_far() argument 876 jmp_rel(struct x86_emulate_ctxt *ctxt, int rel) jmp_rel() argument 881 linear_read_system(struct x86_emulate_ctxt *ctxt, ulong linear, void *data, unsigned size) linear_read_system() argument 887 linear_write_system(struct x86_emulate_ctxt *ctxt, ulong linear, void *data, unsigned int size) linear_write_system() argument 894 segmented_read_std(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned size) segmented_read_std() argument 908 segmented_write_std(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned int size) segmented_write_std() argument 926 __do_insn_fetch_bytes(struct x86_emulate_ctxt *ctxt, int op_size) __do_insn_fetch_bytes() argument 970 do_insn_fetch_bytes(struct x86_emulate_ctxt *ctxt, unsigned size) do_insn_fetch_bytes() argument 1009 decode_register(struct x86_emulate_ctxt *ctxt, u8 modrm_reg, int byteop) decode_register() argument 1022 read_descriptor(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, u16 *size, unsigned long *address, int op_bytes) read_descriptor() argument 1083 em_bsf_c(struct x86_emulate_ctxt *ctxt) em_bsf_c() argument 1091 em_bsr_c(struct x86_emulate_ctxt *ctxt) em_bsr_c() argument 1230 em_fninit(struct x86_emulate_ctxt *ctxt) em_fninit() argument 1241 em_fnstcw(struct x86_emulate_ctxt *ctxt) em_fnstcw() argument 1257 em_fnstsw(struct x86_emulate_ctxt *ctxt) em_fnstsw() argument 1273 decode_register_operand(struct x86_emulate_ctxt *ctxt, struct operand *op) decode_register_operand() argument 1304 adjust_modrm_seg(struct x86_emulate_ctxt *ctxt, int base_reg) adjust_modrm_seg() argument 1310 decode_modrm(struct x86_emulate_ctxt *ctxt, struct operand *op) decode_modrm() argument 1447 decode_abs(struct x86_emulate_ctxt *ctxt, struct operand *op) decode_abs() argument 1468 fetch_bit_operand(struct x86_emulate_ctxt *ctxt) fetch_bit_operand() argument 1490 read_emulated(struct x86_emulate_ctxt *ctxt, unsigned long addr, void *dest, unsigned size) read_emulated() argument 1514 segmented_read(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned size) segmented_read() argument 1528 segmented_write(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, const void *data, unsigned size) segmented_write() argument 1543 segmented_cmpxchg(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, const void *orig_data, const void *data, unsigned size) segmented_cmpxchg() argument 1558 pio_in_emulated(struct x86_emulate_ctxt *ctxt, unsigned int size, unsigned short port, void *dest) pio_in_emulated() argument 1593 read_interrupt_descriptor(struct x86_emulate_ctxt *ctxt, u16 index, struct desc_struct *desc) read_interrupt_descriptor() argument 1608 get_descriptor_table_ptr(struct x86_emulate_ctxt *ctxt, u16 selector, struct desc_ptr *dt) get_descriptor_table_ptr() argument 1629 get_descriptor_ptr(struct x86_emulate_ctxt *ctxt, u16 selector, ulong *desc_addr_p) get_descriptor_ptr() argument 1658 read_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, struct desc_struct *desc, ulong *desc_addr_p) read_segment_descriptor() argument 1672 write_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, struct desc_struct *desc) write_segment_descriptor() argument 1685 __load_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, int seg, u8 cpl, enum x86_transfer_type transfer, struct desc_struct *desc) __load_segment_descriptor() argument 1862 load_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, int seg) load_segment_descriptor() argument 1890 writeback(struct x86_emulate_ctxt *ctxt, struct operand *op) writeback() argument 1930 push(struct x86_emulate_ctxt *ctxt, void *data, int bytes) push() argument 1941 em_push(struct x86_emulate_ctxt *ctxt) em_push() argument 1948 emulate_pop(struct x86_emulate_ctxt *ctxt, void *dest, int len) emulate_pop() argument 1964 em_pop(struct x86_emulate_ctxt *ctxt) em_pop() argument 1969 emulate_popf(struct x86_emulate_ctxt *ctxt, void *dest, int len) emulate_popf() argument 2011 em_popf(struct x86_emulate_ctxt *ctxt) em_popf() argument 2019 em_enter(struct x86_emulate_ctxt *ctxt) em_enter() argument 2041 em_leave(struct x86_emulate_ctxt *ctxt) em_leave() argument 2048 em_push_sreg(struct x86_emulate_ctxt *ctxt) em_push_sreg() argument 2061 em_pop_sreg(struct x86_emulate_ctxt *ctxt) em_pop_sreg() argument 2080 em_pusha(struct x86_emulate_ctxt *ctxt) em_pusha() argument 2100 em_pushf(struct x86_emulate_ctxt *ctxt) em_pushf() argument 2106 em_popa(struct x86_emulate_ctxt *ctxt) em_popa() argument 2127 __emulate_int_real(struct x86_emulate_ctxt *ctxt, int irq) __emulate_int_real() argument 2176 emulate_int_real(struct x86_emulate_ctxt *ctxt, int irq) emulate_int_real() argument 2187 emulate_int(struct x86_emulate_ctxt *ctxt, int irq) emulate_int() argument 2202 emulate_iret_real(struct x86_emulate_ctxt *ctxt) emulate_iret_real() argument 2258 em_iret(struct x86_emulate_ctxt *ctxt) em_iret() argument 2273 em_jmp_far(struct x86_emulate_ctxt *ctxt) em_jmp_far() argument 2296 em_jmp_abs(struct x86_emulate_ctxt *ctxt) em_jmp_abs() argument 2301 em_call_near_abs(struct x86_emulate_ctxt *ctxt) em_call_near_abs() argument 2315 em_cmpxchg8b(struct x86_emulate_ctxt *ctxt) em_cmpxchg8b() argument 2336 em_ret(struct x86_emulate_ctxt *ctxt) em_ret() argument 2348 em_ret_far(struct x86_emulate_ctxt *ctxt) em_ret_far() argument 2377 em_ret_far_imm(struct x86_emulate_ctxt *ctxt) em_ret_far_imm() argument 2388 em_cmpxchg(struct x86_emulate_ctxt *ctxt) em_cmpxchg() argument 2412 em_lseg(struct x86_emulate_ctxt *ctxt) em_lseg() argument 2428 emulator_has_longmode(struct x86_emulate_ctxt *ctxt) emulator_has_longmode() argument 2449 rsm_load_seg_32(struct x86_emulate_ctxt *ctxt, const char *smstate, int n) rsm_load_seg_32() argument 2471 rsm_load_seg_64(struct x86_emulate_ctxt *ctxt, const char *smstate, int n) rsm_load_seg_64() argument 2492 rsm_enter_protected_mode(struct x86_emulate_ctxt *ctxt, u64 cr0, u64 cr3, u64 cr4) rsm_enter_protected_mode() argument 2537 rsm_load_state_32(struct x86_emulate_ctxt *ctxt, const char *smstate) rsm_load_state_32() argument 2598 rsm_load_state_64(struct x86_emulate_ctxt *ctxt, const char *smstate) rsm_load_state_64() argument 2669 em_rsm(struct x86_emulate_ctxt *ctxt) em_rsm() argument 2753 setup_syscalls_segments(struct x86_emulate_ctxt *ctxt, struct desc_struct *cs, struct desc_struct *ss) setup_syscalls_segments() argument 2779 vendor_intel(struct x86_emulate_ctxt *ctxt) vendor_intel() argument 2788 em_syscall_is_enabled(struct x86_emulate_ctxt *ctxt) em_syscall_is_enabled() argument 2823 em_syscall(struct x86_emulate_ctxt *ctxt) em_syscall() argument 2882 em_sysenter(struct x86_emulate_ctxt *ctxt) em_sysenter() argument 2935 em_sysexit(struct x86_emulate_ctxt *ctxt) em_sysexit() argument 2995 emulator_bad_iopl(struct x86_emulate_ctxt *ctxt) emulator_bad_iopl() argument 3009 emulator_io_port_access_allowed(struct x86_emulate_ctxt *ctxt, u16 port, u16 len) emulator_io_port_access_allowed() argument 3050 emulator_io_permited(struct x86_emulate_ctxt *ctxt, u16 port, u16 len) emulator_io_permited() argument 3065 string_registers_quirk(struct x86_emulate_ctxt *ctxt) string_registers_quirk() argument 3089 save_state_to_tss16(struct x86_emulate_ctxt *ctxt, struct tss_segment_16 *tss) save_state_to_tss16() argument 3110 load_state_from_tss16(struct x86_emulate_ctxt *ctxt, struct tss_segment_16 *tss) load_state_from_tss16() argument 3167 task_switch_16(struct x86_emulate_ctxt *ctxt, u16 tss_selector, u16 old_tss_sel, ulong old_tss_base, struct desc_struct *new_desc) task_switch_16() argument 3202 save_state_to_tss32(struct x86_emulate_ctxt *ctxt, struct tss_segment_32 *tss) save_state_to_tss32() argument 3225 load_state_from_tss32(struct x86_emulate_ctxt *ctxt, struct tss_segment_32 *tss) load_state_from_tss32() argument 3306 task_switch_32(struct x86_emulate_ctxt *ctxt, u16 tss_selector, u16 old_tss_sel, ulong old_tss_base, struct desc_struct *new_desc) task_switch_32() argument 3345 emulator_do_task_switch(struct x86_emulate_ctxt *ctxt, u16 tss_selector, int idt_index, int reason, bool has_error_code, u32 error_code) emulator_do_task_switch() argument 3447 emulator_task_switch(struct x86_emulate_ctxt *ctxt, u16 tss_selector, int idt_index, int reason, bool has_error_code, u32 error_code) emulator_task_switch() argument 3468 string_addr_inc(struct x86_emulate_ctxt *ctxt, int reg, struct operand *op) string_addr_inc() argument 3477 em_das(struct x86_emulate_ctxt *ctxt) em_das() argument 3515 em_aam(struct x86_emulate_ctxt *ctxt) em_aam() argument 3537 em_aad(struct x86_emulate_ctxt *ctxt) em_aad() argument 3555 em_call(struct x86_emulate_ctxt *ctxt) em_call() argument 3567 em_call_far(struct x86_emulate_ctxt *ctxt) em_call_far() argument 3611 em_ret_near_imm(struct x86_emulate_ctxt *ctxt) em_ret_near_imm() argument 3626 em_xchg(struct x86_emulate_ctxt *ctxt) em_xchg() argument 3638 em_imul_3op(struct x86_emulate_ctxt *ctxt) em_imul_3op() argument 3644 em_cwd(struct x86_emulate_ctxt *ctxt) em_cwd() argument 3654 em_rdpid(struct x86_emulate_ctxt *ctxt) em_rdpid() argument 3666 em_rdtsc(struct x86_emulate_ctxt *ctxt) em_rdtsc() argument 3676 em_rdpmc(struct x86_emulate_ctxt *ctxt) em_rdpmc() argument 3687 em_mov(struct x86_emulate_ctxt *ctxt) em_mov() argument 3693 em_movbe(struct x86_emulate_ctxt *ctxt) em_movbe() argument 3726 em_cr_write(struct x86_emulate_ctxt *ctxt) em_cr_write() argument 3750 em_dr_write(struct x86_emulate_ctxt *ctxt) em_dr_write() argument 3768 em_wrmsr(struct x86_emulate_ctxt *ctxt) em_wrmsr() argument 3787 em_rdmsr(struct x86_emulate_ctxt *ctxt) em_rdmsr() argument 3806 em_store_sreg(struct x86_emulate_ctxt *ctxt, int segment) em_store_sreg() argument 3819 em_mov_rm_sreg(struct x86_emulate_ctxt *ctxt) em_mov_rm_sreg() argument 3827 em_mov_sreg_rm(struct x86_emulate_ctxt *ctxt) em_mov_sreg_rm() argument 3842 em_sldt(struct x86_emulate_ctxt *ctxt) em_sldt() argument 3847 em_lldt(struct x86_emulate_ctxt *ctxt) em_lldt() argument 3856 em_str(struct x86_emulate_ctxt *ctxt) em_str() argument 3861 em_ltr(struct x86_emulate_ctxt *ctxt) em_ltr() argument 3870 em_invlpg(struct x86_emulate_ctxt *ctxt) em_invlpg() argument 3883 em_clts(struct x86_emulate_ctxt *ctxt) em_clts() argument 3893 em_hypercall(struct x86_emulate_ctxt *ctxt) em_hypercall() argument 3907 emulate_store_desc_ptr(struct x86_emulate_ctxt *ctxt, void (*get)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *ptr)) emulate_store_desc_ptr() argument 3930 em_sgdt(struct x86_emulate_ctxt *ctxt) em_sgdt() argument 3935 em_sidt(struct x86_emulate_ctxt *ctxt) em_sidt() argument 3940 em_lgdt_lidt(struct x86_emulate_ctxt *ctxt, bool lgdt) em_lgdt_lidt() argument 3964 em_lgdt(struct x86_emulate_ctxt *ctxt) em_lgdt() argument 3969 em_lidt(struct x86_emulate_ctxt *ctxt) em_lidt() argument 3974 em_smsw(struct x86_emulate_ctxt *ctxt) em_smsw() argument 3986 em_lmsw(struct x86_emulate_ctxt *ctxt) em_lmsw() argument 3994 em_loop(struct x86_emulate_ctxt *ctxt) em_loop() argument 4006 em_jcxz(struct x86_emulate_ctxt *ctxt) em_jcxz() argument 4016 em_in(struct x86_emulate_ctxt *ctxt) em_in() argument 4025 em_out(struct x86_emulate_ctxt *ctxt) em_out() argument 4034 em_cli(struct x86_emulate_ctxt *ctxt) em_cli() argument 4043 em_sti(struct x86_emulate_ctxt *ctxt) em_sti() argument 4053 em_cpuid(struct x86_emulate_ctxt *ctxt) em_cpuid() argument 4074 em_sahf(struct x86_emulate_ctxt *ctxt) em_sahf() argument 4087 em_lahf(struct x86_emulate_ctxt *ctxt) em_lahf() argument 4094 em_bswap(struct x86_emulate_ctxt *ctxt) em_bswap() argument 4109 em_clflush(struct x86_emulate_ctxt *ctxt) em_clflush() argument 4115 em_clflushopt(struct x86_emulate_ctxt *ctxt) em_clflushopt() argument 4121 em_movsxd(struct x86_emulate_ctxt *ctxt) em_movsxd() argument 4127 check_fxsr(struct x86_emulate_ctxt *ctxt) check_fxsr() argument 4154 fxstate_size(struct x86_emulate_ctxt *ctxt) fxstate_size() argument 4182 em_fxsave(struct x86_emulate_ctxt *ctxt) em_fxsave() argument 4224 em_fxrstor(struct x86_emulate_ctxt *ctxt) em_fxrstor() argument 4261 em_xsetbv(struct x86_emulate_ctxt *ctxt) em_xsetbv() argument 4287 check_cr_access(struct x86_emulate_ctxt *ctxt) check_cr_access() argument 4295 check_dr7_gd(struct x86_emulate_ctxt *ctxt) check_dr7_gd() argument 4305 check_dr_read(struct x86_emulate_ctxt *ctxt) check_dr_read() argument 4330 check_dr_write(struct x86_emulate_ctxt *ctxt) check_dr_write() argument 4341 check_svme(struct x86_emulate_ctxt *ctxt) check_svme() argument 4353 check_svme_pa(struct x86_emulate_ctxt *ctxt) check_svme_pa() argument 4364 check_rdtsc(struct x86_emulate_ctxt *ctxt) check_rdtsc() argument 4374 check_rdpmc(struct x86_emulate_ctxt *ctxt) check_rdpmc() argument 4393 check_perm_in(struct x86_emulate_ctxt *ctxt) check_perm_in() argument 4402 check_perm_out(struct x86_emulate_ctxt *ctxt) check_perm_out() argument 4962 imm_size(struct x86_emulate_ctxt *ctxt) imm_size() argument 4972 decode_imm(struct x86_emulate_ctxt *ctxt, struct operand *op, unsigned size, bool sign_extension) decode_imm() argument 5012 decode_operand(struct x86_emulate_ctxt *ctxt, struct operand *op, unsigned d) decode_operand() argument 5178 x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len) x86_decode_insn() argument 5474 x86_page_table_writing_insn(struct x86_emulate_ctxt *ctxt) x86_page_table_writing_insn() argument 5479 string_insn_completed(struct x86_emulate_ctxt *ctxt) string_insn_completed() argument 5499 flush_pending_x87_faults(struct x86_emulate_ctxt *ctxt) flush_pending_x87_faults() argument 5519 fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop) fastop() argument 5537 init_decode_cache(struct x86_emulate_ctxt *ctxt) init_decode_cache() argument 5547 x86_emulate_insn(struct x86_emulate_ctxt *ctxt) x86_emulate_insn() argument 5899 emulator_invalidate_register_cache(struct x86_emulate_ctxt *ctxt) emulator_invalidate_register_cache() argument 5904 emulator_writeback_register_cache(struct x86_emulate_ctxt *ctxt) emulator_writeback_register_cache() argument 5909 emulator_can_use_gpa(struct x86_emulate_ctxt *ctxt) emulator_can_use_gpa() argument [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
| H A D | js_query.cpp | 72 auto ctxt = std::make_shared<ContextBase>(); in New() local 73 ctxt->GetCbInfoSync(env, info); in New() 74 ASSERT_ERR(env, ctxt->status == napi_ok, Status::INVALID_ARGUMENT, in New() 87 ASSERT_CALL(env, napi_wrap(env, ctxt->self, query, finalize, nullptr, nullptr), query); in New() 88 return ctxt->self; in New() 93 auto ctxt = std::make_shared<ContextBase>(); in Reset() local 94 ctxt->GetCbInfoSync(env, info); in Reset() 95 NAPI_ASSERT(env, ctxt->status == napi_ok, "Reset error"); in Reset() 97 auto& query = reinterpret_cast<JsQuery*>(ctxt->native)->query_; in Reset() 99 return ctxt in Reset() 127 auto ctxt = std::make_shared<ValueContext>(); EqualTo() local 158 auto ctxt = std::make_shared<ValueContext>(); NotEqualTo() local 185 auto ctxt = std::make_shared<ValueContext>(); GreaterThan() local 212 auto ctxt = std::make_shared<ValueContext>(); LessThan() local 239 auto ctxt = std::make_shared<ValueContext>(); GreaterThanOrEqualTo() local 266 auto ctxt = std::make_shared<ValueContext>(); LessThanOrEqualTo() local 293 auto ctxt = std::make_shared<ContextBase>(); IsNull() local 379 auto ctxt = std::make_shared<NumbersContext>(); InNumber() local 403 auto ctxt = std::make_shared<StringsContext>(); InString() local 428 auto ctxt = std::make_shared<NumbersContext>(); NotInNumber() local 452 auto ctxt = std::make_shared<StringsContext>(); NotInString() local 481 auto ctxt = std::make_shared<LikeContext>(); Like() local 510 auto ctxt = std::make_shared<UnlikeContext>(); Unlike() local 535 auto ctxt = std::make_shared<ContextBase>(); And() local 547 auto ctxt = std::make_shared<ContextBase>(); Or() local 560 auto ctxt = std::make_shared<ContextBase>(); OrderByAsc() local 583 auto ctxt = std::make_shared<ContextBase>(); OrderByDesc() local 608 auto ctxt = std::make_shared<LimitContext>(); Limit() local 634 auto ctxt = std::make_shared<ContextBase>(); IsNotNull() local 656 auto ctxt = std::make_shared<ContextBase>(); BeginGroup() local 668 auto ctxt = std::make_shared<ContextBase>(); EndGroup() local 680 auto ctxt = std::make_shared<ContextBase>(); PrefixKey() local 702 auto ctxt = std::make_shared<ContextBase>(); SetSuggestIndex() local 724 auto ctxt = std::make_shared<ContextBase>(); DeviceId() local 746 auto ctxt = std::make_shared<ContextBase>(); GetSqlLike() local [all...] |
| H A D | js_single_kv_store.cpp | 177 auto ctxt = std::make_shared<PutContext>(); in Put() local 178 ctxt->GetCbInfo(env, info, [env, ctxt](size_t argc, napi_value* argv) { in Put() 180 ASSERT_BUSINESS_ERR(ctxt, argc >= 2, Status::INVALID_ARGUMENT, in Put() 182 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->key); in Put() 183 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok, Status::INVALID_ARGUMENT, in Put() 185 ctxt->status = JSUtil::GetValue(env, argv[1], ctxt in Put() 225 auto ctxt = std::make_shared<DeleteContext>(); Delete() local 275 auto ctxt = std::make_shared<ContextBase>(); OnEvent() local 305 auto ctxt = std::make_shared<ContextBase>(); OffEvent() local 341 auto ctxt = std::make_shared<PutBatchContext>(); PutBatch() local 379 auto ctxt = std::make_shared<DeleteBatchContext>(); DeleteBatch() local 415 auto ctxt = std::make_shared<ContextBase>(); StartTransaction() local 436 auto ctxt = std::make_shared<ContextBase>(); Commit() local 458 auto ctxt = std::make_shared<ContextBase>(); Rollback() local 483 auto ctxt = std::make_shared<EnableSyncContext>(); EnableSync() local 518 auto ctxt = std::make_shared<SyncRangeContext>(); SetSyncRange() local 555 auto ctxt = std::make_shared<BackupContext>(); Backup() local 591 auto ctxt = std::make_shared<RestoreContext>(); Restore() local 626 auto ctxt = std::make_shared<DeleteBackupContext>(); DeleteBackup() local 658 OnDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OnDataChange() argument 697 OffDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OffDataChange() argument 747 OnSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OnSyncComplete() argument 768 OffSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OffSyncComplete() argument 889 auto ctxt = std::make_shared<GetContext>(); Get() local 976 auto ctxt = std::make_shared<GetEntriesContext>(); GetEntries() local 1017 auto ctxt = std::make_shared<GetResultSetContext>(); GetResultSet() local 1066 auto ctxt = std::make_shared<CloseResultSetContext>(); CloseResultSet() local 1106 auto ctxt = std::make_shared<ResultSizeContext>(); GetResultSize() local 1147 auto ctxt = std::make_shared<RemoveDeviceContext>(); RemoveDeviceData() local 1224 auto ctxt = std::make_shared<SyncContext>(); Sync() local 1256 auto ctxt = std::make_shared<SyncParamContext>(); SetSyncParam() local 1289 auto ctxt = std::make_shared<SecurityLevelContext>(); GetSecurityLevel() local 1310 auto ctxt = std::make_shared<ContextBase>(); New() local [all...] |
| H A D | js_device_kv_store.cpp | 90 auto ctxt = std::make_shared<GetContext>(); in Get() local 91 auto input = [env, ctxt](size_t argc, napi_value* argv) { in Get() 93 ASSERT_BUSINESS_ERR(ctxt, argc >= 1, Status::INVALID_ARGUMENT, in Get() 96 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->deviceId); in Get() 97 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok, Status::INVALID_ARGUMENT, in Get() 101 ctxt->status = JSUtil::GetValue(env, argv[pos], ctxt->key); in Get() 102 ASSERT_BUSINESS_ERR(ctxt, ctx in Get() 193 auto ctxt = std::make_shared<GetEntriesContext>(); GetEntries() local 236 auto ctxt = std::make_shared<GetResultSetContext>(); GetResultSet() local 287 auto ctxt = std::make_shared<ResultSizeContext>(); GetResultSize() local 316 auto ctxt = std::make_shared<ContextBase>(); New() local [all...] |
| H A D | js_kv_manager.cpp | 134 auto ctxt = std::make_shared<GetKVStoreContext>(); in GetKVStore() local 135 ctxt->GetCbInfo(env, info); in GetKVStore() 136 ASSERT_NULL(!ctxt->isThrowError, "GetKVStore exit"); in GetKVStore() 138 auto execute = [ctxt]() { in GetKVStore() 139 auto kvm = reinterpret_cast<JsKVManager*>(ctxt->native); in GetKVStore() 140 ASSERT_ARGS(ctxt, kvm != nullptr, "KVManager is null, failed!"); in GetKVStore() 142 StoreId storeId = { ctxt->storeId }; in GetKVStore() 143 ctxt->options.baseDir = kvm->param_->baseDir; in GetKVStore() 144 ctxt->options.area = kvm->param_->area + 1; in GetKVStore() 145 ctxt in GetKVStore() 183 auto ctxt = std::make_shared<ContextInfo>(); CloseKVStore() local 223 auto ctxt = std::make_shared<ContextInfo>(); DeleteKVStore() local 266 auto ctxt = std::make_shared<ContextInfo>(); GetAllKVStoreId() local 298 auto ctxt = std::make_shared<ContextBase>(); On() local 339 auto ctxt = std::make_shared<ContextBase>(); Off() local 400 auto ctxt = std::make_shared<ContextBase>(); New() local [all...] |
| /kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/ |
| H A D | sysreg-sr.h | 18 static inline void __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state() argument 20 ctxt_sys_reg(ctxt, MDSCR_EL1) = read_sysreg(mdscr_el1); in __sysreg_save_common_state() 23 static inline void __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state() argument 25 ctxt_sys_reg(ctxt, TPIDR_EL0) = read_sysreg(tpidr_el0); in __sysreg_save_user_state() 26 ctxt_sys_reg(ctxt, TPIDRRO_EL0) = read_sysreg(tpidrro_el0); in __sysreg_save_user_state() 29 static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state() argument 31 ctxt_sys_reg(ctxt, CSSELR_EL1) = read_sysreg(csselr_el1); in __sysreg_save_el1_state() 32 ctxt_sys_reg(ctxt, SCTLR_EL1) = read_sysreg_el1(SYS_SCTLR); in __sysreg_save_el1_state() 33 ctxt_sys_reg(ctxt, CPACR_EL1) = read_sysreg_el1(SYS_CPACR); in __sysreg_save_el1_state() 34 ctxt_sys_reg(ctxt, TTBR0_EL in __sysreg_save_el1_state() 54 __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) __sysreg_save_el2_return_state() argument 68 __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) __sysreg_restore_common_state() argument 73 __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) __sysreg_restore_user_state() argument 79 __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) __sysreg_restore_el1_state() argument 138 __sysreg_restore_el2_return_state(struct kvm_cpu_context *ctxt) __sysreg_restore_el2_return_state() argument [all...] |
| /foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
| H A D | system_defined_appitem_napi.cpp | 48 auto ctxt = std::make_shared<ContextBase>(); in New() local 49 ctxt->GetCbInfoSync(env, info); in New() 50 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 53 ASSERT_ERR(ctxt->env, sdAppItem != nullptr, Status::E_ERROR, "no memory for system defined appitem!"); in New() 55 ASSERT_CALL(env, napi_wrap(env, ctxt->self, sdAppItem, Destructor, nullptr, nullptr), sdAppItem); in New() 56 return ctxt->self; in New() 78 napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) in GetSystemDefinedAppItem() 81 ctxt in GetSystemDefinedAppItem() 77 GetSystemDefinedAppItem( napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) GetSystemDefinedAppItem() argument 89 auto ctxt = std::make_shared<ContextBase>(); GetAppId() local 101 auto ctxt = std::make_shared<ContextBase>(); SetAppId() local 122 auto ctxt = std::make_shared<ContextBase>(); GetAppName() local 134 auto ctxt = std::make_shared<ContextBase>(); SetAppName() local 155 auto ctxt = std::make_shared<ContextBase>(); GetAppIconId() local 167 auto ctxt = std::make_shared<ContextBase>(); SetAppIconId() local 188 auto ctxt = std::make_shared<ContextBase>(); GetAppLabelId() local 200 auto ctxt = std::make_shared<ContextBase>(); SetAppLabelId() local 221 auto ctxt = std::make_shared<ContextBase>(); GetBundleName() local 233 auto ctxt = std::make_shared<ContextBase>(); SetBundleName() local 254 auto ctxt = std::make_shared<ContextBase>(); GetAbilityName() local 266 auto ctxt = std::make_shared<ContextBase>(); SetAbilityName() local [all...] |
| H A D | system_defined_form_napi.cpp | 47 auto ctxt = std::make_shared<ContextBase>(); in New() local 48 ctxt->GetCbInfoSync(env, info); in New() 49 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 52 ASSERT_ERR(ctxt->env, sdForm != nullptr, Status::E_ERROR, "no memory for system defined form!"); in New() 54 ASSERT_CALL(env, napi_wrap(env, ctxt->self, sdForm, Destructor, nullptr, nullptr), sdForm); in New() 55 return ctxt->self; in New() 77 napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) in GetSystemDefinedForm() 80 ctxt in GetSystemDefinedForm() 76 GetSystemDefinedForm( napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> ctxt) GetSystemDefinedForm() argument 88 auto ctxt = std::make_shared<ContextBase>(); GetFormId() local 100 auto ctxt = std::make_shared<ContextBase>(); SetFormId() local 121 auto ctxt = std::make_shared<ContextBase>(); GetFormName() local 133 auto ctxt = std::make_shared<ContextBase>(); SetFormName() local 154 auto ctxt = std::make_shared<ContextBase>(); GetBundleName() local 166 auto ctxt = std::make_shared<ContextBase>(); SetBundleName() local 187 auto ctxt = std::make_shared<ContextBase>(); GetAbilityName() local 199 auto ctxt = std::make_shared<ContextBase>(); SetAbilityName() local 220 auto ctxt = std::make_shared<ContextBase>(); GetModule() local 232 auto ctxt = std::make_shared<ContextBase>(); SetModule() local [all...] |
| H A D | type_descriptor_napi.cpp | 45 auto ctxt = std::make_shared<ContextBase>(); in New() local 46 ctxt->GetCbInfoSync(env, info); in New() 47 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, ctxt->error); in New() 50 ASSERT_ERR(ctxt->env, descriptorNapi != nullptr, Status::E_ERROR, "no memory for descriptorNapi!"); in New() 52 ASSERT_CALL(ctxt->env, napi_wrap(env, ctxt->self, descriptorNapi, Destructor, nullptr, nullptr), descriptorNapi); in New() 53 return ctxt->self; in New() 75 std::shared_ptr<ContextBase> &ctxt) in GetDescriptorNapi() 74 GetDescriptorNapi(napi_env env, napi_callback_info info, std::shared_ptr<ContextBase> &ctxt) GetDescriptorNapi() argument 86 auto ctxt = std::make_shared<ContextBase>(); BelongsTo() local 109 auto ctxt = std::make_shared<ContextBase>(); IsLowerLevelType() local 132 auto ctxt = std::make_shared<ContextBase>(); IsHigherLevelType() local 155 auto ctxt = std::make_shared<ContextBase>(); Equals() local 176 auto ctxt = std::make_shared<ContextBase>(); GetTypeId() local 188 auto ctxt = std::make_shared<ContextBase>(); GetBelongingToTypes() local 200 auto ctxt = std::make_shared<ContextBase>(); GetDescription() local 212 auto ctxt = std::make_shared<ContextBase>(); GetReferenceURL() local 224 auto ctxt = std::make_shared<ContextBase>(); GetIconFile() local 236 auto ctxt = std::make_shared<ContextBase>(); GetFilenameExtensions() local 248 auto ctxt = std::make_shared<ContextBase>(); GetMimeTypes() local [all...] |
| H A D | unified_data_channel_napi.cpp | 77 auto ctxt = std::make_shared<InsertContext>(); in InsertData() local 78 auto input = [env, ctxt, &intention, &unifiedDataNapi](size_t argc, napi_value *argv) { in InsertData() 80 ASSERT_BUSINESS_ERR(ctxt, argc >= 2, in InsertData() 82 ctxt->status = GetNamedProperty(env, argv[0], "intention", intention); in InsertData() 83 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok && UnifiedDataUtils::IsPersist(intention), in InsertData() 85 ctxt->status = napi_unwrap(env, argv[1], reinterpret_cast<void **>(&unifiedDataNapi)); in InsertData() 86 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok, E_INVALID_PARAMETERS, in InsertData() 89 ctxt in InsertData() 115 auto ctxt = std::make_shared<UpdateContext>(); UpdateData() local 149 auto ctxt = std::make_shared<QueryContext>(); QueryData() local 202 auto ctxt = std::make_shared<DeleteContext>(); DeleteData() local 299 auto ctxt = std::make_shared<ContextBase>(); SetAppShareOptions() local 331 auto ctxt = std::make_shared<ContextBase>(); RemoveAppShareOptions() local [all...] |
| H A D | uniform_type_descriptor_napi.cpp | 67 auto ctxt = std::make_shared<ContextBase>(); in GetTypeDescriptor() local 68 auto input = [env, ctxt, &typeId](size_t argc, napi_value* argv) { in GetTypeDescriptor() 71 ASSERT_BUSINESS_ERR(ctxt, argc >= 1, in GetTypeDescriptor() 73 ctxt->status = NapiDataUtils::GetValue(env, argv[0], typeId); in GetTypeDescriptor() 74 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok, E_INVALID_PARAMETERS, in GetTypeDescriptor() 77 ctxt->GetCbInfoSync(env, info, input); in GetTypeDescriptor() 78 ASSERT_NULL(!ctxt->isThrowError, "GetTypeDescriptor Exit"); in GetTypeDescriptor() 81 ASSERT_ERR(ctxt->env, status == E_OK, status, "invalid arguments!"); in GetTypeDescriptor() 82 TypeDescriptorNapi::NewInstance(env, descriptor, ctxt in GetTypeDescriptor() 94 auto ctxt = std::make_shared<ContextBase>(); GetUniformDataTypeByFilenameExtension() local 132 auto ctxt = std::make_shared<ContextBase>(); GetUniformDataTypeByMIMEType() local 171 auto ctxt = std::make_shared<ContextBase>(); GetMultiUniformDataTypesByFilenameExtension() local 207 auto ctxt = std::make_shared<ContextBase>(); GetMultiUniformDataTypesByMIMEType() local [all...] |
| /foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
| H A D | js_cloud_share.cpp | 55 auto ctxt = std::make_shared<AllocResAndShareContext>(); in AllocResourceAndShare() local 56 ctxt->GetCbInfo(env, info, [env, ctxt](size_t argc, napi_value *argv) { in AllocResourceAndShare() 58 ASSERT_BUSINESS_ERR(ctxt, argc >= 3, Status::INVALID_ARGUMENT, "The number of parameters is incorrect."); in AllocResourceAndShare() 59 int status = JSUtils::Convert2Value(env, argv[0], ctxt->storeId); in AllocResourceAndShare() 60 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK && !ctxt->storeId.empty(), Status::INVALID_ARGUMENT, in AllocResourceAndShare() 63 status = JSUtils::Convert2Value(env, argv[1], ctxt->predicates); in AllocResourceAndShare() 64 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK, Status::INVALID_ARGUMENT, in AllocResourceAndShare() 67 status = JSUtils::Convert2Value(env, argv[2], ctxt in AllocResourceAndShare() 120 auto ctxt = std::make_shared<ShareContext>(); Share() local 171 auto ctxt = std::make_shared<UnshareContext>(); Unshare() local 219 auto ctxt = std::make_shared<ExitContext>(); Exit() local 267 auto ctxt = std::make_shared<ChangePrivilegeContext>(); ChangePrivilege() local 315 auto ctxt = std::make_shared<QueryContext>(); Query() local 360 auto ctxt = std::make_shared<QueryByInvitationContext>(); QueryByInvitation() local 405 auto ctxt = std::make_shared<ConfirmInvitationContext>(); ConfirmInvitation() local 457 auto ctxt = std::make_shared<ChangeConfirmationContext>(); ChangeConfirmation() local [all...] |
| H A D | js_config.cpp | 56 auto ctxt = std::make_shared<EnableCloudContext>(); in EnableCloud() local 57 ctxt->GetCbInfo(env, info, [env, ctxt](size_t argc, napi_value *argv) { in EnableCloud() 59 ASSERT_BUSINESS_ERR(ctxt, argc >= 2, Status::INVALID_ARGUMENT, "The number of parameters is incorrect."); in EnableCloud() 61 int status = JSUtils::Convert2Value(env, argv[0], ctxt->accountId); in EnableCloud() 62 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK && !ctxt->accountId.empty(), Status::INVALID_ARGUMENT, in EnableCloud() 64 status = JSUtils::Convert2Value(env, argv[1], ctxt->tempSwitches); in EnableCloud() 65 ASSERT_BUSINESS_ERR(ctxt, status == JSUtils::OK, Status::INVALID_ARGUMENT, in EnableCloud() 67 for (auto item : ctxt in EnableCloud() 107 auto ctxt = std::make_shared<DisableCloudContext>(); DisableCloud() local 155 auto ctxt = std::make_shared<ChangeAppSwitchContext>(); ChangeAppCloudSwitch() local 210 auto ctxt = std::make_shared<CleanContext>(); Clean() local 268 auto ctxt = std::make_shared<ChangeAppSwitchContext>(); NotifyDataChange() local 336 auto ctxt = std::make_shared<QueryStatisticsContext>(); QueryStatistics() local 384 auto ctxt = std::make_shared<CloudStrategyContext>(); SetGlobalCloudStrategy() local 467 auto ctxt = std::make_shared<QueryLastSyncInfoContext>(); QueryLastSyncInfo() local [all...] |
| /kernel/linux/linux-6.6/arch/arm64/kvm/hyp/include/hyp/ |
| H A D | sysreg-sr.h | 19 static inline void __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state() argument 21 ctxt_sys_reg(ctxt, MDSCR_EL1) = read_sysreg(mdscr_el1); in __sysreg_save_common_state() 24 static inline void __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state() argument 26 ctxt_sys_reg(ctxt, TPIDR_EL0) = read_sysreg(tpidr_el0); in __sysreg_save_user_state() 27 ctxt_sys_reg(ctxt, TPIDRRO_EL0) = read_sysreg(tpidrro_el0); in __sysreg_save_user_state() 30 static inline bool ctxt_has_mte(struct kvm_cpu_context *ctxt) in ctxt_has_mte() argument 32 struct kvm_vcpu *vcpu = ctxt->__hyp_running_vcpu; in ctxt_has_mte() 35 vcpu = container_of(ctxt, struct kvm_vcpu, arch.ctxt); in ctxt_has_mte() 40 static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state() argument 75 __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) __sysreg_save_el2_return_state() argument 89 __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) __sysreg_restore_common_state() argument 94 __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) __sysreg_restore_user_state() argument 100 __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) __sysreg_restore_el1_state() argument 170 to_hw_pstate(const struct kvm_cpu_context *ctxt) to_hw_pstate() argument 186 __sysreg_restore_el2_return_state(struct kvm_cpu_context *ctxt) __sysreg_restore_el2_return_state() argument [all...] |
| /kernel/linux/linux-6.6/arch/x86/kvm/ |
| H A D | emulate.c | 198 int (*execute)(struct x86_emulate_ctxt *ctxt); 207 int (*check_perm)(struct x86_emulate_ctxt *ctxt); 246 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers() argument 248 unsigned long dirty = ctxt->regs_dirty; in writeback_registers() 252 ctxt->ops->write_gpr(ctxt, reg, ctxt->_regs[reg]); in writeback_registers() 255 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers() argument 257 ctxt->regs_dirty = 0; in invalidate_registers() 258 ctxt in invalidate_registers() 466 emulator_check_intercept(struct x86_emulate_ctxt *ctxt, enum x86_intercept intercept, enum x86_intercept_stage stage) emulator_check_intercept() argument 511 ad_mask(struct x86_emulate_ctxt *ctxt) ad_mask() argument 516 stack_mask(struct x86_emulate_ctxt *ctxt) stack_mask() argument 527 stack_size(struct x86_emulate_ctxt *ctxt) stack_size() argument 534 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) address_mask() argument 543 register_address(struct x86_emulate_ctxt *ctxt, int reg) register_address() argument 554 register_address_increment(struct x86_emulate_ctxt *ctxt, int reg, int inc) register_address_increment() argument 561 rsp_increment(struct x86_emulate_ctxt *ctxt, int inc) rsp_increment() argument 573 seg_base(struct x86_emulate_ctxt *ctxt, int seg) seg_base() argument 581 emulate_exception(struct x86_emulate_ctxt *ctxt, int vec, u32 error, bool valid) emulate_exception() argument 593 emulate_db(struct x86_emulate_ctxt *ctxt) emulate_db() argument 598 emulate_gp(struct x86_emulate_ctxt *ctxt, int err) emulate_gp() argument 603 emulate_ss(struct x86_emulate_ctxt *ctxt, int err) emulate_ss() argument 608 emulate_ud(struct x86_emulate_ctxt *ctxt) emulate_ud() argument 613 emulate_ts(struct x86_emulate_ctxt *ctxt, int err) emulate_ts() argument 618 emulate_de(struct x86_emulate_ctxt *ctxt) emulate_de() argument 623 emulate_nm(struct x86_emulate_ctxt *ctxt) emulate_nm() argument 628 get_segment_selector(struct x86_emulate_ctxt *ctxt, unsigned seg) get_segment_selector() argument 637 set_segment_selector(struct x86_emulate_ctxt *ctxt, u16 selector, unsigned seg) set_segment_selector() argument 648 ctxt_virt_addr_bits(struct x86_emulate_ctxt *ctxt) ctxt_virt_addr_bits() argument 653 emul_is_noncanonical_address(u64 la, struct x86_emulate_ctxt *ctxt) emul_is_noncanonical_address() argument 668 insn_alignment(struct x86_emulate_ctxt *ctxt, unsigned size) insn_alignment() argument 687 __linearize(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, unsigned *max_size, unsigned size, bool write, bool fetch, enum x86emul_mode mode, ulong *linear) __linearize() argument 754 linearize(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, unsigned size, bool write, ulong *linear) linearize() argument 764 assign_eip(struct x86_emulate_ctxt *ctxt, ulong dst) assign_eip() argument 780 emulator_recalc_and_set_mode(struct x86_emulate_ctxt *ctxt) emulator_recalc_and_set_mode() argument 826 assign_eip_near(struct x86_emulate_ctxt *ctxt, ulong dst) assign_eip_near() argument 831 assign_eip_far(struct x86_emulate_ctxt *ctxt, ulong dst) assign_eip_far() argument 841 jmp_rel(struct x86_emulate_ctxt *ctxt, int rel) jmp_rel() argument 846 linear_read_system(struct x86_emulate_ctxt *ctxt, ulong linear, void *data, unsigned size) linear_read_system() argument 852 linear_write_system(struct x86_emulate_ctxt *ctxt, ulong linear, void *data, unsigned int size) linear_write_system() argument 859 segmented_read_std(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned size) segmented_read_std() argument 873 segmented_write_std(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned int size) segmented_write_std() argument 891 __do_insn_fetch_bytes(struct x86_emulate_ctxt *ctxt, int op_size) __do_insn_fetch_bytes() argument 935 do_insn_fetch_bytes(struct x86_emulate_ctxt *ctxt, unsigned size) do_insn_fetch_bytes() argument 974 decode_register(struct x86_emulate_ctxt *ctxt, u8 modrm_reg, int byteop) decode_register() argument 987 read_descriptor(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, u16 *size, unsigned long *address, int op_bytes) read_descriptor() argument 1048 em_bsf_c(struct x86_emulate_ctxt *ctxt) em_bsf_c() argument 1056 em_bsr_c(struct x86_emulate_ctxt *ctxt) em_bsr_c() argument 1093 em_fninit(struct x86_emulate_ctxt *ctxt) em_fninit() argument 1104 em_fnstcw(struct x86_emulate_ctxt *ctxt) em_fnstcw() argument 1120 em_fnstsw(struct x86_emulate_ctxt *ctxt) em_fnstsw() argument 1136 decode_register_operand(struct x86_emulate_ctxt *ctxt, struct operand *op) decode_register_operand() argument 1169 adjust_modrm_seg(struct x86_emulate_ctxt *ctxt, int base_reg) adjust_modrm_seg() argument 1175 decode_modrm(struct x86_emulate_ctxt *ctxt, struct operand *op) decode_modrm() argument 1312 decode_abs(struct x86_emulate_ctxt *ctxt, struct operand *op) decode_abs() argument 1333 fetch_bit_operand(struct x86_emulate_ctxt *ctxt) fetch_bit_operand() argument 1355 read_emulated(struct x86_emulate_ctxt *ctxt, unsigned long addr, void *dest, unsigned size) read_emulated() argument 1380 segmented_read(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned size) segmented_read() argument 1394 segmented_write(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, const void *data, unsigned size) segmented_write() argument 1409 segmented_cmpxchg(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, const void *orig_data, const void *data, unsigned size) segmented_cmpxchg() argument 1424 pio_in_emulated(struct x86_emulate_ctxt *ctxt, unsigned int size, unsigned short port, void *dest) pio_in_emulated() argument 1459 read_interrupt_descriptor(struct x86_emulate_ctxt *ctxt, u16 index, struct desc_struct *desc) read_interrupt_descriptor() argument 1474 get_descriptor_table_ptr(struct x86_emulate_ctxt *ctxt, u16 selector, struct desc_ptr *dt) get_descriptor_table_ptr() argument 1495 get_descriptor_ptr(struct x86_emulate_ctxt *ctxt, u16 selector, ulong *desc_addr_p) get_descriptor_ptr() argument 1524 read_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, struct desc_struct *desc, ulong *desc_addr_p) read_segment_descriptor() argument 1538 write_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, struct desc_struct *desc) write_segment_descriptor() argument 1551 __load_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, int seg, u8 cpl, enum x86_transfer_type transfer, struct desc_struct *desc) __load_segment_descriptor() argument 1756 load_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, int seg) load_segment_descriptor() argument 1784 writeback(struct x86_emulate_ctxt *ctxt, struct operand *op) writeback() argument 1822 push(struct x86_emulate_ctxt *ctxt, void *data, int bytes) push() argument 1833 em_push(struct x86_emulate_ctxt *ctxt) em_push() argument 1840 emulate_pop(struct x86_emulate_ctxt *ctxt, void *dest, int len) emulate_pop() argument 1856 em_pop(struct x86_emulate_ctxt *ctxt) em_pop() argument 1861 emulate_popf(struct x86_emulate_ctxt *ctxt, void *dest, int len) emulate_popf() argument 1903 em_popf(struct x86_emulate_ctxt *ctxt) em_popf() argument 1911 em_enter(struct x86_emulate_ctxt *ctxt) em_enter() argument 1933 em_leave(struct x86_emulate_ctxt *ctxt) em_leave() argument 1940 em_push_sreg(struct x86_emulate_ctxt *ctxt) em_push_sreg() argument 1953 em_pop_sreg(struct x86_emulate_ctxt *ctxt) em_pop_sreg() argument 1972 em_pusha(struct x86_emulate_ctxt *ctxt) em_pusha() argument 1992 em_pushf(struct x86_emulate_ctxt *ctxt) em_pushf() argument 1998 em_popa(struct x86_emulate_ctxt *ctxt) em_popa() argument 2019 __emulate_int_real(struct x86_emulate_ctxt *ctxt, int irq) __emulate_int_real() argument 2068 emulate_int_real(struct x86_emulate_ctxt *ctxt, int irq) emulate_int_real() argument 2079 emulate_int(struct x86_emulate_ctxt *ctxt, int irq) emulate_int() argument 2094 emulate_iret_real(struct x86_emulate_ctxt *ctxt) emulate_iret_real() argument 2150 em_iret(struct x86_emulate_ctxt *ctxt) em_iret() argument 2165 em_jmp_far(struct x86_emulate_ctxt *ctxt) em_jmp_far() argument 2188 em_jmp_abs(struct x86_emulate_ctxt *ctxt) em_jmp_abs() argument 2193 em_call_near_abs(struct x86_emulate_ctxt *ctxt) em_call_near_abs() argument 2207 em_cmpxchg8b(struct x86_emulate_ctxt *ctxt) em_cmpxchg8b() argument 2228 em_ret(struct x86_emulate_ctxt *ctxt) em_ret() argument 2240 em_ret_far(struct x86_emulate_ctxt *ctxt) em_ret_far() argument 2266 em_ret_far_imm(struct x86_emulate_ctxt *ctxt) em_ret_far_imm() argument 2277 em_cmpxchg(struct x86_emulate_ctxt *ctxt) em_cmpxchg() argument 2301 em_lseg(struct x86_emulate_ctxt *ctxt) em_lseg() argument 2317 em_rsm(struct x86_emulate_ctxt *ctxt) em_rsm() argument 2354 vendor_intel(struct x86_emulate_ctxt *ctxt) vendor_intel() argument 2363 em_syscall_is_enabled(struct x86_emulate_ctxt *ctxt) em_syscall_is_enabled() argument 2398 em_syscall(struct x86_emulate_ctxt *ctxt) em_syscall() argument 2457 em_sysenter(struct x86_emulate_ctxt *ctxt) em_sysenter() argument 2510 em_sysexit(struct x86_emulate_ctxt *ctxt) em_sysexit() argument 2570 emulator_bad_iopl(struct x86_emulate_ctxt *ctxt) emulator_bad_iopl() argument 2584 emulator_io_port_access_allowed(struct x86_emulate_ctxt *ctxt, u16 port, u16 len) emulator_io_port_access_allowed() argument 2625 emulator_io_permitted(struct x86_emulate_ctxt *ctxt, u16 port, u16 len) emulator_io_permitted() argument 2640 string_registers_quirk(struct x86_emulate_ctxt *ctxt) string_registers_quirk() argument 2664 save_state_to_tss16(struct x86_emulate_ctxt *ctxt, struct tss_segment_16 *tss) save_state_to_tss16() argument 2685 load_state_from_tss16(struct x86_emulate_ctxt *ctxt, struct tss_segment_16 *tss) load_state_from_tss16() argument 2742 task_switch_16(struct x86_emulate_ctxt *ctxt, u16 old_tss_sel, ulong old_tss_base, struct desc_struct *new_desc) task_switch_16() argument 2776 save_state_to_tss32(struct x86_emulate_ctxt *ctxt, struct tss_segment_32 *tss) save_state_to_tss32() argument 2799 load_state_from_tss32(struct x86_emulate_ctxt *ctxt, struct tss_segment_32 *tss) load_state_from_tss32() argument 2880 task_switch_32(struct x86_emulate_ctxt *ctxt, u16 old_tss_sel, ulong old_tss_base, struct desc_struct *new_desc) task_switch_32() argument 2918 emulator_do_task_switch(struct x86_emulate_ctxt *ctxt, u16 tss_selector, int idt_index, int reason, bool has_error_code, u32 error_code) emulator_do_task_switch() argument 3019 emulator_task_switch(struct x86_emulate_ctxt *ctxt, u16 tss_selector, int idt_index, int reason, bool has_error_code, u32 error_code) emulator_task_switch() argument 3040 string_addr_inc(struct x86_emulate_ctxt *ctxt, int reg, struct operand *op) string_addr_inc() argument 3049 em_das(struct x86_emulate_ctxt *ctxt) em_das() argument 3087 em_aam(struct x86_emulate_ctxt *ctxt) em_aam() argument 3109 em_aad(struct x86_emulate_ctxt *ctxt) em_aad() argument 3127 em_call(struct x86_emulate_ctxt *ctxt) em_call() argument 3139 em_call_far(struct x86_emulate_ctxt *ctxt) em_call_far() argument 3183 em_ret_near_imm(struct x86_emulate_ctxt *ctxt) em_ret_near_imm() argument 3198 em_xchg(struct x86_emulate_ctxt *ctxt) em_xchg() argument 3210 em_imul_3op(struct x86_emulate_ctxt *ctxt) em_imul_3op() argument 3216 em_cwd(struct x86_emulate_ctxt *ctxt) em_cwd() argument 3226 em_rdpid(struct x86_emulate_ctxt *ctxt) em_rdpid() argument 3238 em_rdtsc(struct x86_emulate_ctxt *ctxt) em_rdtsc() argument 3248 em_rdpmc(struct x86_emulate_ctxt *ctxt) em_rdpmc() argument 3259 em_mov(struct x86_emulate_ctxt *ctxt) em_mov() argument 3265 em_movbe(struct x86_emulate_ctxt *ctxt) em_movbe() argument 3298 em_cr_write(struct x86_emulate_ctxt *ctxt) em_cr_write() argument 3322 em_dr_write(struct x86_emulate_ctxt *ctxt) em_dr_write() argument 3340 em_wrmsr(struct x86_emulate_ctxt *ctxt) em_wrmsr() argument 3356 em_rdmsr(struct x86_emulate_ctxt *ctxt) em_rdmsr() argument 3374 em_store_sreg(struct x86_emulate_ctxt *ctxt, int segment) em_store_sreg() argument 3387 em_mov_rm_sreg(struct x86_emulate_ctxt *ctxt) em_mov_rm_sreg() argument 3395 em_mov_sreg_rm(struct x86_emulate_ctxt *ctxt) em_mov_sreg_rm() argument 3410 em_sldt(struct x86_emulate_ctxt *ctxt) em_sldt() argument 3415 em_lldt(struct x86_emulate_ctxt *ctxt) em_lldt() argument 3424 em_str(struct x86_emulate_ctxt *ctxt) em_str() argument 3429 em_ltr(struct x86_emulate_ctxt *ctxt) em_ltr() argument 3438 em_invlpg(struct x86_emulate_ctxt *ctxt) em_invlpg() argument 3451 em_clts(struct x86_emulate_ctxt *ctxt) em_clts() argument 3461 em_hypercall(struct x86_emulate_ctxt *ctxt) em_hypercall() argument 3475 emulate_store_desc_ptr(struct x86_emulate_ctxt *ctxt, void (*get)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *ptr)) emulate_store_desc_ptr() argument 3498 em_sgdt(struct x86_emulate_ctxt *ctxt) em_sgdt() argument 3503 em_sidt(struct x86_emulate_ctxt *ctxt) em_sidt() argument 3508 em_lgdt_lidt(struct x86_emulate_ctxt *ctxt, bool lgdt) em_lgdt_lidt() argument 3532 em_lgdt(struct x86_emulate_ctxt *ctxt) em_lgdt() argument 3537 em_lidt(struct x86_emulate_ctxt *ctxt) em_lidt() argument 3542 em_smsw(struct x86_emulate_ctxt *ctxt) em_smsw() argument 3554 em_lmsw(struct x86_emulate_ctxt *ctxt) em_lmsw() argument 3562 em_loop(struct x86_emulate_ctxt *ctxt) em_loop() argument 3574 em_jcxz(struct x86_emulate_ctxt *ctxt) em_jcxz() argument 3584 em_in(struct x86_emulate_ctxt *ctxt) em_in() argument 3593 em_out(struct x86_emulate_ctxt *ctxt) em_out() argument 3602 em_cli(struct x86_emulate_ctxt *ctxt) em_cli() argument 3611 em_sti(struct x86_emulate_ctxt *ctxt) em_sti() argument 3621 em_cpuid(struct x86_emulate_ctxt *ctxt) em_cpuid() argument 3642 em_sahf(struct x86_emulate_ctxt *ctxt) em_sahf() argument 3655 em_lahf(struct x86_emulate_ctxt *ctxt) em_lahf() argument 3662 em_bswap(struct x86_emulate_ctxt *ctxt) em_bswap() argument 3677 em_clflush(struct x86_emulate_ctxt *ctxt) em_clflush() argument 3683 em_clflushopt(struct x86_emulate_ctxt *ctxt) em_clflushopt() argument 3689 em_movsxd(struct x86_emulate_ctxt *ctxt) em_movsxd() argument 3695 check_fxsr(struct x86_emulate_ctxt *ctxt) check_fxsr() argument 3722 fxstate_size(struct x86_emulate_ctxt *ctxt) fxstate_size() argument 3750 em_fxsave(struct x86_emulate_ctxt *ctxt) em_fxsave() argument 3792 em_fxrstor(struct x86_emulate_ctxt *ctxt) em_fxrstor() argument 3829 em_xsetbv(struct x86_emulate_ctxt *ctxt) em_xsetbv() argument 3858 check_cr_access(struct x86_emulate_ctxt *ctxt) check_cr_access() argument 3866 check_dr7_gd(struct x86_emulate_ctxt *ctxt) check_dr7_gd() argument 3875 check_dr_read(struct x86_emulate_ctxt *ctxt) check_dr_read() argument 3900 check_dr_write(struct x86_emulate_ctxt *ctxt) check_dr_write() argument 3911 check_svme(struct x86_emulate_ctxt *ctxt) check_svme() argument 3923 check_svme_pa(struct x86_emulate_ctxt *ctxt) check_svme_pa() argument 3934 check_rdtsc(struct x86_emulate_ctxt *ctxt) check_rdtsc() argument 3944 check_rdpmc(struct x86_emulate_ctxt *ctxt) check_rdpmc() argument 3968 check_perm_in(struct x86_emulate_ctxt *ctxt) check_perm_in() argument 3977 check_perm_out(struct x86_emulate_ctxt *ctxt) check_perm_out() argument 4544 imm_size(struct x86_emulate_ctxt *ctxt) imm_size() argument 4554 decode_imm(struct x86_emulate_ctxt *ctxt, struct operand *op, unsigned size, bool sign_extension) decode_imm() argument 4594 decode_operand(struct x86_emulate_ctxt *ctxt, struct operand *op, unsigned d) decode_operand() argument 4760 x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type) x86_decode_insn() argument 5059 x86_page_table_writing_insn(struct x86_emulate_ctxt *ctxt) x86_page_table_writing_insn() argument 5064 string_insn_completed(struct x86_emulate_ctxt *ctxt) string_insn_completed() argument 5084 flush_pending_x87_faults(struct x86_emulate_ctxt *ctxt) flush_pending_x87_faults() argument 5104 fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop) fastop() argument 5122 init_decode_cache(struct x86_emulate_ctxt *ctxt) init_decode_cache() argument 5137 x86_emulate_insn(struct x86_emulate_ctxt *ctxt) x86_emulate_insn() argument 5489 emulator_invalidate_register_cache(struct x86_emulate_ctxt *ctxt) emulator_invalidate_register_cache() argument 5494 emulator_writeback_register_cache(struct x86_emulate_ctxt *ctxt) emulator_writeback_register_cache() argument 5499 emulator_can_use_gpa(struct x86_emulate_ctxt *ctxt) emulator_can_use_gpa() argument [all...] |
| /third_party/libwebsockets/lib/misc/ |
| H A D | sha-1.c | 80 #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...] |
| /base/time/time_service/framework/js/napi/common/src/ |
| H A D | napi_work.cpp | 74 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...] |
| /foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
| H A D | napi_async_work.cpp | 78 napi_value NapiAsyncWork::Enqueue(napi_env env, std::shared_ptr<ContextBase> ctxt, const std::string& name, in Enqueue() argument 82 ctxt->execute = std::move(execute); in Enqueue() 83 ctxt->complete = std::move(complete); in Enqueue() 84 ctxt->taskName = name; in Enqueue() 86 if (ctxt->callbackRef == nullptr) { in Enqueue() 87 napi_create_promise(ctxt->env, &ctxt->deferred, &promise); in Enqueue() 90 napi_get_undefined(ctxt->env, &promise); in Enqueue() 94 napi_create_string_utf8(ctxt->env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in Enqueue() 96 ctxt in Enqueue() 127 GenerateOutput(ContextBase* ctxt) GenerateOutput() argument [all...] |
| /foundation/multimedia/audio_framework/frameworks/js/napi/common/ |
| H A D | napi_async_work.cpp | 89 napi_value NapiAsyncWork::Enqueue(napi_env env, std::shared_ptr<ContextBase> ctxt, const std::string &name, in Enqueue() argument 93 ctxt->execute = std::move(execute); in Enqueue() 94 ctxt->complete = std::move(complete); in Enqueue() 95 ctxt->taskName = name; in Enqueue() 97 if (ctxt->callbackRef == nullptr) { in Enqueue() 98 napi_create_promise(ctxt->env, &ctxt->deferred, &promise); in Enqueue() 101 napi_get_undefined(ctxt->env, &promise); in Enqueue() 105 napi_create_string_utf8(ctxt->env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in Enqueue() 107 ctxt in Enqueue() 135 CommonCallbackRoutine(ContextBase *ctxt) CommonCallbackRoutine() argument [all...] |
| /foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
| H A D | napi_async_work.cpp | 79 napi_value NapiAsyncWork::Enqueue(napi_env env, std::shared_ptr<ContextBase> ctxt, const std::string &name, in Enqueue() argument 83 ctxt->execute = std::move(execute); in Enqueue() 84 ctxt->complete = std::move(complete); in Enqueue() 85 ctxt->taskName = name; in Enqueue() 87 if (ctxt->callbackRef == nullptr) { in Enqueue() 88 napi_create_promise(ctxt->env, &ctxt->deferred, &promise); in Enqueue() 91 napi_get_undefined(ctxt->env, &promise); in Enqueue() 95 napi_create_string_utf8(ctxt->env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in Enqueue() 97 ctxt in Enqueue() 125 CommonCallbackRoutine(ContextBase *ctxt) CommonCallbackRoutine() argument [all...] |