Home
last modified time | relevance | path

Searched refs:stat (Results 1351 - 1375 of 7199) sorted by relevance

1...<<51525354555657585960>>...288

/kernel/liteos_a/fs/vfs/include/
H A Dvnode.h34 #include <sys/stat.h>
153 int (*Getattr)(struct Vnode *vnode, struct stat *st);
154 int (*Setattr)(struct Vnode *vnode, struct stat *st);
/kernel/linux/linux-6.6/tools/cgroup/
H A Diocost_coef_gen.py70 rdev = os.stat(f'/dev/{devname}').st_rdev
76 if os.path.isfile(path) and os.stat(path).st_size == size:
128 rdev = os.stat(f'/dev/{devname}').st_rdev
/kernel/linux/linux-6.6/scripts/dtc/
H A Ddtc.c6 #include <sys/stat.h>
134 struct stat statbuf; in guess_input_format()
138 if (stat(fname, &statbuf) != 0) in guess_input_format()
/test/testfwk/developer_test/src/core/build/
H A Dbuild_manager.py20 import stat namespace
32 MODES = stat.S_IWUSR | stat.S_IRUSR
H A Dpretreat_targets.py22 import stat namespace
30 MODES = stat.S_IWUSR | stat.S_IRUSR
/test/testfwk/developer_test/local_coverage/
H A Dcoverage_tools.py25 import stat namespace
31 MODES = stat.S_IWUSR | stat.S_IRUSR
/test/xts/acts/kernel_lite/fs_posix/src/
H A DFsOtherTest.cpp20 #include <sys/stat.h>
100 int FtwCheckDirTree(const char *path, const struct stat *sb, int flag) in FtwCheckDirTree()
145 int NftwCheckDirTree(const char *path, const struct stat *sb, int flag, struct FTW *s) in NftwCheckDirTree()
/test/xts/acts/security_lite/huks/common/
H A Dhks_test_file_operator.c24 #include <sys/stat.h>
136 struct stat fileStat; in FileSize()
138 if (stat(fileName, &fileStat) != 0) { in FileSize()
139 HKS_TEST_LOG_E("file stat fail."); in FileSize()
197 HKS_TEST_LOG_E("stat file failed, errno = 0x%x", ret); in FileRead()
255 HKS_TEST_LOG_E("stat file failed, errno = 0x%x", ret); in FileSize()
/third_party/ffmpeg/libavformat/
H A Dipfsgateway.c25 #include <sys/stat.h>
55 struct stat st; in populate_ipfs_gateway()
114 stat_ret = stat(ipfs_full_data_folder, &st); in populate_ipfs_gateway()
/third_party/curl/docs/examples/
H A Dhttp2-upload.c32 #include <sys/stat.h>
176 struct stat file_info; in setup()
193 if(stat(upload, &file_info)) { in setup()
194 fprintf(stderr, "error: could not stat file %s: %s\n", upload, in setup()
/third_party/FreeBSD/sbin/newfs_msdos/
H A Dnewfs_msdos.c31 #include <sys/stat.h>
54 struct stat st; in get_tstamp()
58 if (stat(b, &st) != -1) in get_tstamp()
/third_party/ltp/testcases/kernel/device-drivers/drm/user_space/
H A Duser_tdrm.c34 #include <sys/stat.h>
49 struct stat st; in tdrmopen()
62 ("ERROR: Problem with Base dev directory. Error code from stat() is %d\n\n", in tdrmopen()
81 rc = stat(DEVICE_NAME, &st); in tdrmopen()
90 ("ERROR:Problem with tbase device node directory. Error code form stat() is %d\n\n", in tdrmopen()
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_user/
H A Dtbio.c45 #include <sys/stat.h>
86 struct stat st; in setup()
105 if (stat(DEVICE_NAME, &st)) { in setup()
108 "stat() failed"); in setup()
/third_party/node/deps/npm/node_modules/@npmcli/installed-package-contents/lib/
H A Dindex.js26 const stat = promisify(fs.stat)
108 binFiles.map(b => stat(b).then(() => b).catch((er) => null))
/third_party/libfuse/example/
H A Dhello_ll.c35 static int hello_stat(fuse_ino_t ino, struct stat *stbuf) in hello_stat()
59 struct stat stbuf; in hello_ll_getattr()
95 struct stat stbuf; in dirbuf_add()
/third_party/libfuse/test/
H A Dtest_write_cache.c22 #include <sys/stat.h>
69 static int tfs_stat(fuse_ino_t ino, struct stat *stbuf) { in tfs_stat()
111 struct stat stbuf; in tfs_getattr()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate04.c15 #include <sys/stat.h>
34 struct stat file_stat; in get_blocksize()
44 struct stat file_stat; in get_allocsize()
/third_party/ltp/testcases/kernel/syscalls/openat/
H A Dopenat03.c23 #include <sys/stat.h>
37 static struct stat st;
191 struct stat st; in test03()
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/
H A Drpc1.c8 #include <sys/stat.h>
30 struct stat stat_buffer; in main()
114 if (stat(file_name, &stat_buffer)) in main()
115 fprintf(stderr, "stat() failed for %s, errno %d\n", file_name, in main()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen14.c23 #include <sys/stat.h>
36 static struct stat st;
180 struct stat st; in test03()
/third_party/ltp/testcases/kernel/pty/
H A Dpty01.c25 #include <sys/stat.h>
76 struct stat st; in test1()
90 if (stat(slavename, &st) != 0) { in test1()
91 tst_brkm(TBROK | TERRNO, NULL, "stat(%s) failed", slavename); in test1()
/third_party/python/Lib/
H A Dnetrc.py5 import os, shlex, stat namespace
160 if (prop.st_mode & (stat.S_IRWXG | stat.S_IRWXO)):
/third_party/python/Include/internal/
H A Dpycore_fileutils.h82 # define _Py_stat_struct stat
95 struct stat *status);
202 _Py_wstat(const wchar_t *, struct stat *);
/third_party/skia/src/gpu/vk/
H A DGrVkResourceProvider.h149 GrThreadSafePipelineBuilder::Stats::ProgramCacheResult* stat);
240 Stats::ProgramCacheResult* stat) { in findOrCreatePipelineState()
242 false, stat); in findOrCreatePipelineState()
237 findOrCreatePipelineState(const GrProgramDesc& desc, const GrProgramInfo& programInfo, VkRenderPass compatibleRenderPass, Stats::ProgramCacheResult* stat) findOrCreatePipelineState() argument
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_request_response_with_callback.c32 #include <sys/stat.h>
270 struct stat st; in childproc()
286 if(0 == ret && 0 == stat(DATA_DIR "spdy-draft.txt", &st)) in childproc()

Completed in 12 milliseconds

1...<<51525354555657585960>>...288