/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_probe_tmpl.h | 7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw() argument 9 switch (code->size) { in fetch_store_raw() 29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield() argument 31 switch (code->basesize) { in fetch_apply_bitfield() 33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield() 34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield() 37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield() 38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield() 41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield() 42 *(u32 *)buf >>= code in fetch_apply_bitfield() 103 process_common_fetch_insn(struct fetch_insn *code, unsigned long *val) process_common_fetch_insn() argument 123 process_fetch_insn_bottom(struct fetch_insn *code, unsigned long val, void *dest, void *base) process_fetch_insn_bottom() argument [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_probe_tmpl.h | 7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw() argument 9 switch (code->size) { in fetch_store_raw() 29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield() argument 31 switch (code->basesize) { in fetch_apply_bitfield() 33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield() 34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield() 37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield() 38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield() 41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield() 42 *(u32 *)buf >>= code in fetch_apply_bitfield() 72 process_fetch_insn_bottom(struct fetch_insn *code, unsigned long val, void *dest, void *base) process_fetch_insn_bottom() argument [all...] |
H A D | trace_probe.c | 3 * Common code for probe-based Dynamic events. 5 * This code was copied from kernel/trace/trace_kprobe.c written by 273 struct fetch_insn *code, unsigned int flags, int offs) in parse_probe_vars() 281 code->op = FETCH_OP_RETVAL; in parse_probe_vars() 288 code->op = FETCH_OP_STACKP; in parse_probe_vars() 298 code->op = FETCH_OP_STACK; in parse_probe_vars() 299 code->param = (unsigned int)param; in parse_probe_vars() 304 code->op = FETCH_OP_COMM; in parse_probe_vars() 316 code->op = FETCH_OP_ARG; in parse_probe_vars() 317 code in parse_probe_vars() 272 parse_probe_vars(char *arg, const struct fetch_type *t, struct fetch_insn *code, unsigned int flags, int offs) parse_probe_vars() argument 358 struct fetch_insn *code = *pcode; parse_probe_arg() local 512 struct fetch_insn *code = *pcode; __parse_bitfield_probe_arg() local 546 struct fetch_insn *code, *scode, *tmp = NULL; traceprobe_parse_probe_arg_body() local 792 struct fetch_insn *code = arg->code; traceprobe_free_probe_arg() local 808 struct fetch_insn *code = arg->code; traceprobe_update_arg() local [all...] |
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_init.cpp | 89 napi_value code = nullptr; in CreateAsyKeySpecItemCode() local 90 napi_create_object(env, &code); in CreateAsyKeySpecItemCode() 92 AddUint32Property(env, code, "DSA_P_BN", DSA_P_BN); in CreateAsyKeySpecItemCode() 93 AddUint32Property(env, code, "DSA_Q_BN", DSA_Q_BN); in CreateAsyKeySpecItemCode() 94 AddUint32Property(env, code, "DSA_G_BN", DSA_G_BN); in CreateAsyKeySpecItemCode() 95 AddUint32Property(env, code, "DSA_SK_BN", DSA_SK_BN); in CreateAsyKeySpecItemCode() 96 AddUint32Property(env, code, "DSA_PK_BN", DSA_PK_BN); in CreateAsyKeySpecItemCode() 98 AddUint32Property(env, code, "ECC_FP_P_BN", ECC_FP_P_BN); in CreateAsyKeySpecItemCode() 99 AddUint32Property(env, code, "ECC_A_BN", ECC_A_BN); in CreateAsyKeySpecItemCode() 100 AddUint32Property(env, code, "ECC_B_B in CreateAsyKeySpecItemCode() 138 napi_value code = nullptr; CreateAsyKeySpecTypeCode() local 159 napi_value code = nullptr; CreateCipherSpecItemCode() local 181 napi_value code = nullptr; CreateSignSpecItemCode() local [all...] |
/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_stub.h | 27 AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply); 32 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override; 38 ErrCode ProcAddAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 39 ErrCode ProcAddAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply); 40 ErrCode ProcCreateAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 41 ErrCode ProcCreateAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply); 42 ErrCode ProcDeleteAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 43 ErrCode ProcGetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply); 44 ErrCode ProcSetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply); 45 ErrCode ProcSetAppAccess(uint32_t code, MessageParce [all...] |
/test/xts/acts/communication/wifi_ErrorCode201/entry/src/ohosTest/js/test/ |
H A D | ActWifiErrorCode201.test.js | 82 console.error(`scan failed, code is ${error.code}, message is ${error.message}`); 83 expect(error.code).assertEqual("201") 101 console.error(`getScanInfoList failed, code is ${error.code}, message is ${error.message}`); 102 expect(error.code).assertEqual("201") 129 console.error(`addCandidateConfig promise failed, code ${error.code}, message ${error.message}`); 130 expect(error.code).assertEqual("201") 156 console.error(`addCandidateConfig callback,code [all...] |
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/mock/src/ |
H A D | enterprise_device_mgr_stub_mock.cpp | 34 int EnterpriseDeviceMgrStubMock::InvokeSendRequestGetEnterpriseInfo(uint32_t code, MessageParcel &data,
in InvokeSendRequestGetEnterpriseInfo() argument 37 GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestGetEnterpriseInfo code :" << code;
in InvokeSendRequestGetEnterpriseInfo() 39 code_ = code;
in InvokeSendRequestGetEnterpriseInfo() 45 int EnterpriseDeviceMgrStubMock::InvokeSendRequestEnableAdmin(uint32_t code, MessageParcel &data, MessageParcel &reply,
in InvokeSendRequestEnableAdmin() argument 48 GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestEnableAdmin code :" << code;
in InvokeSendRequestEnableAdmin() 49 code_ = code;
in InvokeSendRequestEnableAdmin() 57 int EnterpriseDeviceMgrStubMock::InvokeSendRequestMapEnableAdminTwoSuc(uint32_t code, MessageParcel &data,
in InvokeSendRequestMapEnableAdminTwoSuc() argument 60 GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestMapEnableAdminTwoSuc code in InvokeSendRequestMapEnableAdminTwoSuc() 71 InvokeSendRequestSetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestSetPolicy() argument 80 InvokeSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetPolicy() argument 90 InvokeSendRequestGetPolicyForWriteFileToStream(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetPolicyForWriteFileToStream() argument 100 InvokeSendRequestSetPolicyInstallFail(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestSetPolicyInstallFail() argument 109 InvokeBoolSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeBoolSendRequestGetPolicy() argument 119 InvokeBoolSendRequestGetFirewallRule(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeBoolSendRequestGetFirewallRule() argument 132 InvokeSendRequestGetDomainFilterRules(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetDomainFilterRules() argument 146 InvokeIntSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeIntSendRequestGetPolicy() argument 156 InvokeArrayStringSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeArrayStringSendRequestGetPolicy() argument 167 InvokeSendRequestGetErrPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetErrPolicy() argument 176 InvokeSendRequestGetPolicyExceedsMax(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetPolicyExceedsMax() argument 187 InvokeArrayElementSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeArrayElementSendRequestGetPolicy() argument 197 InvokeSendRequestParamError(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestParamError() argument 207 InvokeHttpProxySendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeHttpProxySendRequestGetPolicy() argument 218 InvokeBluetoothProxySendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeBluetoothProxySendRequestGetPolicy() argument 231 InvokeAccountProxySendRequestAddOsAccount(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeAccountProxySendRequestAddOsAccount() argument 245 InvokeAllowedUsbDevicesSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeAllowedUsbDevicesSendRequestGetPolicy() argument 265 InvokeDisallowedUsbDevicesSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeDisallowedUsbDevicesSendRequestGetPolicy() argument 286 InvokeSendRequestGetSuperAdmin(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetSuperAdmin() argument 297 InvokeSendRequestGetOTAUpdatePolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetOTAUpdatePolicy() argument 310 InvokeSendRequestGetUpgradeResult(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetUpgradeResult() argument 325 InvokeSendRequestGetPasswordPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestGetPasswordPolicy() argument [all...] |
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_ffi.cpp | 29 auto code = NotificationManagerImpl::Publish(request); in FfiOHOSNotificationManagerPublish() local 30 return code; in FfiOHOSNotificationManagerPublish() 35 auto code = NotificationManagerImpl::Cancel(id, label); in FfiOHOSNotificationManagerCancel() local 36 return code; in FfiOHOSNotificationManagerCancel() 41 auto code = NotificationManagerImpl::CancelAll(); in FfiOHOSNotificationManagerCancelAll() local 42 return code; in FfiOHOSNotificationManagerCancelAll() 47 auto code = NotificationManagerImpl::AddSlot(type); in FfiOHOSNotificationManagerAddSlot() local 48 return code; in FfiOHOSNotificationManagerAddSlot() 65 auto code = NotificationManagerImpl::RemoveSlot(type); in FfiOHOSNotificationManagerRemoveSlot() local 66 return code; in FfiOHOSNotificationManagerRemoveSlot() 71 auto code = NotificationManagerImpl::RemoveAllSlots(); FfiOHOSNotificationManagerRemoveAllSlots() local 89 auto code = NotificationManagerImpl::CancelGroup(cGroupName); FfiOHOSNotificationManagerCancelGroup() local 101 auto code = NotificationManagerImpl::SetNotificationEnable(option, enable); FfiOHOSNotificationManagerSetNotificationEnable() local 107 auto code = NotificationManagerImpl::DisplayBadge(option, enable); FfiOHOSNotificationManagerDisplayBadge() local 121 auto code = NotificationManagerImpl::SetSlotFlagsByBundle(option, slotFlags); FfiOHOSNotificationManagerSetSlotFlagsByBundle() local 141 auto code = NotificationManagerImpl::RemoveGroupByBundle(option, cGroupName); FfiOHOSNotificationManagerRemoveGroupByBundle() local 162 auto code = NotificationManagerImpl::SetBadgeNumber(badgeNumber); FfiOHOSNotificationManagerSetBadgeNumber() local 168 auto code = NotificationManagerImpl::RequestEnableNotification(); FfiOHOSNotificationManagerRequestEnableNotification() local 179 auto code = NotificationManagerImpl::RequestEnableNotificationWithContext(context); FfiOHOSNotificationManagerRequestEnableNotificationWithContext() local [all...] |
H A D | notification_manager_impl.cpp | 67 int code = NotificationHelper::PublishNotification(request); in Publish() local 68 return ErrorToExternal(code); in Publish() 73 int code = NotificationHelper::CancelNotification(label, id); in Cancel() local 74 return ErrorToExternal(code); in Cancel() 79 int code = NotificationHelper::CancelAllNotifications(); in CancelAll() local 80 return ErrorToExternal(code); in CancelAll() 89 int code = NotificationHelper::AddSlotByType(slot); in AddSlot() local 90 return ErrorToExternal(code); in AddSlot() 157 int code = NotificationHelper::RemoveNotificationSlot(slot); in RemoveSlot() local 158 return ErrorToExternal(code); in RemoveSlot() 163 int code = NotificationHelper::RemoveAllSlots(); RemoveAllSlots() local 171 int code = NotificationHelper::GetActiveNotificationNums(num); GetActiveNotificationCount() local 181 int code = NotificationHelper::GetActiveNotifications(requests); GetActiveNotifications() local 221 int code = NotificationHelper::CancelGroup(groupName); CancelGroup() local 230 int code = NotificationHelper::IsSupportTemplate(templateName, isSupport); IsSupportTemplate() local 243 int code = NotificationHelper::SetNotificationsEnabledForSpecifiedBundle(bundleOption, deviceId, enable); SetNotificationEnable() local 253 int code = NotificationHelper::SetShowBadgeEnabledForBundle(bundleOption, enable); DisplayBadge() local 266 int code = NotificationHelper::GetShowBadgeEnabledForBundle(bundleOption, enabled); IsBadgeDisplayed() local 278 int code = NotificationHelper::SetNotificationSlotFlagsAsBundle(bundleOption, slotFlags); SetSlotFlagsByBundle() local 291 int code = NotificationHelper::GetNotificationSlotFlagsAsBundle(bundleOption, slotFlags); GetSlotFlagsByBundle() local 306 int code = NotificationHelper::GetNotificationSlotNumAsBundle(bundleOption, num); GetSlotNumByBundle() local 319 int code = NotificationHelper::RemoveGroupByBundle(bundleOption, groupName); RemoveGroupByBundle() local 349 int code = NotificationHelper::SetBadgeNumber(badgeNumber); SetBadgeNumber() local 362 int code = NotificationHelper::RequestEnableNotification(deviceId, client, params.callerToken); RequestEnableNotification() local 379 int code = NotificationHelper::RequestEnableNotification(deviceId, client, params.callerToken); RequestEnableNotificationWithContext() local 388 int code = NotificationHelper::IsDistributedEnabled(enable); IsDistributedEnabled() local [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | disasm.c | 143 insn->code, insn->dst_reg, in print_bpf_end_insn() 144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 153 insn->code, insn->dst_reg, in print_bpf_bswap_insn() 159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod() 165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx() 174 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 184 insn->code, clas in print_bpf_insn() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | disasm.c | 143 insn->code, insn->dst_reg, in print_bpf_end_insn() 144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 153 insn->code, insn->dst_reg, in print_bpf_bswap_insn() 159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod() 165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx() 174 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 184 insn->code, clas in print_bpf_insn() [all...] |
/test/xts/acts/communication/wifi_ErrorCode401/entry/src/ohosTest/js/test/ |
H A D | ActWifiErrorCode401.test.js | 88 expect(err.code).assertEqual("401");
125 expect(error.code).assertEqual("401");
143 console.error(`removeCandidate promise failed, code ${error.code}, message ${error.message}`);
144 expect(error.code).assertEqual("401")
161 console.error(`removeCand callback, code ${error.code}, message ${error.message}`);
162 expect(error.code).assertEqual("401")
169 console.error(`removeCandidateConfig failed, code ${error.code}, messag [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | disasm.c | 112 insn->code, insn->dst_reg, in print_bpf_end_insn() 113 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn() 122 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() 125 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn() 127 verbose(cbs->private_data, "BUG_alu64_%02x\n", insn->code); in print_bpf_insn() 130 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn() 132 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 135 } else if (BPF_SRC(insn->code) == BPF_X) { in print_bpf_insn() 137 insn->code, class == BPF_ALU ? 'w' : 'r', in print_bpf_insn() 139 bpf_alu_string[BPF_OP(insn->code) >> in print_bpf_insn() [all...] |
/test/xts/acts/ability/ability_runtime/capiabilityruntime/entry/src/main/cpp/ |
H A D | napi_init.cpp | 30 napi_value code; in Throw() local 31 napi_create_int32(env, errCode, &code); in Throw() 41 napi_create_error(env, code, msg, &error); in Throw() 49 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetBundleName(buffer, BUF_SIZE, &writeLength); in GetBundleName() local 50 if (code != ABILITY_RUNTIME_ERROR_CODE_NO_ERROR) { in GetBundleName() 51 OH_LOG_ERROR(LOG_APP, "error %{public}d", code); in GetBundleName() 52 Throw(env, code, ""); in GetBundleName() 65 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetCacheDir(buffer, BUF_SIZE, &writeLength); in GetCacheDir() local 66 if (code != ABILITY_RUNTIME_ERROR_CODE_NO_ERROR) { in GetCacheDir() 67 OH_LOG_ERROR(LOG_APP, "error %{public}d", code); in GetCacheDir() 80 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetAreaMode(&mode); GetAreaMode() local 122 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetBundleName(NULL, BUF_SIZE, &writeLength); TestGetBundleName() local 235 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetCacheDir(NULL, BUF_SIZE, &writeLength); TestGetCacheDir() local 346 AbilityRuntime_ErrorCode code = OH_AbilityRuntime_ApplicationContextGetAreaMode(NULL); TestGetAreaMode() local [all...] |
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/ |
H A D | DeviceKvStoreKVPromiseJsTest.js | 84 console.error('beforeAll getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 103 console.error('beforeAll can NOT getDeviceId, fail: ' + `, error code is ${error.code}, message is ${error.message}`); 126 console.error('beforeEach getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 139 console.error('afterEach deleteKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 142 console.error('afterEach closeKVStore err ' + `, error code is ${err.code}, messag [all...] |
H A D | SingleKvStoreKVPromiseJsTest.js | 96 console.error('beforeEach getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 109 console.error('afterEach deleteKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 112 console.error('afterEach closeKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 131 console.error('SUB_DDM_DKV_SINGLEKVSTORE_PUTSTRING_PROMISE_0100 put error' + `, error code is ${error.code}, message is ${error.message}`); 134 console.error('SUB_DDM_DKV_SINGLEKVSTORE_PUTSTRING_PROMISE_0100 e ' + `, error code is ${e.code}, messag [all...] |
H A D | KvManagerKVPromiseJsTest.js | 76 console.error('afterEach deleteKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 79 console.error('afterEach closeKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 98 console.error('SUB_DDM_DKV_KVMANAGER_GETKVSTORE_PROMISE_0100 getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 101 console.error('SUB_DDM_DKV_KVMANAGER_GETKVSTORE_PROMISE_0100 getKVStore e ' + `, error code is ${e.code}, message is ${e.message}`); 102 expect(e.code == 401).assertTrue(); 120 console.error('SUB_DDM_DKV_KVMANAGER_GETKVSTORE_PROMISE_0200 getKVStore err ' + `, error code i [all...] |
H A D | KvStoreResultSetKVJsTest.js | 53 console.error('beforeAll deleteKVStore error ' + `, error code is ${err.code}, message is ${err.message}`); 57 console.error('beforeAll getAllKVStoreId err ' + `, error code is ${err.code}, message is ${err.message}`); 77 console.error('beforeEach getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 94 console.error('beforeEach putBatch fail ' + `, error code is ${err.code}, message is ${err.message}`); 100 console.error('beforeEach getResultSet fail ' + `, error code is ${err.code}, messag [all...] |
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/mock/include/ |
H A D | enterprise_device_mgr_stub_mock.h | 44 int InvokeSendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option)
in InvokeSendRequest() argument 46 GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequest code :" << code;
in InvokeSendRequest() 47 code_ = code;
in InvokeSendRequest() 52 int InvokeSendRequestGetEnterpriseInfo(uint32_t code, MessageParcel &data, MessageParcel &reply,
55 int InvokeSendRequestEnableAdmin(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option);
57 int InvokeSendRequestMapEnableAdminTwoSuc(uint32_t code, MessageParcel &data, MessageParcel &reply,
60 int InvokeSendRequestSetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option);
62 int InvokeSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option);
64 int InvokeBoolSendRequestGetPolicy(uint32_t code, MessageParce 119 InvokeSendRequestReplyFail(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestReplyFail() argument 127 InvokeSendRequestFail(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) InvokeSendRequestFail() argument [all...] |
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/ |
H A D | BtMGattManager401.test.js | 122 console.error('[bluetooth_js]error.code:'+JSON.stringify(error.code)+
124 expect(Number(error.code)).assertEqual(401);
141 console.error(`[bluetooth_js]setBLEMtuSize3 failed, code is ${error.code},
143 expect(Number(error.code)).assertEqual(401);
170 console.error(`[bluetooth_js]readCharacteValue1 failed, code is ${error.code},
172 expect(Number(error.code)).assertEqual(401);
196 console.error(`[bluetooth_js]readCharacteValue2 failed, code i [all...] |
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/ |
H A D | effect_filter_test.cpp | 92 ImageEffect_ErrorCode code = OH_EffectBufferInfo_SetAddr(bufferInfo, addr); in OHEffectBufferInfoSetAddr() local 97 napi_create_int32(env, code, &ret); in OHEffectBufferInfoSetAddr() 109 ImageEffect_ErrorCode code; in OHEffectBufferInfoGetAddr() local 111 napi_create_int32(env, code, &ret); in OHEffectBufferInfoGetAddr() 119 code = OH_EffectBufferInfo_GetAddr(bufferInfo, &retAddr); in OHEffectBufferInfoGetAddr() 126 code = OH_EffectBufferInfo_GetAddr(bufferInfo, &retAddr); in OHEffectBufferInfoGetAddr() 130 code = OH_EffectBufferInfo_GetAddr(bufferInfo, &retAddr); in OHEffectBufferInfoGetAddr() 136 napi_create_int32(env, code, &ret); in OHEffectBufferInfoGetAddr() 180 ImageEffect_ErrorCode code = OH_EffectBufferInfo_SetEffectFormat(bufferInfo, format); in OHEffectBufferInfoSetEffectFormat() local 184 napi_create_int32(env, code, in OHEffectBufferInfoSetEffectFormat() 199 ImageEffect_ErrorCode code; OHEffectBufferInfoGetEffectFormat() local 264 ImageEffect_ErrorCode code = OH_EffectBufferInfo_SetHeight(bufferInfo, height); OHEffectBufferInfoSetHeight() local 281 ImageEffect_ErrorCode code; OHEffectBufferInfoGetHeight() local 327 ImageEffect_ErrorCode code; OHEffectBufferInfoSetRowSize() local 363 ImageEffect_ErrorCode code; OHEffectBufferInfoGetRowSize() local 409 ImageEffect_ErrorCode code; OHEffectBufferInfoSetWidth() local 446 ImageEffect_ErrorCode code; OHEffectBufferInfoGetWidth() local 492 ImageEffect_ErrorCode code; OHEffectBufferInfoSetTimestamp() local 526 ImageEffect_ErrorCode code; OHEffectBufferInfoGetTimestamp() local 578 ImageEffect_ErrorCode code = OH_EffectBufferInfo_Release(bufferInfo); OHEffectBufferInfoRelease() local 608 ImageEffect_ErrorCode code; OHEffectFilterInfoSetFilterName() local 639 ImageEffect_ErrorCode code; OHEffectFilterInfoGetFilterName() local 676 ImageEffect_ErrorCode code; OHEffectFilterInfoSetSupportedBufferTypes() local 711 ImageEffect_ErrorCode code; OHEffectFilterInfoGetSupportedBufferTypes() local 770 ImageEffect_ErrorCode code = OH_EffectFilterInfo_SetSupportedFormats(filterInfo, size, formats); OHEffectFilterInfoSetSupportedFormats() local 784 ImageEffect_ErrorCode code; GetSupportedFormats() local 818 ImageEffect_ErrorCode code; OHEffectFilterInfoGetSupportedFormats() local 864 ImageEffect_ErrorCode code; OHEffectFilterInfoRelease() local 902 int code = IMAGE_EFFECT_CODE_401; OHEffectFilterCreate() local 921 ImageEffect_ErrorCode code; OHEffectFilterSetValue() local 966 ImageEffect_ErrorCode code; OHEffectFilterGetValue() local 1013 ImageEffect_ErrorCode code; OHEffectFilterLookupFilterInfo() local 1064 int code = -1; OHEffectFilterLookupFilters() local 1091 ImageEffect_ErrorCode code; OHEffectFilterRegister() local 1118 ImageEffect_ErrorCode code; OHEffectFilterRelease() local [all...] |
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_mock_stub_getdescriptor_test.cpp | 44 uint32_t code = 0; in HWTEST_F() local 50 EXPECT_TRUE(E_GET_THERMAL_SERVICE_FAILED == actionStub->OnRemoteRequest(code, data, reply, option)); in HWTEST_F() 53 EXPECT_TRUE(E_GET_THERMAL_SERVICE_FAILED == levelStub->OnRemoteRequest(code, data, reply, option)); in HWTEST_F() 56 EXPECT_TRUE(E_GET_THERMAL_SERVICE_FAILED == tempStub->OnRemoteRequest(code, data, reply, option)); in HWTEST_F() 85 * @tc.desc: stub OnRemoteRequest Invalid code 91 uint32_t code = 9999; in HWTEST_F() local 98 int32_t ret = actionStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F() 99 EXPECT_EQ(ret, IPC_STUB_UNKNOW_TRANS_ERR) << "ret: " << ret << " code: " << code; in HWTEST_F() local 103 ret = levelStub->OnRemoteRequest(code, dat in HWTEST_F() 104 EXPECT_EQ(ret, IPC_STUB_UNKNOW_TRANS_ERR) << "ret: " << ret << " code: " << code; HWTEST_F() local 109 EXPECT_EQ(ret, IPC_STUB_UNKNOW_TRANS_ERR) << "ret: " << ret << " code: " << code; HWTEST_F() local 123 uint32_t code = HWTEST_F() local 133 EXPECT_EQ(ret, ERR_OK) << "ret: " << ret << " code: " << code; HWTEST_F() local 138 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local 144 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local 151 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local 164 uint32_t code = HWTEST_F() local 176 EXPECT_EQ(ret, ERR_OK) << "ret: " << ret << " code: " << code; HWTEST_F() local 181 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local 187 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local 194 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local 207 uint32_t code = HWTEST_F() local 216 EXPECT_EQ(ret, E_READ_PARCEL_ERROR_THERMAL) << "ret: " << ret << " code: " << code; HWTEST_F() local [all...] |
/base/customization/enterprise_device_management/test/fuzztest/adminserviceinterface_fuzzer/ |
H A D | admin_service_interface_fuzzer.cpp | 37 for (uint32_t code = EdmInterfaceCode::ADD_DEVICE_ADMIN; code <= EdmInterfaceCode::AUTHORIZE_ADMIN; code++) { in LLVMFuzzerTestOneInput() 40 CommonFuzzer::OnRemoteRequestFuzzerTest(code, data, size, parcel); in LLVMFuzzerTestOneInput() 42 uint32_t code = (CommonFuzzer::GetU32Data(data)) % 3100; in LLVMFuzzerTestOneInput() local 43 if (code == EdmInterfaceCode::RESET_FACTORY || code == EdmInterfaceCode::SHUTDOWN || in LLVMFuzzerTestOneInput() 44 code == EdmInterfaceCode::REBOOT || code == EdmInterfaceCode::USB_READ_ONLY || in LLVMFuzzerTestOneInput() 45 code in LLVMFuzzerTestOneInput() [all...] |
/base/account/os_account/frameworks/account_iam/src/ |
H A D | account_iam_callback_stub.cpp | 29 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() 32 code, IPCSkeleton::GetCallingUid(), IPCSkeleton::GetCallingRealPid()); in OnRemoteRequest() 34 ACCOUNT_LOGE("check IDMCallbackStub descriptor failed! code %{public}u.", code); in OnRemoteRequest() 37 switch (code) { in OnRemoteRequest() 45 ACCOUNT_LOGW("remote request unhandled: %{public}d", code); in OnRemoteRequest() 46 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest() 89 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() 92 code, IPCSkeleton::GetCallingUid(), IPCSkeleton::GetCallingRealPid()); in OnRemoteRequest() 94 ACCOUNT_LOGE("check GetCredInfoCallbackStub descriptor failed! code in OnRemoteRequest() 28 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument 88 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument 147 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument 183 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument 218 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | unwind_decoder.c | 30 * UNW_DEC_BAD_CODE(code) 86 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument 103 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument 121 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument 141 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument 162 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r1() argument 164 int body = (code & 0x20) != 0; in unw_decode_r1() 167 rlen = (code & 0x1f); in unw_decode_r1() 173 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_r2() argument 180 mask = ((code in unw_decode_r2() 188 unw_decode_r3(unsigned char *dp, unsigned char code, void *arg) unw_decode_r3() argument 198 unw_decode_p1(unsigned char *dp, unsigned char code, void *arg) unw_decode_p1() argument 207 unw_decode_p2_p5(unsigned char *dp, unsigned char code, void *arg) unw_decode_p2_p5() argument 256 unw_decode_p6(unsigned char *dp, unsigned char code, void *arg) unw_decode_p6() argument 269 unw_decode_p7_p10(unsigned char *dp, unsigned char code, void *arg) unw_decode_p7_p10() argument 368 unw_decode_b1(unsigned char *dp, unsigned char code, void *arg) unw_decode_b1() argument 380 unw_decode_b2(unsigned char *dp, unsigned char code, void *arg) unw_decode_b2() argument 390 unw_decode_b3_x4(unsigned char *dp, unsigned char code, void *arg) unw_decode_b3_x4() argument 454 unsigned char code; unw_decode() local [all...] |