Lines Matching refs:nextPos
138 size_t currPos, nextPos;
140 nextPos = find_first_of(delimiters_);
143 if(nextPos == string::npos)
152 if(nextPos != currPos)
154 result.push_back(substr(currPos, nextPos - currPos));
156 currPos = nextPos + 1;
157 nextPos = find_first_of(delimiters_, currPos);
174 size_t currPos, nextPos;
176 nextPos = find(delimiters_[0]);
179 if(nextPos == String::npos)
185 if(nextPos != currPos)
187 result.push_back(substr(currPos, nextPos - currPos));
189 currPos = nextPos + delimiters_[0].size();
190 nextPos = find(delimiters_[0], currPos);
197 size_t currPos, nextPos;
199 nextPos = size();
203 if((tempPos != String::npos) && (tempPos < nextPos))
205 nextPos = tempPos;
211 if((nextPos == String::npos) || (nextPos == size()))
217 if(nextPos != currPos)
219 result.push_back(substr(currPos, nextPos - currPos));
221 currPos = nextPos + delimiterLength;
222 nextPos = size();
227 if((tempPos != String::npos) && (tempPos < nextPos))
229 nextPos = tempPos;