Home
last modified time | relevance | path

Searched refs:indexStart (Results 1 – 2 of 2) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.cpp61 auto indexStart = std::string::npos; in GLOBAL_ConfigLanguage() local
64 indexStart = index1; in GLOBAL_ConfigLanguage()
67 indexStart = index2; in GLOBAL_ConfigLanguage()
73 if (indexStart != std::string::npos) { in GLOBAL_ConfigLanguage()
75 language.assign(appLanguage, indexStart); in GLOBAL_ConfigLanguage()
76 script.assign(appLanguage + indexStart + 1, indexEnd - indexStart - 1); in GLOBAL_ConfigLanguage()
80 language.assign(appLanguage, indexStart); in GLOBAL_ConfigLanguage()
81 region.assign(appLanguage + indexStart + 1); in GLOBAL_ConfigLanguage()
/base/update/updateservice/services/core/ability/utils/include/
Dstring_utils.h121 std::string::size_type indexStart = sourceString.find(startString); in StringRemove() local
122 if (indexStart != std::string::npos) { in StringRemove()
123 std::string::size_type indexEnd = sourceString.find(endString, indexStart); in StringRemove()
125 std::string tmpString = sourceString.substr(0, indexStart) + in StringRemove()