/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry; 40 static RemoteViews buildWidget(Context context, int id, Entry entry) { 42 switch (entry.type) { 45 return buildStackWidget(context, id, entry); 47 return buildFrameWidget(context, id, entry); 49 throw new RuntimeException("invalid type - " + entry.type); 64 Entry entry = helper.getEntry(id); local 65 if (entry != null) [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
ConnPoolByRoute.java | 245 * Obtains a pool entry with a connection within the given timeout. 255 * @return pool entry holding a connection for the route 274 BasicPoolEntry entry = null; 281 while (entry == null) { 300 entry = getFreeEntry(rospl, state); 301 if (entry != null) { 315 entry = createEntry(rospl, operator); 320 entry = createEntry(rospl, operator); 357 } // while no entry 363 return entry; [all...] |
/system/core/liblog/ |
logprint.c | 345 * entry allocated by caller. Pointers will point directly into buf 347 * Returns 0 on success and -1 on invalid wire format (entry will be 351 AndroidLogEntry *entry) 353 entry->tv_sec = buf->sec; 354 entry->tv_nsec = buf->nsec; 355 entry->pid = buf->pid; 356 entry->tid = buf->tid; 370 // An well-formed entry must consist of at least a priority 372 fprintf(stderr, "+++ LOG: entry too small\n"); 401 entry->priority = buf->msg[0] [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
TrackFragmentRandomAccessBox.java | 61 private List<Entry> entries = Collections.emptyList(); 94 entries = new ArrayList<Entry>(); 97 Entry entry = new Entry(); local 99 entry.time = IsoTypeReader.readUInt64(content); 100 entry.moofOffset = IsoTypeReader.readUInt64(content); 102 entry.time = IsoTypeReader.readUInt32(content); 103 entry.moofOffset = IsoTypeReader.readUInt32(content); 105 entry.trafNumber = IsoTypeReaderVariable.read(content, lengthSizeOfTrafNum) [all...] |
/external/smack/src/org/jivesoftware/smack/util/collections/ |
AbstractHashedMap.java | 48 protected static final String NO_NEXT_ENTRY = "No next() entry in the iteration"; 49 protected static final String NO_PREVIOUS_ENTRY = "No previous() entry in the iteration"; 97 * Entry set 192 HashEntry<K, V> entry = data[hashIndex(hashCode, data.length)]; // no local for hash index local 193 while (entry != null) { 194 if (entry.hashCode == hashCode && isEqualKey(key, entry.key)) { 195 return entry.getValue(); 197 entry = entry.next 229 HashEntry entry = data[hashIndex(hashCode, data.length)]; \/\/ no local for hash index local 248 HashEntry entry = data[i]; local 258 HashEntry entry = data[i]; local 281 HashEntry<K, V> entry = data[index]; local 312 Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>) it.next(); local 326 HashEntry<K, V> entry = data[index]; local 423 HashEntry<K, V> entry = data[hashIndex(hashCode, data.length)]; \/\/ no local for hash index local 482 HashEntry<K, V> entry = createEntry(data[hashIndex], hashCode, key, value); local 604 HashEntry<K, V> entry = oldEntries[i]; local 828 Map.Entry<K, V> entry = (Map.Entry<K, V>) obj; local [all...] |
/external/openfst/src/include/fst/ |
generic-register.h | 44 typedef EntryType Entry; 54 const EntryType &entry) { 57 register_table_.insert(make_pair(key, entry)); 61 const EntryType *entry = LookupEntry(key); local 62 if (entry) { 63 return *entry; 86 const EntryType *entry = this->LookupEntry(key); local 87 if (entry == 0) { 92 return *entry; 142 // and Entry, and have appropriate static GetRegister() and instanc [all...] |
/external/webkit/Tools/Scripts/ |
detect-mismatched-virtual-const | 142 my $entry = @entries[$i]; 144 my $class = $entry->{'class'}; 145 my $const = $entry->{'const'}; 158 my $entry = @entries[$i]; 159 my $method = $entry->{'method'};
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
LruCache.java | 32 private final HashMap<K, Entry<K, V>> mWeakMap = 33 new HashMap<K, Entry<K, V>>(); 40 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) { 46 private static class Entry<K, V> extends WeakReference<V> { 49 public Entry(K key, V value, ReferenceQueue<V> queue) { 57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); local 58 while (entry != null) { 59 mWeakMap.remove(entry.mKey) 72 Entry<K, V> entry = mWeakMap.put( local [all...] |
/external/icu4c/i18n/ |
transreg.cpp | 31 // allocation, deletion, and use of Entry objects. BoundsChecker has 347 // Vector of Entry pointers currently in use 357 // Caller must call DEBUG_setup first. Return index of given Entry, 409 // class Entry 413 * The Entry object stores objects of different types and 474 // entry object owns it. It should only be deleted when the 535 TransliteratorEntry *entry = find(ID); local 536 return (entry == 0) ? 0 537 : instantiateEntry(ID, entry, aliasReturn, status); 545 TransliteratorEntry *entry = find(ID) local 618 TransliteratorEntry *entry = new TransliteratorEntry(); local 632 TransliteratorEntry *entry = new TransliteratorEntry(); local 647 TransliteratorEntry *entry = new TransliteratorEntry(); local 668 TransliteratorEntry *entry = new TransliteratorEntry(); local 1028 TransliteratorEntry* entry = 0; local 1122 TransliteratorEntry *entry = new TransliteratorEntry(); local 1176 TransliteratorEntry* entry; local [all...] |
/external/chromium/net/tools/crash_cache/ |
crash_cache.cc | 149 disk_cache::Entry* entry; local 150 rv = cache->CreateEntry(test_name, &entry, &cb); 154 entry->Close(); 161 rv = cache->CreateEntry(test_name, &entry, &cb); 183 disk_cache::Entry* entry; 184 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb); 188 entry->Close(); 192 rv = cache->CreateEntry("some other key", &entry, &cb) 271 disk_cache::Entry* entry; local [all...] |
/external/chromium/chrome/browser/geolocation/ |
geolocation_exceptions_table_model.cc | 50 struct GeolocationExceptionsTableModel::Entry { 51 Entry(const GURL& in_origin, 80 const Entry& entry = entries_[*i]; local 81 if ((entry.origin == entry.embedding_origin) && 82 (entry.setting == CONTENT_SETTING_DEFAULT)) { 84 (j < entries_.size()) && (entries_[j].origin == entry.origin); ++j) { 96 Entry* entry = &entries_[row] local 143 const Entry& entry = entries_[row]; local [all...] |
/external/chromium/net/disk_cache/ |
in_flight_backend_io.h | 21 class Entry; 37 // Returns true if this operation is directed to an entry (vs. the backend). 50 void OpenEntry(const std::string& key, Entry** entry); 51 void CreateEntry(const std::string& key, Entry** entry); 57 void OpenNextEntry(void** iter, Entry** next_entry); 58 void OpenPrevEntry(void** iter, Entry** prev_entry); 60 void CloseEntryImpl(EntryImpl* entry); 61 void DoomEntryImpl(EntryImpl* entry); [all...] |
mem_backend_impl.h | 44 // Permanently deletes an entry. 45 void InternalDoomEntry(MemEntryImpl* entry); 47 // Updates the ranking information for an entry. 58 // by calling RemoveFromRankingList(|entry|). 59 void InsertIntoRankingList(MemEntryImpl* entry); 61 // Remove |entry| from ranking list. This method is only called from 62 // MemEntryImpl to remove a child entry from the ranking list. 63 void RemoveFromRankingList(MemEntryImpl* entry); 67 virtual int OpenEntry(const std::string& key, Entry** entry, [all...] |
/external/qemu/android/ |
sensors-port.c | 64 * each entry is a zero-terminator for its 'sensor_name' field. The end of the 65 * entire list is marked with an entry, containing -1 at its 'sensor_id' field. 116 _sensor_entry_is_terminator(const SensorEntry* entry) 118 return entry == NULL || entry->sensor_id == -1; 126 _sensor_entry_next(const SensorEntry* entry) 128 if (!_sensor_entry_is_terminator(entry)) { 131 entry = (const SensorEntry*)(entry->sensor_name + strlen(entry->sensor_name) + 1) 195 const SensorEntry* entry = _sensor_entry_is_terminator(list) ? NULL : list; local [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
IntrusiveDOMWrapperMap.h | 113 for (T* entry = first; entry < last; entry++) 114 Traits::clear(entry); 119 for (T* entry = first; entry < last; entry++) 120 Traits::visit(store, entry, visitor); 144 v8::Persistent<v8::Object>* entry = m_table.add(wrapper); local 145 obj->setWrapper(entry); 162 v8::Persistent<v8::Object>* entry = obj->wrapper(); local [all...] |
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
FileA3DTest.java | 57 FileA3D.IndexEntry entry = model.getIndexEntry(0); local 58 assertTrue(entry != null); 59 assertTrue(entry.getEntryType() == FileA3D.EntryType.MESH); 62 if (et == entry.getEntryType()) { 74 FileA3D.IndexEntry entry = model.getIndexEntry(0); local 75 assertTrue(entry != null); 76 assertTrue(entry.getEntryType() == FileA3D.EntryType.MESH); 77 assertTrue(entry.getMesh() != null); 84 FileA3D.IndexEntry entry = model.getIndexEntry(0); local 85 assertTrue(entry != null) 93 FileA3D.IndexEntry entry = model.getIndexEntry(0); local [all...] |
/frameworks/base/tools/aapt/ |
StringPool.h | 42 struct entry { struct in class:StringPool 43 entry() : offset(0) { } function in struct:StringPool::entry 44 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } function in struct:StringPool::entry 45 entry(const entry& o) : value(o.value), offset(o.offset), function in struct:StringPool::entry 58 int compare(const entry& o) const; 60 inline bool operator<(const entry& o) const { return compare(o) < 0; } 61 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 62 inline bool operator==(const entry& o) const { return compare(o) == 0; } 63 inline bool operator!=(const entry& o) const { return compare(o) != 0; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | 296 ImageEntry entry = mImageCache.get(path); local 299 if (entry == null || entry.screenNailTask != future) { 304 entry.screenNailTask = null; 307 if (entry.screenNail instanceof TiledScreenNail) { 308 TiledScreenNail original = (TiledScreenNail) entry.screenNail; 313 entry.failToLoad = true; 315 entry.failToLoad = false; 316 entry.screenNail = screenNail; 321 if (i == 0) updateTileProvider(entry); 331 ImageEntry entry = mImageCache.get(path); local 524 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex + offset)); local 602 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex)); local 814 ImageEntry entry = mImageCache.get(path); local 842 ImageEntry entry = mImageCache.remove(path); local [all...] |
/external/e2fsprogs/lib/ss/ |
list_rqs.c | 28 ss_request_entry *entry; local 54 entry = (*table)->requests; 55 for (; entry->command_names; entry++) { 58 if (entry->flags & SS_OPT_DONT_LIST) 60 for (name = entry->command_names; *name; name++) { 75 strcat(buffer, entry->info_string);
|
/external/webkit/Source/WebCore/html/parser/ |
HTMLFormattingElementList.cpp | 45 const Entry& entry = m_entries[m_entries.size() - i]; local 46 if (entry.isMarker()) 48 if (entry.element()->hasLocalName(targetName)) 49 return entry.element(); 59 HTMLFormattingElementList::Entry* HTMLFormattingElementList::find(Element* element) 105 m_entries.append(Entry::MarkerEntry); 124 const Entry& entry = m_entries[m_entries.size() - i]; 125 if (entry.isMarker() [all...] |
/frameworks/compile/mclinker/unittests/ |
HashTableTest.cpp | 85 HashTableTy::entry_type* entry = 0; local 87 entry = hashTable->insert(pA, exist); 117 HashTableTy::iterator entry = hashTable->find(key); local 118 EXPECT_EQ(999, entry.getEntry()->value()); 128 HashTableTy::entry_type* entry = 0; local 130 entry = hashTable->insert(key, exist); 133 EXPECT_FALSE(NULL == entry); 134 EXPECT_TRUE(key == entry->key()); 135 entry->setValue(key+10); 150 HashTableTy::entry_type* entry = 0 local 175 HashTableTy::entry_type* entry = 0; local 198 HashTableTy::entry_type* entry = 0; local 234 HashTableTy::entry_type* entry = 0; local 255 HashTableTy::entry_type* entry = 0; local 278 HashTableTy::entry_type* entry = 0; local 309 HashTableTy::entry_type* entry = 0; local [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3collections.c | 91 static void antlr3VectorDel (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry); 92 static void * antlr3VectorGet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry); 93 static void * antrl3VectorRemove (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry); 96 static ANTLR3_UINT32 antlr3VectorSet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry, void * element, void (ANTLR3_CDECL *freeptr)(void *), ANTLR3_BOOLEAN freeExisting); 200 pANTLR3_HASH_ENTRY entry; local 216 entry = thisBucket->entries; 220 while (entry != NULL) 222 /* Save next entry - we do not want to access memory in entry after we 225 nextEntry = entry->nextEntry 278 pANTLR3_HASH_ENTRY entry; local 335 pANTLR3_HASH_ENTRY entry; local 398 pANTLR3_HASH_ENTRY entry; local 422 pANTLR3_HASH_ENTRY entry; local 448 pANTLR3_HASH_ENTRY entry; local 487 pANTLR3_HASH_ENTRY entry; local 527 pANTLR3_HASH_ENTRY entry; local 598 pANTLR3_HASH_ENTRY entry; local 943 pANTLR3_HASH_ENTRY entry; local 1138 ANTLR3_UINT32 entry; local 1163 ANTLR3_UINT32 entry; local [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
SmilPlayer.java | 221 TimelineEntry entry = new TimelineEntry(beginOffset, local 223 timeline.add(entry); 234 TimelineEntry entry = new TimelineEntry(endOffset, local 236 timeline.add(entry); 376 private synchronized boolean isBeginOfSlide(TimelineEntry entry) { 377 return (TimelineEntry.ACTION_BEGIN == entry.getAction()) 378 && (entry.getElement() instanceof SmilParElementImpl); 386 TimelineEntry entry = mAllEntries.get(i); local 387 actionEntry(entry); 393 TimelineEntry entry = mAllEntries.get(0) local 399 TimelineEntry entry = mAllEntries.get(i); local 553 TimelineEntry entry = mAllEntries.get(i); local 569 TimelineEntry entry; local 594 TimelineEntry entry = mAllEntries.get(i); local 653 TimelineEntry entry = mAllEntries.get(mCurrentElement); local [all...] |
/system/media/camera/docs/ |
metadata_parser_xml.py | 112 entry_filter = lambda x: x.name == 'entry' or x.name == 'clone' 113 for entry in self.soup.find_all(entry_filter): 114 if entry.name == 'entry': 116 'name': fully_qualified_name(entry), 117 'type': entry['type'], 118 'kind': find_kind(entry), 119 'type_notes': entry.attrs.get('type_notes') 122 d2 = self._parse_entry(entry) 126 'name': entry['entry'] [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSlidingWindow.java | 81 public PanoSupportListener (AlbumEntry entry) { 82 mEntry = entry; 183 AlbumEntry entry = mData[index % mData.length]; local 184 if (entry.bitmapTexture != null) { 185 mTileUploader.addTexture(entry.bitmapTexture); 196 AlbumEntry entry = mData[i % mData.length]; local 197 if (entry.bitmapTexture != null) { 198 mTileUploader.addTexture(entry.bitmapTexture); 228 AlbumEntry entry = mData[slotIndex % mData.length]; 229 if (entry.content != null || entry.item == null) return false 257 AlbumEntry entry = data[index]; local 264 AlbumEntry entry = new AlbumEntry(); local [all...] |