/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | string_helper.h | 33 static bool EndWith(const std::string &value, char suffix);
35 static bool EndWith(const std::string &value, const std::string &suffix);
|
H A D | string_helper.cpp | 64 bool StringHelper::EndWith(const std::string &value, char suffix)
in EndWith() function in OHOS::Idl::StringHelper 72 bool StringHelper::EndWith(const std::string &value, const std::string &suffix)
in EndWith() function in OHOS::Idl::StringHelper
|
H A D | options.cpp | 79 if (argv[i][0] != '-' && StringHelper::EndWith(argv[i], ".idl")) { in Parse() 762 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath()
|
H A D | file.cpp | 335 if (dirInfo->d_type == DT_REG && StringHelper::EndWith(dirInfo->d_name, ".idl")) { in CreatePartDir()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_query.h | 58 void EndWith(const RdbPredicateOperation& operation); 87 &RdbQuery::EndWith,
|
H A D | rdb_query.cpp | 225 void RdbQuery::EndWith(const RdbPredicateOperation& operation) in EndWith() function in OHOS::DistributedRdb::RdbQuery
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_animation.cpp | 32 if (StringUtils::EndWith(time, "ms")) { in ConvertTimeStr() 34 } else if (StringUtils::EndWith(time, "s")) { in ConvertTimeStr() 36 } else if (StringUtils::EndWith(time, "m")) { in ConvertTimeStr()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/ |
H A D | jsi_module_searcher.cpp | 165 if (StringUtils::EndWith(path, EXT_NAME_ABC, sizeof(EXT_NAME_ABC) - 1)) { in FixExtName() 169 if (StringUtils::EndWith(path, EXT_NAME_ETS, sizeof(EXT_NAME_ETS) - 1)) { in FixExtName() 171 } else if (StringUtils::EndWith(path, EXT_NAME_TS, sizeof(EXT_NAME_TS) - 1)) { in FixExtName() 173 } else if (StringUtils::EndWith(path, EXT_NAME_JS, sizeof(EXT_NAME_JS) - 1)) { in FixExtName()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_util.h | 42 static bool EndWith(const char *str, const char *subStr);
|
/foundation/ability/idl_tool/idl_tool_2/codegen/ |
H A D | code_emitter.cpp | 62 std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - 1) : outDir;
in GetFileParentPath() 90 if (StringHelper::EndWith(fullName, "]")) {
in InterfaceToFilePath()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 537 return StartWith(value, "{{") && EndWith(value, "}}"); in IsVariable() 542 if (!StartWith(value, "{") || !EndWith(value, "}")) { in IsJsonObject() 555 return StartWith(value, "[") && EndWith(value, "]"); in IsJsonArray() 589 return StartWith(value, "$f(") && EndWith(value, ")"); in IsMultiVariable() 688 } else if (StartWith(splitStr, "!{{") && EndWith(splitStr, "}}")) { in GetShownValue() 835 if (EndWith(file, FILE_TYPE_JSON)) { in GetI18nData() 868 if (!StartWith(splitStr[0], "'") || !EndWith(splitStr[0], "'")) { in GetPlurals() 1416 if (StartWith(key, "\'") && EndWith(key, "\'")) { in ParseTernaryExpression() 1419 if (StartWith(key, "\"") && EndWith(key, "\"")) { in ParseTernaryExpression() 1542 if (StartWith(value, "$r('") && EndWith(valu in ParseSpecialVariable() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.h | 543 inline bool EndWith(const std::string& dst, const std::string& suffix) in EndWith() function 553 if (EndWith(time, "ms")) { in ConvertTimeStr() 556 } else if (EndWith(time, "s")) { in ConvertTimeStr() 559 } else if (EndWith(time, "m")) { in ConvertTimeStr()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 201 static bool EndWith(const std::string &source, const std::string &suffix);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/ |
H A D | inner_shared_bundle_installer.cpp | 555 if (!BundleUtil::EndWith(inBundlePaths[0], ServiceConstants::HSP_FILE_SUFFIX)) { in ObtainHspFileAndSignatureFilePath() 570 if (BundleUtil::EndWith(path, ServiceConstants::HSP_FILE_SUFFIX)) { in ObtainHspFileAndSignatureFilePath() 574 if (BundleUtil::EndWith(path, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in ObtainHspFileAndSignatureFilePath()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_manager_service.cpp | 339 !BundleUtil::EndWith(systemAppPath.c_str(), INSTALL_FILE_SUFFIX)) { in InstallSystemBundle() 431 if (!BundleUtil::EndWith(appPath, INSTALL_FILE_SUFFIX)) { in CheckSystemBundleIsValid()
|
H A D | gt_bundle_manager_service.cpp | 457 !BundleUtil::EndWith(toBeInstalledApp->path, INSTALL_FILE_SUFFIX)) { in InstallPreBundle() 491 !BundleUtil::EndWith(((PreAppList *)currentNode)->filePath, INSTALL_FILE_SUFFIX)) { in InstallAllSystemBundle() 712 if (!BundleUtil::EndWith(appPath, INSTALL_FILE_SUFFIX)) { in CheckSystemBundleIsValid()
|
H A D | bundle_util.cpp | 152 bool BundleUtil::EndWith(const char *str, const char *subStr) in EndWith() function in OHOS::BundleUtil 491 if (!EndWith(*codePath, bundleName)) { in CheckBundleJsonIsValid()
|
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | node_data_cache.cpp | 40 if (StringUtils::EndWith(pageUrl, ".js")) { in GetCurrentPageUrl()
|
H A D | event_controller.cpp | 116 if (StringUtils::EndWith(pageUrl, ".js")) { in GetPageUrlByContainerId()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_ability.cpp | 79 if (OHOS::Ace::Framework::EndWith(assetPath, DELIMITER)) { in GetCustomAssetPath() 295 if (!OHOS::Ace::Framework::EndWith(appResourcesPath, DELIMITER)) { in InitEnv()
|
H A D | ui_content_impl.cpp | 379 if (!OHOS::Ace::Framework::EndWith(appResourcesPath, DELIMITER)) { in CommonInitialize()
|
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | string_utils.h | 697 inline bool EndWith(const std::string& dst, const std::string& suffix) in EndWith() function 702 inline bool EndWith(const std::string& str, const char* suffix, size_t suffixLen) in EndWith() function
|
/foundation/arkui/ace_engine/frameworks/core/components/stack/ |
H A D | stack_element.cpp | 408 if (element && StringUtils::EndWith(element->GetName(), "fullscreen")) { in PerformPopVideo()
|
/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | theme_constants.cpp | 483 if (StringUtils::EndWith(file, FILE_TYPE_JSON)) { in LoadCustomStyle()
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | base_utils_test.cpp | 806 * @tc.desc: StartWith, EndWith the same string 817 ASSERT_EQ(StringUtils::EndWith(startWithValue, prefixString), true); in HWTEST_F() 818 ASSERT_EQ(StringUtils::EndWith(startWithValue, prefixString), true); in HWTEST_F()
|