Lines Matching defs:pos
51 string::size_type pos = 0;
53 while ((pos = strTmp.find(src, pos)) != string::npos) {
54 strTmp.replace(pos, src.length(), dst);
55 pos += dst.length();
101 string::size_type pos = strTmp.find(sep);
102 if (string::npos == pos || sep.empty()) {
109 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos);
113 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos);
226 string::size_type pos = GetFirstSubStrBetween(strTmp, left, right, subString);
227 while (pos != string::npos) {
229 strTmp = strTmp.substr(pos);
230 pos = GetFirstSubStrBetween(strTmp, left, right, subString);