Searched refs:StringStartWith (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | module_path_helper.cpp | 25 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 …]
|
| D | module_path_helper.h | 174 … 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()
|
| D | js_module_source_text.cpp | 308 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()
|
| D | js_module_manager.cpp | 402 … (base::StringHelper::StringStartWith(moduleFileName, ModulePathHelper::BUNDLE_INSTALL_PATH) || in SkipDefaultBundleFile() 403 base::StringHelper::StringStartWith(moduleFileName, relativeFilePath)); in SkipDefaultBundleFile()
|
| /arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
| D | file_path_utils.cpp | 64 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()
|
| D | file_path_utils.h | 25 bool StringStartWith(const std::string& str, const char* startStr, size_t startStrLen);
|
| D | extractor.cpp | 227 …if (StringStartWith(hapPath, Constants::ABS_CODE_PATH, std::string(Constants::ABS_CODE_PATH).lengt… in GetLoadFilePath()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | string_helper.h | 423 static bool StringStartWith(const CString& str, const CString& startStr) in StringStartWith() function
|