/kernel/linux/linux-6.6/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 17 #include <sys/stat.h> 242 struct stat st; in mfd_assert_size() 697 struct stat st; in mfd_assert_mode() 732 struct stat st; in mfd_fail_chmod()
|
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 294 #include <sys/stat.h> 362 // namespace (read, write, close, chdir, isatty, stat). We do not currently 1999 typedef struct stat StatStruct; 2003 // stat function not implemented on ESP8266 2011 typedef struct stat StatStruct; 2014 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
|
/third_party/icu/tools/colprobe/ |
H A D | colprobeNew.cpp | 60 #include <sys/stat.h> 79 #include <sys/stat.h> 83 struct stat myStat; in createDir() 84 int result = stat(dirName, &myStat); in createDir()
|
/third_party/ltp/pan/ |
H A D | ltp-pan.c | 55 #include <sys/stat.h> 423 struct stat sbuf; in main() 425 if (stat(test_out_dir, &sbuf) < 0) { in main() 427 "pan(%s): stat of -O arg '%s' failed. errno: %d %s\n", in main() 805 "tag=%s stime=%d dur=%d exit=%s stat=%d core=%s cu=%d cs=%d\n", in check_pids() 1102 "stat=%d core=%s cu=%d cs=%d\n", in run_child() 1278 struct stat sbuf; in slurp()
|
/third_party/node/lib/internal/modules/cjs/ |
H A D | loader.js | 184 function stat(filename) { function 198 let _stat = stat; 202 set(stat) { 204 _stat = stat;
|
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 321 #include <sys/stat.h> 397 // namespace (read, write, close, chdir, isatty, stat). We do not currently 2025 typedef struct stat StatStruct; 2029 // stat function not implemented on ESP8266 2037 typedef struct stat StatStruct; 2040 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
|
/third_party/mesa3d/src/util/ |
H A D | xmlconfig.c | 44 #include <sys/stat.h> 1006 struct stat st; in scandir_filter() 1013 * The full filepath isn't available here to stat the file in scandir_filter() 1048 * This can be accomplished with stat on the full filepath in parseConfigDir() 1051 struct stat st; in parseConfigDir() 1052 if (stat(filename, &st) != 0 || in parseConfigDir()
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_cert.c | 28 # include <sys/stat.h> 30 # define stat _stat macro 765 struct stat st; in STACK_OF() 768 /* Cannot use stat so just skip current and parent directories */ in STACK_OF() 783 if (!stat(buf, &st) && S_ISDIR(st.st_mode)) in STACK_OF()
|
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_loader_attic.c | 18 #include <sys/stat.h> 45 # define stat _stat macro 952 struct stat st; in file_open_ex() 1015 if (stat(path_data[i].path, &st) < 0) { in file_open_ex() 1017 "calling stat(%s)", in file_open_ex()
|
/third_party/openssl/engines/ |
H A D | e_loader_attic.c | 18 #include <sys/stat.h> 45 # define stat _stat macro 952 struct stat st; in file_open_ex() 1015 if (stat(path_data[i].path, &st) < 0) { in file_open_ex() 1017 "calling stat(%s)", in file_open_ex()
|
/third_party/openssl/ssl/ |
H A D | ssl_cert.c | 28 # include <sys/stat.h> 30 # define stat _stat macro 765 struct stat st; in STACK_OF() 768 /* Cannot use stat so just skip current and parent directories */ in STACK_OF() 783 if (!stat(buf, &st) && S_ISDIR(st.st_mode)) in STACK_OF()
|
/third_party/python/Lib/test/ |
H A D | test_tracemalloc.py | 632 stat = stats[0] 633 self.assertEqual(str(stat), 639 stat = stats[0] 640 self.assertEqual(str(stat),
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 238 # include <sys/stat.h> 482 /* choose the appropriate stat and fstat functions and return structs */ 492 # define STAT stat 495 # define STRUCT_STAT struct stat 1831 /* The CRT of Windows has a number of flaws wrt. its stat() implementation: 1835 Therefore, we implement our own stat, based on the Win32 API directly. 1935 /* The stat call has to traverse but cannot, so fail. */ in win32_xstat_impl() 2094 In Posix, stat automatically traverses symlinks and returns the stat 2117 "stat_result: Result from stat, fsta 13610 PyObject *stat; global() member 13789 PyObject *stat = NULL; DirEntry_test_mode() local 13913 STRUCT_STAT stat; os_DirEntry_inode_impl() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/ |
H A D | media_library_manager.cpp | 22 #include <sys/stat.h> 936 struct stat st; in ReadMovingPhotoVideo() 989 struct stat imageStatInfo {}; in GetSandboxMovingPhotoTime() 990 if (stat(imageRealPath.c_str(), &imageStatInfo) != 0) { in GetSandboxMovingPhotoTime() 991 MEDIA_ERR_LOG("stat image error"); in GetSandboxMovingPhotoTime() 998 struct stat videoStatInfo {}; in GetSandboxMovingPhotoTime() 999 if (stat(videoRealPath.c_str(), &videoStatInfo) != 0) { in GetSandboxMovingPhotoTime() 1000 MEDIA_ERR_LOG("stat video error"); in GetSandboxMovingPhotoTime()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | loop.c | 57 #include <linux/stat.h> 1433 struct kstat stat; in loop_get_status() local 1463 ret = vfs_getattr(&path, &stat, STATX_INO, AT_STATX_SYNC_AS_STAT); in loop_get_status() 1465 info->lo_device = huge_encode_dev(stat.dev); in loop_get_status() 1466 info->lo_inode = stat.ino; in loop_get_status() 1467 info->lo_rdevice = huge_encode_dev(stat.rdev); in loop_get_status()
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | imx-pxp.c | 998 u32 stat; in pxp_irq_handler() local 1000 stat = readl(dev->mmio + HW_PXP_STAT); in pxp_irq_handler() 1002 if (stat & BM_PXP_STAT_IRQ0) { in pxp_irq_handler() 1004 if (stat & ~(BM_PXP_STAT_BLOCKX | BM_PXP_STAT_BLOCKY | in pxp_irq_handler() 1006 dprintk(dev, "%s: stat = 0x%08x\n", __func__, stat); in pxp_irq_handler() 1013 dprintk(dev, "%s: stat = 0x%08x\n", __func__, stat); in pxp_irq_handler()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 83 struct slic_stat_desc *stat; in slic_next_compl_idx() local 87 stat = &descs[stq->done_idx]; in slic_next_compl_idx() 89 if (!stat->status) in slic_next_compl_idx() 92 idx = (le32_to_cpu(stat->hnd) & 0xffff) - 1; in slic_next_compl_idx() 94 stat->hnd = 0; in slic_next_compl_idx() 95 stat->status = 0; in slic_next_compl_idx()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | inode.c | 24 #include <linux/stat.h> 480 * such as stat(2) */ in nfs_fhget() 806 int nfs_getattr(const struct path *path, struct kstat *stat, in nfs_getattr() argument 871 stat->result_mask &= request_mask; in nfs_getattr() 873 generic_fillattr(inode, stat); in nfs_getattr() 874 stat->ino = nfs_compat_user_ino64(NFS_FILEID(inode)); in nfs_getattr() 876 stat->blksize = NFS_SERVER(inode)->dtsize; in nfs_getattr()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 83 struct slic_stat_desc *stat; in slic_next_compl_idx() local 87 stat = &descs[stq->done_idx]; in slic_next_compl_idx() 89 if (!stat->status) in slic_next_compl_idx() 92 idx = (le32_to_cpu(stat->hnd) & 0xffff) - 1; in slic_next_compl_idx() 94 stat->hnd = 0; in slic_next_compl_idx() 95 stat->status = 0; in slic_next_compl_idx()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | loop.c | 11 #include <linux/stat.h> 1329 struct kstat stat; in loop_get_status() local 1351 ret = vfs_getattr(&path, &stat, STATX_INO, AT_STATX_SYNC_AS_STAT); in loop_get_status() 1353 info->lo_device = huge_encode_dev(stat.dev); in loop_get_status() 1354 info->lo_inode = stat.ino; in loop_get_status() 1355 info->lo_rdevice = huge_encode_dev(stat.rdev); in loop_get_status()
|
/kernel/linux/linux-6.6/drivers/media/platform/nxp/ |
H A D | imx-pxp.c | 1103 u32 stat; in pxp_irq_handler() local 1105 stat = pxp_read(dev, HW_PXP_STAT); in pxp_irq_handler() 1107 if (stat & BM_PXP_STAT_IRQ0) { in pxp_irq_handler() 1109 if (stat & ~(BM_PXP_STAT_BLOCKX | BM_PXP_STAT_BLOCKY | in pxp_irq_handler() 1111 dprintk(dev, "%s: stat = 0x%08x\n", __func__, stat); in pxp_irq_handler() 1118 dprintk(dev, "%s: stat = 0x%08x\n", __func__, stat); in pxp_irq_handler()
|
/third_party/NuttX/fs/tmpfs/ |
H A D | fs_tmpfs.c | 127 int tmpfs_stat(struct Vnode *vp, struct stat *st); 140 struct stat *buf); 2416 struct stat *buf) in tmpfs_stat_common() 2422 (VOID)memset_s(buf, sizeof(struct stat), 0, sizeof(struct stat)); in tmpfs_stat_common() 2473 int tmpfs_stat(struct Vnode *vp, struct stat *st) in tmpfs_stat() 2504 /* We found it... Return information about the file object in the stat in tmpfs_stat()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | growfiles.c | 77 #include <sys/stat.h> 201 #define MODE_FIFO S_IFIFO /* defined in stat.h 0010000 */ 383 struct stat statbuf; in main() 484 if (stat(auto_dir, &statbuf) == -1) { in main() 1958 struct stat stbuf; in growfile() 1962 * Do a stat on the open file. in growfile() 2522 * we do the stat until after the read. in check_write() 2604 struct stat stbuf; in check_write() 2729 * the stat and until after the last read to prevent in check_file() 2928 struct stat s in file_size() [all...] |
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fuse_lowlevel.c | 75 static void convert_stat(const struct stat *stbuf, struct fuse_attr *attr) in convert_stat() 102 static void convert_attr(const struct fuse_setattr_in *attr, struct stat *stbuf) in convert_attr() 237 char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf, in fuse_add_dirent() 258 const char *name, const struct stat *stbuf, off_t off) in fuse_add_direntry() 378 int fuse_reply_attr(fuse_req_t req, const struct stat *attr, in fuse_reply_attr() 528 struct stat stbuf; in do_setattr()
|
/third_party/mksh/ |
H A D | misc.c | 1708 struct stat sb; in do_realpath() 1896 if (stat(Xstring(xs, xp), &sb)) { in do_realpath() 2363 struct stat sb; in chvt() 2365 if (stat(dv, &sb)) { in chvt() 2368 if (stat(dv, &sb)) { in chvt() 2371 if (stat(dv, &sb)) { in chvt()
|