Home
last modified time | relevance | path

Searched refs:PatchErrorCode (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp73 if (ret != PatchErrorCode::SUCCESS) { in LoadPatchIfNeeded()
81 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, const std::string &patchFileName, in LoadPatch()
87 return PatchErrorCode::PATCH_HAS_LOADED; in LoadPatch()
94 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
102 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
110 if (ret != PatchErrorCode::SUCCESS) { in LoadPatch()
117 return PatchErrorCode::SUCCESS; in LoadPatch()
120 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, in LoadPatch()
127 return PatchErrorCode::PATCH_HAS_LOADED; in LoadPatch()
134 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch()
[all …]
Dquick_fix_manager.h22 using PatchErrorCode = panda::JSNApi::PatchErrorCode; variable
33PatchErrorCode LoadPatch(JSThread *thread, const std::string &patchFileName, const std::string &ba…
34 PatchErrorCode LoadPatch(JSThread *thread,
37 PatchErrorCode UnloadPatch(JSThread *thread, const std::string &patchFileName);
Dpatch_loader.h26 using PatchErrorCode = panda::JSNApi::PatchErrorCode; variable
98 static PatchErrorCode LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile,
101 static PatchErrorCode UnloadPatchInternal(JSThread *thread, const CString &patchFileName,
Dpatch_loader.cpp25 PatchErrorCode PatchLoader::LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, in LoadPatchInternal()
35 return PatchErrorCode::PACKAGE_NOT_ESMODULE; in LoadPatchInternal()
43 return PatchErrorCode::SUCCESS; in LoadPatchInternal()
70 return PatchErrorCode::SUCCESS; in LoadPatchInternal()
139 PatchErrorCode PatchLoader::UnloadPatchInternal(JSThread *thread, const CString &patchFileName, in UnloadPatchInternal()
145 return PatchErrorCode::FILE_NOT_EXECUTED; in UnloadPatchInternal()
151 return PatchErrorCode::FILE_NOT_FOUND; in UnloadPatchInternal()
157 return PatchErrorCode::SUCCESS; in UnloadPatchInternal()
165 return PatchErrorCode::INTERNAL_ERROR; in UnloadPatchInternal()
199 return PatchErrorCode::SUCCESS; in UnloadPatchInternal()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Dquick_fix_test.cpp30 using PatchErrorCode = panda::JSNApi::PatchErrorCode; typedef
71 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
78 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
94 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
101 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
121 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
124 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
127 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
130 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
156 EXPECT_FALSE(result == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp30 using PatchErrorCode = panda::JSNApi::PatchErrorCode; typedef
80 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
93 EXPECT_TRUE(res == PatchErrorCode::SUCCESS); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/quick_fix/
Dmain.cpp33 using PatchErrorCode = panda::JSNApi::PatchErrorCode; typedef
143 if (result != PatchErrorCode::SUCCESS) { in Main()
172 if (result != PatchErrorCode::SUCCESS) { in Main()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi_expo.h1155 enum class PatchErrorCode : uint8_t { enum
1276 …static PatchErrorCode LoadPatch(EcmaVM *vm, const std::string &patchFileName, const std::string &b…
1277 static PatchErrorCode LoadPatch(EcmaVM *vm,
1280 static PatchErrorCode UnloadPatch(EcmaVM *vm, const std::string &patchFileName);
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp183 using ecmascript::PatchErrorCode;
Djsnapi_expo.cpp181 using ecmascript::PatchErrorCode;
2499 PatchErrorCode JSNApi::LoadPatch(EcmaVM *vm, const std::string &patchFileName, const std::string &b… in LoadPatch()
2501 CROSS_THREAD_AND_EXCEPTION_CHECK_WITH_RETURN(vm, PatchErrorCode::INTERNAL_ERROR); in LoadPatch()
2506 PatchErrorCode JSNApi::LoadPatch(EcmaVM *vm, in LoadPatch()
2510 CROSS_THREAD_AND_EXCEPTION_CHECK_WITH_RETURN(vm, PatchErrorCode::INTERNAL_ERROR); in LoadPatch()
2516 PatchErrorCode JSNApi::UnloadPatch(EcmaVM *vm, const std::string &patchFileName) in UnloadPatch()
2518 CROSS_THREAD_AND_EXCEPTION_CHECK_WITH_RETURN(vm, PatchErrorCode::INTERNAL_ERROR); in UnloadPatch()