/third_party/python/Lib/ |
H A D | posixpath.py | 27 import stat namespace 170 return stat.S_ISLNK(st.st_mode) 195 if stat.S_ISLNK(s1.st_mode): 457 is_link = stat.S_ISLNK(st.st_mode) 471 os.stat(newpath)
|
/third_party/python/Lib/test/ |
H A D | test_tempfile.py | 11 import stat namespace 341 oldmode = mode = os.stat(tempfile.tempdir).st_mode 342 mode &= ~(stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH) 454 mode = stat.S_IMODE(os.stat(file.name).st_mode) 793 mode = stat.S_IMODE(os.stat(dir).st_mode) 1620 old_mode = os.stat(file [all...] |
/third_party/gn/src/gn/ |
H A D | runtime_deps_unittest.cc | 56 Target stat(setup.settings(), Label(SourceDir("//"), "stat")); in TEST_F() 57 InitTargetWithType(setup, &stat, Target::STATIC_LIBRARY); in TEST_F() 58 stat.data().push_back("//stat.dat"); in TEST_F() 59 ASSERT_TRUE(stat.OnResolved(&err)); in TEST_F() 78 main.private_deps().push_back(LabelTargetPair(&stat)); in TEST_F() 96 EXPECT_TRUE(base::ContainsValue(result, MakePair("../../stat.dat", &stat))) in TEST_F()
|
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | headergen2.c | 42 #include <sys/stat.h> 349 static void print_file_info_(FILE *dst, struct stat* sb, struct tm* tm) in print_file_info_() 358 struct stat sb; in print_file_info() 360 stat(file, &sb); in print_file_info() 367 struct stat sb; in printhead() 369 stat(f.name, &sb); in printhead()
|
/third_party/ffmpeg/libavutil/ |
H A D | file.c | 25 #include <sys/stat.h> 58 struct stat st; in av_file_map()
|
/third_party/gn/src/base/files/ |
H A D | file.h | 19 #include <sys/stat.h> 27 typedef struct stat stat_wrapper_t;
|
H A D | file_enumerator_posix.cc | 19 void GetStat(const FilePath& path, bool show_links, struct stat* st) { in GetStat() 22 : stat(path.value().c_str(), st); in GetStat() 24 // Print the stat() error message unless it was ENOENT and we're following in GetStat() 27 DPLOG(ERROR) << "Couldn't stat" << path.value(); in GetStat() 131 // Do not call OS stat/lstat if there is no sense to do it. If pattern is in Next()
|
/third_party/ffmpeg/tools/ |
H A D | cws2fws.c | 10 #include <sys/stat.h> 33 struct stat statbuf; in main()
|
/third_party/backends/sanei/ |
H A D | sanei_init_debug.c | 58 #include <sys/stat.h> 114 struct stat sbuf; in is_socket()
|
/third_party/FreeBSD/include/ |
H A D | fts.h | 40 #include <sys/stat.h> 66 // From https://github.com/freebsd/freebsd-src/blob/e81e71b/sys/sys/stat.h 94 #define FTS_NOSTAT 0x008 /* don't get stat info */ 138 #define FTS_NS 10 /* stat(2) failed */ 139 #define FTS_NSOK 11 /* no stat(2) requested */ 156 struct stat *fts_statp; /* stat(2) information */
|
/third_party/libdrm/intel/ |
H A D | test_decode.c | 30 #include <sys/stat.h> 52 struct stat st; in read_file() 60 errx(1, "couldn't stat `%s'", filename); in read_file()
|
/third_party/lame/libmp3lame/ |
H A D | machine.h | 63 # include <stat.h> 66 # include <sys/stat.h>
|
/third_party/ltp/include/ |
H A D | tst_safe_file_at.h | 10 #include <sys/stat.h> 76 const int dirfd, const char *const path, struct stat *statbuf,
|
/third_party/ltp/lib/ |
H A D | tst_kernel.c | 95 struct stat st; in tst_search_driver_() 109 if (stat(path, &st) || !(S_ISREG(st.st_mode) || S_ISLNK(st.st_mode))) { in tst_search_driver_()
|
/third_party/node/test/parallel/ |
H A D | test-http2-respond-file-fd-range.js | 40 statCheck: common.mustCall((stat, headers, options) => { 44 Math.min(options.length, stat.size - offset);
|
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | __fdopen.c | 18 #include <sys/stat.h> 26 struct stat st; in __get_bufsize() 50 /* get buffer size via file stat */ in __falloc_buf()
|
/third_party/musl/porting/linux/user/src/passwd/ |
H A D | getspnam_r.c | 3 #include <sys/stat.h> 95 struct stat st = { 0 }; in getspnam_r()
|
/third_party/musl/src/passwd/ |
H A D | getspnam_r.c | 3 #include <sys/stat.h> 96 struct stat st = { 0 }; in getspnam_r()
|
/third_party/musl/src/stdio/ |
H A D | __fdopen.c | 18 #include <sys/stat.h> 26 struct stat st; in __get_bufsize() 50 /* get buffer size via file stat */ in __falloc_buf()
|
/third_party/node/deps/npm/node_modules/node-gyp/bin/ |
H A D | node-gyp.js | 55 const stat = fs.statSync(dir) 56 if (stat.isDirectory()) {
|
/third_party/libexif/test/ |
H A D | test-fuzzer-persistent.c | 30 #include <sys/stat.h> 114 struct stat stbuf; in main()
|
/third_party/libfuse/example/ |
H A D | hello.c | 63 static int hello_getattr(const char *path, struct stat *stbuf, in hello_getattr() 69 memset(stbuf, 0, sizeof(struct stat)); in hello_getattr()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | dio_truncate.c | 30 #include <sys/stat.h> 89 struct stat sb; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/access/ |
H A D | access02.c | 16 * - file can be stat/read/written/executed as root and nobody 57 struct stat stat_buf; in access_test() 73 TEST(stat(tc->targetname, &stat_buf)); in access_test() 76 tst_res(TFAIL | TTERRNO, "stat(%s) as %s failed", in access_test()
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
H A D | creat08.c | 52 struct stat buf; in file_test() 78 struct stat buf; in run()
|