Lines Matching refs:pos
274 string::size_type pos = filePath_.find_first_of(SEPARATE.front(), offset);
275 while (pos != string::npos) {
276 segments.push_back(filePath_.substr(offset, pos - offset));
277 offset = pos + 1;
278 pos = filePath_.find_first_of(SEPARATE.front(), offset);
331 string::size_type pos = path.find_first_of(SEPARATE.front(), offset);
332 if (pos == string::npos) {
340 string subPath = path.substr(0, pos + 1);
350 return CreateDirsInner(path, pos + 1);
364 string::size_type pos = filePath_.find_last_of(SEPARATE.front());
365 if (pos != string::npos) {
366 parent_ = filePath_.substr(0, pos);
367 if (pos + 1 < filePath_.length()) {
368 filename_ = filePath_.substr(pos + 1);
372 pos = filename_.find_last_of('.');
373 if (pos != string::npos && pos + 1 < filename_.length()) {
374 extension_ = filename_.substr(pos);