/external/e2fsprogs/tests/progs/ |
hold_inode.c | 24 struct stat statbuf; local 32 if (stat(filename, &statbuf) < 0) { 36 if (S_ISDIR(statbuf.st_mode)) {
|
/external/ltp/testcases/commands/cron/ |
cron_dirs_check.c | 11 struct stat statbuf; local 15 if (stat(directory, &statbuf) == -1) { 21 if (statbuf.st_uid != 0) { 26 if ((statbuf.st_mode & S_IWGRP) || (statbuf.st_mode & S_IWOTH)) {
|
/external/ltp/testcases/kernel/device-drivers/include/ |
userBlockInclude.c | 73 struct stat statbuf; local 86 rc = stat(INCLUDE_DEVICE_PATH, &statbuf); 100 if (!(statbuf.st_mode & S_IFDIR)) { 116 rc = stat(DEVICE_NAME, &statbuf); 135 if ((!(statbuf.st_mode & S_IFBLK)) || 136 (statbuf.st_rdev != devt)) {
|
/external/ltp/testcases/kernel/device-drivers/nls/ |
userBlockNLS.c | 71 struct stat statbuf; local 84 rc = stat(NLS_DEVICE_PATH, &statbuf); 100 if (!(statbuf.st_mode & S_IFDIR)) { 116 rc = stat(DEVICE_NAME, &statbuf); 135 if ((!(statbuf.st_mode & S_IFBLK)) || 136 (statbuf.st_rdev != devt)) {
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat03.c | 38 struct stat statbuf; local 47 SAFE_FSTAT(fd, &statbuf); 49 tst_res(TINFO, "Created file has mode = 0%o", statbuf.st_mode); 51 if ((statbuf.st_mode & S_ISVTX) != 0)
|
/external/ltp/testcases/kernel/syscalls/umask/ |
umask01.c | 34 struct stat statbuf; local 56 SAFE_STAT("testfile", &statbuf); 58 low9mode = statbuf.st_mode & 0777;
|
/external/ltp/testcases/kernel/fs/mongo/ |
mongo_slinks.c | 25 struct stat statbuf; local 52 if (lstat(new_path, &statbuf) == -1) { 57 if (!(S_ISLNK(statbuf.st_mode))) {
|
/system/extras/tests/storage/ |
opentest.c | 32 struct stat statbuf; local 49 if (stat(dir, &statbuf)) { 54 if (! S_ISDIR(statbuf.st_mode)) {
|
wipe_blkdev.c | 86 struct stat statbuf; local 110 if (fstat(fd, &statbuf) < 0) { 115 if (!S_ISBLK(statbuf.st_mode)) {
|
/external/eigen/bench/spbench/ |
spbenchsolver.cpp | 43 std::ofstream statbuf; local 50 statbuf.open(statFile.c_str(), std::ios::out); 51 if(statbuf.good()){ 53 printStatheader(statbuf); 54 statbuf.close(); 78 statbuf.open(statFile.c_str(), std::ios::app); 79 statbuf << "</BENCH> \n"; 81 statbuf.close();
|
/external/ltp/testcases/kernel/containers/mqns/ |
mqns_03.c | 62 struct stat statbuf; local 89 rc = stat(FNAM1, &statbuf); 115 rc = stat(FNAM1, &statbuf); 121 rc = stat(FNAM2, &statbuf);
|
mqns_04.c | 100 struct stat statbuf; local 146 rc = stat(FNAM1, &statbuf); 166 rc = stat(FNAM1, &statbuf);
|
/external/tensorflow/tensorflow/core/platform/posix/ |
env.cc | 163 struct stat statbuf; local 164 if (!stat(d, &statbuf) && S_ISDIR(statbuf.st_mode) &&
|
/frameworks/minikin/app/ |
HyphTool.cpp | 15 struct stat statbuf; local 16 int status = stat(fn, &statbuf); 21 size_t size = statbuf.st_size;
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3filestream.c | 420 struct _stat statbuf; local 422 _stat((const char *)fileName, &statbuf); 424 return (ANTLR3_UINT32)statbuf.st_size;
|
/test/vts/utils/native/libprofiling/ |
VtsProfilingInterface.cpp | 67 struct stat statbuf; local 68 fstat(fd, &statbuf); 71 if (statbuf.st_nlink <= 0 || fcntl(fd, F_GETFD) == -1) {
|
/external/ltp/lib/ |
tst_tmpdir.c | 128 struct stat statbuf; local 183 if (lstat(obj, &statbuf) < 0) { 194 if (statbuf.st_nlink >= 3) {
|
/external/ltp/testcases/kernel/syscalls/fstatat/ |
fstatat01.c | 63 int fstatat(int dirfd, const char *filename, struct stat64 *statbuf, int flags) 65 return ltp_syscall(__NR_fstatat64, dirfd, filename, statbuf, flags); 68 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) 70 return ltp_syscall(__NR_newfstatat, dirfd, filename, statbuf, flags); 73 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) 75 return ltp_syscall(__NR_fstatat, dirfd, filename, statbuf, flags); 84 static struct stat64 statbuf; local 86 static struct stat statbuf; local 100 TEST(fstatat(fds[i], filenames[i], &statbuf, flags[i]));
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
pwrite04.c | 71 struct stat statbuf; local 169 if (fstat(fd, &statbuf) == -1) { 173 if (statbuf.st_size != K4) { 175 statbuf.st_size); 194 if (fstat(fd, &statbuf) == -1) { 198 if (statbuf.st_size != K5) { 200 statbuf.st_size);
|
/external/ltp/testcases/kernel/syscalls/stat/ |
stat06.c | 140 struct stat statbuf; variable in typeref:struct:stat 152 "nonexistfile", &statbuf, "non-existent file", ENOENT, no_setup}, { 153 "", &statbuf, "path is empty string", ENOENT, no_setup}, { 154 "nefile/file", &statbuf, "path contains a non-existent file", 156 "file/file", &statbuf, "path contains a regular file", 158 Longpathname, &statbuf, "pathname too long", ENAMETOOLONG, 162 High_address, &statbuf, "address beyond address space", EFAULT, 164 (char *)-1, &statbuf, "negative address", EFAULT, no_setup},
|
/system/extras/ioshark/ |
ioshark_bench_mmap.c | 174 struct stat statbuf; local 176 if (fstat(files_db_get_fd(db_node), &statbuf) < 0) { 186 assert(offset + len <= statbuf.st_size);
|
/toolchain/binutils/binutils-2.27/bfd/ |
aix5ppc-core.c | 57 struct stat statbuf; local 74 if (bfd_stat (abfd, &statbuf) < 0) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 95 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 96 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 97 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 99 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 100 || ((CHECK_FILE_OFFSET (statbuf, core.c_data)) [all...] |
elfcore.h | 283 struct stat statbuf; local 294 if (bfd_stat (abfd, &statbuf) == 0) 296 if ((bfd_size_type) statbuf.st_size < high) 301 abfd, (unsigned long) high, (unsigned long) statbuf.st_size);
|
/external/dtc/ |
dtc.c | 140 struct stat statbuf; local 144 if (stat(fname, &statbuf) != 0) 147 if (S_ISDIR(statbuf.st_mode)) 150 if (!S_ISREG(statbuf.st_mode))
|
/external/libunwind/src/coredump/ |
_UCD_create.c | 332 struct stat statbuf; local 333 if (fstat(fd, &statbuf) != 0) 338 phdr->backing_filesize = (uoff_t)statbuf.st_size;
|