Home
last modified time | relevance | path

Searched refs:stat (Results 251 - 275 of 2406) sorted by relevance

1...<<11121314151617181920>>...97

/third_party/toybox/porting/liteos_a/toys/posix/
H A Dcp.c95 struct stat top;
116 struct stat cst; in cp_node()
166 struct stat st2; in cp_node()
345 struct stat cst; in cp_main()
350 destdir = !stat(destname, &TT.top) && S_ISDIR(TT.top.st_mode); in cp_main()
356 ret = stat(srcname, &cst); in cp_main()
436 struct stat st; in cp_main()
437 int exists = !stat(TT.destname, &st); in cp_main()
/third_party/musl/porting/linux/user/src/stat/
H A Dfstat.c17 #include <sys/stat.h>
22 int __fstat(int fd, struct stat *st) in __fstat()
/third_party/musl/src/stat/
H A Dfstat.c2 #include <sys/stat.h>
7 int __fstat(int fd, struct stat *st) in __fstat()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/
H A Dftw.c17 #include <sys/stat.h>
22 int fn(const char *file, const struct stat *sb, int flag) in fn()
/third_party/node/deps/uvwasi/src/
H A Duv_mapping.h12 uvwasi_filetype_t uvwasi__stat_to_filetype(const uv_stat_t* stat);
13 void uvwasi__stat_to_filestat(const uv_stat_t* stat, uvwasi_filestat_t* fs);
/third_party/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink01.c48 * TEST IDENTIFIER : stat04 (stat)
147 * For stat
215 #include <sys/stat.h> /* stat(2) and lstat(2) system calls */
285 "Getting stat info about object file through symbolic link file is ok",
461 STAT, "stat", 3, &test_objects[9],
504 struct stat asymlink, statter;
765 else if ((stat(path3, &statter) == -1) && (errno == ENOENT)) { in ck_both()
768 "stat(2) Failure when accessing %s object file ", in ck_both()
771 } else if ((stat(path in ck_both()
[all...]
/third_party/libwebsockets/lib/misc/lwsac/
H A Dprivate-lib-misc-lwsac.h29 #include <sys/stat.h>
66 struct stat s;
/third_party/ltp/testcases/kernel/syscalls/chroot/
H A Dchroot02.c27 struct stat buf; in verify_chroot()
34 TST_EXP_PASS(stat("/" TMP_FILENAME, &buf), "stat(/%s)", TMP_FILENAME); in verify_chroot()
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
H A Dstat_fstatfs64_test.cpp22 struct statfs64 stat; in HWTEST_F() local
23 int result = fstatfs64(fileDescriptor, &stat); in HWTEST_F()
/third_party/libfuse/test/
H A Dtest_syscalls.c16 #include <sys/stat.h>
57 struct stat stat; member
128 static int st_check_size(struct stat *st, int len) in st_check_size()
140 struct stat stbuf; in check_size()
141 int res = stat(path, &stbuf); in check_size()
143 PERROR("stat"); in check_size()
151 this_test->stat.st_size = len; in check_testfile_size()
155 static int st_check_type(struct stat *st, mode_t type) in st_check_type()
166 struct stat stbu in check_type()
[all...]
/third_party/node/lib/
H A Dfs.js195 // Special case of `makeCallback()` that is specific to async `*stat()` calls as
307 // Double check with `binding.stat()`.
309 binding.stat(nPath, false, undefined, ctx);
1441 const stat = binding.internalModuleStat(resultPath);
1444 if (stat === 1) {
1587 function stat(path, options = { bigint: false }, callback) { function
1597 binding.stat(pathModule.toNamespacedPath(path), options.bigint, req);
1683 const stats = binding.stat(pathModule.toNamespacedPath(path),
1766 stat(absoluteTarget, (err, stat)
[all...]
/third_party/lzma/CPP/Windows/
H A DFileFind.cpp928 static int MY__lstat(CFSTR path, struct stat *st, bool followLink) in MY__lstat()
942 res = stat(path, st); in MY__lstat()
995 UInt32 Get_WinAttrib_From_stat(const struct stat &st)
1009 void CFileInfo::SetFrom_stat(const struct stat &st) in SetFrom_stat()
1116 struct stat st; in Find_DontFill_Name()
1147 struct stat st; in DoesFileExist_Raw()
1156 struct stat st; in DoesFileExist_FollowLink()
1164 struct stat st; in DoesDirExist()
1172 struct stat st; in DoesFileOrDirExist()
1244 struct stat s in NextAny()
[all...]
/third_party/python/Lib/test/
H A Dtest_os.py20 import stat namespace
303 self.assertRaises(FileNotFoundError, os.stat, os_helper.TESTFN)
524 # Test attributes on return values from os.*stat* family.
532 result = os.stat(fname)
535 self.assertEqual(result[stat.ST_SIZE], 3)
540 for name in dir(stat):
548 result[getattr(stat, name)])
607 result = os.stat(self.fname)
675 # Verify that an open file can be stat'ed
677 os.stat(
[all...]
/third_party/eudev/src/udev/
H A Dudevadm-util.c31 struct stat statbuf; in find_device()
34 if (stat(id, &statbuf) < 0) in find_device()
/third_party/NuttX/fs/vfs/
H A Dfs_stat.c28 #include "sys/stat.h"
37 * Name: stat
52 int stat(const char *path, struct stat *buf) in stat() function
80 /* The way we handle the stat depends on the type of vnode that we in stat()
/third_party/ltp/include/
H A Dtst_device.h11 #include <sys/stat.h>
98 * Reads test block device stat file and returns the bytes written since the
120 void tst_stat_mount_dev(const char *const mnt_path, struct stat *const st);
/third_party/node/test/sequential/
H A Dtest-require-cache-without-stat.js33 // Switch out the two stat implementations so that they increase a counter
37 const _stat = fs.stat;
44 fs.stat = function() {
59 // stat should not be called.
/third_party/musl/porting/linux/user/src/dirent/
H A Dfdopendir.c3 #include <sys/stat.h>
14 struct stat st; in fdopendir()
/third_party/musl/src/dirent/
H A Dfdopendir.c3 #include <sys/stat.h>
14 struct stat st; in fdopendir()
/third_party/ltp/testcases/kernel/syscalls/link/
H A Dlink02.c16 #include <sys/stat.h>
24 struct stat fbuf, lbuf; in verify_link()
36 "returned 0 and stat link counts match"); in verify_link()
39 " but stat link counts do not match %d %d", in verify_link()
/third_party/ltp/testcases/kernel/syscalls/umask/
H A Dumask01.c16 #include <sys/stat.h>
21 struct stat statbuf; in verify_umask()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir05.c12 #include <sys/stat.h>
23 struct stat buf; in verify_mkdir()
/third_party/ltp/testcases/kernel/syscalls/setresuid/
H A Dsetresuid05.c16 #include <sys/stat.h>
31 struct stat buf; in run()
/third_party/ltp/testcases/kernel/syscalls/creat/
H A Dcreat03.c15 #include <sys/stat.h>
25 struct stat statbuf; in verify_creat()
/third_party/ltp/testcases/kernel/syscalls/ustat/
H A Dustat01.c15 #include <sys/stat.h>
36 struct stat buf; in setup()

Completed in 16 milliseconds

1...<<11121314151617181920>>...97