Searched refs:slashpos (Results 1 – 6 of 6) sorted by relevance
124 string::size_type slashpos = path.find_last_of('/'); in RecursivelyCreateDir() local125 if (slashpos == string::npos) { in RecursivelyCreateDir()130 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()
31 size_t slashpos = filename.find_last_of("/\\"); in GetFileNameParts() local33 if (slashpos == npos) { in GetFileNameParts()37 *dir = filename.substr(0, slashpos + 1); in GetFileNameParts()38 nodir = filename.substr(slashpos + 1); in GetFileNameParts()
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()
580 size_t slashpos = path.rfind('/',path.size());581 if (slashpos == path.size() - 1 || slashpos == std::string::npos)584 path.erase(slashpos);595 size_t slashpos = path.rfind('/',path.size());597 if (slashpos == std::string::npos || dotpos > slashpos+1) {