Home
last modified time | relevance | path

Searched refs:slashpos (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/testing/
Dfile.cc124 string::size_type slashpos = path.find_last_of('/'); in RecursivelyCreateDir() local
125 if (slashpos == string::npos) { in RecursivelyCreateDir()
130 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()
/external/zopfli/src/zopflipng/
Dzopflipng_bin.cc31 size_t slashpos = filename.find_last_of("/\\"); in GetFileNameParts() local
33 if (slashpos == npos) { in GetFileNameParts()
37 *dir = filename.substr(0, slashpos + 1); in GetFileNameParts()
38 nodir = filename.substr(slashpos + 1); in GetFileNameParts()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveWriter.cpp120 size_t slashpos = mbrPath.rfind('/'); in fillHeader() local
121 if (slashpos != std::string::npos) { in fillHeader()
122 nm += slashpos + 1; in fillHeader()
123 len -= slashpos +1; in fillHeader()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPath.inc600 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) {
/external/swiftshader/third_party/LLVM/tools/llvm-ar/
Dllvm-ar.cpp624 size_t slashpos = compare.rfind('/'); in doReplaceOrInsert() local
625 if (slashpos != std::string::npos) { in doReplaceOrInsert()
626 nm += slashpos + 1; in doReplaceOrInsert()
627 len -= slashpos +1; in doReplaceOrInsert()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPath.inc580 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) {