Searched defs:path (Results 1 - 25 of 70) sorted by relevance

123

/bionic/libc/bionic/
H A Drmdir.cpp32 int rmdir(const char* path) { argument
33 return unlinkat(AT_FDCWD, path, AT_REMOVEDIR);
H A Dunlink.cpp32 int unlink(const char* path) { argument
33 return unlinkat(AT_FDCWD, path, 0);
H A D__gnu_basename.cpp32 extern "C" const char* __gnu_basename(const char* path) { argument
33 const char* last_slash = strrchr(path, '/');
34 return (last_slash != NULL) ? last_slash + 1 : path;
H A Daccess.cpp32 int access(const char* path, int mode) { argument
33 return faccessat(AT_FDCWD, path, mode, 0);
H A Dchmod.cpp33 int chmod(const char* path, mode_t mode) { argument
34 return fchmodat(AT_FDCWD, path, mode, 0);
H A Dchown.cpp34 int chown(const char* path, uid_t uid, gid_t gid) { argument
35 return fchownat(AT_FDCWD, path, uid, gid, 0);
H A Dlchown.cpp34 int lchown(const char* path, uid_t uid, gid_t gid) { argument
35 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW);
H A Dlstat.cpp34 int lstat(const char* path, struct stat* sb) { argument
35 return fstatat(AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW);
H A Dmkdir.cpp33 int mkdir(const char* path, mode_t mode) { argument
34 return mkdirat(AT_FDCWD, path, mode);
H A Dmknod.cpp34 int mknod(const char* path, mode_t mode, dev_t dev) { argument
35 return mknodat(AT_FDCWD, path, mode, dev);
H A Dstat.cpp34 int stat(const char* path, struct stat* sb) { argument
35 return fstatat(AT_FDCWD, path, sb, 0);
H A Dmkfifo.cpp33 int mkfifo(const char* path, mode_t mode) { argument
34 return mkfifoat(AT_FDCWD, path, mode);
37 int mkfifoat(int fd, const char* path, mode_t mode) { argument
38 return mknodat(fd, path, (mode & ~S_IFMT) | S_IFIFO, 0);
H A Dreadlink.cpp36 ssize_t readlink(const char* path, char* buf, size_t size) { argument
37 return readlinkat(AT_FDCWD, path, buf, size);
H A Dsys_time.cpp37 static int futimesat(int fd, const char* path, const timeval tv[2], int flags) { argument
43 return utimensat(fd, path, tv ? ts : nullptr, flags);
46 int utimes(const char* path, const timeval tv[2]) { argument
47 return futimesat(AT_FDCWD, path, tv, 0);
50 int lutimes(const char* path, const timeval tv[2]) { argument
51 return futimesat(AT_FDCWD, path, tv, AT_SYMLINK_NOFOLLOW);
54 int futimesat(int fd, const char* path, const timeval tv[2]) { argument
55 return futimesat(fd, path, tv, 0);
H A Dftw.cpp28 static int do_nftw(const char *path, argument
49 char* const paths[2] = { const_cast<char*>(path), nullptr };
117 int ftw(const char* path, int (*ftw_fn)(const char*, const struct stat*, int), int nfds) { argument
118 return do_nftw(path, ftw_fn, nullptr, nfds, 0);
121 int nftw(const char* path, int (*nftw_fn)(const char*, const struct stat*, int, FTW*), argument
123 return do_nftw(path, nullptr, nftw_fn, nfds, nftw_flags);
H A Dlfs64_support.cpp23 int mkstemp64(char* path) { argument
24 return mkstemp(path);
26 int mkostemp64(char* path, int flags) { argument
27 return mkostemp(path, flags);
29 int mkstemps64(char* path, int suffix_length) { argument
30 return mkstemps(path, suffix_length);
32 int mkostemps64(char* path, int suffix_length, int flags) { argument
33 return mkostemps(path, suffix_length, flags);
H A Dlibgen.cpp39 static int __basename_r(const char* path, char* buffer, size_t buffer_size) { argument
46 if (path == NULL || *path == '\0') {
53 endp = path + strlen(path) - 1;
54 while (endp > path && *endp == '/') {
59 if (endp == path && *endp == '/') {
67 while (startp > path && *(startp - 1) != '/') {
92 __LIBC32_LEGACY_PUBLIC__ int basename_r(const char* path, char* buffer, size_t buffer_size) { argument
93 return __basename_r(path, buffe
96 __dirname_r(const char* path, char* buffer, size_t buffer_size) argument
156 dirname_r(const char* path, char* buffer, size_t buffer_size) argument
160 basename(const char* path) argument
166 dirname(const char* path) argument
[all...]
H A Dpathconf.cpp142 long pathconf(const char* path, int name) { argument
144 if (statfs(path, &sb) == -1) {
H A Dstatvfs.cpp27 # define __statfs64(path,size,buf) __statfs(path,buf)
61 int statfs(const char* path, struct statfs* result) { argument
62 int rc = __statfs64(path, sizeof(*result), result);
71 int statvfs(const char* path, struct statvfs* result) { argument
73 int rc = statfs(path, &tmp);
H A Dtmpfile.cpp60 char* path = NULL; local
61 if (asprintf(&path, "%s/tmp.XXXXXXXXXX", tmp_dir) == -1) {
68 fd = mkstemp(path);
70 free(path);
75 unlink(path);
76 free(path);
/bionic/libc/upstream-openbsd/lib/libc/gen/
H A Dftok.c34 ftok(const char *path, int id) argument
38 if (stat(path, &st) < 0)
/bionic/libc/upstream-netbsd/lib/libc/gen/
H A Dutime.c50 utime(const char *path, const struct utimbuf *times) argument
54 _DIAGASSERT(path != NULL);
64 return (utimes(path, tvp));
/bionic/tests/
H A Dgtest_globals.cpp28 std::string path = get_executable_path(); local
30 path = android::base::Dirname(path);
31 path += "/..";
34 if (!android::base::Realpath(path.c_str(), &out_path)) {
35 printf("Failed to get realpath for \"%s\"", path.c_str());
/bionic/libc/private/
H A DScopedReaddir.h26 ScopedReaddir(const char* path) : ScopedReaddir(opendir(path)) { argument
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_bpf.h49 char path[XT_BPF_PATH_MAX]; member in union:xt_bpf_info_v1::__anon655

Completed in 269 milliseconds

123