Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ulib/musl/src/misc/
A Dget_current_dir_name.c9 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 Dnftw.c20 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 Dstat.h73 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 Dtest.c392 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 Dzircon.c78 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 Delfxx.h72 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 Dftw.c3 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 Dftok.c5 struct stat st; in ftok()
6 if (stat(path, &st) < 0) in ftok()
/third_party/ulib/musl/include/
A Dftw.h28 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 Dmktemp.c12 struct stat st; in mktemp()
22 if (stat(template, &st)) { in mktemp()
/third_party/lib/acpica/source/os_specific/service_layers/
A Dosunixdir.c141 struct stat temp_stat; in AcpiOsGetNextFilename()
169 err = stat (temp_str, &temp_stat); in AcpiOsGetNextFilename()
/third_party/lib/acpica/source/tools/acpisrc/
A Dasmain.c80 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 Dinit.c183 struct stat st1, st2; in init()
200 if (*p != '/' || stat(p, &st1) || stat(".", &st2) || in init()
A Dcd.c99 struct stat statb; in cdcmd()
133 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { in cdcmd()
A Dmain.c331 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 Dtmpnam.c19 r = lstat(s, &(struct stat){}); in tmpnam()
A Dtempnam.c41 r = lstat(s, &(struct stat){}); in tempnam()
/third_party/ulib/musl/src/regex/
A Dglob.c82 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 Dapfiles.c72 struct stat StatInfo; in ApIsExistingFile()
75 if (!stat (Pathname, &StatInfo)) in ApIsExistingFile()
/third_party/ulib/musl/include/bits/x86_64/
A Dstat.h4 struct stat { struct
/third_party/tools/android/
A Dmkdtimg17 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 Dstat.h1 struct stat { struct
/third_party/ulib/musl/src/time/
A D__map_file.c9 struct stat st; in __map_file()
/third_party/ulib/musl/stubs/
A Diostubs.c198 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 Dnewfs_msdos.c55 struct stat st; in get_tstamp()
59 if (stat(b, &st) != -1) in get_tstamp()

Completed in 37 milliseconds

12