Home
last modified time | relevance | path

Searched refs:bundleName (Results 1 - 25 of 32) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/platform/windows/
H A Daot_crash_info.cpp37 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 Dmodule_path_helper.cpp146 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 Dmodule_path_helper.h32 * 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 Daot_crash_info.cpp73 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 Daot_crash_info.h53 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 Dmergewithexistprofile_fuzzer.cpp32 std::string bundleName = dataProvider.ConsumeRandomLengthString(20); in MergeWithExistProfileFuzzTest() local
42 encoder.SetBundleName(bundleName); in MergeWithExistProfileFuzzTest()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_manager.h48 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 Dpgo_profiler_encoder.h53 void SetBundleName(const std::string &bundleName) in SetBundleName() argument
55 bundleName_ = bundleName; in SetBundleName()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Daot_compiler.cpp136 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 Daot_compiler_stats.h35 void SetBundleName(std::string bundleName) in SetBundleName() argument
37 bundleName_ = bundleName; in SetBundleName()
/arkcompiler/toolchain/inspector/
H A Dconnect_server.cpp31 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 Dconnect_server.h34 ConnectServer(const std::string& bundleName, std::function<void(std::string&&)> onMessage);
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_dfx.h55 void Init(const JSRuntimeOptions &options, std::string &bundleName);
67 void SetBundleName(CString bundleName) in SetBundleName() argument
69 bundleName_ = bundleName; in SetBundleName()
H A Djit.cpp35 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 Djit_dfx.cpp50 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 Djit.h54 void SetJitEnablePostFork(EcmaVM *vm, const std::string &bundleName);
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Djs_pandafile_executor.h77 [[maybe_unused]] const CString &bundleName, const CString &moduleName, const CString &entry,
80 static bool IsExecuteModuleInAbcFile(JSThread *thread, [[maybe_unused]] const CString &bundleName,
H A Djs_pandafile.cpp75 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 Dfile_path_utils.cpp333 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 Dfile_path_utils.h41 const std::string& bundleName, const std::string& curJsModulePath, const std::string& newJsModuleUri);
/arkcompiler/ets_runtime/ecmascript/
H A Decma_vm.h106 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 Decma_vm.cpp140 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 Djs_runtime_options.h446 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 Djsnapi.h203 void SetArkBundleName(const std::string &bundleName) in SetArkBundleName() argument
205 arkBundleName_ = bundleName; in SetArkBundleName()
/arkcompiler/ets_runtime/ecmascript/ohos/tests/
H A Dohos_test.cpp76 static std::string BuildOhosPkgJson(const std::string &pgoDir, const std::string &bundleName = TEST_BUNDLE_NAME, in BuildOhosPkgJson()
80 pkgJson += R"({"bundleName": ")" + bundleName + "\""; in BuildOhosPkgJson()

Completed in 19 milliseconds

12