Home
last modified time | relevance | path

Searched refs:aotFileName (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ohos/
H A Dohos_preload_app_info.h36 std::string aotFileName = ""; in GetPreloadAOTFileName() local
57 aotFileName = appPath + PRELOAD_AN_FOLDER + appName + "/" + moduleName; in GetPreloadAOTFileName()
59 std::string anFile = aotFileName + AOTFileManager::FILE_EXTENSION_AN; in GetPreloadAOTFileName()
60 std::string aiFile = aotFileName + AOTFileManager::FILE_EXTENSION_AI; in GetPreloadAOTFileName()
62 aotFileName.clear(); in GetPreloadAOTFileName()
64 return aotFileName; in GetPreloadAOTFileName()
/arkcompiler/ets_runtime/test/fuzztest/jsnapiloadaotfile_fuzzer/
H A Djsnapiloadaotfile_fuzzer.cpp43 std::string aotFileName = value; in JSNApiLoadAotFileFuzztest() local
44 JSNApi::LoadAotFile(vm, aotFileName); in JSNApiLoadAotFileFuzztest()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.cpp73 bool AOTFileManager::AOTFileExist(const std::string &aotFileName, const std::string &extension) in AOTFileExist() argument
76 std::string filename = aotFileName + extension; in AOTFileExist()
142 std::string aotFileName; in LoadAiFile() local
143 JSNApi::LoadAotFileInternal(vm_, moduleName, aotFileName); in LoadAiFile()
144 aiFilename = aotFileName + FILE_EXTENSION_AI; in LoadAiFile()
H A Daot_file_manager.h167 static bool AOTFileExist(const std::string &aotFileName, const std::string &extension);
/arkcompiler/ets_runtime/ecmascript/
H A Decma_context.cpp1116 bool EcmaContext::LoadAOTFilesInternal(const std::string& aotFileName) in LoadAOTFilesInternal() argument
1124 std::string anFile = aotFileName + AOTFileManager::FILE_EXTENSION_AN; in LoadAOTFilesInternal()
1131 std::string aiFile = aotFileName + AOTFileManager::FILE_EXTENSION_AI; in LoadAOTFilesInternal()
1140 bool EcmaContext::LoadAOTFiles(const std::string& aotFileName) in LoadAOTFiles() argument
1142 return LoadAOTFilesInternal(aotFileName); in LoadAOTFiles()
1146 bool EcmaContext::LoadAOTFiles(const std::string& aotFileName, in LoadAOTFiles() argument
1150 return LoadAOTFilesInternal(aotFileName); in LoadAOTFiles()
H A Decma_context.h651 bool LoadAOTFilesInternal(const std::string& aotFileName);
652 bool LoadAOTFiles(const std::string &aotFileName);
654 bool LoadAOTFiles(const std::string &aotFileName,
H A Decma_vm.cpp217 void EcmaVM::DisablePGOProfilerWithAOTFile(const std::string &aotFileName) in DisablePGOProfilerWithAOTFile() argument
219 if (AOTFileManager::AOTFileExist(aotFileName, AOTFileManager::FILE_EXTENSION_AN) || in DisablePGOProfilerWithAOTFile()
220 AOTFileManager::AOTFileExist(aotFileName, AOTFileManager::FILE_EXTENSION_AI)) { in DisablePGOProfilerWithAOTFile()
H A Decma_vm.h163 void DisablePGOProfilerWithAOTFile(const std::string &aotFileName);
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp5038 void JSNApi::LoadAotFileInternal(EcmaVM *vm, const std::string &moduleName, std::string &aotFileName) in LoadAotFileInternal() argument
5041 aotFileName = vm->GetJSOptions().GetAOTOutputFile(); in LoadAotFileInternal()
5049 aotFileName = ecmascript::AnFileDataManager::GetInstance()->GetDir() + moduleName; in LoadAotFileInternal()
5056 aotFileName = ecmascript::OhosPreloadAppInfo::GetPreloadAOTFileName(hapPath, moduleName); in LoadAotFileInternal()
5058 if (aotFileName.empty()) { in LoadAotFileInternal()
5063 LOG_ECMA(INFO) << "can't load disable aot file: " << aotFileName; in LoadAotFileInternal()
5066 LOG_ECMA(INFO) << "start to load aot file: " << aotFileName; in LoadAotFileInternal()
5074 std::string aotFileName; in LoadAotFile() local
5075 LoadAotFileInternal(vm, moduleName, aotFileName); in LoadAotFile()
5078 vm->DisablePGOProfilerWithAOTFile(aotFileName); in LoadAotFile()
5090 std::string aotFileName; LoadAotFile() local
[all...]
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi_expo.h1552 static void LoadAotFileInternal(EcmaVM *vm, const std::string &moduleName, std::string &aotFileName);

Completed in 22 milliseconds