/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
H A D | aot_crash_info.cpp | 37 bool AotCrashInfo::IsAotEscapedOrNotInEnableList(EcmaVM *vm, const std::string &bundleName) const in IsAotEscapedOrNotInEnableList() 40 (void)bundleName; in IsAotEscapedOrNotInEnableList() 51 void AotCrashInfo::SetOptionPGOProfiler(JSRuntimeOptions *options, const std::string &bundleName) const in SetOptionPGOProfiler() 54 (void)bundleName; in SetOptionPGOProfiler()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_path_helper.cpp | 146 2. @bundle:bundleName/moduleName/ets/xxx/xxx.abc 151 * outEntryPoint: bundleName/moduleName/ets/xxx/xxx 173 // inputFileName: @bundle:bundleName/moduleName/ets/xxx/xxx.abc in ParseAbcPathAndOhmUrl() 205 CString ModulePathHelper::ConcatUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, in ConcatUnifiedOhmUrl() argument 210 return bundleName + PathHelper::NORMALIZED_OHMURL_TAG + pkgname + PathHelper::SLASH_TAG + entryPath + path + in ConcatUnifiedOhmUrl() 213 return bundleName + PathHelper::NORMALIZED_OHMURL_TAG + pkgname + PHYCICAL_FILE_PATH + path + in ConcatUnifiedOhmUrl() 217 CString ModulePathHelper::ConcatUnifiedOhmUrl(const CString &bundleName, const CString &normalizedpath, in ConcatUnifiedOhmUrl() argument 220 return bundleName + PathHelper::NORMALIZED_OHMURL_TAG + normalizedpath + PathHelper::NORMALIZED_OHMURL_TAG + in ConcatUnifiedOhmUrl() 224 CString ModulePathHelper::ConcatPreviewTestUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, in ConcatPreviewTestUnifiedOhmUrl() argument 227 return bundleName in ConcatPreviewTestUnifiedOhmUrl() 231 ConcatHspFileNameCrossBundle(const CString &bundleName, const CString &moduleName) ConcatHspFileNameCrossBundle() argument 308 CString bundleName = vec[0]; ParseUrl() local 343 CString bundleName = vec[0]; ParsePrefixBundle() local 389 CString bundleName = res[NORMALIZED_BUNDLE_NAME_INDEX]; ParseNormalizedOhmUrl() local 887 ConcatNativeSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, const CString &pkgName, const CString &version) ConcatNativeSoNormalizedOhmurl() argument 895 ConcatNotSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, const CString &pkgName, const CString &entryPath, const CString &version) ConcatNotSoNormalizedOhmurl() argument 1008 CString bundleName = data[PKGINFO_BUDNLE_NAME_INDEX]; ConcatNormalizedOhmurlWithData() local 1084 CString bundleName; GetBundleNameWithRecordName() local [all...] |
H A D | module_path_helper.h | 32 * baseFileName = 'data/storage/el1/bundle/bundleName/moduleName/moduleName/ets/modules.abc'; 33 * recordName = bundleName/moduleName/xxx(entry)/xxx(ets)/xxx(pages)/xxx specific abc file 38 * {project_path}\entry\src\main\ets\pages\Index --> @bundle:bundleName/moduleName/ets/pages/Index 40 * {project_path}\namespace\src\main\ets\pages\Index --> @bundle:bundleName/moduleName@namespace/ets/pages/Index 47 * libxxx.so --> @app:bundleName/moduleName/xxx 136 static CString ConcatUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, const CString &entryPath, 138 static CString ConcatUnifiedOhmUrl(const CString &bundleName, const CString &normalizedpath, 140 static CString ConcatPreviewTestUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, 142 static CString ConcatHspFileNameCrossBundle(const CString &bundleName, const CString &moduleName); 187 static CString ConcatNativeSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, 346 CString bundleName = res[NORMALIZED_BUNDLE_NAME_INDEX]; GetBundleNameFromNormalized() local [all...] |
/arkcompiler/ets_runtime/ecmascript/platform/unix/ |
H A D | aot_crash_info.cpp | 73 bool AotCrashInfo::IsAotEscapedOrNotInEnableList(EcmaVM *vm, const std::string &bundleName) const in IsAotEscapedOrNotInEnableList() 76 !ohos::EnableAotJitListHelper::GetInstance()->IsEnableAot(bundleName)) { in IsAotEscapedOrNotInEnableList() 108 void AotCrashInfo::SetOptionPGOProfiler(JSRuntimeOptions *options, const std::string &bundleName) const in SetOptionPGOProfiler() 111 if (ohos::EnableAotJitListHelper::GetInstance()->IsEnableAot(bundleName)) { in SetOptionPGOProfiler() 122 (void)bundleName; in SetOptionPGOProfiler()
|
/arkcompiler/ets_runtime/ecmascript/platform/ |
H A D | aot_crash_info.h | 53 bool IsAotEscapedOrNotInEnableList(EcmaVM *vm, const std::string &bundleName) const; 54 void SetOptionPGOProfiler(JSRuntimeOptions *options, const std::string &bundleName) const;
|
/arkcompiler/ets_runtime/test/fuzztest/mergewithexistprofile_fuzzer/ |
H A D | mergewithexistprofile_fuzzer.cpp | 32 std::string bundleName = dataProvider.ConsumeRandomLengthString(20); in MergeWithExistProfileFuzzTest() local 42 encoder.SetBundleName(bundleName); in MergeWithExistProfileFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler_manager.h | 48 void SetBundleName(const std::string &bundleName) in SetBundleName() argument 51 encoder_->SetBundleName(bundleName); in SetBundleName() 72 bool RequestAot(const std::string &bundleName, const std::string &moduleName, RequestAotMode triggerMode) in RequestAot() argument 83 return (cb(bundleName, moduleName, static_cast<int32_t>(triggerMode)) == 0); in RequestAot()
|
H A D | pgo_profiler_encoder.h | 53 void SetBundleName(const std::string &bundleName) in SetBundleName() argument 55 bundleName_ = bundleName; in SetBundleName()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | aot_compiler.cpp | 136 std::string bundleName = ""; in Main() local 138 bundleName = cPreprocessor.GetMainPkgArgs()->GetBundleName(); in Main() 140 compilerStats.SetBundleName(bundleName); in Main() 211 if (ohos::EnableAotJitListHelper::GetInstance()->IsEnableAot(bundleName)) { in Main()
|
H A D | aot_compiler_stats.h | 35 void SetBundleName(std::string bundleName) in SetBundleName() argument 37 bundleName_ = bundleName; in SetBundleName()
|
/arkcompiler/toolchain/inspector/ |
H A D | connect_server.cpp | 31 ConnectServer::ConnectServer(const std::string& bundleName, std::function<void(std::string&&)> onMessage) in ConnectServer() argument 32 : bundleName_(bundleName), wsOnMessage_(std::move(onMessage)) in ConnectServer()
|
H A D | connect_server.h | 34 ConnectServer(const std::string& bundleName, std::function<void(std::string&&)> onMessage);
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_dfx.h | 55 void Init(const JSRuntimeOptions &options, std::string &bundleName); 67 void SetBundleName(CString bundleName) in SetBundleName() argument 69 bundleName_ = bundleName; in SetBundleName()
|
H A D | jit.cpp | 35 void Jit::SetJitEnablePostFork(EcmaVM *vm, const std::string &bundleName) in SetJitEnablePostFork() argument 39 jitEnable &= ohos::EnableAotJitListHelper::GetInstance()->IsEnableJit(bundleName); in SetJitEnablePostFork() 51 bundleName_ = bundleName; in SetJitEnablePostFork() 634 auto bundleName = vm_->GetBundleName(); in ~TimeScope() local 635 if (vm_->GetEnableJitLogSkip() && bundleName != "" && message_.find(bundleName) == std::string::npos) { in ~TimeScope()
|
H A D | jit_dfx.cpp | 50 void JitDfx::Init(const JSRuntimeOptions &options, std::string &bundleName) in Init() argument 57 SetBundleName(ConvertToString(bundleName)); in Init() 150 << " bundleName: " << GetBundleName() in PrintJitStatsLog() 196 << " bundleName: " << GetBundleName() in PrintJitBlockUILog()
|
H A D | jit.h | 54 void SetJitEnablePostFork(EcmaVM *vm, const std::string &bundleName);
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | js_pandafile_executor.h | 77 [[maybe_unused]] const CString &bundleName, const CString &moduleName, const CString &entry, 80 static bool IsExecuteModuleInAbcFile(JSThread *thread, [[maybe_unused]] const CString &bundleName,
|
H A D | js_pandafile.cpp | 75 CString bundleName = entry.substr(0, pos); in CheckIsRecordWithBundleName() local 76 size_t bundleNameLen = bundleName.length(); in CheckIsRecordWithBundleName() 83 // Confirm whether the current record is new or old by judging whether the recordName has a bundleName in CheckIsRecordWithBundleName() 84 if (!(recordName.length() > bundleNameLen && (recordName.compare(0, bundleNameLen, bundleName) == 0))) { in CheckIsRecordWithBundleName()
|
/arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
H A D | file_path_utils.cpp | 333 const auto& bundleName = pathVector[index++]; in ParseOhmUri() local 334 if (bundleName == originBundleName) { in ParseOhmUri() 338 moduleInstallPath.append(bundleName).append("/"); in ParseOhmUri() 377 const std::string& bundleName, const std::string& curJsModulePath, const std::string& newJsModuleUri) in NormalizeUri() 393 newJsModulePath = ParseOhmUri(bundleName, curJsModulePath, normalizeUri); in NormalizeUri() 376 NormalizeUri( const std::string& bundleName, const std::string& curJsModulePath, const std::string& newJsModuleUri) NormalizeUri() argument
|
H A D | file_path_utils.h | 41 const std::string& bundleName, const std::string& curJsModulePath, const std::string& newJsModuleUri);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_vm.h | 106 std::function<int32_t(const std::string &bundleName, const std::string &moduleName, int32_t triggerMode)>; 507 void SetBundleName(const CString &bundleName) in SetBundleName() argument 509 bundleName_ = bundleName; in SetBundleName()
|
H A D | ecma_vm.cpp | 140 std::string bundleName = PGOProfilerManager::GetInstance()->GetBundleName(); in PostFork() local 142 AotCrashInfo::GetInstance().SetOptionPGOProfiler(&options_, bundleName); in PostFork() 146 Jit::GetInstance()->SetJitEnablePostFork(this, bundleName); in PostFork() 875 * Get Current recordName: bundleName/moduleName/ets/xxx/xxx
|
H A D | js_runtime_options.h | 446 void SetArkBundleName(std::string bundleName) in SetArkBundleName() argument 448 if (bundleName != "") { in SetArkBundleName() 449 arkBundleName_ = bundleName; in SetArkBundleName()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi.h | 203 void SetArkBundleName(const std::string &bundleName) in SetArkBundleName() argument 205 arkBundleName_ = bundleName; in SetArkBundleName()
|
/arkcompiler/ets_runtime/ecmascript/ohos/tests/ |
H A D | ohos_test.cpp | 76 static std::string BuildOhosPkgJson(const std::string &pgoDir, const std::string &bundleName = TEST_BUNDLE_NAME, in BuildOhosPkgJson() 80 pkgJson += R"({"bundleName": ")" + bundleName + "\""; in BuildOhosPkgJson()
|