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()
120 size_t slashpos = mbrPath.rfind('/'); in fillHeader() local121 if (slashpos != std::string::npos) { in fillHeader()122 nm += slashpos + 1; in fillHeader()123 len -= slashpos +1; in fillHeader()
600 size_t slashpos = path.rfind('/',path.size());601 if (slashpos == 0 || slashpos == std::string::npos) {605 if (slashpos == path.size() - 1)606 slashpos = path.rfind('/',slashpos-1);607 if (slashpos == std::string::npos) {611 path.erase(slashpos);618 size_t slashpos = path.rfind('/',path.size());620 if (slashpos == std::string::npos || dotpos > slashpos+1) {
624 size_t slashpos = compare.rfind('/'); in doReplaceOrInsert() local625 if (slashpos != std::string::npos) { in doReplaceOrInsert()626 nm += slashpos + 1; in doReplaceOrInsert()627 len -= slashpos +1; in doReplaceOrInsert()
563 size_t slashpos = path.rfind('/',path.size());564 if (slashpos == path.size() - 1 || slashpos == std::string::npos)567 path.erase(slashpos);578 size_t slashpos = path.rfind('/',path.size());580 if (slashpos == std::string::npos || dotpos > slashpos+1) {