/external/chromium/net/disk_cache/ |
disk_cache_perftest.cc | 66 disk_cache::Entry* cache_entry; local 67 if (!cache->CreateEntry(entry.key, &cache_entry)) 69 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false); 75 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback, 81 cache_entry->Close(); 112 disk_cache::Entry* cache_entry; local 113 if (!cache->OpenEntry(entries[i].key, &cache_entry)) 115 int ret = cache_entry->ReadData(0, 0, buffer1, kSize1, &callback); 121 ret = cache_entry->ReadData(1, 0, buffer2, entries[i].data_len, &callback); 126 cache_entry->Close() [all...] |
backend_impl.cc | 361 EntryImpl* cache_entry = MatchEntry(key, hash, false); local 362 if (!cache_entry) { 367 if (ENTRY_NORMAL != cache_entry->entry()->Data()->state) { 369 cache_entry->Release(); 374 eviction_.OnOpenEntry(cache_entry); 376 *entry = cache_entry; 440 scoped_refptr<EntryImpl> cache_entry(new EntryImpl(this, entry_address)); 443 if (!cache_entry->CreateEntry(node_address, key, hash)) { 452 open_entries_[entry_address.value()] = cache_entry; 457 block_files_.GetFile(entry_address)->Store(cache_entry->entry()) 741 EntryImpl* cache_entry = NULL; local 1198 scoped_refptr<EntryImpl> cache_entry, parent_entry; local [all...] |
/frameworks/base/core/java/com/android/internal/database/ |
SortCursor.java | 117 int cache_entry = newPosition % ROWCACHESIZE; local 119 if (mRowNumCache[cache_entry] == newPosition) { 120 int which = mCursorCache[cache_entry]; 126 mCursor.moveToPosition(mCurRowNumCache[cache_entry][which]); 127 mLastCacheHit = cache_entry; 173 mRowNumCache[cache_entry] = newPosition; 174 mCursorCache[cache_entry] = smallestIdx; 177 mCurRowNumCache[cache_entry][i] = mCursors[i].getPosition();
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
SortCursor.java | 139 int cache_entry = newPosition % ROWCACHESIZE; local 141 if (mRowNumCache[cache_entry] == newPosition) { 142 int which = mCursorCache[cache_entry]; 149 mCursor.moveToPosition(mCurRowNumCache[cache_entry][which]); 150 mLastCacheHit = cache_entry; 225 mRowNumCache[cache_entry] = newPosition; 226 mCursorCache[cache_entry] = smallestIdx; 229 mCurRowNumCache[cache_entry][i] = mCursors[i].getPosition();
|
/packages/apps/Music/src/com/android/music/ |
SortCursor.java | 117 int cache_entry = newPosition % ROWCACHESIZE; local 119 if (mRowNumCache[cache_entry] == newPosition) { 120 int which = mCursorCache[cache_entry]; 126 mCursor.moveToPosition(mCurRowNumCache[cache_entry][which]); 127 mLastCacheHit = cache_entry; 173 mRowNumCache[cache_entry] = newPosition; 174 mCursorCache[cache_entry] = smallestIdx; 177 mCurRowNumCache[cache_entry][i] = mCursors[i].getPosition();
|
/external/chromium/net/base/ |
host_resolver_impl.cc | 594 const HostCache::Entry* cache_entry = cache_->Lookup( local 596 if (cache_entry) { 597 int error = cache_entry->error; 599 addresses->SetFrom(cache_entry->addrlist, info.port());
|