/external/libmtp/examples/ |
folders.c | 2 * \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 == NULL) [all...] |
emptyfolders.c | 3 * 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);
|
connect.c | 31 LIBMTP_folder_t *folders; variable 92 folders = LIBMTP_Get_Folder_List (device);
|
/external/chromium_org/chrome/utility/media_galleries/ |
picasa_album_table_reader_unittest.cc | 37 // 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;
|
picasa_album_table_reader.cc | 38 const std::vector<AlbumInfo>& PicasaAlbumTableReader::folders() const { function in class:picasa::PicasaAlbumTableReader
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderOperation.java | 44 * Get all the unique folders associated with a set of folder operations. 49 HashSet<Folder> folders = new HashSet<Folder>(); local 51 folders.add(op.mFolder); 53 return new ArrayList<Folder>(folders);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
FolderList.java | 20 public final ImmutableList<Folder> folders; field in class:FolderList 26 folders = ImmutableList.of(); 28 folders = ImmutableList.copyOf(in); 33 folders = ImmutableList.copyOf(in.createTypedArrayList(Folder.CREATOR)); 43 dest.writeTypedList(folders); 58 * @param in a list of Folders 88 return folders.equals(o); 93 return folders.hashCode();
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
picasa_file_util.cc | 79 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) {
|
picasa_data_provider_browsertest.cc | 29 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);
|
picasa_file_util_unittest.cc | 278 std::vector<AlbumInfo> folders; local 283 folders.push_back(test_folder->folder_info()); 288 PicasaDataProvider::UniquifyNames(folders, 468 EXPECT_EQ(FILE_PATH_LITERAL("folders"), contents.back().name);
|
/external/chromium_org/extensions/common/ |
file_util_unittest.cc | 167 const base::FilePath::CharType* folders[] = { local 170 for (size_t i = 0; i < arraysize(folders); i++) { 171 base::FilePath src_path = temp.path().Append(folders[i]);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/ |
Containers_and_folders.py | 1 """Suite Containers and folders: Classes that can contain other file system items 95 folders = folder variable
|
/external/chromium_org/chrome/browser/media_galleries/ |
media_folder_finder_unittest.cc | 199 std::vector<base::FilePath> folders; local 200 folders.push_back(fake_dir()); 201 CreateMediaFolderFinder(folders, false, expected_results); 208 std::vector<base::FilePath> folders; local 209 folders.push_back(fake_dir()); 210 CreateMediaFolderFinder(folders, false, expected_results); 219 std::vector<base::FilePath> folders; local 220 CreateMediaFolderFinder(folders, true, expected_results); 228 std::vector<base::FilePath> folders; local 229 folders.push_back(fake_dir()) 238 std::vector<base::FilePath> folders; local 284 std::vector<base::FilePath> folders; local 301 std::vector<base::FilePath> folders; local 333 std::vector<base::FilePath> folders; local 352 std::vector<base::FilePath> folders; local 388 std::vector<base::FilePath> folders; local [all...] |
media_scan_manager.cc | 379 // 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/net/tools/crash_cache/ |
crash_cache.cc | 93 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/ |
playlist-spl.c | 72 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 [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapFolderElement.java | 204 * Fetch the number of sub folders. 205 * @return returns the number of sub folders. 225 BluetoothMapFolderElement[] folders = mSubFolders.values().toArray(new BluetoothMapFolderElement[mSubFolders.size()]); local 243 xmlMsgElement.attribute(null, "name", folders[i].getName());
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/ |
Disk_Folder_File_Suite.py | 1 """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files 137 folders = folder variable
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateManager.java | 70 List<File> folders = new ArrayList<File>(); local 83 folders.add(folder); 92 folders.add(folder); 97 return folders;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidTypeMoveParticipant.java | 196 IResource[] folders = resFolder.members(); local 197 for (IResource folder : folders) {
|
AndroidTypeRenameParticipant.java | 331 IResource[] folders = resFolder.members(); local 332 for (IResource folder : folders) {
|
RenameResourceParticipant.java | 437 IResource[] folders = resFolder.members(); local 438 for (IResource folder : folders) {
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
drive_backend_sync_unittest.cc | 381 // Verifies local and remote files/folders are consistent. 501 std::stack<base::FilePath> folders; local 502 folders.push(base::FilePath()); // root folder 505 while (!folders.empty()) { 506 fileapi::FileSystemURL url(CreateURL(app_id, folders.top())); 507 folders.pop(); 516 folders.push(url.path().Append(itr->name)); [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zOut.cpp | 386 void COutArchive::WriteUnpackInfo(const CObjectVector<CFolder> &folders)
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,
796 CObjectVector<CFolder> folders; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
MockUiProvider.java | 201 final List<Folder> folders = new ArrayList<Folder>(3); local 220 folders.add(folder); 222 final FolderList folderList = FolderList.copyOf(folders); 338 accountMap.put(AccountColumns.FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); 339 accountMap.put(AccountColumns.FULL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); 340 accountMap.put(AccountColumns.ALL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders"));
|