Searched refs:PatchErrorCode (Results 1 – 9 of 9) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/patch/ |
D | quick_fix_manager.cpp | 66 if (ret != PatchErrorCode::SUCCESS) { in LoadPatchIfNeeded() 74 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, const std::string &patchFileName, in LoadPatch() 80 return PatchErrorCode::PATCH_HAS_LOADED; in LoadPatch() 87 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch() 95 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch() 100 if (ret != PatchErrorCode::SUCCESS) { in LoadPatch() 107 return PatchErrorCode::SUCCESS; in LoadPatch() 110 PatchErrorCode QuickFixManager::LoadPatch(JSThread *thread, in LoadPatch() 117 return PatchErrorCode::PATCH_HAS_LOADED; in LoadPatch() 124 return PatchErrorCode::FILE_NOT_FOUND; in LoadPatch() [all …]
|
D | quick_fix_manager.h | 22 using PatchErrorCode = panda::JSNApi::PatchErrorCode; variable 33 …PatchErrorCode 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);
|
D | patch_loader.h | 26 using PatchErrorCode = panda::JSNApi::PatchErrorCode; variable 65 static PatchErrorCode LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, 67 static PatchErrorCode UnloadPatchInternal(JSThread *thread, const CString &patchFileName,
|
D | patch_loader.cpp | 24 PatchErrorCode PatchLoader::LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, in LoadPatchInternal() 33 return PatchErrorCode::PACKAGE_NOT_ESMODULE; in LoadPatchInternal() 41 return PatchErrorCode::SUCCESS; in LoadPatchInternal() 64 return PatchErrorCode::INTERNAL_ERROR; in LoadPatchInternal() 68 return PatchErrorCode::SUCCESS; in LoadPatchInternal() 132 PatchErrorCode PatchLoader::UnloadPatchInternal(JSThread *thread, const CString &patchFileName, in UnloadPatchInternal() 138 return PatchErrorCode::FILE_NOT_EXECUTED; in UnloadPatchInternal() 144 return PatchErrorCode::FILE_NOT_FOUND; in UnloadPatchInternal() 150 return PatchErrorCode::SUCCESS; in UnloadPatchInternal() 157 return PatchErrorCode::INTERNAL_ERROR; in UnloadPatchInternal() [all …]
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
D | quick_fix_test.cpp | 30 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/ |
D | hot_reload_manager_test.cpp | 30 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/ |
D | main.cpp | 33 using PatchErrorCode = panda::JSNApi::PatchErrorCode; typedef 138 if (result != PatchErrorCode::SUCCESS) { in Main() 165 if (result != PatchErrorCode::SUCCESS) { in Main()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 1285 enum class PatchErrorCode : uint8_t { enum 1379 …static PatchErrorCode LoadPatch(EcmaVM *vm, const std::string &patchFileName, const std::string &b… 1380 static PatchErrorCode LoadPatch(EcmaVM *vm, 1383 static PatchErrorCode UnloadPatch(EcmaVM *vm, const std::string &patchFileName);
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 178 using ecmascript::PatchErrorCode; 3493 PatchErrorCode JSNApi::LoadPatch(EcmaVM *vm, const std::string &patchFileName, const std::string &b… in LoadPatch() 3495 CHECK_HAS_PENDING_EXCEPTION(vm, PatchErrorCode::INTERNAL_ERROR); in LoadPatch() 3501 PatchErrorCode JSNApi::LoadPatch(EcmaVM *vm, in LoadPatch() 3505 CHECK_HAS_PENDING_EXCEPTION(vm, PatchErrorCode::INTERNAL_ERROR); in LoadPatch() 3512 PatchErrorCode JSNApi::UnloadPatch(EcmaVM *vm, const std::string &patchFileName) in UnloadPatch() 3514 CHECK_HAS_PENDING_EXCEPTION(vm, PatchErrorCode::INTERNAL_ERROR); in UnloadPatch()
|