Searched defs:folders (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/utility/media_galleries/
H A Dpicasa_album_table_reader_unittest.cc37 // Only folders require filenames. Tests handling of different length columns.
65 const std::vector<AlbumInfo>& folders = reader.folders(); local
68 ASSERT_EQ(1u, folders.size());
71 EXPECT_EQ(test_folder_name, folders[0].name);
73 EXPECT_EQ(test_folder_path, folders[0].path);
75 base::TimeDelta time_delta = albums[0].timestamp - folders[0].timestamp;
H A Dpicasa_album_table_reader.cc38 const std::vector<AlbumInfo>& PicasaAlbumTableReader::folders() const { function in class:picasa::PicasaAlbumTableReader
/external/libmtp/examples/
H A Demptyfolders.c3 * Example program that prunes empty folders.
78 printf("This is a dummy run. No folders will be deleted.\n");
79 printf("To delete folders, use the '-d' option.\n");
83 LIBMTP_folder_t *folders; local
97 folders = LIBMTP_Get_Folder_List(device);
99 if(folders == NULL) {
100 printf("No folders found\n");
102 prune_empty_folders(device,files,folders,do_delete);
105 LIBMTP_destroy_folder_t(folders);
H A Dfolders.c2 * \file folders.c
3 * Example program that lists all folders on a device.
45 LIBMTP_folder_t *folders; local
53 fprintf(stdout, "mtp-folders: No Devices have been found\n");
56 fprintf(stderr, "mtp-folders: There has been an error connecting. Exit\n");
59 fprintf(stderr, "mtp-folders: Memory Allocation Error. Exit\n");
65 fprintf(stderr, "mtp-folders: Unknown error, please report "
71 fprintf(stdout, "mtp-folders: Successfully connected\n");
91 folders = LIBMTP_Get_Folder_List(iter);
93 if (folders
[all...]
H A Dconnect.c31 LIBMTP_folder_t *folders; variable
92 folders = LIBMTP_Get_Folder_List (device);
H A Dpathutils.c30 * Runs by walking through folders structure */
63 parse_path (char * path, LIBMTP_file_t * files, LIBMTP_folder_t * folders) argument
87 item_id = lookup_folder_id(folders,path,"");
93 uint32_t parent_id = lookup_folder_id(folders,parent,"");
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dsafe_picasa_album_table_reader.cc112 const std::vector<AlbumInfo>& folders) {
119 FROM_HERE, base::Bind(callback_, parse_success, albums, folders));
109 OnParsePicasaPMPDatabaseFinished( bool parse_success, const std::vector<AlbumInfo>& albums, const std::vector<AlbumInfo>& folders) argument
H A Dsafe_picasa_albums_indexer.cc32 const AlbumMap& folders)
36 folders_inis_.reserve(folders.size());
41 for (AlbumMap::const_iterator it = folders.begin(); it != folders.end(); ++it)
80 // If queue of folders to process not empty, post self onto task runner again.
31 SafePicasaAlbumsIndexer(const AlbumMap& albums, const AlbumMap& folders) argument
H A Dpicasa_data_provider.cc176 const std::vector<AlbumInfo>& folders) {
197 UniquifyNames(folders, &folder_map_);
172 OnAlbumTableReaderDone( scoped_refptr<SafePicasaAlbumTableReader> reader, bool parse_success, const std::vector<AlbumInfo>& albums, const std::vector<AlbumInfo>& folders) argument
H A Dpicasa_file_util.cc79 const char kPicasaDirFolders[] = "folders";
230 scoped_ptr<AlbumMap> folders = GetDataProvider()->GetFolders(); local
231 if (!folders)
234 for (AlbumMap::const_iterator it = folders->begin();
235 it != folders->end(); ++it) {
H A Dpicasa_data_provider_browsertest.cc29 scoped_ptr<AlbumMap> folders = data_provider->GetFolders(); local
30 ASSERT_TRUE(folders.get());
31 EXPECT_EQ(2u, folders->size());
33 AlbumMap::const_iterator folder_1 = folders->find(
35 EXPECT_NE(folders->end(), folder_1);
41 AlbumMap::const_iterator folder_2 = folders->find(
43 EXPECT_NE(folders->end(), folder_2);
H A Dpicasa_file_util_unittest.cc278 std::vector<AlbumInfo> folders; local
283 folders.push_back(test_folder->folder_info());
288 PicasaDataProvider::UniquifyNames(folders,
469 EXPECT_EQ(FILE_PATH_LITERAL("folders"), contents.back().name);
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_folder_finder_unittest.cc193 std::vector<base::FilePath> folders; local
194 folders.push_back(fake_dir());
195 CreateMediaFolderFinder(folders, false, expected_results);
202 std::vector<base::FilePath> folders; local
203 folders.push_back(fake_dir());
204 CreateMediaFolderFinder(folders, false, expected_results);
213 std::vector<base::FilePath> folders; local
214 CreateMediaFolderFinder(folders, true, expected_results);
222 std::vector<base::FilePath> folders; local
223 folders
232 std::vector<base::FilePath> folders; local
278 std::vector<base::FilePath> folders; local
295 std::vector<base::FilePath> folders; local
327 std::vector<base::FilePath> folders; local
346 std::vector<base::FilePath> folders; local
382 std::vector<base::FilePath> folders; local
[all...]
H A Dmedia_scan_manager.cc379 // A single directory may contain many folders with media in them, without
409 // Skip sensitive folders and their ancestors.
513 MediaFolderFinder::MediaFolderFinderResults folders; local
514 folders.insert(found_folders.begin(), found_folders.end());
515 folders.insert(container_folders.begin(), container_folders.end());
530 AddScanResultsForProfile(preferences, folders);
/external/chromium_org/extensions/common/
H A Dfile_util_unittest.cc159 const base::FilePath::CharType* folders[] = { local
162 for (size_t i = 0; i < arraysize(folders); i++) {
163 base::FilePath src_path = temp.path().Append(folders[i]);
/external/chromium_org/net/tools/crash_cache/
H A Dcrash_cache.cc93 const char* folders[] = { local
118 COMPILE_ASSERT(arraysize(folders) == disk_cache::MAX_CRASH, sync_folders);
121 *full_path = path.AppendASCII(folders[action]);
/external/libmtp/src/
H A Dplaylist-spl.c72 static void tracks_from_spl_text_t(text_t* p, uint32_t* tracks, LIBMTP_folder_t* folders, LIBMTP_file_t* files);
73 static void spl_text_t_from_tracks(text_t** p, uint32_t* tracks, const uint32_t trackno, const uint32_t ver_major, const uint32_t ver_minor, char* dnse, LIBMTP_folder_t* folders, LIBMTP_file_t* files);
75 static uint32_t discover_id_from_filepath(const char* s, LIBMTP_folder_t* folders, LIBMTP_file_t* files); // TODO add file/dir cached args
76 static void discover_filepath_from_id(char** p, uint32_t track, LIBMTP_folder_t* folders, LIBMTP_file_t* files);
77 static void find_folder_name(LIBMTP_folder_t* folders, uint32_t* id, char** name);
78 static uint32_t find_folder_id(LIBMTP_folder_t* folders, uint32_t parent, char* name);
155 LIBMTP_folder_t *folders; local
157 folders = LIBMTP_Get_Folder_List(device);
164 tracks_from_spl_text_t(p, pl->tracks, folders, files);
185 LIBMTP_folder_t *folders; local
563 tracks_from_spl_text_t(text_t* p, uint32_t* tracks, LIBMTP_folder_t* folders, LIBMTP_file_t* files) argument
591 spl_text_t_from_tracks(text_t** p, uint32_t* tracks, const uint32_t trackno, const uint32_t ver_major, const uint32_t ver_minor, char* dnse, LIBMTP_folder_t* folders, LIBMTP_file_t* files) argument
666 discover_filepath_from_id(char** p, uint32_t track, LIBMTP_folder_t* folders, LIBMTP_file_t* files) argument
727 discover_id_from_filepath(const char* s, LIBMTP_folder_t* folders, LIBMTP_file_t* files) argument
788 find_folder_name(LIBMTP_folder_t* folders, uint32_t* id, char** name) argument
813 find_folder_id(LIBMTP_folder_t* folders, uint32_t parent, char* name) argument
[all...]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Ddrive_backend_sync_unittest.cc398 // Verifies local and remote files/folders are consistent.
518 std::stack<base::FilePath> folders; local
519 folders.push(base::FilePath()); // root folder
522 while (!folders.empty()) {
523 storage::FileSystemURL url(CreateURL(app_id, folders.top()));
524 folders.pop();
533 folders.push(url.path().Append(itr->name));
/external/chromium_org/chrome/browser/android/bookmarks/
H A Dbookmarks_bridge.cc332 // Push all sorted top folders in stack and give them depth of 0.
333 // Note the order to push folders to stack should be opposite to the order in
440 std::list<const BookmarkNode*> folders; local
442 folders.push_back(bookmark_model_->root_node());
443 folders.push_back(partner_bookmarks_shim_->GetPartnerBookmarksRoot());
445 for (std::list<const BookmarkNode*>::iterator folder_iter = folders.begin();
446 folder_iter != folders.end(); ++folder_iter) {
459 insert_iter = folders.insert(insert_iter, child);
/external/chromium_org/third_party/lzma_sdk/
H A D7zIn.c216 v3.13 incorrectly worked with empty folders
217 v4.07: Loop for skipping empty folders
649 CSzFolder **folders, /* for alloc */
659 MY_ALLOC(CSzFolder, *folders, (size_t)*numFolders, alloc);
662 SzFolder_Init((*folders) + i);
666 RINOK(SzGetNextFolderItem(sd, (*folders) + i, alloc));
675 CSzFolder *folder = (*folders) + i;
702 CSzFolder *folder = (*folders) + i;
719 CSzFolder *folders,
732 folders[
646 SzReadUnpackInfo( CSzData *sd, UInt32 *numFolders, CSzFolder **folders, ISzAlloc *alloc, ISzAlloc *allocTemp) argument
716 SzReadSubStreamsInfo( CSzData *sd, UInt32 numFolders, CSzFolder *folders, UInt32 *numUnpackStreams, UInt64 **unpackSizes, Byte **digestsDefined, UInt32 **digests, ISzAlloc *allocTemp) argument
[all...]
/external/lzma/C/
H A D7zIn.c216 v3.13 incorrectly worked with empty folders
217 v4.07: Loop for skipping empty folders
649 CSzFolder **folders, /* for alloc */
659 MY_ALLOC(CSzFolder, *folders, (size_t)*numFolders, alloc);
662 SzFolder_Init((*folders) + i);
666 RINOK(SzGetNextFolderItem(sd, (*folders) + i, alloc));
675 CSzFolder *folder = (*folders) + i;
702 CSzFolder *folder = (*folders) + i;
719 CSzFolder *folders,
732 folders[
646 SzReadUnpackInfo( CSzData *sd, UInt32 *numFolders, CSzFolder **folders, ISzAlloc *alloc, ISzAlloc *allocTemp) argument
716 SzReadSubStreamsInfo( CSzData *sd, UInt32 numFolders, CSzFolder *folders, UInt32 *numUnpackStreams, UInt64 **unpackSizes, Byte **digestsDefined, UInt32 **digests, ISzAlloc *allocTemp) argument
[all...]
/external/lzma/CPP/7zip/Archive/7z/
H A D7zOut.cpp386 void COutArchive::WriteUnpackInfo(const CObjectVector<CFolder> &folders) argument
388 if (folders.IsEmpty())
394 WriteNumber(folders.Size());
397 for (int i = 0; i < folders.Size(); i++)
398 WriteFolder(folders[i]);
403 for (i = 0; i < folders.Size(); i++)
405 const CFolder &folder = folders[i];
412 for (i = 0; i < folders.Size(); i++)
414 const CFolder &folder = folders[i];
424 const CObjectVector<CFolder> &folders,
423 WriteSubStreamsInfo( const CObjectVector<CFolder> &folders, const CRecordVector<CNum> &numUnpackStreamsInFolders, const CRecordVector<UInt64> &unpackSizes, const CRecordVector<bool> &digestsDefined, const CRecordVector<UInt32> &digests) argument
544 EncodeStream( DECL_EXTERNAL_CODECS_LOC_VARS CEncoder &encoder, const CByteBuffer &data, CRecordVector<UInt64> &packSizes, CObjectVector<CFolder> &folders) argument
796 CObjectVector<CFolder> folders; local
[all...]
H A D7zIn.cpp534 CObjectVector<CFolder> &folders)
542 folders.Clear();
543 folders.Reserve(numFolders);
546 folders.Add(CFolder());
547 GetNextFolderItem(folders.Back());
556 CFolder &folder = folders[i];
575 CFolder &folder = folders[i];
586 const CObjectVector<CFolder> &folders,
593 numUnpackStreamsInFolders.Reserve(folders.Size());
600 for (int i = 0; i < folders
532 ReadUnpackInfo( const CObjectVector<CByteBuffer> *dataVector, CObjectVector<CFolder> &folders) argument
585 ReadSubStreamsInfo( const CObjectVector<CFolder> &folders, CRecordVector<CNum> &numUnpackStreamsInFolders, CRecordVector<UInt64> &unpackSizes, CBoolVector &digestsDefined, CRecordVector<UInt32> &digests) argument
688 ReadStreamsInfo( const CObjectVector<CByteBuffer> *dataVector, UInt64 &dataOffset, CRecordVector<UInt64> &packSizes, CBoolVector &packCRCsDefined, CRecordVector<UInt32> &packCRCs, CObjectVector<CFolder> &folders, CRecordVector<CNum> &numUnpackStreamsInFolders, CRecordVector<UInt64> &unpackSizes, CBoolVector &digestsDefined, CRecordVector<UInt32> &digests) argument
793 CObjectVector<CFolder> folders; local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/lib/
H A Dpdebuild-ant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/internal/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
H A Dpdebuild.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/build/ ...

Completed in 400 milliseconds

12