Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 105) sorted by relevance

12345

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
H A Dinform_message.c36 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 Dframe.rs150 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 Derror.rs154 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 Dhdf_tool_exception.py15 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 Dhdf_command_line_server.py69 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 Dhuks_adapter.c1339 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 Dhuks_adapter_mock.c1177 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 Dhuks_adapter_mock_for_pake.c1248 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 Dnapi_common_ability_wrap_utils.cpp294 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 Dnative_api_internal.h30 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 Dstd_filesystem.cpp114 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 Dstd_directory.cpp101 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 Dstd_file.cpp110 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 Dmovedir.cpp41 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 Dcopydir.cpp78 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 Dfile_utils.cpp39 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 Dnnrt_test.cpp182 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 Dmtp_media_library.cpp151 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 Dmtp_storage_manager.cpp63 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 Ddrawing_register_font.cpp49 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 Dhichain.c54 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 Dcopy_dir.cpp35 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 Dnapi_common_util.cpp1100 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 Derror__code_8h.md1 # error_code.h
/ohos5.0/base/global/i18n/services/src/
H A Dhmos_timezone_mount.cpp102 std::error_code ec; in ensureDirectoryExists()
115 std::error_code ec; in clearPath()

12345