/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/ |
H A D | inform_message.c | 36 int32_t error_code = get_json_int(obj, FIELD_ERROR_CODE); in parse_inform_message() local 37 if (error_code == -1) { in parse_inform_message() 41 inform_msg->error_code = error_code; in parse_inform_message() 65 int32_t code = (int32_t)(inform_msg->error_code); in make_inform_message()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A D | frame.rs | 150 error_code: u32, field 175 error_code: u32, field 477 pub fn new(error_code: u32, last_stream_id: StreamId, debug_data: Vec<u8>) -> Self { in new() 479 error_code, in new() 497 self.error_code in get_error_code() 556 pub fn new(error_code: u32) -> Self { in new() 557 Self { error_code } in new() 561 pub fn error_code(&self) -> u32 { in error_code() method 562 self.error_code in error_code() 569 ErrorCode::try_from(self.error_code)?, in error() [all …]
|
H A D | error.rs | 154 let error_code: Result<ErrorCode, _> = i.try_into(); in ut_test_error_code_try_from() localVariable 155 assert!(error_code.is_ok()); in ut_test_error_code_try_from()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
H A D | hdf_tool_exception.py | 15 def __init__(self, msg, error_code=CommandErrorCode.UNKNOWN_ERROR): argument 17 self.error_code = error_code
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_command_line_server.py | 69 def _send_back(self, msg_type, content, error_code=None): argument 70 message_bytes = pack_message(msg_type, content, error_code) 77 def _send_back_error(self, error_code, content): argument 78 self._send_back(Message.TYPE_ERROR, content, error_code) 113 self._send_back_error(exc.error_code, exc.exc_msg)
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
H A D | huks_adapter.c | 1339 return error_code; in check_key_alias_is_owner() 1349 return error_code; in check_key_alias_is_owner() 1442 return error_code; in get_lt_public_key_list() 1588 return error_code; in verify() 1594 return error_code; in verify() 1600 return error_code; in verify() 1606 return error_code; in verify() 1614 return error_code; in verify() 1628 return error_code; in verify() 1675 return error_code; in verify_with_public_key() [all …]
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/ |
H A D | huks_adapter_mock.c | 1177 return error_code; in check_key_alias_is_owner() 1187 return error_code; in check_key_alias_is_owner() 1280 return error_code; in get_lt_public_key_list() 1412 return error_code; in verify_with_public_key() 1418 return error_code; in verify_with_public_key() 1424 return error_code; in verify_with_public_key() 1432 return error_code; in verify_with_public_key() 1445 return error_code; in verify_with_public_key() 1488 return error_code; in compute_sts_shared_secret() 1494 return error_code; in compute_sts_shared_secret() [all …]
|
H A D | huks_adapter_mock_for_pake.c | 1248 return error_code; in check_key_alias_is_owner() 1258 return error_code; in check_key_alias_is_owner() 1351 return error_code; in get_lt_public_key_list() 1482 return error_code; in verify_with_public_key() 1488 return error_code; in verify_with_public_key() 1494 return error_code; in verify_with_public_key() 1502 return error_code; in verify_with_public_key() 1515 return error_code; in verify_with_public_key() 1558 return error_code; in compute_sts_shared_secret() 1564 return error_code; in compute_sts_shared_secret() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_common_ability_wrap_utils.cpp | 294 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in GetFilesDirExecuteCallback() 298 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in GetFilesDirExecuteCallback() 313 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in GetFilesDirExecuteCallback() 330 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in IsUpdatingConfigurationsExecuteCallback() 334 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in IsUpdatingConfigurationsExecuteCallback() 364 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in PrintDrawnCompletedExecuteCallback() 368 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in PrintDrawnCompletedExecuteCallback() 393 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in GetOrCreateDistributedDirExecuteCallback() 397 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in GetOrCreateDistributedDirExecuteCallback() 435 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in GetCacheDirExecuteCallback() [all …]
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api_internal.h | 30 napi_status error_code, 34 ((NativeEngine*)env)->SetLastError(error_code, engine_error_code, engine_reserved); 35 return error_code;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_filesystem.cpp | 114 std::error_code ec; in DeleteFile() 148 std::error_code ec; in DeleteDirectory() 164 std::error_code ec; in Rename() 199 std::error_code ec; in CORE_BEGIN_NAMESPACE()
|
H A D | std_directory.cpp | 101 std::error_code ec; in Create() 111 std::error_code ec; in Open() 125 std::error_code ec; in GetEntries() 252 std::error_code ec; in ResolveAbsolutePath()
|
H A D | std_file.cpp | 110 std::error_code ec; in Open() 144 std::error_code ec; in Create()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | movedir.cpp | 41 std::error_code errCode; in JudgeExistAndEmpty() 55 std::error_code errCode; in RmDirectory() 57 std::error_code errCode; in RmDirectory() 73 std::error_code errCode; in RemovePath() 108 std::error_code errCode; in CopyAndDeleteFile() 127 std::error_code errCode; in RenameFile() 161 std::error_code errCode; in RenameDir()
|
H A D | copydir.cpp | 78 std::error_code errCode; in MakeDir() 94 std::error_code errCode; in RemoveFile() 117 std::error_code errCode; in CopyFile() 140 std::error_code errCode; in CopySubDir() 212 std::error_code errCode; in CopyDirFunc()
|
/ohos5.0/base/update/updateservice/services/core/ability/utils/src/ |
H A D | file_utils.cpp | 39 std::error_code errorCode; in GetFileSize() 104 std::error_code errorCode; in RemoveAll() 188 std::error_code errorCode; in CreatDirWithPermission()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.cpp | 182 errno_t error_code = memcpy_s(const_cast<void*>(memory->data), memory->length, buffer, length); in SetInputFromMemory() local 183 if (error_code != EOK) { in SetInputFromMemory() 185 error_code); in SetInputFromMemory()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_media_library.cpp | 151 std::error_code ec; in ScanDirNoDepth() 407 std::error_code ec; in GetObjectInfo() 433 std::error_code ec; in GetFd() 698 std::error_code ec; in CrossCopyAfter() 721 std::error_code ec; in MoveObject() 772 std::error_code ec; in CopyObject() 796 std::error_code ec; in DeleteObject() 835 std::error_code ec; in SetObjectPropValue() 983 std::error_code ec; in ScanDirWithType() 1009 std::error_code ec; in ScanDirTraverseWithType() [all …]
|
H A D | mtp_storage_manager.cpp | 63 std::error_code ec; in GetTotalSize() 76 std::error_code ec; in GetFreeSize()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_register_font.cpp | 49 static bool StdFilesystemExists(const std::string &p, std::error_code &ec) in StdFilesystemExists() 94 std::error_code ec; in LoadFontDataFromFile()
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/ |
H A D | hichain.c | 54 static void encap_inform_message(int32_t error_code, struct message *send); 60 uint16_t snd_msg_code, int32_t error_code, int32_t errorCodeRecv); 478 uint16_t snd_msg_code, int32_t error_code, int32_t errorCodeRecv) in set_result() argument 480 if (error_code != HC_OK) { in set_result() 517 static void encap_inform_message(int32_t error_code, struct message *send) in encap_inform_message() argument 519 if ((error_code == HC_OK) || (send->msg_code != INFORM_MESSAGE) || (send->payload != NULL)) { in encap_inform_message() 524 if (error_code == HC_UNSUPPORT) { in encap_inform_message() 535 *err = error_code; in encap_inform_message()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | copy_dir.cpp | 35 std::error_code errCode; in MakeDir() 51 std::error_code errCode; in RemoveFile() 82 std::error_code errCode; in CopyFile()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_util.cpp | 1100 revParam[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompleteAsyncCallbackWork() 1128 if (asyncCallbackInfo->error_code) { in CompleteAsyncVoidCallbackWork() 1129 …NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, asyncCallbackInfo->error_code, &result[PARAM0])); in CompleteAsyncVoidCallbackWork() 1132 if (asyncCallbackInfo->error_code == NAPI_ERR_NO_ERROR) { in CompleteAsyncVoidCallbackWork() 1165 if (asyncCallbackInfo->error_code == NAPI_ERR_NO_ERROR) { in CompletePromiseCallbackWork() 1169 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseCallbackWork() 1187 if (asyncCallbackInfo->error_code == NAPI_ERR_NO_ERROR) { in CompletePromiseVoidCallbackWork() 1191 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseVoidCallbackWork()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | error__code_8h.md | 1 # error_code.h
|
/ohos5.0/base/global/i18n/services/src/ |
H A D | hmos_timezone_mount.cpp | 102 std::error_code ec; in ensureDirectoryExists() 115 std::error_code ec; in clearPath()
|