/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 50 Enumeration<?> entries = plugin.getBundle().findEntries("/", "*.class", true); local 52 while (entries.hasMoreElements()) { 53 URL entry = (URL)entries.nextElement();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ProjectHelper.java | 76 * Adds the given ClasspathEntry object to the class path entries. 79 * @param entries The class path entries to read. A copy will be returned. 81 * @return A new class path entries array. 84 IClasspathEntry[] entries, IClasspathEntry newEntry) { 85 int n = entries.length; 87 System.arraycopy(entries, 0, newEntries, 0, n); 93 * Replaces the given ClasspathEntry in the classpath entries. 97 * @param entries The class path entries to read. The same array (replace) or a copy (add 129 IClasspathEntry[] entries = javaProject.getRawClasspath(); local 145 IClasspathEntry[] entries = javaProject.getRawClasspath(); local 312 IClasspathEntry[] entries = javaProject.getRawClasspath(); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarInstancesHelper.java | 154 * Perform instance expansion on the given entries. 159 * @param entries The entries to process. 162 Cursor entries) { 170 int statusColumn = entries.getColumnIndex(Events.STATUS); 171 int dtstartColumn = entries.getColumnIndex(Events.DTSTART); 172 int dtendColumn = entries.getColumnIndex(Events.DTEND); 173 int eventTimezoneColumn = entries.getColumnIndex(Events.EVENT_TIMEZONE); 174 int durationColumn = entries.getColumnIndex(Events.DURATION); 175 int rruleColumn = entries.getColumnIndex(Events.RRULE) 542 Cursor entries = getEntries(begin, end); local 811 Cursor entries = getRelevantRecurrenceEntries(recurrenceSyncId, rowId); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapNavigationTester.java | 46 private List<Entry<K, V>> entries; field in class:MapNavigationTester 54 entries = Helpers.copyToList(getSubjectGenerator().getSampleElements( 56 Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); 59 if (entries.size() >= 1) { 60 a = entries.get(0); 61 if (entries.size() >= 3) { 62 b = entries.get(1); 63 c = entries.get(2); 69 * Resets the contents of navigableMap to have entries a, c, for the 74 Entry<K, V>[] entries = new Entry[] {a, c} local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
create-html-entity-table | 71 entries = list(csv.reader(html_entity_names_file)) variable 74 entries.sort(key = lambda entry: entry[ENTITY]) 75 entity_count = len(entries) 115 for entry in entries: 125 for entry in entries:
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetNavigationTester.java | 50 private List<E> entries; field in class:MultisetNavigationTester 66 entries = 69 Collections.sort(entries, sortedMultiset.comparator()); 72 if (entries.size() >= 1) { 73 a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0))); 74 if (entries.size() >= 3) { 75 b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1))); 76 c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2))) 520 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); local 529 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); local 538 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); local [all...] |
/external/chromium/chrome/browser/sessions/ |
session_restore_browsertest.cc | 135 EXPECT_EQ(1U, service->entries().size()); 136 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type); 138 static_cast<TabRestoreService::Window*>(service->entries().front()); 154 EXPECT_EQ(1U, service->entries().size()); 155 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type); 156 window = static_cast<TabRestoreService::Window*>(service->entries().front()); 170 EXPECT_EQ(0U, service->entries().size()); 176 EXPECT_EQ(1U, service->entries().size()); 177 ASSERT_EQ(TabRestoreService::TAB, service->entries().front()->type); 179 static_cast<TabRestoreService::Tab*>(service->entries().front()) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractSetMultimapTest.java | 159 Collection<Map.Entry<String, Integer>> entries = multimap.entries(); local 165 assertEquals(entries, same); 166 assertEquals(same, entries); 167 assertEquals(entries.hashCode(), same.hashCode()); 169 assertFalse(entries.equals(null)); 170 assertFalse(entries.equals("foo")); 176 assertFalse(entries.equals(different3)); 177 assertFalse(different3.equals(entries)); 184 assertFalse(entries.equals(different4)) [all...] |
LinkedListMultimapTest.java | 133 map.entries().toString()); 146 map.entries().toString()); 155 assertEquals("[foo=1, bar=2, bar=3]", map.entries().toString()); 164 assertEquals("[bar=1, foo=2, bar=3]", map.entries().toString()); 175 assertEquals("[bar=1, foo=2, bar=3]", src.entries().toString()); 186 assertEquals("[bar=1, foo=2, bar=2]", map.entries().toString()); 202 assertEquals("[]", map.entries().toString()); 224 map.entries().toString()); 246 Iterator<Map.Entry<String, Integer>> entries = map.entries().iterator() local 267 Iterator<Map.Entry<String, Collection<Integer>>> entries local 291 Collection<Map.Entry<String, Integer>> entries = multimap.entries(); local 309 Collection<Map.Entry<String, Integer>> entries = multimap.entries(); local [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/ |
AppConfigurationEntryTest.java | 116 AppConfigurationEntry[] entries = { local 127 assertEquals("LoginModule1", entries[0].getLoginModuleName()); 128 assertEquals(options, entries[0].getOptions()); 129 assertEquals("LoginModule2", entries[1].getLoginModuleName()); 130 assertEquals(options1, entries[1].getOptions()); 131 assertEquals("LoginModule3", entries[2].getLoginModuleName()); 132 assertTrue(entries[2].getOptions().isEmpty());
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ListPreference.java | 84 public void setEntries(CharSequence entries[]) { 85 mEntries = entries == null ? new CharSequence[0] : entries; 148 ArrayList<CharSequence> entries = new ArrayList<CharSequence>(); local 152 entries.add(mEntries[i]); 156 int size = entries.size(); 157 mEntries = entries.toArray(new CharSequence[size]);
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 240 * java.util.jar.JarFile#entries() 249 Enumeration<JarEntry> e = jarFile.entries(); 262 Enumeration<JarEntry> enumeration = jarFile.entries(); 271 enumeration = jarFile.entries(); 297 Enumeration<JarEntry> enumeration = jarFile.entries(); 304 enumeration = jarFile.entries(); 334 Enumeration<JarEntry> enumeration = jarFile.entries(); 341 enumeration = jarFile.entries(); 412 Enumeration<JarEntry> e = jarFile.entries(); 616 Enumeration<JarEntry> e = jarFile.entries(); 643 Enumeration<JarEntry> entries = jarFile.entries(); local 656 Enumeration<JarEntry> entries = jarFile.entries(); local 696 Enumeration<JarEntry> entries = jarFile.entries(); local 717 Enumeration<JarEntry> entries = jarFile.entries(); local 737 Enumeration<JarEntry> entries = jarFile.entries(); local 767 Enumeration<JarEntry> entries = jarFile.entries(); local 790 Enumeration<JarEntry> entries = jarFile.entries(); local 811 Enumeration<JarEntry> entries = jarFile.entries(); local 828 Enumeration<JarEntry> entries = jarFile.entries(); local [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
isolated_file_util_unittest.cc | 52 FileEntryList entries; local 54 AsyncFileTestHelper::ReadDirectory(context, url, &entries)); 55 return entries.empty(); 197 FileEntryList entries; local 208 file_system_context(), dir, &entries)); 209 for (size_t i = 0; i < entries.size(); ++i) { 211 dir, entries[i].name); 212 if (entries[i].is_directory) { 227 file_system_context(), dir, &entries)); 228 for (size_t i = 0; i < entries.size(); ++i) 388 FileEntryList entries; local 426 FileEntryList entries; local 471 FileEntryList entries; local [all...] |
/external/chromium/chrome/browser/password_manager/ |
password_store_mac.cc | 76 unsigned int entries = 0; local 81 DCHECK(entries < kMaxEntryCount); 82 search_attributes_.attr[entries].tag = kSecServerItemAttr; 83 search_attributes_.attr[entries].length = strlen(server); 84 search_attributes_.attr[entries].data = 86 ++entries; 89 DCHECK(entries <= kMaxEntryCount); 90 search_attributes_.attr[entries].tag = kSecPortItemAttr; 91 search_attributes_.attr[entries].length = sizeof(port); 92 search_attributes_.attr[entries].data [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
password_store_mac.cc | 79 unsigned int entries = 0; local 84 DCHECK_LT(entries, kMaxEntryCount); 85 search_attributes_.attr[entries].tag = kSecServerItemAttr; 86 search_attributes_.attr[entries].length = strlen(server); 87 search_attributes_.attr[entries].data = 89 ++entries; 92 DCHECK_LE(entries, kMaxEntryCount); 93 search_attributes_.attr[entries].tag = kSecPortItemAttr; 94 search_attributes_.attr[entries].length = sizeof(port); 95 search_attributes_.attr[entries].data [all...] |
/external/libvorbis/lib/ |
sharedbook.c | 72 codewords first. Extended to handle unused entries (length 0) */ 164 long vals=floor(pow((float)b->entries,1.f/b->dim)); 169 vals^b->bim <= b->entries */ 179 if(acc<=b->entries && acc1>b->entries){ 182 if(acc>b->entries){ 208 /* most of the time, entries%dimensions == 0, but we need to be 210 scalar is values == entries/dim. If entries%dim != 0, we'll 211 have 'too few' values (values*dim<entries), which means tha [all...] |
/external/chromium/chrome/browser/resources/file_manager/js/ |
main.js | 26 function onEntriesFound(entries) { 28 fileManager = new FileManager(document.body, entries, params); 35 var entries = []; 43 entries.push(entry); 45 onEntriesFound(entries);
|
/external/chromium/net/disk_cache/ |
disk_cache_perftest.cc | 45 TestEntries* entries) { 60 PerfTimeLogger timer("Write disk cache entries"); 66 entries->push_back(entry); 94 // Reads the data and metadata from each entry listed on |entries|. 96 const TestEntries& entries, bool cold) { 111 const char* message = cold ? "Read disk cache entries (cold)" : 112 "Read disk cache entries (warm)"; 118 int rv = cache->OpenEntry(entries[i].key, &cache_entry, &cb); 127 ret = cache_entry->ReadData(1, 0, buffer2, entries[i].data_len, &callback); 130 else if (entries[i].data_len != ret 179 TestEntries entries; local [all...] |
stress_cache.cc | 90 // This thread will loop forever, adding and removing entries from the cache. 91 // iteration is the current crash cycle, so the entries on the cache are marked 113 printf("Iteration %d, initial entries: %d\n", iteration, 126 disk_cache::Entry* entries[kNumEntries] = {0}; local 142 if (entries[slot]) 143 entries[slot]->Close(); 145 rv = cache->OpenEntry(keys[key], &entries[slot], &cb); 147 rv = cache->CreateEntry(keys[key], &entries[slot], &cb); 154 rv = entries[slot]->WriteData(0, 0, buffer, size, &cb, truncate); 164 printf("Entries: %d \r", i) [all...] |
/external/chromium_org/net/disk_cache/ |
disk_cache_perftest.cc | 43 TestEntries* entries) { 56 PerfTimeLogger timer("Write disk cache entries"); 62 entries->push_back(entry); 93 // Reads the data and metadata from each entry listed on |entries|. 95 const TestEntries& entries, bool cold) { 108 const char* message = cold ? "Read disk cache entries (cold)" : 109 "Read disk cache entries (warm)"; 115 int rv = cache->OpenEntry(entries[i].key, &cache_entry, cb.callback()); 127 1, 0, buffer2.get(), entries[i].data_len, 131 else if (entries[i].data_len != ret 178 TestEntries entries; local [all...] |
/external/chromium_org/ppapi/proxy/ |
flash_file_resource.cc | 106 ppapi::DirContents entries; local 111 BROWSER, PpapiHostMsg_FlashFile_GetDirContents(pepper_path), &entries); 114 // Copy the serialized dir entries to the output struct. 116 (*contents)->count = static_cast<int32_t>(entries.size()); 117 (*contents)->entries = new PP_DirEntry_Dev[entries.size()]; 118 for (size_t i = 0; i < entries.size(); i++) { 119 const ppapi::DirEntry& source = entries[i]; 120 PP_DirEntry_Dev* dest = &(*contents)->entries[i]; 135 delete[] contents->entries[i].name [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
LocalBroadcastManager.java | 144 ArrayList<ReceiverRecord> entries = mActions.get(action); local 145 if (entries == null) { 146 entries = new ArrayList<ReceiverRecord>(1); 147 mActions.put(action, entries); 149 entries.add(entry); 215 ArrayList<ReceiverRecord> entries = mActions.get(intent.getAction()); local 216 if (entries != null) { 217 if (debug) Log.v(TAG, "Action list: " + entries); 220 for (int i=0; i<entries.size(); i++) { 221 ReceiverRecord receiver = entries.get(i) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
fake_drive_service_helper.cc | 184 const ScopedVector<ResourceEntry>& entries = resource_list->entries(); local 185 for (ScopedVector<ResourceEntry>::const_iterator itr = entries.begin(); 186 itr != entries.end(); ++itr) { 198 ScopedVector<ResourceEntry>* entries) { 208 return CompleteListing(list.Pass(), entries); 214 ScopedVector<ResourceEntry>* entries) { 224 return CompleteListing(list.Pass(), entries); 266 ScopedVector<ResourceEntry>* entries) { 268 entries->reserve(entries->size() + list->entries().size()) [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
AgentRoster.java | 55 private List<String> entries;
field in class:AgentRoster 70 entries = new ArrayList<String>();
108 // Fire events for the existing entries and presences in the roster
113 if (entries.contains(jid)) {
148 return entries.size();
154 * @return all entries in the roster.
158 synchronized (entries) {
159 for (Iterator<String> i = entries.iterator(); i.hasNext();) {
178 synchronized (entries) {
179 for (Iterator<String> i = entries.iterator(); i.hasNext();) { [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata_unittest.cc | 33 // Returns the sorted base names from |entries|. 35 const ResourceEntryVector& entries) { 37 for (size_t i = 0; i < entries.size(); ++i) 38 base_names.push_back(entries[i].base_name()); 183 scoped_ptr<ResourceEntryVector> entries; local 186 google_apis::test_util::CreateCopyResultCallback(&error, &entries)); 188 EXPECT_TRUE(error == FILE_ERROR_OK || !entries); 189 return entries.Pass(); 309 scoped_ptr<ResourceEntryVector> entries; local 312 google_apis::test_util::CreateCopyResultCallback(&error, &entries)); 546 scoped_ptr<ResourceEntryVector> entries; local 593 scoped_ptr<ResourceEntryVector> entries; local 758 scoped_ptr<ResourceEntryVector> entries; local 811 scoped_ptr<ResourceEntryVector> entries; local [all...] |