Home
last modified time | relevance | path

Searched refs:is_directory (Results 1 – 25 of 190) sorted by relevance

12345678

/external/chromium_org/chrome/browser/media_galleries/win/
Dmtp_device_object_entry.cc9 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) { in MTPDeviceObjectEntry()
14 bool is_directory, in MTPDeviceObjectEntry() argument
19 is_directory(is_directory), in MTPDeviceObjectEntry()
Dmtp_device_operations_util.cc110 bool is_directory) { in GetObjectName() argument
114 is_directory ? WPD_OBJECT_NAME : WPD_OBJECT_ORIGINAL_FILE_NAME; in GetObjectName()
170 bool* is_directory, in GetObjectDetails() argument
177 DCHECK(is_directory); in GetObjectDetails()
212 *is_directory = IsDirectory(properties_values.get()); in GetObjectDetails()
213 *name = GetObjectName(properties_values.get(), *is_directory); in GetObjectDetails()
217 if (*is_directory) { in GetObjectDetails()
238 bool is_directory; in GetMTPDeviceObjectEntry() local
241 if (!GetObjectDetails(device, object_id, &name, &is_directory, &size, in GetMTPDeviceObjectEntry()
244 *entry = MTPDeviceObjectEntry(object_id, name, is_directory, size, in GetMTPDeviceObjectEntry()
[all …]
Dmtp_device_object_enumerator_unittest.cc27 bool is_directory; member
70 kTestCases[i].is_directory, in TEST_F()
81 EXPECT_EQ(kTestCases[i].is_directory, enumerator.IsDirectory()); in TEST_F()
Dmtp_device_object_entry.h21 bool is_directory,
33 bool is_directory; member
/external/chromium_org/chrome/browser/media_galleries/mac/
Dmtp_device_delegate_impl_mac_unittest.mm322 EXPECT_TRUE(info.is_directory);
337 info1.is_directory = false;
382 info1.is_directory = false;
393 EXPECT_EQ(info1.is_directory, info.is_directory);
410 EXPECT_FALSE(file_list_[0].is_directory);
414 EXPECT_FALSE(file_list_[1].is_directory);
422 info1.is_directory = false;
429 info1.is_directory = true;
433 info1.is_directory = false;
443 EXPECT_FALSE(file_list_[2].is_directory);
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dsearch_operation_unittest.cc20 const bool is_directory; member
53 EXPECT_EQ(kExpectedResults[i].is_directory, results->at(i).is_directory); in TEST_F()
94 EXPECT_EQ(kExpectedResultsBeforeLoad[i].is_directory, in TEST_F()
95 results->at(i).is_directory); in TEST_F()
118 EXPECT_EQ(kExpectedResultsAfterLoad[i].is_directory, in TEST_F()
119 results->at(i).is_directory); in TEST_F()
/external/chromium_org/chrome/installer/util/
Dduplicate_tree_detector.cc23 if (!src_info.is_directory && !dest_info.is_directory) { in IsIdenticalFileHierarchy()
33 } else if (src_info.is_directory && dest_info.is_directory) { in IsIdenticalFileHierarchy()
/external/chromium_org/apps/
Dsaved_files_service.cc66 file_entry_dict->SetBoolean(kFileEntryIsDirectory, file_entry.is_directory); in AddSavedFileEntry()
126 bool is_directory = false; in GetSavedFileEntries() local
127 file_entry->GetBoolean(kFileEntryIsDirectory, &is_directory); in GetSavedFileEntries()
134 SavedFileEntry(it.key(), file_path, is_directory, sequence_number)); in GetSavedFileEntries()
141 SavedFileEntry::SavedFileEntry() : is_directory(false), sequence_number(0) {} in SavedFileEntry()
145 bool is_directory, in SavedFileEntry() argument
149 is_directory(is_directory), in SavedFileEntry()
159 bool is_directory);
234 bool is_directory) { in RegisterFileEntry() argument
235 GetOrInsert(extension_id)->RegisterFileEntry(id, file_path, is_directory); in RegisterFileEntry()
[all …]
Dsaved_files_service.h40 bool is_directory,
50 bool is_directory; member
73 bool is_directory);
/external/chromium_org/content/browser/fileapi/
Ddragged_file_util_unittest.cc179 EXPECT_EQ(info1.is_directory, info2.is_directory); in VerifyFilesHaveSameContent()
210 if (entries[i].is_directory) { in VerifyDirectoriesHaveSameContent()
231 if (entries[i].is_directory) { in VerifyDirectoriesHaveSameContent()
303 if (!test_case.is_directory) in TEST_F()
305 ASSERT_EQ(test_case.is_directory, info.is_directory); in TEST_F()
330 if (!test_case.is_directory) in TEST_F()
332 ASSERT_EQ(test_case.is_directory, info.is_directory); in TEST_F()
348 if (!test_case.is_directory) in TEST_F()
366 entry.is_directory = file_info.IsDirectory(); in TEST_F()
396 EXPECT_EQ(found->second.is_directory, entry.is_directory); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Ditunes_file_util_unittest.cc240 EXPECT_FALSE(contents.front().is_directory); in TEST_F()
241 EXPECT_TRUE(contents.back().is_directory); in TEST_F()
260 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
276 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
277 EXPECT_TRUE(contents.back().is_directory); in TEST_F()
298 EXPECT_FALSE(contents.front().is_directory); in TEST_F()
319 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
329 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
339 EXPECT_FALSE(contents.front().is_directory); in TEST_F()
Dnative_media_file_util_unittest.cc41 bool is_directory; member
80 EXPECT_EQ(expected_is_directory, file_info.is_directory) << test_name; in ExpectMetadataEqHelper()
100 if (test_cases[i].is_directory) { in PopulateDirectoryWithTestCases()
216 if (kFilteringTestCases[i].is_directory) { in TEST_F()
255 if (kFilteringTestCases[i].is_directory) { in TEST_F()
301 } else if (!kFilteringTestCases[i].is_directory) { in TEST_F()
336 if (loop_count == 0 && kFilteringTestCases[i].is_directory) { in TEST_F()
362 } else if (kFilteringTestCases[i].is_directory) { in TEST_F()
406 } else if (!kFilteringTestCases[i].is_directory) { in TEST_F()
433 if (loop_count == 0 && kFilteringTestCases[i].is_directory) { in TEST_F()
[all …]
Diphoto_file_util_unittest.cc272 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
287 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
302 EXPECT_FALSE(contents.front().is_directory); in TEST_F()
331 EXPECT_TRUE(contents.front().is_directory); in TEST_F()
333 EXPECT_FALSE(contents.back().is_directory); in TEST_F()
342 EXPECT_FALSE(contents.front().is_directory); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
Dapp_file_handler_util.cc67 bool DoCheckWritableFile(const base::FilePath& path, bool is_directory) { in DoCheckWritableFile() argument
72 if (is_directory) in DoCheckWritableFile()
103 bool is_directory,
141 bool is_directory, in WritableFileChecker() argument
146 is_directory_(is_directory), in WritableFileChecker()
306 bool is_directory) { in CreateFileEntry() argument
322 if (is_directory) in CreateFileEntry()
333 bool is_directory, in CheckWritableFiles() argument
337 paths, profile, is_directory, on_success, on_failure)); in CheckWritableFiles()
Dapp_file_handler_util.h70 bool is_directory);
75 bool is_directory,
/external/chromium_org/net/url_request/
Durl_request_file_job.cc53 is_directory(false) { in FileMetaInfo()
124 if (meta_info_.is_directory) { in IsRedirectResponse()
204 meta_info->is_directory = platform_info.is_directory; in FetchMetaInfo()
227 if (meta_info_.is_directory) { in DidFetchMetaInfo()
/external/chromium_org/chrome/browser/media_galleries/linux/
Dmtp_device_object_enumerator_unittest.cc13 bool is_directory; member
50 entry.set_file_type(kTestCases[i].is_directory ? in TEST_F()
62 EXPECT_EQ(kTestCases[i].is_directory, enumerator.IsDirectory()); in TEST_F()
/external/chromium_org/webkit/common/fileapi/
Ddirectory_entry.cc9 DirectoryEntry::DirectoryEntry() : is_directory(false), size(0) {} in DirectoryEntry()
16 is_directory(type == DIRECTORY), in DirectoryEntry()
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_entry_conversion_unittest.cc89 EXPECT_FALSE(entry.file_info().is_directory()); in TEST()
170 EXPECT_FALSE(entry.file_info().is_directory()); in TEST()
244 EXPECT_TRUE(entry.file_info().is_directory()); in TEST()
356 EXPECT_EQ(entry.file_info().is_directory(), file_info.is_directory); in TEST()
369 file_info.is_directory = true; in TEST()
382 EXPECT_EQ(file_info.is_directory, entry.file_info().is_directory()); in TEST()
Dfile_system_interface.h25 SearchResultInfo(const base::FilePath& path, bool is_directory) in SearchResultInfo()
27 is_directory(is_directory) { in SearchResultInfo()
31 bool is_directory; member
Dresource_metadata.cc183 !parent.file_info().is_directory()) in AddEntry()
304 if (!entry.file_info().is_directory()) in ReadDirectoryByPath()
332 old_entry.file_info().is_directory() != // Reject incompatible input. in RefreshEntry()
333 entry.file_info().is_directory()) in RefreshEntry()
341 if (!new_parent.file_info().is_directory()) in RefreshEntry()
360 entry.file_info().is_directory()) { in GetSubDirectoriesRecursively()
465 if (entry.file_info().is_directory()) { in RemoveEntryRecursively()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dzip_file_creator_browsertest.cc111 EXPECT_TRUE(entry->is_directory()); in IN_PROC_BROWSER_TEST_F()
113 EXPECT_FALSE(entry->is_directory()); in IN_PROC_BROWSER_TEST_F()
116 EXPECT_FALSE(entry->is_directory()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/renderer/extensions/
Dfile_browser_handler_custom_bindings.cc46 bool is_directory = file_def->Get(v8::String::NewFromUtf8( in GetExternalFileEntry() local
55 is_directory)); in GetExternalFileEntry()
/external/chromium_org/sync/engine/
Dprocess_updates_util.cc154 const bool is_directory = IsFolder(entry); in VerifyUpdate() local
195 is_directory, model_type, &same_id); in VerifyUpdate()
211 const bool is_directory = IsFolder(entry); in ReverifyEntry() local
217 is_directory, in ReverifyEntry()
/external/chromium_org/webkit/browser/fileapi/
Ddump_file_system.cc100 if (info.is_directory()) { in DumpDirectoryTree()
113 const char* directory_suffix = info.is_directory() ? "/" : ""; in DumpDirectoryTree()
116 if (info.is_directory()) { in DumpDirectoryTree()

12345678