/foundation/arkui/napi/native_engine/ |
H A D | native_api_internal.h | 30 napi_status error_code, in napi_set_last_error() 34 ((NativeEngine*)env)->SetLastError(error_code, engine_error_code, engine_reserved); in napi_set_last_error() 35 return error_code; in napi_set_last_error() 29 napi_set_last_error(napi_env env, napi_status error_code, uint32_t engine_error_code = 0, void* engine_reserved = nullptr) napi_set_last_error() argument
|
/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() 84 std::error_code errCode;
in ParseJsOperand() 109 std::error_code errCode;
in CopyAndDeleteFile() 128 std::error_code errCode;
in RenameFile() 162 std::error_code errCode;
in RenameDir() 207 std::error_code errCode;
in RecurMoveDir()
|
H A D | copydir.cpp | 64 std::error_code errCode;
in ParseAndCheckJsOperand() 92 std::error_code errCode;
in MakeDir() 108 std::error_code errCode;
in RemoveFile() 131 std::error_code errCode;
in CopyFile() 154 std::error_code errCode;
in CopySubDir() 226 std::error_code errCode;
in CopyDirFunc()
|
H A D | move.cpp | 40 std::error_code errCode; in CheckDir() 100 std::error_code errCode; in CopyAndDeleteFile()
|
/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 GetEntry()
|
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()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_register_font.cpp | 43 static bool StdFilesystemExists(const std::string& p, std::error_code& ec) in StdFilesystemExists() 81 std::error_code ec; in LoadFontDataFromFile()
|
/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()
|
/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() 304 asyncCallbackInfo->error_code = NAPI_ERR_ABILITY_TYPE_INVALID; 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() 340 asyncCallbackInfo->error_code = NAPI_ERR_ABILITY_TYPE_INVALID; in IsUpdatingConfigurationsExecuteCallback() 364 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in PrintDrawnCompletedExecuteCallback() 368 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in PrintDrawnCompletedExecuteCallback() 374 asyncCallbackInfo->error_code in PrintDrawnCompletedExecuteCallback() [all...] |
H A D | napi_common_ability.cpp | 534 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in GetDisplayOrientationExecuteCallback() 539 asyncCallbackInfo->error_code = NAPI_ERR_ACE_ABILITY; in GetDisplayOrientationExecuteCallback() 545 asyncCallbackInfo->error_code = NAPI_ERR_ABILITY_TYPE_INVALID; in GetDisplayOrientationExecuteCallback() 583 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in NAPI_GetDisplayOrientationCommon() 1002 asyncCallbackInfo->error_code = NAPI_ERR_NO_ERROR; in NAPI_StopAbilityCommon()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | app_clone_key_manager.cpp | 35 std::error_code errCode; in ActiveAppCloneUserKey()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | picture_ext_test.cpp | 440 uint32_t error_code; in HWTEST_F() local 441 std::unique_ptr<Picture> picture = imageSource->CreatePicture(opts, error_code); in HWTEST_F() 465 uint32_t error_code; in HWTEST_F() local 466 std::unique_ptr<Picture> picture = imageSource->CreatePicture(opts, error_code); in HWTEST_F() 488 uint32_t error_code; in HWTEST_F() local 489 std::unique_ptr<Picture> picture = imageSource->CreatePicture(opts, error_code); in HWTEST_F() 513 uint32_t error_code; in HWTEST_F() local 514 std::unique_ptr<Picture> picture = imageSource->CreatePicture(opts, error_code); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_data.h | 76 int error_code = 0; member
|
H A D | js_plugin_component.cpp | 175 asyncCallbackInfo->error_code = 0; in JSPushCompleteAsyncCallbackWork() 191 asyncCallbackInfo->error_code = 0; in JSPushCompletePromiseCallbackWork() 403 asyncCallbackInfo->error_code = 0; in AceRequestPromiseAsyncCallbackWork() 407 asyncCallbackInfo->error_code = NAPI_ACE_ERR_ERROR; in AceRequestPromiseAsyncCallbackWork()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | translistener.cpp | 37 std::error_code errCode; in RmDir() 120 std::error_code errCode; in PrepareCopySession() 155 std::error_code errCode; in CopyToSandBox()
|
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()
|
H A D | move_file.cpp | 94 std::error_code errCode; in CopyAndDeleteFile()
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_data.h | 103 int error_code; member
|
H A D | napi_common_util.cpp | 1079 revParam[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompleteAsyncCallbackWork() 1107 if (asyncCallbackInfo->error_code) { in CompleteAsyncVoidCallbackWork() 1108 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, asyncCallbackInfo->error_code, &result[PARAM0])); in CompleteAsyncVoidCallbackWork() 1111 if (asyncCallbackInfo->error_code == NAPI_ERR_NO_ERROR) { in CompleteAsyncVoidCallbackWork() 1144 if (asyncCallbackInfo->error_code == NAPI_ERR_NO_ERROR) { in CompletePromiseCallbackWork() 1148 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseCallbackWork() 1166 if (asyncCallbackInfo->error_code == NAPI_ERR_NO_ERROR) { in CompletePromiseVoidCallbackWork() 1170 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseVoidCallbackWork()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/copy_listener/ |
H A D | trans_listener.cpp | 43 std::error_code errCode; in RmDir() 158 std::error_code errCode; in PrepareCopySession() 193 std::error_code errCode; in CopyToSandBox()
|
/foundation/multimodalinput/input/service/libinput_adapter/src/ |
H A D | hotplug_detector.cpp | 41 return std::error_code{errno, std::system_category()}; in SystemError()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | kv_delegate.cpp | 53 std::error_code ec;
in RemoveDbFile() 65 std::error_code code;
in CopyFile() 71 // If src doesn't exist, error will be returned through `std::error_code`
in CopyFile()
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/ipc/ |
H A D | cloud_daemon.cpp | 131 error_code errCode; in HandleStartMove()
|
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | media_monitor_service.cpp | 426 std::error_code errorCode; in DumpFileClear() 464 std::error_code errorCode; in HistoryFilesHandle()
|