Home
last modified time | relevance | path

Searched refs:IsFile (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/sync_file_system/
Dfile_change.cc54 if (last.IsFile() != new_change.IsFile()) { in Update()
63 if (!last.IsFile() && last.IsAddOrUpdate() && new_change.IsDelete()) { in Update()
Dfile_change.h30 bool IsFile() const { return file_type_ == SYNC_FILE_TYPE_FILE; } in IsFile() function
32 bool IsTypeUnknown() const { return !IsFile() && !IsDirectory(); } in IsTypeUnknown()
/external/chromium_org/third_party/webrtc/base/
Dfileutils_unittest.cc40 EXPECT_TRUE(Filesystem::IsFile(path)); in TEST()
49 EXPECT_FALSE(Filesystem::IsFile(path)); in TEST()
58 EXPECT_FALSE(Filesystem::IsFile(path)); in TEST()
95 EXPECT_FALSE(Filesystem::IsFile(path)); in TEST()
Dfileutils.h172 if (IsFile(old_path)) { in MoveFileOrFolder()
188 if (IsFile(old_path)) in CopyFileOrFolder()
198 virtual bool IsFile(const Pathname& pathname) = 0;
339 static bool IsFile(const Pathname &pathname) { in IsFile() function
340 return EnsureDefaultFilesystem()->IsFile(pathname); in IsFile()
Dwin32filesystem.cc183 if (!IsFile(filename)) { in DeleteFile()
184 ASSERT(IsFile(filename)); in DeleteFile()
232 if (!IsFile(old_path)) { in MoveFile()
233 ASSERT(IsFile(old_path)); in MoveFile()
273 bool Win32Filesystem::IsFile(const Pathname &path) { in IsFile() function in rtc::Win32Filesystem
Dunixfilesystem.cc153 if (!IsFile(filename)) { in DeleteFile()
154 ASSERT(IsFile(filename)); in DeleteFile()
223 if (!IsFile(old_path)) { in MoveFile()
224 ASSERT(IsFile(old_path)); in MoveFile()
314 bool UnixFilesystem::IsFile(const Pathname& pathname) { in IsFile() function in rtc::UnixFilesystem
Dwin32filesystem.h61 virtual bool IsFile(const Pathname &path);
Dunixfilesystem.h82 virtual bool IsFile(const Pathname& pathname);
Dfileutils_mock.h193 bool IsFile(const Pathname &pathname) { in IsFile() function
Dfileutils.cc259 if (!Filesystem::IsFile(pathname)) { in DirectoryIterator()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_change.cc56 if (last.IsFile() != new_change.IsFile()) { in Update()
65 if (!last.IsFile() && last.IsAddOrUpdate() && new_change.IsDelete()) { in Update()
Dfile_change.h39 bool IsFile() const { return file_type_ == FILE_TYPE_FILE; } in IsFile() function
41 bool IsTypeUnknown() const { return !IsFile() && !IsDirectory(); } in IsTypeUnknown()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediarecorder_unittest.cc100 EXPECT_TRUE(rtc::Filesystem::IsFile(path_.pathname())); in TEST_F()
290 EXPECT_TRUE(rtc::Filesystem::IsFile(send_header_file)); in TestRecordHeaderAndMedia()
291 EXPECT_TRUE(rtc::Filesystem::IsFile(recv_header_file)); in TestRecordHeaderAndMedia()
321 EXPECT_TRUE(rtc::Filesystem::IsFile(send_file)); in TestRecordHeaderAndMedia()
322 EXPECT_TRUE(rtc::Filesystem::IsFile(recv_file)); in TestRecordHeaderAndMedia()
/external/chromium_org/tools/telemetry/telemetry/util/
Dbootstrap.py66 def IsFile(self, path): member in DAVClientWrapper
81 if self.IsFile(src_path):
/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_sync_context_unittest.cc254 EXPECT_TRUE(changes.list().back().IsFile()); in PrepareForSync_Basic()
260 EXPECT_TRUE(changes.list().back().IsFile()); in PrepareForSync_Basic()
272 EXPECT_TRUE(changes.list().back().IsFile()); in PrepareForSync_Basic()
307 EXPECT_TRUE(changes.list().back().IsFile()); in PrepareForSync_WriteDuringSync()
316 EXPECT_TRUE(changes.list().back().IsFile()); in PrepareForSync_WriteDuringSync()
338 EXPECT_TRUE(changes.list().back().IsFile()); in PrepareForSync_WriteDuringSync()
480 EXPECT_TRUE(changes.list().back().IsFile()); in TEST_F()
491 EXPECT_FALSE(changes.list().back().IsFile()); in TEST_F()
588 EXPECT_TRUE(changes.list().back().IsFile()); in TEST_F()
/external/clang/unittests/Basic/
DFileManagerTest.cpp30 void InjectFileOrDirectory(const char *Path, ino_t INode, bool IsFile) { in InjectFileOrDirectory() argument
36 Data.IsDirectory = !IsFile; in InjectFileOrDirectory()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dlocal_to_remote_syncer.cc345 if (local_change_.IsFile()) { in HandleConflict()
410 DCHECK(local_change_.IsFile() || local_change_.IsDirectory()); in HandleExistingRemoteFile()
415 if (local_change_.IsFile()) { in HandleExistingRemoteFile()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Ddevicemanager.cc168 if (rtc::Filesystem::IsFile(name)) { in GetFakeVideoCaptureDevice()
/external/clang/lib/Format/
DFormat.cpp2072 bool IsFile = false; in getStyle() local
2075 llvm::sys::fs::is_regular_file(Twine(ConfigFile), IsFile); in getStyle()
2077 if (!IsFile) { in getStyle()
2082 llvm::sys::fs::is_regular_file(Twine(ConfigFile), IsFile); in getStyle()
2085 if (IsFile) { in getStyle()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dfilemediaengine_unittest.cc178 if (rtc::Filesystem::IsFile(rtc::Pathname(pathname))) { in DeleteTempFile()