Home
last modified time | relevance | path

Searched refs:stat (Results 426 - 450 of 2537) sorted by relevance

1...<<11121314151617181920>>...102

/third_party/ltp/testcases/kernel/syscalls/link/
H A Dlink03.c43 #include <sys/stat.h>
71 struct stat buf; in main()
/third_party/ltp/testcases/kernel/syscalls/lstat/
H A Dlstat02.c30 #include <sys/stat.h>
45 static struct stat stat_buf;
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify11.c21 #include <sys/stat.h>
28 #include <sys/stat.h>
/third_party/ltp/testcases/kernel/syscalls/mount_setattr/
H A Dmount_setattr01.c71 struct stat st = {0}; in setup()
73 if (stat(OT_MNTPOINT, &st) == -1) in setup()
/third_party/ltp/testcases/kernel/syscalls/ftruncate/
H A Dftruncate01.c15 #include <sys/stat.h>
35 struct stat stat_buf; in check_and_report()
/third_party/ltp/testcases/kernel/syscalls/stat/
H A Dstat02.c11 #include <sys/stat.h>
40 struct stat s; in verify()
/third_party/ltp/testcases/kernel/syscalls/truncate/
H A Dtruncate02.c21 #include <sys/stat.h>
47 struct stat stat_buf; in verify_truncate()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D8-1.c25 #include <sys/stat.h>
40 struct stat stat_before, stat_after; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D26-2.c26 #include <sys/stat.h>
41 struct stat stat_buf; in main()
/third_party/python/Lib/dbm/
H A D__init__.py138 os.stat(filename + b".dat")
139 size = os.stat(filename + b".dir").st_size
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dfileserver_example.c61 struct stat buf; in ahc_echo()
72 if (0 == stat (&url[1], &buf)) in ahc_echo()
/third_party/toybox/toys/posix/
H A Dln.c36 struct stat buf; in ln_main()
47 if (!((FLAG(n)||FLAG(T)) ? lstat : stat)(dest, &buf)) { in ln_main()
/third_party/skia/third_party/externals/expat/expat/xmlwf/
H A Dreadfilemap.c39 #include <sys/stat.h>
91 struct stat sb; in filemap()
/third_party/rust/crates/regex/regex-capi/examples/
H A Diter.c11 #include <sys/stat.h>
24 struct stat status; in main()
26 perror("failed to stat sherlock.txt"); in main()
/third_party/python/Lib/
H A Dos.py4 - all functions from posix or nt, e.g. unlink, stat, etc.
27 import stat as st
112 _add("HAVE_FSTATAT", "stat")
138 _set.add(stat) # fstat always works
171 _add("HAVE_FSTATAT", "stat")
178 _add("HAVE_LSTAT", "stat")
179 _add("HAVE_FSTATAT", "stat")
181 _add("MS_WINDOWS", "stat")
429 if {open, stat} <= supports_dir_fd and {scandir, stat} <
[all...]
/third_party/eudev/src/udev/
H A Dudevadm-info.c29 #include <sys/stat.h>
158 struct stat statbuf; in stat_device()
160 if (stat(name, &statbuf) != 0) in stat_device()
203 struct stat stats; in cleanup_dir()
/third_party/ltp/include/
H A Dtst_fuzzy_sync.h234 * Zero some stat fields
288 * Print stat
292 static inline void tst_fzsync_stat_info(struct tst_fzsync_stat stat, in tst_fzsync_stat_info() argument
297 name, unit, stat.avg, stat.avg_dev, stat.dev_ratio); in tst_fzsync_stat_info()
343 * Update a stat with a new sample
358 * Update a stat with a new diff sample
/third_party/node/test/parallel/
H A Dtest-fs-stat-bigint.js24 // two stat() calls so allow for a small difference.
168 runCallbackTest(fs.stat, filename);
195 runPromiseTest(promiseFs.stat, filename);
209 const bigintStats = await handle.stat(common.mustNotMutateObjectDeep({ bigint: true }));
210 const numStats = await handle.stat();
H A Dtest-trace-events-fs-async.js220 function stat() { function
223 fs.stat('fs22.txt', () => {
295 tests.stat = wrapper(stat);
/third_party/node/deps/npm/node_modules/ignore-walk/lib/
H A Dindex.js137 // now we stat them all
153 this.stat({ entry, file, dir }, then)
175 stat ({ entry, file, dir }, then) {
183 fs.stat(abs, (statErr, statResult) => {
280 stat ({ entry, file, dir }, then) {
/third_party/node/deps/npm/node_modules/cacache/lib/
H A Dverify.js7 stat,
145 const s = await stat(f)
159 const { size } = await stat(filepath)
223 await stat(content)
/third_party/libfuse/example/
H A Dnotify_inval_entry.c35 * $ sleep 5; stat mnt/$file
45 * Only once the kernel cache timeout has been reached will the stat
48 * $ sleep 30; stat mnt/$file
49 * stat: cannot stat ‘mnt/Time_is_15h_50m_09s’: No such file or directory
51 * In contrast, if you enable notifications you will be unable to stat
55 * $ file=$(ls mnt/); stat mnt/$file
64 * $ sleep 1; stat mnt/$file
65 * stat: cannot stat ‘mn
[all...]
/third_party/ltp/testcases/kernel/numa/
H A Dnuma01.sh60 local state=$(awk '{print $3}' /proc/$pid/stat)
188 var=`awk '{ print $2 }' /proc/$pid/stat`
190 var=`awk '{ print $2 }' /proc/$pid/stat`
195 running_on_cpu=$(awk '{ print $39; }' /proc/$pid/stat)
/third_party/ltp/testcases/kernel/syscalls/readahead/
H A Dreadahead02.c24 #include <sys/stat.h>
85 struct stat buf; in has_file()
87 if (stat(fname, &buf) == -1) { in has_file()
89 tst_brk(TBROK | TERRNO, "stat %s", fname); in has_file()
346 struct stat sbuf; in setup_readahead_length()
/third_party/toybox/toys/pending/
H A Dcrontab.c268 struct stat sb; in do_edit()
280 if (!stat(toybuf, &sb)) { // file exists and have some content. in do_edit()
289 if (!stat(tname, &sb)) mtime = sb.st_mtime; in do_edit()
316 if (!stat(tname, &sb) && (mtime == sb.st_mtime)) { in do_edit()

Completed in 12 milliseconds

1...<<11121314151617181920>>...102