Home
last modified time | relevance | path

Searched refs:last_slash (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
D__gnu_basename.cpp33 const char* last_slash = strrchr(path, '/'); in __gnu_basename() local
34 return (last_slash != NULL) ? last_slash + 1 : path; in __gnu_basename()
/bionic/tools/relocation_packer/src/
Dmain.cc32 const size_t last_slash = temporary.find_last_of("/"); in PrintUsage() local
33 if (last_slash != temporary.npos) { in PrintUsage()
34 temporary.erase(0, last_slash + 1); in PrintUsage()
/bionic/linker/
Dlinker.cpp267 const char* last_slash = strrchr(path, '/'); in dirname() local
268 if (last_slash == path) return "/"; in dirname()
269 else if (last_slash == nullptr) return "."; in dirname()
271 return std::string(path, last_slash - path); in dirname()