Searched defs:cache_id (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/content/browser/appcache/
H A Dappcache_working_set.cc35 DCHECK(cache->cache_id() != kAppCacheNoCacheId);
36 int64 cache_id = cache->cache_id(); local
37 DCHECK(caches_.find(cache_id) == caches_.end());
38 caches_.insert(CacheMap::value_type(cache_id, cache));
42 caches_.erase(cache->cache_id());
H A Dappcache_interceptor.cc59 int64* cache_id,
61 DCHECK(*cache_id == kAppCacheNoCacheId);
65 handler->GetExtraResponseInfo(cache_id, manifest_url);
58 GetExtraResponseInfo(net::URLRequest* request, int64* cache_id, GURL* manifest_url) argument
H A Dappcache_database.h61 : cache_id(0), group_id(0), online_wildcard(false), cache_size(0) {}
63 int64 cache_id; member in struct:content::AppCacheDatabase::CacheRecord
71 EntryRecord() : cache_id(0), flags(0), response_id(0), response_size(0) {}
73 int64 cache_id; member in struct:content::AppCacheDatabase::EntryRecord
84 int64 cache_id; member in struct:content::AppCacheDatabase::NamespaceRecord
92 OnlineWhiteListRecord() : cache_id(0), is_pattern(false) {}
94 int64 cache_id; member in struct:content::AppCacheDatabase::OnlineWhiteListRecord
118 bool FindGroupForCache(int64 cache_id, GroupRecord* record);
124 bool FindCache(int64 cache_id, CacheRecord* record);
129 bool DeleteCache(int64 cache_id);
142 FindResponseIdsForCacheAsVector( int64 cache_id, std::vector<int64>* response_ids) argument
146 FindResponseIdsForCacheAsSet( int64 cache_id, std::set<int64>* response_ids) argument
[all...]
H A Dmock_appcache_storage_unittest.cc24 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) OVERRIDE {
26 loaded_cache_id_ = cache_id;
53 int64 cache_id,
60 found_cache_id_ = cache_id;
104 int64 cache_id = service.storage()->NewCacheId(); local
105 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
109 service.storage()->LoadCache(cache_id, &delegate);
110 EXPECT_EQ(cache_id, delegate.loaded_cache_id_);
172 int64 cache_id = storage->NewCacheId(); local
173 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
223 int64 cache_id = storage->NewCacheId(); local
300 int64 cache_id = storage->NewCacheId(); local
342 int64 cache_id = storage->NewCacheId(); local
384 int64 cache_id = storage->NewCacheId(); local
[all...]
H A Dappcache.cc19 AppCache::AppCache(AppCacheStorage* storage, int64 cache_id) argument
20 : cache_id_(cache_id),
157 DCHECK(cache_id_ == cache_record.cache_id);
201 cache_record->cache_id = cache_id_;
212 record.cache_id = cache_id_;
224 record.cache_id = cache_id_;
232 record.cache_id = cache_id_;
240 record.cache_id = cache_id_;
H A Dappcache.h45 AppCache(AppCacheStorage* storage, int64 cache_id);
47 int64 cache_id() const { return cache_id_; } function in class:content::AppCache
H A Dappcache_request_handler.cc174 int64* cache_id, GURL* manifest_url) {
176 *cache_id = job_->cache_id();
211 const AppCacheEntry& entry, int64 cache_id, int64 group_id,
220 job_->DeliverAppCachedResponse(manifest_url, group_id, cache_id,
258 int64 cache_id, int64 group_id, const GURL& manifest_url) {
284 if (IsResourceTypeFrame(resource_type_) && cache_id != kAppCacheNoCacheId) {
289 host_->LoadMainResourceCache(cache_id);
298 found_cache_id_ = cache_id;
356 found_cache_id_ = cache->cache_id();
173 GetExtraResponseInfo( int64* cache_id, GURL* manifest_url) argument
210 DeliverAppCachedResponse( const AppCacheEntry& entry, int64 cache_id, int64 group_id, const GURL& manifest_url, bool is_fallback, const GURL& namespace_entry_url) argument
255 OnMainResponseFound( const GURL& url, const AppCacheEntry& entry, const GURL& namespace_entry_url, const AppCacheEntry& fallback_entry, int64 cache_id, int64 group_id, const GURL& manifest_url) argument
[all...]
H A Dappcache_url_request_job.cc51 const GURL& manifest_url, int64 group_id, int64 cache_id,
58 cache_id_ = cache_id;
158 void AppCacheURLRequestJob::OnCacheLoaded(AppCache* cache, int64 cache_id) { argument
159 DCHECK_EQ(cache_id_, cache_id);
50 DeliverAppCachedResponse( const GURL& manifest_url, int64 group_id, int64 cache_id, const AppCacheEntry& entry, bool is_fallback) argument
H A Dappcache_url_request_job.h44 int64 cache_id, const AppCacheEntry& entry,
70 int64 cache_id() const { return cache_id_; } function in class:content::AppCacheURLRequestJob
125 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) OVERRIDE;
H A Dmock_appcache_storage.h67 int64 cache_id) OVERRIDE;
113 return stored_caches_.find(cache->cache_id()) != stored_caches_.end();
159 int64 cache_id,
167 simulated_found_cache_id_ = cache_id;
155 SimulateFindMainResource( const AppCacheEntry& entry, const GURL& fallback_url, const AppCacheEntry& fallback_entry, int64 cache_id, int64 group_id, const GURL& manifest_url) argument
H A Dappcache_database_unittest.cc38 int64 group_id, cache_id, response_id, deleteable_response_rowid; local
39 group_id = cache_id = response_id = deleteable_response_rowid = 0;
40 EXPECT_TRUE(db.FindLastStorageIds(&group_id, &cache_id, &response_id,
43 EXPECT_EQ(0, cache_id);
195 entry.cache_id = 1;
203 entry.cache_id = 2;
210 entry.cache_id = 2;
221 EXPECT_EQ(1, found[0].cache_id);
237 EXPECT_EQ(2, found[0].cache_id);
242 EXPECT_EQ(2, found[1].cache_id);
[all...]
H A Dappcache_host.cc30 info->cache_id = cache->cache_id();
351 void AppCacheHost::LoadSelectedCache(int64 cache_id) { argument
352 DCHECK(cache_id != kAppCacheNoCacheId);
353 pending_selected_cache_id_ = cache_id;
354 storage()->LoadCache(cache_id, this);
357 void AppCacheHost::OnCacheLoaded(AppCache* cache, int64 cache_id) { argument
358 if (cache_id == pending_main_resource_cache_id_) {
361 } else if (cache_id == pending_selected_cache_id_) {
476 void AppCacheHost::LoadMainResourceCache(int64 cache_id) { argument
[all...]
H A Dappcache_storage.h47 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) {} argument
76 int64 cache_id, int64 group_id, const GURL& mainfest_url) {}
144 virtual void MarkEntryAsForeign(const GURL& entry_url, int64 cache_id) = 0;
73 OnMainResponseFound( const GURL& url, const AppCacheEntry& entry, const GURL& namespace_entry_url, const AppCacheEntry& fallback_entry, int64 cache_id, int64 group_id, const GURL& mainfest_url) argument
H A Dmock_appcache_storage.cc132 const GURL& entry_url, int64 cache_id) {
133 AppCache* cache = working_set_.GetCache(cache_id);
244 int64 cache_id; member in struct:content::__anon7015::FoundCandidate
250 : cache_id(kAppCacheNoCacheId), group_id(0), is_cache_in_use(false) {}
293 best_candidate->cache_id = cache->cache_id();
370 found_candidate.cache_id = cache->cache_id();
397 AppCacheEntry(), found_candidate.cache_id, found_candidate.group_id,
408 found_fallback_candidate.cache_id,
131 MarkEntryAsForeign( const GURL& entry_url, int64 cache_id) argument
468 int64 cache_id = cache->cache_id(); local
[all...]
H A Dappcache_request_handler_unittest.cc276 int64 cache_id = kAppCacheNoCacheId; local
278 handler_->GetExtraResponseInfo(&cache_id, &manifest_url);
279 EXPECT_EQ(kAppCacheNoCacheId, cache_id);
329 int64 cache_id = kAppCacheNoCacheId; local
331 handler_->GetExtraResponseInfo(&cache_id, &manifest_url);
332 EXPECT_EQ(1, cache_id);
414 int64 cache_id = kAppCacheNoCacheId; local
416 handler_->GetExtraResponseInfo(&cache_id, &manifest_url);
417 EXPECT_EQ(1, cache_id);
537 host_->pending_selected_cache_id_ = cache->cache_id();
[all...]
H A Dappcache_service_impl.cc113 int64 cache_id, int64 group_id, const GURL& mainfest_url) OVERRIDE;
124 int64 cache_id, int64 group_id, const GURL& manifest_url) {
307 AppCacheServiceImpl* service, const GURL& manifest_url, int64 cache_id,
311 cache_id_(cache_id),
367 if (cache_->cache_id() == cache_id_) {
558 int64 cache_id,
561 this, manifest_url, cache_id, response_id);
121 OnMainResponseFound( const GURL& url, const AppCacheEntry& entry, const GURL& fallback_url, const AppCacheEntry& fallback_entry, int64 cache_id, int64 group_id, const GURL& manifest_url) argument
306 CheckResponseHelper( AppCacheServiceImpl* service, const GURL& manifest_url, int64 cache_id, int64 response_id) argument
557 CheckAppCacheResponse(const GURL& manifest_url, int64 cache_id, int64 response_id) argument
/external/eigen/bench/
H A Dcheck_cache_queries.cpp58 int cache_id = 0; local
62 EIGEN_CPUID(abcd,0x4,cache_id);
71 cout << "cache[" << cache_id << "].type = " << cache_type << "\n";
72 cout << "cache[" << cache_id << "].level = " << cache_level << "\n";
73 cout << "cache[" << cache_id << "].ways = " << ways << "\n";
74 cout << "cache[" << cache_id << "].partitions = " << partitions << "\n";
75 cout << "cache[" << cache_id << "].line_size = " << line_size << "\n";
76 cout << "cache[" << cache_id << "].sets = " << sets << "\n";
77 cout << "cache[" << cache_id << "].size = " << cache_size << "\n";
79 cache_id
[all...]
/external/chromium_org/content/public/common/
H A Dappcache_info.h39 int64 cache_id; member in struct:content::AppCacheInfo
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_cache_listener.cc155 int cache_id,
165 int cache_id,
175 int cache_id,
185 int cache_id,
192 void ServiceWorkerCacheListener::OnCacheClosed(int cache_id) { argument
210 CacheID cache_id = StoreCacheReference(cache); local
211 Send(ServiceWorkerMsg_CacheStorageGetSuccess(request_id, cache_id));
241 CacheID cache_id = StoreCacheReference(cache); local
242 Send(ServiceWorkerMsg_CacheStorageCreateSuccess(request_id, cache_id));
278 int cache_id local
153 OnCacheMatch( int request_id, int cache_id, const ServiceWorkerFetchRequest& request, const ServiceWorkerCacheQueryParams& match_params) argument
163 OnCacheMatchAll( int request_id, int cache_id, const ServiceWorkerFetchRequest& request, const ServiceWorkerCacheQueryParams& match_params) argument
173 OnCacheKeys( int request_id, int cache_id, const ServiceWorkerFetchRequest& request, const ServiceWorkerCacheQueryParams& match_params) argument
183 OnCacheBatch( int request_id, int cache_id, const std::vector<ServiceWorkerBatchOperation>& operations) argument
283 DropCacheReference(CacheID cache_id) argument
[all...]
/external/chromium_org/third_party/leveldatabase/src/table/
H A Dtable.cc30 uint64_t cache_id; member in struct:leveldb::Table::Rep
75 rep->cache_id = (options.block_cache ? options.block_cache->NewId() : 0);
172 EncodeFixed64(cache_key_buffer, table->rep_->cache_id);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_state_cache.c35 * consumers can query the hash table of state using a cache_id,
57 GLuint hash = item->cache_id, i;
75 return a->cache_id == b->cache_id &&
130 * Returns the buffer object matching cache_id and key, or NULL.
134 enum brw_cache_id cache_id,
143 lookup.cache_id = cache_id;
157 brw->state.dirty.cache |= (1 << cache_id);
208 if (item->cache_id !
133 brw_search_cache(struct brw_cache *cache, enum brw_cache_id cache_id, const void *key, GLuint key_size, uint32_t *inout_offset, void *out_aux) argument
262 brw_upload_cache(struct brw_cache *cache, enum brw_cache_id cache_id, const void *key, GLuint key_size, const void *data, GLuint data_size, const void *aux, GLuint aux_size, uint32_t *out_offset, void *out_aux) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_state_cache.c35 * consumers can query the hash table of state using a cache_id,
57 GLuint hash = item->cache_id, i;
75 return a->cache_id == b->cache_id &&
130 * Returns the buffer object matching cache_id and key, or NULL.
134 enum brw_cache_id cache_id,
143 lookup.cache_id = cache_id;
157 brw->state.dirty.cache |= (1 << cache_id);
208 if (item->cache_id !
133 brw_search_cache(struct brw_cache *cache, enum brw_cache_id cache_id, const void *key, GLuint key_size, uint32_t *inout_offset, void *out_aux) argument
262 brw_upload_cache(struct brw_cache *cache, enum brw_cache_id cache_id, const void *key, GLuint key_size, const void *data, GLuint data_size, const void *aux, GLuint aux_size, uint32_t *out_offset, void *out_aux) argument
[all...]
/external/kernel-headers/original/uapi/linux/
H A Datmmpc.h34 __be32 cache_id; member in struct:eg_ctrl_info
/external/chromium_org/content/renderer/service_worker/
H A Dservice_worker_cache_storage_dispatcher.cc175 int cache_id)
177 cache_id_(cache_id) {}
288 int cache_id) {
289 WebCache* web_cache = new WebCache(weak_factory_.GetWeakPtr(), cache_id);
290 web_caches_.AddWithID(web_cache, cache_id);
305 int cache_id) {
306 WebCache* web_cache = new WebCache(weak_factory_.GetWeakPtr(), cache_id);
307 web_caches_.AddWithID(web_cache, cache_id);
500 int cache_id,
507 script_context_->GetRoutingID(), request_id, cache_id,
174 WebCache(base::WeakPtr<ServiceWorkerCacheStorageDispatcher> dispatcher, int cache_id) argument
286 OnCacheStorageGetSuccess( int request_id, int cache_id) argument
303 OnCacheStorageCreateSuccess( int request_id, int cache_id) argument
499 dispatchMatchForCache( int cache_id, blink::WebServiceWorkerCache::CacheMatchCallbacks* callbacks, const blink::WebServiceWorkerRequest& request, const blink::WebServiceWorkerCache::QueryParams& query_params) argument
512 dispatchMatchAllForCache( int cache_id, blink::WebServiceWorkerCache::CacheWithResponsesCallbacks* callbacks, const blink::WebServiceWorkerRequest& request, const blink::WebServiceWorkerCache::QueryParams& query_params) argument
525 dispatchKeysForCache( int cache_id, blink::WebServiceWorkerCache::CacheWithRequestsCallbacks* callbacks, const blink::WebServiceWorkerRequest* request, const blink::WebServiceWorkerCache::QueryParams& query_params) argument
539 dispatchBatchForCache( int cache_id, blink::WebServiceWorkerCache::CacheWithResponsesCallbacks* callbacks, const blink::WebVector< blink::WebServiceWorkerCache::BatchOperation>& web_operations) argument
557 OnWebCacheDestruction(int cache_id) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Devergreen_compute_internal.c604 int cache_id,
612 get_empty_res(pipe, COMPUTE_RESOURCE_CONST_MEM, cache_id);
616 assert(cache_id < 16);
618 evergreen_reg_set(res, SQ_ALU_CONST_BUFFER_SIZE_LS_0 + cache_id*4, size);
619 evergreen_reg_set(res, SQ_ALU_CONST_CACHE_LS_0 + cache_id*4, offset >> 8);
602 evergreen_set_const_cache( struct r600_pipe_compute *pipe, int cache_id, struct r600_resource* cbo, int size, int offset) argument

Completed in 978 milliseconds

12