/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate01.c | 162 struct stat file_stat; in get_blocksize() local 164 if (fstat(fd, &file_stat) < 0) in get_blocksize() 168 block_size = file_stat.st_blksize; in get_blocksize() 224 struct stat file_stat; in runtest() local 245 if (fstat(fd, &file_stat) < 0) in runtest() 248 if (file_stat.st_size != expected_size) in runtest()
|
D | fallocate04.c | 34 struct stat file_stat; in get_blocksize() local 36 SAFE_FSTAT(fd, &file_stat); in get_blocksize() 38 block_size = file_stat.st_blksize; in get_blocksize() 44 struct stat file_stat; in get_allocsize() local 48 SAFE_FSTAT(fd, &file_stat); in get_allocsize() 50 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/openat/ |
D | openat02.c | 215 struct stat file_stat, file_newstat; in testfunc_noatime() local 228 SAFE_STAT(cleanup, TEST_FILE, &file_stat); in testfunc_noatime() 245 if (file_stat.st_atime == file_newstat.st_atime) in testfunc_noatime() 265 struct stat file_stat; in testfunc_trunc() local 274 SAFE_FSTAT(cleanup, TEST_RETURN, &file_stat); in testfunc_trunc() 276 if (file_stat.st_size == 0) in testfunc_trunc()
|
/external/bcc/libbpf-tools/ |
D | filetop.c | 165 struct file_stat *s1 = (struct file_stat *)obj1; in sort_column() 166 struct file_stat *s2 = (struct file_stat *)obj2; in sort_column() 189 static struct file_stat values[OUTPUT_ROWS_LIMIT]; in print_stat() 226 qsort(values, rows, sizeof(struct file_stat), sort_column); in print_stat()
|
D | filetop.bpf.c | 14 static struct file_stat zero_value = {}; 20 __type(value, struct file_stat); 38 struct file_stat *valuep; in probe_entry()
|
/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/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-filepath.cc | 213 posix::StatStruct file_stat{}; in FileOrDirectoryExists() 214 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 240 posix::StatStruct file_stat{}; in DirectoryExists() local 242 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
|
/external/cronet/third_party/boringssl/src/third_party/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 | 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/rust/crates/quiche/deps/boringssl/src/third_party/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/googletest/googletest/src/ |
D | gtest-filepath.cc | 213 posix::StatStruct file_stat; in FileOrDirectoryExists() 214 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 240 posix::StatStruct file_stat; in DirectoryExists() local 241 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 242 posix::IsDir(file_stat); in DirectoryExists()
|
/external/libvpx/third_party/googletest/src/src/ |
D | gtest-filepath.cc | 213 posix::StatStruct file_stat{}; in FileOrDirectoryExists() 214 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 240 posix::StatStruct file_stat{}; in DirectoryExists() local 242 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
|
/external/cronet/third_party/googletest/src/googletest/src/ |
D | gtest-filepath.cc | 213 posix::StatStruct file_stat{}; in FileOrDirectoryExists() 214 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 240 posix::StatStruct file_stat{}; in DirectoryExists() local 242 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
|
/external/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
D | pidfd_send_signal03.c | 39 struct stat file_stat; in get_inode_number() local 41 SAFE_FSTAT(fd, &file_stat); in get_inode_number() 42 return file_stat.st_ino; in get_inode_number()
|
/external/ltp/testcases/kernel/syscalls/open_by_handle_at/ |
D | open_by_handle_at01.c | 88 struct stat file_stat; in run() local 97 SAFE_FSTAT(fd, &file_stat); in run() 100 if (file_stat.st_size == 0 || (tc->fhp == &f_fhp)) in run()
|
/external/ltp/testcases/kernel/syscalls/name_to_handle_at/ |
D | name_to_handle_at01.c | 82 struct stat file_stat; in run() local 98 SAFE_FSTAT(fd, &file_stat); in run() 101 if (file_stat.st_size == 0 || !tc->pathname[0]) in run()
|
/external/ltp/testcases/kernel/syscalls/openat2/ |
D | openat201.c | 63 struct stat file_stat; in run() local 77 SAFE_FSTAT(fd, &file_stat); in run() 79 if (file_stat.st_size == 0) in run()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | source_remote.py | 31 file_stat = gfile.Stat(file_path) 34 source_file_proto.last_modified = file_stat.mtime_nsec 35 source_file_proto.bytes = file_stat.length
|
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.c | 2304 struct MZ_FILE_STAT_STRUCT file_stat; in mz_zip_get_file_modified_time() 2306 if (MZ_FILE_STAT(pFilename, &file_stat) != 0) in mz_zip_get_file_modified_time() 2308 mz_zip_time_to_dos_time(file_stat.st_mtime, pDOS_time, pDOS_date); in mz_zip_get_file_modified_time() 2781 mz_zip_archive_file_stat file_stat; in mz_zip_reader_extract_to_mem_no_alloc() local 2789 if (!mz_zip_reader_file_stat(pZip, file_index, &file_stat)) in mz_zip_reader_extract_to_mem_no_alloc() 2793 if (!file_stat.m_comp_size) in mz_zip_reader_extract_to_mem_no_alloc() 2802 if (file_stat.m_bit_flag & (1 | 32)) in mz_zip_reader_extract_to_mem_no_alloc() 2806 …if ((!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) && (file_stat.m_method != 0) && (file_stat.m_method !… in mz_zip_reader_extract_to_mem_no_alloc() 2810 …needed_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? file_stat.m_comp_size : file_stat.m_uncomp_s… in mz_zip_reader_extract_to_mem_no_alloc() 2815 cur_file_ofs = file_stat.m_local_header_ofs; in mz_zip_reader_extract_to_mem_no_alloc() [all …]
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 57 struct stat file_stat; in GetFileMode() local 58 if (fstat(fd_, &file_stat) < 0) in GetFileMode() 60 return file_stat.st_mode; in GetFileMode() 64 struct stat file_stat; in GetSize() local 65 if (fstat(fd_, &file_stat) < 0) in GetSize() 67 return file_stat.st_size; in GetSize()
|
/external/fmtlib/src/ |
D | os.cc | 222 Stat file_stat = Stat(); in size() 223 if (FMT_POSIX_CALL(fstat(fd_, &file_stat)) == -1) in size() 225 static_assert(sizeof(long long) >= sizeof(file_stat.st_size), in size() 227 return file_stat.st_size; in size()
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 81 struct stat file_stat; in RegularFileOrDelete() local 82 if (fstat(scoped_fd.get(), &file_stat) != -1 && in RegularFileOrDelete() 83 S_ISREG(file_stat.st_mode) && file_stat.st_uid == uid && in RegularFileOrDelete() 84 file_stat.st_gid == gid) { in RegularFileOrDelete()
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 718 struct stat file_stat; in VerifyPolicyFile() local 719 stat(policy_path.value().c_str(), &file_stat); in VerifyPolicyFile() 720 if (file_stat.st_uid != 0) { in VerifyPolicyFile() 724 stat(keyfile_path_.value().c_str(), &file_stat); in VerifyPolicyFile() 725 if (file_stat.st_uid != 0) { in VerifyPolicyFile()
|
/external/cronet/crypto/ |
D | nss_util_chromeos.cc | 598 base::stat_wrapper_t file_stat; in PrintDirectoryInfo() local 600 if (base::File::Stat(path.value().c_str(), &file_stat) == -1) { in PrintDirectoryInfo() 605 LOG(ERROR) << path << ", " << std::oct << file_stat.st_mode << std::dec in PrintDirectoryInfo() 607 << "uid " << file_stat.st_uid << ", " in PrintDirectoryInfo() 608 << "gid " << file_stat.st_gid << std::endl; in PrintDirectoryInfo()
|