Home
last modified time | relevance | path

Searched refs:stat (Results 1 - 25 of 2354) sorted by relevance

12345678910>>...95

/third_party/toybox/toys/other/
H A Dstat.c0 /* stat.c : display file or file system status
5 USE_STAT(NEWTOY(stat, "<1c:(format)fLt", TOYFLAG_BIN))
8 bool stat
11 usage: stat [-tfL] [-c FORMAT] FILE...
47 struct stat st;
49 } stat;
76 struct stat *stat = (struct stat *)&TT.stat; in print_stat() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dnftw.h39 #include <sys/stat.h>
112 int test_func1(const char *, const struct stat *, int, struct FTW *);
113 int test_func3(const char *, const struct stat *, int, struct FTW *);
114 int test_func4(const char *, const struct stat *, int, struct FTW *);
115 int test_func5(const char *, const struct stat *, int, struct FTW *);
116 int test_func7(const char *, const struct stat *, int, struct FTW *);
117 int test_func8(const char *, const struct stat *, int, struct FTW *);
118 int test_func9(const char *, const struct stat *, int, struct FTW *);
119 int test_func10(const char *, const struct stat *, int, struct FTW *);
120 int test_func11(const char *, const struct stat *, in
[all...]
/third_party/rust/crates/rustix/tests/fs/
H A Dy2038.rs47 let stat = statat(&dir, "foo", AtFlags::empty()).unwrap(); in test_y2038_with_utimensat()
50 TryInto::<u64>::try_into(stat.st_mtime).unwrap() as u64, in test_y2038_with_utimensat()
55 assert_eq!(stat.st_mtime_nsec as u32, m_nsec); in test_y2038_with_utimensat()
57 assert_eq!(stat.st_mtimensec as u32, m_nsec); in test_y2038_with_utimensat()
59 assert!(TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 >= a_sec); in test_y2038_with_utimensat()
63 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat()
64 || stat.st_atime_nsec as u32 >= a_nsec in test_y2038_with_utimensat()
68 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat()
69 || stat.st_atimensec as u32 >= a_nsec in test_y2038_with_utimensat()
74 let stat in test_y2038_with_utimensat()
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-truncate.js34 let stat;
41 stat = fs.statSync(filename);
42 assert.strictEqual(stat.size, 1024 * 16);
45 stat = fs.statSync(filename);
46 assert.strictEqual(stat.size, 1024);
49 stat = fs.statSync(filename);
50 assert.strictEqual(stat.size, 0);
56 stat = fs.statSync(filename);
57 assert.strictEqual(stat.size, 1024 * 16);
60 stat
[all...]
H A Dtest-fs-promises.js29 stat,
79 function verifyStatObject(stat) {
80 assert.strictEqual(typeof stat, 'object');
81 assert.strictEqual(typeof stat.dev, 'number');
82 assert.strictEqual(typeof stat.mode, 'number');
85 function verifyStatFsObject(stat, isBigint = false) {
88 assert.strictEqual(typeof stat, 'object');
89 assert.strictEqual(typeof stat.type, valueType);
90 assert.strictEqual(typeof stat.bsize, valueType);
91 assert.strictEqual(typeof stat
[all...]
/third_party/lame/frontend/
H A Dbrhist.c251 stats_line(double *stat) in stats_line() argument
256 n += stats_head(stat[1], " mono"); in stats_line()
257 n += stats_head(stat[2], " IS "); in stats_line()
258 n += stats_head(stat[3], " LR "); in stats_line()
259 n += stats_head(stat[4], " MS "); in stats_line()
262 n += stats_head(stat[5], " long "); in stats_line()
263 n += stats_head(stat[6], "switch"); in stats_line()
264 n += stats_head(stat[7], " short"); in stats_line()
265 n += stats_head(stat[8], " mixed"); in stats_line()
276 console_printf("\n %5.1f ", stat[ in stats_line()
314 double stat[9] = { 0 }; brhist_disp() local
[all...]
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/node/deps/npm/node_modules/isexe/
H A Dmode.js7 fs.stat(path, function (er, stat) {
8 cb(er, er ? false : checkStat(stat, options))
16 function checkStat (stat, options) {
17 return stat.isFile() && checkMode(stat, options)
20 function checkMode (stat, options) {
21 var mod = stat.mode
22 var uid = stat.uid
23 var gid = stat
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dutime_sup.c18 #include <sys/stat.h>
35 struct stat info; in utime_0100()
41 stat(file, &info); in utime_0100()
47 stat(file, &info); in utime_0100()
70 struct stat buf1; in utime_0200()
71 struct stat buf2; in utime_0200()
73 stat(path, &buf1); in utime_0200()
79 stat(path, &buf2); in utime_0200()
99 struct stat info; in utime64_0100()
105 stat(fil in utime64_0100()
[all...]
/third_party/python/Mac/BuildScript/resources/
H A Dinstall_certificates.command14 import stat
18 STAT_0o775 = ( stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR
19 | stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP
20 | stat.S_IROTH | stat.S_IXOTH )
/third_party/python/Lib/
H A Dgenericpath.py7 import stat namespace
19 os.stat(path)
30 st = os.stat(path)
33 return stat.S_ISREG(st.st_mode)
42 st = os.stat(s)
45 return stat.S_ISDIR(st.st_mode)
49 """Return the size of a file, reported by os.stat()."""
50 return os.stat(filename).st_size
54 """Return the last modification time of a file, reported by os.stat()."""
55 return os.stat(filenam
[all...]
/third_party/skia/src/gpu/
H A DGrThreadSafePipelineBuilder.h46 int numInlineProgramCacheResult(ProgramCacheResult stat) const { in numInlineProgramCacheResult()
47 return fInlineProgramCacheStats[(int) stat]; in numInlineProgramCacheResult()
49 void incNumInlineProgramCacheResult(ProgramCacheResult stat) { in incNumInlineProgramCacheResult() argument
50 ++fInlineProgramCacheStats[(int) stat]; in incNumInlineProgramCacheResult()
56 int numPreProgramCacheResult(ProgramCacheResult stat) const { in numPreProgramCacheResult()
57 return fPreProgramCacheStats[(int) stat]; in numPreProgramCacheResult()
59 void incNumPreProgramCacheResult(ProgramCacheResult stat) { in incNumPreProgramCacheResult() argument
60 ++fPreProgramCacheStats[(int) stat]; in incNumPreProgramCacheResult()
93 void incNumInlineProgramCacheResult(ProgramCacheResult stat) {} in incNumInlineProgramCacheResult() argument
95 void incNumPreProgramCacheResult(ProgramCacheResult stat) {} in incNumPreProgramCacheResult() argument
[all...]
/third_party/eudev/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/libmp3lame/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/mpglib/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/lame/misc/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/node/deps/cares/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/node/deps/cares/config/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/libevdev/build-aux/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/skia/third_party/externals/libpng/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/skia/third_party/externals/microhttpd/
H A Ddepcomp192 stat=$?
193 if test $stat -ne 0; then
195 exit $stat
218 stat=$?
219 if test $stat -ne 0; then
221 exit $stat
260 stat=$?
261 if test $stat -ne 0; then
263 exit $stat
315 stat
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dutimes.c19 #include <sys/stat.h>
40 struct stat buf1; in utimes_0100()
41 struct stat buf2; in utimes_0100()
43 stat(path, &buf1); in utimes_0100()
51 stat(path, &buf2); in utimes_0100()
74 struct stat st; in utimes_0200()
81 stat(path, &st); in utimes_0200()
103 struct stat buf1; in utimes_time64_0100()
104 struct stat buf2; in utimes_time64_0100()
106 stat(pat in utimes_time64_0100()
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs29 use nix::sys::stat::lutimes;
31 use nix::sys::stat::utimensat;
33 use nix::sys::stat::FchmodatFlags;
34 use nix::sys::stat::Mode;
36 use nix::sys::stat::UtimensatFlags;
38 use nix::sys::stat::{self};
39 use nix::sys::stat::{fchmod, stat};
41 use nix::sys::stat::{fchmodat, mkdirat};
43 use nix::sys::stat
[all...]
/third_party/mesa3d/src/util/
H A Du_hash_table.c33 #include <sys/stat.h>
62 struct stat stat; in hash_fd() local
64 fstat(fd, &stat); in hash_fd()
66 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; in hash_fd()
78 struct stat stat1, stat2; in equal_fd()

Completed in 9 milliseconds

12345678910>>...95