Searched refs:slashpos (Results 1 – 5 of 5) sorted by relevance
106 string::size_type slashpos = path.find_last_of('/'); in RecursivelyCreateDir() local107 if (slashpos == string::npos) { in RecursivelyCreateDir()112 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()
121 size_t slashpos = mbrPath.rfind('/'); in fillHeader() local122 if (slashpos != std::string::npos) { in fillHeader()123 nm += slashpos + 1; in fillHeader()124 len -= slashpos +1; in fillHeader()
609 size_t slashpos = path.rfind('/',path.size());610 if (slashpos == 0 || slashpos == std::string::npos) {614 if (slashpos == path.size() - 1)615 slashpos = path.rfind('/',slashpos-1);616 if (slashpos == std::string::npos) {620 path.erase(slashpos);627 size_t slashpos = path.rfind('/',path.size());629 if (slashpos == std::string::npos || dotpos > slashpos+1) {
637 size_t slashpos = compare.rfind('/'); in doReplaceOrInsert() local638 if (slashpos != std::string::npos) { in doReplaceOrInsert()639 nm += slashpos + 1; in doReplaceOrInsert()640 len -= slashpos +1; in doReplaceOrInsert()
575 size_t slashpos = path.rfind('/',path.size());576 if (slashpos == path.size() - 1 || slashpos == std::string::npos)579 path.erase(slashpos);590 size_t slashpos = path.rfind('/',path.size());592 if (slashpos == std::string::npos || dotpos > slashpos+1) {