Home
last modified time | relevance | path

Searched refs:file_stat (Results 1 – 19 of 19) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-filepath.cc115 struct _stat file_stat; in FileOrDirectoryExists() local
116 return _stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
118 struct stat file_stat; in FileOrDirectoryExists()
119 return stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
129 struct _stat file_stat; in DirectoryExists() local
130 file_stat.st_mode = 0; in DirectoryExists()
131 result = _stat(removed_sep.c_str(), &file_stat) == 0 && in DirectoryExists()
132 (_S_IFDIR & file_stat.st_mode) != 0; in DirectoryExists()
134 struct stat file_stat; in DirectoryExists() local
135 file_stat.st_mode = 0; in DirectoryExists()
[all …]
/external/chromium_org/base/files/
Dmemory_mapped_file_posix.cc25 struct stat file_stat; in MapFileToMemoryInternal() local
26 if (fstat(file_, &file_stat) == kInvalidPlatformFileValue) { in MapFileToMemoryInternal()
30 length_ = file_stat.st_size; in MapFileToMemoryInternal()
/external/protobuf/gtest/src/
Dgtest-filepath.cc178 posix::StatStruct file_stat; in FileOrDirectoryExists()
179 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
205 posix::StatStruct file_stat; in DirectoryExists() local
206 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists()
207 posix::IsDir(file_stat); in DirectoryExists()
/external/open-vcdiff/gtest/src/
Dgtest-filepath.cc178 posix::StatStruct file_stat; in FileOrDirectoryExists()
179 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
205 posix::StatStruct file_stat; in DirectoryExists() local
206 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists()
207 posix::IsDir(file_stat); in DirectoryExists()
/external/chromium_org/third_party/mesa/src/src/gtest/src/
Dgtest-filepath.cc209 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/
Dgtest-filepath.cc207 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/chromium/testing/gtest/src/
Dgtest-filepath.cc209 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/chromium_org/testing/gtest/src/
Dgtest-filepath.cc211 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/gtest/src/
Dgtest-filepath.cc209 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/mesa3d/src/gtest/src/
Dgtest-filepath.cc209 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/chromium_org/net/disk_cache/simple/
Dsimple_util.cc116 struct stat file_stat; in GetMTime() local
117 if (stat(path.value().c_str(), &file_stat) != 0) in GetMTime()
121 if (GetNanoSecsFromStat(file_stat, &sec, &nsec)) { in GetMTime()
/external/oprofile/opjitconv/
Dopjitconv.c256 struct stat file_stat; in process_jit_dumpfile() local
274 if (lstat(dmp_pathname, &file_stat) == -1) { in process_jit_dumpfile()
279 if (S_ISLNK(file_stat.st_mode)) { in process_jit_dumpfile()
348 rc = fstat(jofd, &file_stat); in process_jit_dumpfile()
364 if (!(file_stat.st_ctime < dumpfile_modtime || in process_jit_dumpfile()
365 file_stat.st_mtime < dumpfile_modtime)) { in process_jit_dumpfile()
/external/v8/src/
Dplatform-posix.cc217 struct stat file_stat; in FOpen() local
218 if (fstat(fileno(file), &file_stat) != 0) return NULL; in FOpen()
219 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
Dd8.cc997 struct stat file_stat; in FOpen()
998 if (fstat(fileno(file), &file_stat) != 0) return NULL; in FOpen()
999 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
/external/bluetooth/bluedroid/btif/co/
Dbta_fs_co.c332 struct stat file_stat; in bta_fs_co_open() local
349 if (fstat(fd, &file_stat) == 0) in bta_fs_co_open()
351 file_size = file_stat.st_size; in bta_fs_co_open()
/external/chromium_org/v8/src/
Dplatform-posix.cc373 struct stat file_stat; in FOpen() local
374 if (fstat(fileno(file), &file_stat) != 0) return NULL; in FOpen()
375 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
Dd8.cc1069 struct stat file_stat; in FOpen()
1070 if (fstat(fileno(file), &file_stat) != 0) return NULL; in FOpen()
1071 bool is_regular_file = ((file_stat.st_mode & S_IFREG) != 0); in FOpen()
/external/chromium/base/
Dfile_util_posix.cc765 struct stat file_stat; in MapFileToMemoryInternal() local
766 if (fstat(file_, &file_stat) == base::kInvalidPlatformFileValue) { in MapFileToMemoryInternal()
770 length_ = file_stat.st_size; in MapFileToMemoryInternal()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc8045 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()