Home
last modified time | relevance | path

Searched refs:error_code (Results 1 - 25 of 56) sorted by relevance

123

/foundation/arkui/napi/native_engine/
H A Dnative_api_internal.h30 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 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()
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 Dcopydir.cpp64 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 Dmove.cpp40 std::error_code errCode; in CheckDir()
100 std::error_code errCode; in CopyAndDeleteFile()
/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 GetEntry()
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()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_register_font.cpp43 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 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()
/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()
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 Dnapi_common_ability.cpp534 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 Dapp_clone_key_manager.cpp35 std::error_code errCode; in ActiveAppCloneUserKey()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpicture_ext_test.cpp440 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 Djs_plugin_data.h76 int error_code = 0; member
H A Djs_plugin_component.cpp175 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 Dtranslistener.cpp37 std::error_code errCode; in RmDir()
120 std::error_code errCode; in PrepareCopySession()
155 std::error_code errCode; in CopyToSandBox()
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()
H A Dmove_file.cpp94 std::error_code errCode; in CopyAndDeleteFile()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_data.h103 int error_code; member
H A Dnapi_common_util.cpp1079 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 Dtrans_listener.cpp43 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 Dhotplug_detector.cpp41 return std::error_code{errno, std::system_category()}; in SystemError()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dkv_delegate.cpp53 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 Dcloud_daemon.cpp131 error_code errCode; in HandleStartMove()
/foundation/multimedia/media_foundation/services/media_monitor/server/src/
H A Dmedia_monitor_service.cpp426 std::error_code errorCode; in DumpFileClear()
464 std::error_code errorCode; in HistoryFilesHandle()

Completed in 16 milliseconds

123