/external/ltp/testcases/kernel/syscalls/fallocate/ |
fallocate01.c | 163 struct stat file_stat; local 165 if (fstat(fd, &file_stat) < 0) 169 block_size = file_stat.st_blksize; 225 struct stat file_stat; local 246 if (fstat(fd, &file_stat) < 0) 249 if (file_stat.st_size != expected_size)
|
fallocate04.c | 48 struct stat file_stat; local 50 SAFE_FSTAT(fd, &file_stat); 52 block_size = file_stat.st_blksize; 58 struct stat file_stat; local 62 SAFE_FSTAT(fd, &file_stat); 64 return file_stat.st_blocks * 512;
|
fallocate03.c | 181 struct stat file_stat; local 183 if (fstat(fd, &file_stat) < 0) 187 block_size = (int)file_stat.st_blksize;
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 222 struct stat file_stat, file_newstat; local 241 SAFE_STAT(cleanup, TEST_FILE, &file_stat); 258 if (file_stat.st_atime == file_newstat.st_atime) 278 struct stat file_stat; local 287 SAFE_FSTAT(cleanup, TEST_RETURN, &file_stat); 289 if (file_stat.st_size == 0)
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount03.c | 134 struct stat file_stat; local 305 if (fstat(fd, &file_stat) == -1) { 311 atime = file_stat.st_atime; 321 if (fstat(fd, &file_stat) == -1) { 328 if (file_stat.st_atime != atime) { 340 struct stat file_stat; local 372 SAFE_STAT(cleanup, file, &file_stat); 374 if (file_stat.st_mode != SUID_MODE &&
|
/external/perf_data_converter/src/ |
perf_to_profile_lib.cc | 14 struct stat file_stat; local 15 return stat(path.c_str(), &file_stat) != -1;
|
/bionic/linker/ |
linker_main.h | 53 const struct stat* file_stat, off64_t file_offset,
|
linker_main.cpp | 190 struct stat file_stat; member in struct:ExecutableInfo 202 stat("/init", &result.file_stat); 216 if (TEMP_FAILURE_RETRY(stat("/proc/self/exe", &result.file_stat)) != 0) { 276 if (TEMP_FAILURE_RETRY(fstat(fd.get(), &result.file_stat)) == -1) { 281 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { 360 exe_path.c_str(), &exe_info.file_stat,
|
linker_soinfo.cpp | 50 const struct stat* file_stat, off64_t file_offset, 61 if (file_stat != nullptr) { 62 this->st_dev_ = file_stat->st_dev; 63 this->st_ino_ = file_stat->st_ino;
|
linker_soinfo.h | 217 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
|
/external/google-breakpad/src/testing/gtest/src/ |
gtest-filepath.cc | 209 posix::StatStruct file_stat; 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 236 posix::StatStruct file_stat; local 237 result = posix::Stat(path.c_str(), &file_stat) == 0 && 238 posix::IsDir(file_stat);
|
/external/googletest/googletest/src/ |
gtest-filepath.cc | 212 posix::StatStruct file_stat; 213 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 239 posix::StatStruct file_stat; local 240 result = posix::Stat(path.c_str(), &file_stat) == 0 && 241 posix::IsDir(file_stat);
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
gtest-filepath.cc | 216 posix::StatStruct file_stat; 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 243 posix::StatStruct file_stat; local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && 245 posix::IsDir(file_stat);
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-filepath.cc | 214 posix::StatStruct file_stat; 215 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 241 posix::StatStruct file_stat; local 242 result = posix::Stat(path.c_str(), &file_stat) == 0 && 243 posix::IsDir(file_stat);
|
/external/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 207 posix::StatStruct file_stat; 208 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 234 posix::StatStruct file_stat; local 235 result = posix::Stat(path.c_str(), &file_stat) == 0 && 236 posix::IsDir(file_stat);
|
/external/mesa3d/src/gtest/src/ |
gtest-filepath.cc | 216 posix::StatStruct file_stat; 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 243 posix::StatStruct file_stat; local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && 245 posix::IsDir(file_stat);
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest-filepath.cc | 209 posix::StatStruct file_stat; 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 236 posix::StatStruct file_stat; local 237 result = posix::Stat(path.c_str(), &file_stat) == 0 && 238 posix::IsDir(file_stat);
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 216 posix::StatStruct file_stat; 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 243 posix::StatStruct file_stat; local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && 245 posix::IsDir(file_stat);
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
hog.c | 116 struct stat file_stat; local 117 if (stat(argv[1], &file_stat) == 0) { 118 if (S_ISSOCK(file_stat.st_mode)) {
|
/external/libbrillo/brillo/ |
file_utils.cc | 74 struct stat file_stat; local 75 if (fstat(scoped_fd.get(), &file_stat) != -1 && 76 S_ISREG(file_stat.st_mode) && file_stat.st_uid == uid && 77 file_stat.st_gid == gid) {
|
/external/tensorflow/tensorflow/python/debug/lib/ |
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/brillo/streams/ |
file_stream.cc | 54 struct stat file_stat; variable in typeref:struct:brillo::FileDescriptor::stat 55 if (fstat(fd_, &file_stat) < 0) 57 return file_stat.st_mode; 61 struct stat file_stat; variable in typeref:struct:brillo::FileDescriptor::stat 62 if (fstat(fd_, &file_stat) < 0) 64 return file_stat.st_size;
|
/external/libbrillo/policy/ |
device_policy_impl.cc | 673 struct stat file_stat; local 674 stat(policy_path.value().c_str(), &file_stat); 675 if (file_stat.st_uid != 0) { 679 stat(keyfile_path_.value().c_str(), &file_stat); 680 if (file_stat.st_uid != 0) {
|
/external/curl/lib/ |
file.c | 260 struct_stat file_stat; local 298 if(fstat(fd, &file_stat)) { 303 data->state.resume_from = (curl_off_t)file_stat.st_size;
|
/external/autotest/client/bin/ |
site_sysinfo.py | 122 class file_stat(object): class in inherits:object 177 self._log_stats[file_path] = file_stat(file_path)
|