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.cpp25 if (StringHelper::StringStartWith(requestName, PREFIX_BUNDLE)) { in ConcatFileNameWithMerge()
28 } else if (StringHelper::StringStartWith(requestName, PREFIX_PACKAGE)) { in ConcatFileNameWithMerge()
36 } else if (StringHelper::StringStartWith(requestName, PREFIX_ETS)) { in ConcatFileNameWithMerge()
86 if (StringHelper::StringStartWith(inputFileName, PREFIX_BUNDLE)) { in ParseOhmUrl()
97 if (StringHelper::StringStartWith(inputFileName, PREVIER_TEST_DIR)) { in ParseOhmUrl()
292 if (StringHelper::StringStartWith(recordName, PACKAGE_PATH_SEGMENT)) { in FindPackageInTopLevelWithNamespace()
332 if (StringHelper::StringStartWith(recordName, PACKAGE_PATH_SEGMENT)) { in ParseOhpmPackage()
363 if (StringHelper::StringStartWith(recordName, packagePath)) { in ParseThirdPartyPackage()
494 if (StringHelper::StringStartWith(requestName, PREFIX_BUNDLE) || in NeedTranstale()
495 StringHelper::StringStartWith(requestName, PREFIX_PACKAGE) || in NeedTranstale()
[all …]
Dmodule_path_helper.h174 … if (StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX) || in IsNativeModuleRequest()
175 StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX) || in IsNativeModuleRequest()
176 … StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFIX)) { in IsNativeModuleRequest()
Djs_module_source_text.cpp308 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_BUNDLE) || in CheckNativeModule()
309 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_PACKAGE)|| in CheckNativeModule()
314 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX)) { in CheckNativeModule()
317 … if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX)) { in CheckNativeModule()
320 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFI… in CheckNativeModule()
Djs_module_manager.cpp402 … (base::StringHelper::StringStartWith(moduleFileName, ModulePathHelper::BUNDLE_INSTALL_PATH) || in SkipDefaultBundleFile()
403 base::StringHelper::StringStartWith(moduleFileName, relativeFilePath)); in SkipDefaultBundleFile()
/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);
Dextractor.cpp227 …if (StringStartWith(hapPath, Constants::ABS_CODE_PATH, std::string(Constants::ABS_CODE_PATH).lengt… in GetLoadFilePath()
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h423 static bool StringStartWith(const CString& str, const CString& startStr) in StringStartWith() function