Searched refs:cache_type (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/net/disk_cache/simple/
H A Dsimple_histogram_macros.h10 #include "net/base/cache_type.h"
19 #define SIMPLE_CACHE_UMA(uma_type, uma_name, cache_type, ...) \
21 switch (cache_type) { \
H A Dsimple_index_file.cc48 void UmaRecordIndexFileState(IndexFileState state, net::CacheType cache_type) { argument
50 "IndexFileStateOnLoad", cache_type, state, INDEX_STATE_MAX);
62 net::CacheType cache_type) {
64 "IndexInitializeMethod", cache_type,
186 void SimpleIndexFile::SyncWriteToDisk(net::CacheType cache_type, argument
222 "IndexWriteToDiskTime.Background", cache_type,
226 "IndexWriteToDiskTime.Foreground", cache_type,
240 net::CacheType cache_type,
244 cache_type_(cache_type),
283 net::CacheType cache_type,
61 UmaRecordIndexInitMethod(IndexInitMethod method, net::CacheType cache_type) argument
237 SimpleIndexFile( base::SingleThreadTaskRunner* cache_thread, base::TaskRunner* worker_pool, net::CacheType cache_type, const base::FilePath& cache_directory) argument
282 SyncLoadIndexEntries( net::CacheType cache_type, base::Time cache_last_modified, const base::FilePath& cache_directory, const base::FilePath& index_file_path, SimpleIndexLoadResult* out_result) argument
[all...]
H A Dsimple_index_file.h19 #include "net/base/cache_type.h"
79 net::CacheType cache_type,
105 static void SyncLoadIndexEntries(net::CacheType cache_type,
146 static void SyncWriteToDisk(net::CacheType cache_type,
H A Dsimple_entry_impl.cc71 void RecordReadResult(net::CacheType cache_type, ReadResult result) { argument
73 "ReadResult", cache_type, result, READ_RESULT_MAX);
76 void RecordWriteResult(net::CacheType cache_type, WriteResult result) { argument
78 "WriteResult2", cache_type, result, WRITE_RESULT_MAX);
83 void RecordHeaderSizeChange(net::CacheType cache_type, argument
87 SIMPLE_CACHE_UMA(COUNTS_10000, "HeaderSize", cache_type, new_size);
96 "HeaderSizeIncreaseAbsolute", cache_type, delta);
98 "HeaderSizeIncreasePercentage", cache_type,
104 "HeaderSizeDecreaseAbsolute", cache_type, delta);
106 "HeaderSizeDecreasePercentage", cache_type,
116 RecordUnexpectedStream0Write(net::CacheType cache_type) argument
124 AdjustOpenEntryCountBy(net::CacheType cache_type, int offset) argument
163 SimpleEntryImpl(net::CacheType cache_type, const FilePath& path, const uint64 entry_hash, OperationsMode operations_mode, SimpleBackendImpl* backend, net::NetLog* net_log) argument
[all...]
H A Dsimple_backend_impl.h21 #include "net/base/cache_type.h"
48 net::CacheType cache_type,
54 net::CacheType cache_type() const { return cache_type_; } function in class:disk_cache::SimpleBackendImpl
H A Dsimple_synchronous_entry.cc88 void RecordSyncOpenResult(net::CacheType cache_type, argument
93 "SyncOpenResult", cache_type, result, OPEN_ENTRY_MAX);
96 "SyncOpenResult_WithIndex", cache_type,
100 "SyncOpenResult_WithoutIndex", cache_type,
105 void RecordWriteResult(net::CacheType cache_type, WriteResult result) { argument
107 "SyncWriteResult", cache_type, result, WRITE_RESULT_MAX);
110 void RecordCheckEOFResult(net::CacheType cache_type, CheckEOFResult result) { argument
112 "SyncCheckEOFResult", cache_type,
116 void RecordCloseResult(net::CacheType cache_type, CloseResult result) { argument
118 "SyncCloseResult", cache_type, resul
226 OpenEntry( net::CacheType cache_type, const FilePath& path, const uint64 entry_hash, bool had_index, SimpleEntryCreationResults *out_results) argument
250 CreateEntry( net::CacheType cache_type, const FilePath& path, const std::string& key, const uint64 entry_hash, bool had_index, SimpleEntryCreationResults *out_results) argument
718 SimpleSynchronousEntry(net::CacheType cache_type, const FilePath& path, const std::string& key, const uint64 entry_hash) argument
[all...]
H A Dsimple_synchronous_entry.h19 #include "net/base/cache_type.h"
115 static void OpenEntry(net::CacheType cache_type,
121 static void CreateEntry(net::CacheType cache_type,
203 net::CacheType cache_type,
H A Dsimple_backend_impl.cc84 void MaybeHistogramFdLimit(net::CacheType cache_type) { argument
111 "FileDescriptorLimitStatus", cache_type,
115 "FileDescriptorLimitSoft", cache_type, soft_fd_limit);
117 "FileDescriptorLimitHard", cache_type, hard_fd_limit);
185 void RecordIndexLoad(net::CacheType cache_type, argument
191 SIMPLE_CACHE_UMA(TIMES, "CreationToIndex", cache_type, creation_to_index);
194 "CreationToIndexFail", cache_type, creation_to_index);
202 net::CacheType cache_type,
206 cache_type_(cache_type),
210 cache_type
200 SimpleBackendImpl(const FilePath& path, int max_bytes, net::CacheType cache_type, base::SingleThreadTaskRunner* cache_thread, net::NetLog* net_log) argument
[all...]
H A Dsimple_index.h23 #include "net/base/cache_type.h"
82 net::CacheType cache_type,
H A Dsimple_entry_impl.h16 #include "net/base/cache_type.h"
52 SimpleEntryImpl(net::CacheType cache_type,
/external/eigen/bench/
H A Dcheck_cache_queries.cpp59 int cache_type = 0; local
63 cache_type = (abcd[0] & 0x0F) >> 0;
71 cout << "cache[" << cache_id << "].type = " << cache_type << "\n"; local
80 } while(cache_type>0 && cache_id<16);
/external/chromium_org/net/tools/disk_cache_memory_test/
H A Ddisk_cache_memory_test.cc26 #include "net/base/cache_type.h"
65 const net::CacheType cache_type; member in struct:disk_cache::__anon9850::CacheSpec
70 net::CacheType cache_type,
73 cache_type(cache_type),
99 spec.cache_type, spec.backend_type, spec.path, 0, false,
249 << " with <cache_spec>=<backend_type>:<cache_type>:<cache_path>"
252 << " <cache_type>='disk_cache'|'app_cache'" << std::endl
69 CacheSpec(net::BackendType backend_type, net::CacheType cache_type, const base::FilePath& path) argument
/external/linux-tools-perf/util/
H A Dparse-events.c252 static int is_cache_op_valid(u8 cache_type, u8 cache_op) argument
254 if (hw_cache_stat[cache_type] & COP(cache_op))
260 static char *event_cache_name(u8 cache_type, u8 cache_op, u8 cache_result) argument
265 sprintf(name, "%s-%s-%s", hw_cache[cache_type][0],
269 sprintf(name, "%s-%s", hw_cache[cache_type][0],
325 u8 cache_type, cache_op, cache_result; local
327 cache_type = (config >> 0) & 0xff;
328 if (cache_type > PERF_COUNT_HW_CACHE_MAX)
339 if (!is_cache_op_valid(cache_type, cache_op))
342 return event_cache_name(cache_type, cache_o
384 int cache_type = -1, cache_op = -1, cache_result = -1; local
[all...]
/external/chromium_org/webkit/browser/appcache/
H A Dappcache_disk_cache.h83 int Init(net::CacheType cache_type, const base::FilePath& directory,
H A Dappcache_disk_cache.cc13 #include "net/base/cache_type.h"
264 int AppCacheDiskCache::Init(net::CacheType cache_type, argument
279 cache_type, backend_type, cache_directory, cache_size,
/external/chromium_org/android_webview/browser/net/
H A Daw_url_request_context_getter.cc24 #include "net/base/cache_type.h"
193 net::BackendType cache_type = net::CACHE_BACKEND_SIMPLE; local
196 cache_type = net::CACHE_BACKEND_BLOCKFILE;
205 cache_type,
/external/chromium/net/disk_cache/
H A Dhistogram_macros.h106 switch (BACKEND_OBJ->cache_type()) {\
H A Dbackend_impl.h177 net::CacheType cache_type() const { function in class:disk_cache::BackendImpl
H A Dstats.cc149 if (!size_histogram_ && backend->cache_type() == net::DISK_CACHE &&
/external/chromium_org/net/disk_cache/
H A Dhistogram_macros.h105 switch (BACKEND_OBJ->cache_type()) {\
H A Dbackend_impl.h179 net::CacheType cache_type() const { function in class:disk_cache::BackendImpl
/external/chromium_org/net/disk_cache/v3/
H A Dbackend_worker.cc201 if (cache_type() == net::APP_CACHE) {
204 } else if (cache_type() == net::SHADER_CACHE) {
H A Dbackend_impl_v3.h120 net::CacheType cache_type() const { function in class:disk_cache::BackendImpl
/external/eigen/Eigen/src/Core/util/
H A DMemory.h768 int cache_type = 0; local
772 cache_type = (abcd[0] & 0x0F) >> 0;
773 if(cache_type==1||cache_type==3) // data or unified cache
792 } while(cache_type>0 && cache_id<16);
/external/chromium_org/components/nacl/browser/
H A Dpnacl_translation_cache.cc333 int PnaclTranslationCache::Init(net::CacheType cache_type, argument
338 cache_type,

Completed in 1696 milliseconds

12