Home
last modified time | relevance | path

Searched refs:findPos (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/ai/intelligent_voice_framework/utils/
H A Dstring_util.cpp38 size_t findPos = tmpStr.find(sep, startPos); in Split() local
39 while (findPos != string::npos) { in Split()
40 if (findPos > startPos) { in Split()
41 …_back(tmpStr.substr(static_cast<uint32_t>(startPos), static_cast<uint32_t>((findPos - startPos)))); in Split()
43 startPos = findPos + sep.length(); in Split()
44 findPos = tmpStr.find(sep, startPos); in Split()
/ohos5.0/base/security/crypto_framework/common/src/
H A Dparams_parser.c214 int findPos = StringFind(&str, '|', pos); in ParseAndSetParameter() local
215 if (findPos >= 0) { in ParseAndSetParameter()
216 if (!StringSubString(&str, pos, findPos - pos, &subStr)) { in ParseAndSetParameter()
224 pos = findPos + 1; in ParseAndSetParameter()
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp113 size_t findPos = strFun.find(",", pos); in ConvertFromString() local
114 if (findPos == strFun.npos) { in ConvertFromString()
118 vModeStr.push_back(strFun.substr(pos, findPos - pos)); in ConvertFromString()
119 pos = findPos + 1; in ConvertFromString()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dothers_clone_restore.cpp468 auto findPos = lPath.find(source); in ParseSourcePathToLPath() local
469 if (findPos != std::string::npos) { in ParseSourcePathToLPath()
475 findPos = lPath.find(source); in ParseSourcePathToLPath()
476 if (findPos != std::string::npos) { in ParseSourcePathToLPath()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp856 auto findPos = perfCmd.find("jsperf"); in CheckPerfCmdString() local
857 if (findPos != std::string::npos) { in CheckPerfCmdString()
859 if (!MatchOrderString(regexCmd, perfCmd.substr(findPos, perfCmd.length() - findPos))) { in CheckPerfCmdString()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp288 auto findPos = command.find("jsperf"); in JsperfProfilerCommandParse() local
289 if (findPos == std::string::npos) { in JsperfProfilerCommandParse()
296 auto jsPerfStr = command.substr(findPos, command.length() - findPos); in JsperfProfilerCommandParse()