HomeSort by relevance Sort by last modified time
    Searched refs:cache_entry (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/chromeos/drive/
file_cache.cc 126 FileCacheEntry cache_entry; local
127 if (!storage_->GetCacheEntry(id, &cache_entry) ||
128 !cache_entry.is_present())
151 FileCacheEntry cache_entry;
152 storage_->GetCacheEntry(id, &cache_entry);
155 if (cache_entry.is_dirty() || mounted_files_.count(id))
180 cache_entry.set_md5(md5);
181 cache_entry.set_is_present(true);
182 cache_entry.set_is_dirty(false);
183 return storage_->PutCacheEntry(id, cache_entry)
190 FileCacheEntry cache_entry; local
201 FileCacheEntry cache_entry; local
228 FileCacheEntry cache_entry; local
256 FileCacheEntry cache_entry; local
276 FileCacheEntry cache_entry; local
300 FileCacheEntry cache_entry; local
471 FileCacheEntry cache_entry; local
    [all...]
sync_client_unittest.cc 274 FileCacheEntry cache_entry; local
276 EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("foo"), &cache_entry));
277 EXPECT_TRUE(cache_entry.is_present());
279 EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("bar"), &cache_entry));
280 EXPECT_TRUE(cache_entry.is_present());
282 EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("baz"), &cache_entry));
283 EXPECT_TRUE(cache_entry.is_present());
286 EXPECT_TRUE(cache_->GetCacheEntry(GetLocalId("dirty"), &cache_entry));
287 EXPECT_FALSE(cache_entry.is_dirty());
317 FileCacheEntry cache_entry; local
329 FileCacheEntry cache_entry; local
343 FileCacheEntry cache_entry; local
396 FileCacheEntry cache_entry; local
    [all...]
remove_stale_cache_files_unittest.cc 71 FileCacheEntry cache_entry; local
72 EXPECT_TRUE(cache_->GetCacheEntry(local_id, &cache_entry));
82 EXPECT_FALSE(cache_->GetCacheEntry(local_id, &cache_entry));
119 FileCacheEntry cache_entry; local
120 EXPECT_FALSE(cache_->GetCacheEntry(local_id_1, &cache_entry));
121 EXPECT_TRUE(cache_->GetCacheEntry(local_id_2, &cache_entry));
debug_info_collector.h 22 const FileCacheEntry& cache_entry)>
resource_metadata_storage_unittest.cc 169 FileCacheEntry cache_entry; local
170 if (it->GetCacheEntry(&cache_entry))
171 found_cache_entries[it->GetID()] = cache_entry;
217 FileCacheEntry cache_entry; local
219 cache_entry.set_md5("aA");
220 entries["entry1"] = cache_entry;
221 cache_entry.set_md5("bB");
222 entries["entry2"] = cache_entry;
223 cache_entry.set_md5("cC");
224 entries["entry3"] = cache_entry;
316 FileCacheEntry cache_entry; local
381 FileCacheEntry cache_entry; local
423 FileCacheEntry cache_entry; local
457 FileCacheEntry cache_entry; local
488 FileCacheEntry cache_entry; local
586 FileCacheEntry cache_entry; local
    [all...]
sync_client.cc 75 FileCacheEntry cache_entry; local
76 if (it->GetCacheEntry(&cache_entry)) {
77 if (cache_entry.is_pinned() && !cache_entry.is_present())
80 if (cache_entry.is_dirty())
93 const FileCacheEntry& cache_entry = it->GetValue(); local
95 if (!cache_entry.is_pinned() || !cache_entry.is_present())
108 if (entry.file_specific_info().md5() == cache_entry.md5() ||
109 cache_entry.is_dirty()
    [all...]
file_cache_unittest.cc 120 FileCacheEntry cache_entry; local
121 EXPECT_TRUE(GetCacheEntryFromOriginThread(id, &cache_entry));
122 EXPECT_EQ(md5, cache_entry.md5());
146 FileCacheEntry cache_entry; local
147 if (!GetCacheEntryFromOriginThread(id, &cache_entry)) {
246 FileCacheEntry cache_entry; local
247 EXPECT_TRUE(GetCacheEntryFromOriginThread(id, &cache_entry));
248 EXPECT_EQ(md5, cache_entry.md5());
316 FileCacheEntry cache_entry; local
318 GetCacheEntryFromOriginThread(id, &cache_entry);
356 FileCacheEntry cache_entry; local
984 FileCacheEntry cache_entry; local
    [all...]
file_system.cc 69 FileCacheEntry cache_entry;
70 if (!cache->GetCacheEntry(local_id, &cache_entry) || !cache_entry.is_dirty())
158 FileCacheEntry* cache_entry) {
163 return cache->GetCacheEntry(id, cache_entry);
168 const FileCacheEntry* cache_entry,
171 callback.Run(success, *cache_entry);
988 FileCacheEntry* cache_entry = new FileCacheEntry; local
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
compiled_file_system.py 213 cache_entry = self._file_object_store.Get(path).Get()
214 if (cache_entry is not None) and (version == cache_entry.version):
215 return Future(value=cache_entry._cache_data)
236 cache_entry = self._list_object_store.Get(path).Get()
237 if (cache_entry is not None) and (version == cache_entry.version):
238 return Future(value=cache_entry._cache_data)
248 cache_entry = self._file_object_store.Get(path).Get()
249 if cache_entry is not None
    [all...]
  /external/chromium_org/net/disk_cache/
backend_impl.cc 453 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
454 if (cache_entry) {
455 if (ENTRY_NORMAL == cache_entry->entry()->Data()->state) {
456 UpdateRank(cache_entry, cache_type() == net::SHADER_CACHE);
458 cache_entry->Release();
471 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
472 if (cache_entry && ENTRY_NORMAL != cache_entry->entry()->Data()->state) {
474 cache_entry->Release();
475 cache_entry = NULL
715 EntryImpl* cache_entry = NULL; local
1507 scoped_refptr<EntryImpl> cache_entry, parent_entry; local
    [all...]
disk_cache_perftest.cc 64 disk_cache::Entry* cache_entry; local
66 int rv = cache->CreateEntry(entry.key, &cache_entry, cb.callback());
69 int ret = cache_entry->WriteData(
77 ret = cache_entry->WriteData(
84 cache_entry->Close();
113 disk_cache::Entry* cache_entry; local
115 int rv = cache->OpenEntry(entries[i].key, &cache_entry, cb.callback());
118 int ret = cache_entry->ReadData(
126 ret = cache_entry->ReadData(
133 cache_entry->Close()
    [all...]
mem_backend_impl.cc 218 MemEntryImpl* cache_entry = new MemEntryImpl(this);
219 if (!cache_entry->CreateEntry(key, net_log_)) {
224 rankings_.Insert(cache_entry);
225 entries_[key] = cache_entry;
227 *entry = cache_entry;
  /external/chromium/net/disk_cache/
disk_cache_perftest.cc 68 disk_cache::Entry* cache_entry; local
70 int rv = cache->CreateEntry(entry.key, &cache_entry, &cb);
73 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false);
79 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback,
85 cache_entry->Close();
116 disk_cache::Entry* cache_entry; local
118 int rv = cache->OpenEntry(entries[i].key, &cache_entry, &cb);
121 int ret = cache_entry->ReadData(0, 0, buffer1, kSize1, &callback);
127 ret = cache_entry->ReadData(1, 0, buffer2, entries[i].data_len, &callback);
132 cache_entry->Close()
    [all...]
backend_impl.cc 675 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
676 if (!cache_entry) {
681 if (ENTRY_NORMAL != cache_entry->entry()->Data()->state) {
683 cache_entry->Release();
688 eviction_.OnOpenEntry(cache_entry);
694 return cache_entry;
754 scoped_refptr<EntryImpl> cache_entry(
758 if (!cache_entry->CreateEntry(node_address, key, hash)) {
766 cache_entry->BeginLogging(net_log_, true);
769 open_entries_[entry_address.value()] = cache_entry;
898 EntryImpl* cache_entry = NULL; local
1575 scoped_refptr<EntryImpl> cache_entry, parent_entry; local
    [all...]
mem_backend_impl.cc 210 MemEntryImpl* cache_entry = new MemEntryImpl(this);
211 if (!cache_entry->CreateEntry(key, net_log_)) {
216 rankings_.Insert(cache_entry);
217 entries_[key] = cache_entry;
219 *entry = cache_entry;
  /external/chromium_org/net/disk_cache/v3/
backend_impl_v3.cc 518 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
519 if (cache_entry && ENTRY_NORMAL != cache_entry->entry()->Data()->state) {
521 cache_entry->Release();
522 cache_entry = NULL;
530 if (!cache_entry) {
539 eviction_.OnOpenEntry(cache_entry);
543 cache_entry->entry()->address().value());
550 return cache_entry;
609 scoped_refptr<EntryImpl> cache_entry(
790 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
    [all...]
  /external/chromium_org/ppapi/proxy/
flash_resource.cc 125 LocalTimeZoneOffsetEntry cache_entry; local
126 cache_entry.expiration = now + expiration_delta;
127 cache_entry.offset = 0.0;
137 &cache_entry.offset);
139 cache_entry.offset = 0.0;
141 cache_entry.offset = PPGetLocalTimeZoneOffset(PPTimeToTime(t));
144 cache.Put(t_minute_base, cache_entry);
145 return cache_entry.offset;
  /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/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_org/chrome/browser/chromeos/drive/file_system/
get_file_for_saving_operation_unittest.cc 96 FileCacheEntry cache_entry; local
103 &cache_entry),
107 EXPECT_TRUE(cache_entry.is_present());
108 EXPECT_TRUE(cache_entry.is_dirty());
update_operation_unittest.cc 111 FileCacheEntry cache_entry; local
118 &cache_entry),
122 EXPECT_FALSE(cache_entry.is_dirty());
202 FileCacheEntry cache_entry; local
209 &cache_entry),
213 EXPECT_FALSE(cache_entry.is_dirty());
250 &cache_entry),
254 EXPECT_FALSE(cache_entry.is_dirty());
copy_operation_unittest.cc 62 FileCacheEntry cache_entry; local
70 &cache_entry),
74 EXPECT_TRUE(cache_entry.is_present());
75 EXPECT_TRUE(cache_entry.is_dirty());
open_file_operation_unittest.cc 172 FileCacheEntry cache_entry; local
179 &cache_entry),
183 EXPECT_TRUE(cache_entry.is_present());
184 EXPECT_TRUE(cache_entry.is_dirty());
download_operation.cc 79 FileCacheEntry cache_entry; local
80 if (!cache->GetCacheEntry(local_id, &cache_entry))
85 if (!cache_entry.is_dirty() &&
86 entry->file_specific_info().md5() != cache_entry.md5())
99 if (cache_entry.is_dirty()) {
  /external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
private_api_drive.h 50 const drive::FileCacheEntry& cache_entry);

Completed in 375 milliseconds

1 2 3