/external/libbrillo/brillo/ |
D | file_utils.cc | 68 struct stat file_stat; in RegularFileOrDelete() local 69 if (fstat(scoped_fd.get(), &file_stat) != -1 && in RegularFileOrDelete() 70 S_ISREG(file_stat.st_mode) && file_stat.st_uid == uid && in RegularFileOrDelete() 71 file_stat.st_gid == gid) { in RegularFileOrDelete()
|
/external/gtest/src/ |
D | gtest-filepath.cc | 211 posix::StatStruct file_stat; in FileOrDirectoryExists() 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 238 posix::StatStruct file_stat; in DirectoryExists() local 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 240 posix::IsDir(file_stat); in DirectoryExists()
|
/external/protobuf/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/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/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/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-filepath.cc | 211 posix::StatStruct file_stat; in FileOrDirectoryExists() 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 238 posix::StatStruct file_stat; in DirectoryExists() local 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 240 posix::IsDir(file_stat); in DirectoryExists()
|
/external/mesa3d/src/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/libbrillo/policy/ |
D | device_policy_impl.cc | 399 struct stat file_stat; in VerifyPolicyFiles() local 400 stat(policy_path_.value().c_str(), &file_stat); in VerifyPolicyFiles() 401 if (file_stat.st_uid != 0) { in VerifyPolicyFiles() 405 stat(keyfile_path_.value().c_str(), &file_stat); in VerifyPolicyFiles() 406 if (file_stat.st_uid != 0) { in VerifyPolicyFiles()
|
/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/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/curl/lib/ |
D | file.c | 314 struct_stat file_stat; in file_upload() local 352 if(fstat(fd, &file_stat)) { in file_upload() 358 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/chromium-trace/catapult/third_party/mapreduce/mapreduce/lib/input_reader/ |
D | _gcs.py | 242 [file_stat.filename for file_stat in cloudstorage.listbucket(
|
/external/chromium-trace/catapult/trace_processor/third_party/cloudstorage/ |
D | cloudstorage_api.py | 143 file_stat = common.GCSFileStat( 151 return file_stat
|
/external/v8/src/base/platform/ |
D | platform-posix.cc | 419 struct stat file_stat; in FOpen() local 420 if (fstat(fileno(file), &file_stat) != 0) return NULL; in FOpen() 421 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
|
/external/autotest/client/bin/ |
D | site_sysinfo.py | 74 class file_stat(object): class 130 self._log_stats[file_path] = file_stat(file_path)
|
/external/autotest/server/hosts/ |
D | abstract_ssh.py | 250 file_stat = os.stat(filename) 255 if not file_stat.st_mode & 0111:
|
/external/protobuf/gtest/fused-src/gtest/ |
D | gtest-all.cc | 7417 posix::StatStruct file_stat; in FileOrDirectoryExists() 7418 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 7444 posix::StatStruct file_stat; in DirectoryExists() local 7445 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 7446 posix::IsDir(file_stat); in DirectoryExists()
|
/external/v8/src/ |
D | d8.cc | 1379 struct stat file_stat; in FOpen() 1380 if (fstat(fileno(file), &file_stat) != 0) return NULL; in FOpen() 1381 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
D | input_readers.py | 2435 [file_stat.filename for file_stat in cloudstorage.listbucket(
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 8043 posix::StatStruct file_stat; in FileOrDirectoryExists() 8044 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 8070 posix::StatStruct file_stat; in DirectoryExists() local 8071 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 8072 posix::IsDir(file_stat); in DirectoryExists()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/ |
D | gtest-all.cc | 8045 posix::StatStruct file_stat; in FileOrDirectoryExists() 8046 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 8072 posix::StatStruct file_stat; in DirectoryExists() local 8073 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 8074 posix::IsDir(file_stat); in DirectoryExists()
|