Home
last modified time | relevance | path

Searched refs:StringStartWith (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/module/
Dmodule_path_helper.cpp24 …if (thread->GetEcmaVM()->IsNormalizedOhmUrlPack() && !StringHelper::StringStartWith(requestName, P… in ConcatFileNameWithMerge()
25 !StringHelper::StringStartWith(requestName, PREFIX_PACKAGE)) { in ConcatFileNameWithMerge()
29 if (StringHelper::StringStartWith(requestName, PREFIX_BUNDLE)) { in ConcatFileNameWithMerge()
31 } else if (StringHelper::StringStartWith(requestName, PREFIX_PACKAGE)) { in ConcatFileNameWithMerge()
38 } else if (StringHelper::StringStartWith(requestName, PREFIX_ETS)) { in ConcatFileNameWithMerge()
61 if (StringHelper::StringStartWith(requestName, prefix)) { in ConcatMergeFileNameToNormalized()
64 if (StringHelper::StringStartWith(recordName, PACKAGE_PATH_SEGMENT)) { in ConcatMergeFileNameToNormalized()
131 if (StringHelper::StringStartWith(requestName, PACKAGE_PATH_SEGMENT) || in ReformatPath()
132 StringHelper::StringStartWith(requestName, PREFIX_PACKAGE)) { in ReformatPath()
136 } else if (StringHelper::StringStartWith(requestName, REQUIRE_NAPI_APP_PREFIX)) { in ReformatPath()
[all …]
Dmodule_path_helper.h252 … if (StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX) || in IsNativeModuleRequest()
253 StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX) || in IsNativeModuleRequest()
254 … StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFIX)) { in IsNativeModuleRequest()
Djs_module_source_text.cpp299 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_BUNDLE) || in CheckNativeModule()
300 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_PACKAGE) || in CheckNativeModule()
301 … StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_NORMALIZED_NOT_SO) || in CheckNativeModule()
306 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX)) { in CheckNativeModule()
313 … if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX) || in CheckNativeModule()
314 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_NORMALIZED_SO)) { in CheckNativeModule()
317 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFI… in CheckNativeModule()
347 if (!StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX)) { in MakeAppArgs()
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dfile_path_utils.cpp64 bool StringStartWith(const std::string& str, const char* startStr, size_t startStrLen) in StringStartWith() function
143 …if (StringStartWith(curJsModulePath, BUNDLE_INSTALL_PATH, std::string(BUNDLE_INSTALL_PATH).length(… in GetInstallPath()
146 if (!StringStartWith(curJsModulePath, OTHER_BUNDLE_INSTALL_PATH, in GetInstallPath()
325 if (StringStartWith(newJsModuleUri, PREFIX_BUNDLE, sizeof(PREFIX_BUNDLE) - 1)) { in ParseOhmUri()
341 } else if (StringStartWith(newJsModuleUri, PREFIX_MODULE, sizeof(PREFIX_MODULE) - 1)) { in ParseOhmUri()
354 } else if (StringStartWith(newJsModuleUri, PREFIX_LOCAL, sizeof(PREFIX_LOCAL) - 1)) { in ParseOhmUri()
Dfile_path_utils.h25 bool StringStartWith(const std::string& str, const char* startStr, size_t startStrLen);
Dsource_map.cpp132 if (base::StringHelper::StringStartWith(tmp.c_str(), FLAG_SOURCES)) { in SplitSourceMap()
138 if (base::StringHelper::StringStartWith(tmp.c_str(), FLAG_MAPPINGS)) { in SplitSourceMap()
143 if (base::StringHelper::StringStartWith(tmp.c_str(), FLAG_END)) { in SplitSourceMap()
Dextractor.cpp230 …if (StringStartWith(hapPath, Constants::ABS_CODE_PATH, std::string(Constants::ABS_CODE_PATH).lengt… in GetLoadFilePath()
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h420 static bool StringStartWith(const CString& str, const CString& startStr) in StringStartWith() function