Home
last modified time | relevance | path

Searched refs:EndWith (Results 1 - 25 of 34) sorted by relevance

12

/foundation/ability/idl_tool/idl_tool_2/util/
H A Dstring_helper.h33 static bool EndWith(const std::string &value, char suffix);
35 static bool EndWith(const std::string &value, const std::string &suffix);
H A Dstring_helper.cpp64 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 Doptions.cpp79 if (argv[i][0] != '-' && StringHelper::EndWith(argv[i], ".idl")) { in Parse()
762 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath()
H A Dfile.cpp335 if (dirInfo->d_type == DT_REG && StringHelper::EndWith(dirInfo->d_name, ".idl")) { in CreatePartDir()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_query.h58 void EndWith(const RdbPredicateOperation& operation);
87 &RdbQuery::EndWith,
H A Drdb_query.cpp225 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 Dsvg_animation.cpp32 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 Djsi_module_searcher.cpp165 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 Dbundle_util.h42 static bool EndWith(const char *str, const char *subStr);
/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_emitter.cpp62 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 Djs_card_parser.cpp537 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 Dutils.h543 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 Dbundle_util.h201 static bool EndWith(const std::string &source, const std::string &suffix);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp555 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 Dbundle_manager_service.cpp339 !BundleUtil::EndWith(systemAppPath.c_str(), INSTALL_FILE_SUFFIX)) { in InstallSystemBundle()
431 if (!BundleUtil::EndWith(appPath, INSTALL_FILE_SUFFIX)) { in CheckSystemBundleIsValid()
H A Dgt_bundle_manager_service.cpp457 !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 Dbundle_util.cpp152 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 Dnode_data_cache.cpp40 if (StringUtils::EndWith(pageUrl, ".js")) { in GetCurrentPageUrl()
H A Devent_controller.cpp116 if (StringUtils::EndWith(pageUrl, ".js")) { in GetPageUrlByContainerId()
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.cpp79 if (OHOS::Ace::Framework::EndWith(assetPath, DELIMITER)) { in GetCustomAssetPath()
295 if (!OHOS::Ace::Framework::EndWith(appResourcesPath, DELIMITER)) { in InitEnv()
H A Dui_content_impl.cpp379 if (!OHOS::Ace::Framework::EndWith(appResourcesPath, DELIMITER)) { in CommonInitialize()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h697 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 Dstack_element.cpp408 if (element && StringUtils::EndWith(element->GetName(), "fullscreen")) { in PerformPopVideo()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp483 if (StringUtils::EndWith(file, FILE_TYPE_JSON)) { in LoadCustomStyle()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp806 * @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()

Completed in 27 milliseconds

12