Lines Matching refs:pos
61 CString::size_type pos(0); in RepalceAll()
62 while ((pos = str.find(oldValue, pos)) != CString::npos) { in RepalceAll()
63 str.replace(pos, oldValue.length(), newValue); in RepalceAll()
64 pos += newValue.length(); in RepalceAll()
111 static inline size_t Find(const std::string &thisStr, const std::string &searchStr, int32_t pos) in Find() argument
113 size_t idx = thisStr.find(searchStr, pos); in Find()
117 …tic inline size_t Find(const std::u16string &thisStr, const std::u16string &searchStr, int32_t pos) in Find() argument
119 size_t idx = thisStr.find(searchStr, pos); in Find()
123 …ic inline size_t RFind(const std::u16string &thisStr, const std::u16string &searchStr, int32_t pos) in RFind() argument
125 size_t idx = thisStr.rfind(searchStr, pos); in RFind()
368 std::size_t pos = str.find_first_of(delimiter, strIndex); in SplitString() local
369 while ((pos < str.size()) && (pos > strIndex)) { in SplitString()
370 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString()
372 strIndex = pos; in SplitString()
374 pos = str.find_first_of(delimiter, strIndex); in SplitString()
376 if (pos > strIndex) { in SplitString()
377 std::string subStr = str.substr(strIndex, pos - strIndex); in SplitString()
421 size_t pos = 0; variable
423 while ((pos = str.find(c, left)) != CString::npos) {
427 out.emplace_back(str.substr(left, pos - left));
428 left = pos + 1;