/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate01.c | 163 struct stat file_stat; in get_blocksize() local 165 if (fstat(fd, &file_stat) < 0) in get_blocksize() 169 block_size = file_stat.st_blksize; in get_blocksize() 225 struct stat file_stat; in runtest() local 246 if (fstat(fd, &file_stat) < 0) in runtest() 249 if (file_stat.st_size != expected_size) in runtest()
|
D | fallocate04.c | 48 struct stat file_stat; in get_blocksize() local 50 SAFE_FSTAT(fd, &file_stat); in get_blocksize() 52 block_size = file_stat.st_blksize; in get_blocksize() 58 struct stat file_stat; in get_allocsize() local 62 SAFE_FSTAT(fd, &file_stat); in get_allocsize() 64 return file_stat.st_blocks * 512; in get_allocsize()
|
D | fallocate03.c | 181 struct stat file_stat; in get_blocksize() local 183 if (fstat(fd, &file_stat) < 0) in get_blocksize() 187 block_size = (int)file_stat.st_blksize; in get_blocksize()
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 134 struct stat file_stat; in test_rwflag() local 305 if (fstat(fd, &file_stat) == -1) { in test_rwflag() 311 atime = file_stat.st_atime; in test_rwflag() 321 if (fstat(fd, &file_stat) == -1) { in test_rwflag() 328 if (file_stat.st_atime != atime) { in test_rwflag() 340 struct stat file_stat; in setup() local 372 SAFE_STAT(cleanup, file, &file_stat); in setup() 374 if (file_stat.st_mode != SUID_MODE && in setup()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat02.c | 222 struct stat file_stat, file_newstat; in testfunc_noatime() local 241 SAFE_STAT(cleanup, TEST_FILE, &file_stat); in testfunc_noatime() 258 if (file_stat.st_atime == file_newstat.st_atime) in testfunc_noatime() 278 struct stat file_stat; in testfunc_trunc() local 287 SAFE_FSTAT(cleanup, TEST_RETURN, &file_stat); in testfunc_trunc() 289 if (file_stat.st_size == 0) in testfunc_trunc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 216 posix::StatStruct file_stat; in FileOrDirectoryExists() 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 243 posix::StatStruct file_stat; in DirectoryExists() local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 245 posix::IsDir(file_stat); in DirectoryExists()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-filepath.cc | 209 posix::StatStruct file_stat; in FileOrDirectoryExists() 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 236 posix::StatStruct file_stat; in DirectoryExists() local 237 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 238 posix::IsDir(file_stat); in DirectoryExists()
|
/external/googletest/googletest/src/ |
D | gtest-filepath.cc | 212 posix::StatStruct file_stat; in FileOrDirectoryExists() 213 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 239 posix::StatStruct file_stat; in DirectoryExists() local 240 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 241 posix::IsDir(file_stat); in DirectoryExists()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-filepath.cc | 216 posix::StatStruct file_stat; in FileOrDirectoryExists() 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 243 posix::StatStruct file_stat; in DirectoryExists() local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 245 posix::IsDir(file_stat); in DirectoryExists()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-filepath.cc | 209 posix::StatStruct file_stat; in FileOrDirectoryExists() 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 236 posix::StatStruct file_stat; in DirectoryExists() local 237 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 238 posix::IsDir(file_stat); in DirectoryExists()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 207 posix::StatStruct file_stat; in FileOrDirectoryExists() 208 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 234 posix::StatStruct file_stat; in DirectoryExists() local 235 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 236 posix::IsDir(file_stat); in DirectoryExists()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-filepath.cc | 214 posix::StatStruct file_stat; in FileOrDirectoryExists() 215 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 241 posix::StatStruct file_stat; in DirectoryExists() local 242 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 243 posix::IsDir(file_stat); in DirectoryExists()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-filepath.cc | 216 posix::StatStruct file_stat; in FileOrDirectoryExists() 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 243 posix::StatStruct file_stat; in DirectoryExists() local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 245 posix::IsDir(file_stat); in DirectoryExists()
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 74 struct stat file_stat; in RegularFileOrDelete() local 75 if (fstat(scoped_fd.get(), &file_stat) != -1 && in RegularFileOrDelete() 76 S_ISREG(file_stat.st_mode) && file_stat.st_uid == uid && in RegularFileOrDelete() 77 file_stat.st_gid == gid) { in RegularFileOrDelete()
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
D | hog.c | 116 struct stat file_stat; in main() local 117 if (stat(argv[1], &file_stat) == 0) { in main() 118 if (S_ISSOCK(file_stat.st_mode)) { in main()
|
/external/perf_data_converter/src/ |
D | perf_to_profile_lib.cc | 14 struct stat file_stat; in FileExists() local 15 return stat(path.c_str(), &file_stat) != -1; in FileExists()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 54 struct stat file_stat; in GetFileMode() local 55 if (fstat(fd_, &file_stat) < 0) in GetFileMode() 57 return file_stat.st_mode; in GetFileMode() 61 struct stat file_stat; in GetSize() local 62 if (fstat(fd_, &file_stat) < 0) in GetSize() 64 return file_stat.st_size; in GetSize()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | source_remote.py | 36 file_stat = gfile.Stat(file_path) 39 source_file_proto.last_modified = file_stat.mtime_nsec 40 source_file_proto.bytes = file_stat.length
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 673 struct stat file_stat; in VerifyPolicyFile() local 674 stat(policy_path.value().c_str(), &file_stat); in VerifyPolicyFile() 675 if (file_stat.st_uid != 0) { in VerifyPolicyFile() 679 stat(keyfile_path_.value().c_str(), &file_stat); in VerifyPolicyFile() 680 if (file_stat.st_uid != 0) { in VerifyPolicyFile()
|
/external/curl/lib/ |
D | file.c | 260 struct_stat file_stat; in file_upload() local 298 if(fstat(fd, &file_stat)) { in file_upload() 303 data->state.resume_from = (curl_off_t)file_stat.st_size; in file_upload()
|
/external/google-breakpad/src/tools/mac/crash_report/ |
D | on_demand_symbol_supplier.mm | 249 struct stat file_stat; 250 if (stat(path, &file_stat) == 0) 251 result = (float)file_stat.st_mtimespec.tv_sec + 252 (float)file_stat.st_mtimespec.tv_nsec / 1.0e9f;
|
/external/autotest/client/bin/ |
D | site_sysinfo.py | 122 class file_stat(object): class 177 self._log_stats[file_path] = file_stat(file_path)
|
/external/v8/src/base/platform/ |
D | platform-posix.cc | 560 struct stat file_stat; in FOpen() local 561 if (fstat(fileno(file), &file_stat) != 0) { in FOpen() 565 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
|
/external/autotest/site_utils/ |
D | gs_offloader.py | 239 file_stat = os.lstat(path) 240 if stat.S_ISFIFO(file_stat.st_mode): 264 file_stat = os.lstat(path) 265 if stat.S_ISLNK(file_stat.st_mode):
|
/external/autotest/server/hosts/ |
D | abstract_ssh.py | 355 file_stat = os.stat(filename) 360 if not file_stat.st_mode & 0111:
|