Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/host-tools/ndk-depends/
Dndk-depends.cc199 size_t path_last_dirsep(const String& filepath) { in path_last_dirsep() argument
201 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() argument
218 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() argument
229 size_t sep = path_last_dirsep(filepath); in path_basename()
231 return filepath; in path_basename()
[all …]
/ndk/sources/android/cpufeatures/
Dcpu-features.c501 const char filepath[] = "/proc/self/auxv"; in get_elf_hwcap_from_proc_self_auxv() local
502 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()
/ndk/sources/third_party/googletest/
DAndroid.mk37 src/gtest-filepath.cc \
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-filepath_test.cc76 FilePath filepath(path); in _rmdir() local
78 filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()