| /third_party/ulib/musl/src/misc/ |
| A D | get_current_dir_name.c | 9 struct stat a, b; in get_current_dir_name() 11 if (res && *res && !stat(res, &a) && !stat(".", &b) && (a.st_dev == b.st_dev) && in get_current_dir_name()
|
| A D | nftw.c | 20 static int do_nftw(char* path, int (*fn)(const char*, const struct stat*, int, struct FTW*), in do_nftw() argument 23 struct stat st; in do_nftw() 30 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw() 105 int nftw(const char* path, int (*fn)(const char*, const struct stat*, int, struct FTW*), in nftw() argument
|
| /third_party/ulib/musl/include/sys/ |
| A D | stat.h | 73 int stat(const char* __restrict, struct stat* __restrict); 74 int fstat(int, struct stat*); 75 int lstat(const char* __restrict, struct stat* __restrict); 76 int fstatat(int, const char* __restrict, struct stat* __restrict, int);
|
| /third_party/uapp/dash/src/bltin/ |
| A D | test.c | 392 struct stat s; in filstat() 477 struct stat b1, b2; in newerf() 479 return (stat (f1, &b1) == 0 && in newerf() 480 stat (f2, &b2) == 0 && in newerf() 487 struct stat b1, b2; in olderf() 489 return (stat (f1, &b1) == 0 && in olderf() 490 stat (f2, &b2) == 0 && in olderf() 497 struct stat b1, b2; in equalf() 500 stat (f2, &b2) == 0 && in equalf() 508 struct stat st; in has_exec_bit_set() [all …]
|
| A D | zircon.c | 78 struct stat s; in zxc_ls() 100 if(stat(dirn, &s) == -1) { in zxc_ls() 108 memset(&s, 0, sizeof(struct stat)); in zxc_ls() 111 stat(tmp, &s); in zxc_ls() 145 struct stat statbuf; in file_exists() 146 return stat(filename, &statbuf) == 0; in file_exists() 151 struct stat statbuf; in verify_file() 153 if (stat(filename, &statbuf) != 0) { in verify_file() 303 struct stat statbuf; in zxc_mv_or_cp() 305 if (stat(dest_name, &statbuf) == 0) { in zxc_mv_or_cp() [all …]
|
| /third_party/ulib/ngunwind/include/ngunwind/private/ |
| A D | elfxx.h | 72 struct stat stat; in elf_map_image() local 79 if (fstat (fd, &stat) < 0) in elf_map_image() 85 ei->size = stat.st_size; in elf_map_image()
|
| /third_party/ulib/musl/src/legacy/ |
| A D | ftw.c | 3 int ftw(const char* path, int (*fn)(const char*, const struct stat*, int), int fd_limit) { in ftw() argument 7 …return nftw(path, (int (*)(const char*, const struct stat*, int, struct FTW*))fn, fd_limit, FTW_PH… in ftw()
|
| /third_party/ulib/musl/src/ipc/ |
| A D | ftok.c | 5 struct stat st; in ftok() 6 if (stat(path, &st) < 0) in ftok()
|
| /third_party/ulib/musl/include/ |
| A D | ftw.h | 28 int ftw(const char*, int (*)(const char*, const struct stat*, int), int); 29 int nftw(const char*, int (*)(const char*, const struct stat*, int, struct FTW*), int, int);
|
| /third_party/ulib/musl/src/temp/ |
| A D | mktemp.c | 12 struct stat st; in mktemp() 22 if (stat(template, &st)) { in mktemp()
|
| /third_party/lib/acpica/source/os_specific/service_layers/ |
| A D | osunixdir.c | 141 struct stat temp_stat; in AcpiOsGetNextFilename() 169 err = stat (temp_str, &temp_stat); in AcpiOsGetNextFilename()
|
| /third_party/lib/acpica/source/tools/acpisrc/ |
| A D | asmain.c | 80 struct stat Gbl_StatBuf; 119 Status = stat (Source, &Gbl_StatBuf); in AsExaminePaths() 159 Status = stat (Target, &Gbl_StatBuf); in AsExaminePaths()
|
| /third_party/uapp/dash/src/ |
| A D | init.c | 183 struct stat st1, st2; in init() 200 if (*p != '/' || stat(p, &st1) || stat(".", &st2) || in init()
|
| A D | cd.c | 99 struct stat statb; in cdcmd() 133 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { in cdcmd()
|
| A D | main.c | 331 struct stat statb; in find_dot_file() 338 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) { in find_dot_file()
|
| /third_party/ulib/musl/src/stdio/ |
| A D | tmpnam.c | 19 r = lstat(s, &(struct stat){}); in tmpnam()
|
| A D | tempnam.c | 41 r = lstat(s, &(struct stat){}); in tempnam()
|
| /third_party/ulib/musl/src/regex/ |
| A D | glob.c | 82 struct stat st; in match_in_dir() 83 if (!stat(d, &st) && S_ISDIR(st.st_mode)) { in match_in_dir() 124 struct stat st; in match_in_dir() 125 stat(name, &st); in match_in_dir()
|
| /third_party/lib/acpica/source/tools/acpidump/ |
| A D | apfiles.c | 72 struct stat StatInfo; in ApIsExistingFile() 75 if (!stat (Pathname, &StatInfo)) in ApIsExistingFile()
|
| /third_party/ulib/musl/include/bits/x86_64/ |
| A D | stat.h | 4 struct stat { struct
|
| /third_party/tools/android/ |
| A D | mkdtimg | 17 from os import fstat, stat, remove 42 statval = stat(filename) 115 dtb_size = stat(out_dtb).st_size
|
| /third_party/ulib/musl/include/bits/aarch64/ |
| A D | stat.h | 1 struct stat { struct
|
| /third_party/ulib/musl/src/time/ |
| A D | __map_file.c | 9 struct stat st; in __map_file()
|
| /third_party/ulib/musl/stubs/ |
| A D | iostubs.c | 198 static int stub_fstat(int fd, struct stat* s) { in stub_fstat() 205 static int stub_fstatat(int fd, const char* restrict path, struct stat* restrict buf, int flag) { in stub_fstatat() 212 static int stub_stat(const char* fn, struct stat* s) { in stub_stat() 217 weak_alias(stub_stat, stat); 219 static int stub_lstat(const char* restrict path, struct stat* restrict buf) { in stub_lstat()
|
| /third_party/uapp/mkfs-msdosfs/ |
| A D | newfs_msdos.c | 55 struct stat st; in get_tstamp() 59 if (stat(b, &st) != -1) in get_tstamp()
|