Home
last modified time | relevance | path

Searched refs:stat (Results 451 - 475 of 2354) sorted by relevance

1...<<11121314151617181920>>...95

/third_party/python/Lib/
H A Dposixpath.py27 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 Dtest_tempfile.py11 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 Druntime_deps_unittest.cc56 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 Dheadergen2.c42 #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 Dfile.c25 #include <sys/stat.h>
58 struct stat st; in av_file_map()
/third_party/gn/src/base/files/
H A Dfile.h19 #include <sys/stat.h>
27 typedef struct stat stat_wrapper_t;
H A Dfile_enumerator_posix.cc19 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 Dcws2fws.c10 #include <sys/stat.h>
33 struct stat statbuf; in main()
/third_party/backends/sanei/
H A Dsanei_init_debug.c58 #include <sys/stat.h>
114 struct stat sbuf; in is_socket()
/third_party/FreeBSD/include/
H A Dfts.h40 #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 Dtest_decode.c30 #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 Dmachine.h63 # include <stat.h>
66 # include <sys/stat.h>
/third_party/ltp/include/
H A Dtst_safe_file_at.h10 #include <sys/stat.h>
76 const int dirfd, const char *const path, struct stat *statbuf,
/third_party/ltp/lib/
H A Dtst_kernel.c95 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 Dtest-http2-respond-file-fd-range.js40 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.c18 #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 Dgetspnam_r.c3 #include <sys/stat.h>
95 struct stat st = { 0 }; in getspnam_r()
/third_party/musl/src/passwd/
H A Dgetspnam_r.c3 #include <sys/stat.h>
96 struct stat st = { 0 }; in getspnam_r()
/third_party/musl/src/stdio/
H A D__fdopen.c18 #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 Dnode-gyp.js55 const stat = fs.statSync(dir)
56 if (stat.isDirectory()) {
/third_party/libexif/test/
H A Dtest-fuzzer-persistent.c30 #include <sys/stat.h>
114 struct stat stbuf; in main()
/third_party/libfuse/example/
H A Dhello.c63 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 Ddio_truncate.c30 #include <sys/stat.h>
89 struct stat sb; in setup()
/third_party/ltp/testcases/kernel/syscalls/access/
H A Daccess02.c16 * - 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 Dcreat08.c52 struct stat buf; in file_test()
78 struct stat buf; in run()

Completed in 11 milliseconds

1...<<11121314151617181920>>...95