Searched refs:filepath (Results 1 – 4 of 4) sorted by relevance
199 size_t path_last_dirsep(const String& filepath) { in path_last_dirsep() argument201 size_t sep_slash = filepath.rfind(_T('/')); in path_last_dirsep()202 size_t sep_backslash = filepath.rfind(_T('\\')); in path_last_dirsep()211 size_t sep = filepath.rfind(_T('/')); in path_last_dirsep()217 String path_dirname(const String& filepath) { in path_dirname() argument218 size_t sep = path_last_dirsep(filepath); in path_dirname()224 return filepath.substr(0, sep); in path_dirname()228 String path_basename(const String& filepath) { in path_basename() argument229 size_t sep = path_last_dirsep(filepath); in path_basename()231 return filepath; in path_basename()[all …]
501 const char filepath[] = "/proc/self/auxv"; in get_elf_hwcap_from_proc_self_auxv() local502 int fd = TEMP_FAILURE_RETRY(open(filepath, O_RDONLY)); in get_elf_hwcap_from_proc_self_auxv()504 D("Could not open %s: %s\n", filepath, strerror(errno)); in get_elf_hwcap_from_proc_self_auxv()514 D("Error while reading %s: %s\n", filepath, strerror(errno)); in get_elf_hwcap_from_proc_self_auxv()
37 src/gtest-filepath.cc \
76 FilePath filepath(path); in _rmdir() local78 filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()