Searched refs:file_stat (Results 1 – 10 of 10) sorted by relevance
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-filepath.cc | 115 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/protobuf/gtest/src/ |
D | gtest-filepath.cc | 178 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/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/ |
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/chromium/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/oprofile/opjitconv/ |
D | opjitconv.c | 256 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/ |
D | platform-posix.cc | 217 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()
|
D | d8.cc | 997 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/chromium/base/ |
D | file_util_posix.cc | 765 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/bluetooth/glib/gio/ |
D | glocalfile.c | 1706 struct stat file_stat, home_stat; in g_local_file_trash() local 1719 if (g_lstat (local->filename, &file_stat) != 0) in g_local_file_trash() 1735 if (file_stat.st_dev == home_stat.st_dev) in g_local_file_trash()
|