/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
D | u_cache_test.c | 67 unsigned cache_size; in main() local 70 for (cache_size = 2; cache_size < (1 << 15); cache_size *= 2) { in main() 71 for (cache_count = (cache_size << 5); cache_count < (cache_size << 10); cache_count *= 2) { in main() 78 printf("Testing cache size of %d with %d values.\n", cache_size, cache_count); in main() 83 cache_size); in main()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | u_cache_test.c | 67 unsigned cache_size; in main() local 70 for (cache_size = 2; cache_size < (1 << 15); cache_size *= 2) { in main() 71 for (cache_count = (cache_size << 5); cache_count < (cache_size << 10); cache_count *= 2) { in main() 78 printf("Testing cache size of %d with %d values.\n", cache_size, cache_count); in main() 83 cache_size); in main()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | cache.test | 52 set cache_size [pager_cache_size db] 57 } $::cache_size 61 # This block of tests checks that it is possible to set the cache_size of a 64 # cache-2.1.*: Test that "PRAGMA cache_size" appears to work with small 66 # cache-2.2.*: Test that "PRAGMA main.cache_size" appears to work with 68 # cache-2.3.*: Test cache_size=1 correctly spills/flushes the cache. 69 # cache-2.4.*: Test cache_size=0 correctly spills/flushes the cache. 83 do_execsql_test cache-2.1.$i.1 "PRAGMA cache_size = $i" 84 do_execsql_test cache-2.1.$i.2 "PRAGMA cache_size" $i 86 do_execsql_test cache-2.1.$i.4 "PRAGMA cache_size" $i [all …]
|
D | pragma.test | 27 # pragma-1.*: Test cache_size, default_cache_size and synchronous on main db. 30 # pragma-4.*: Test cache_size and default_cache_size on attached db. 40 # pragma-15.*: Test that the value set using the cache_size pragma is not 64 PRAGMA cache_size; 72 PRAGMA cache_size=1234; 73 PRAGMA cache_size; 82 PRAGMA cache_size; 90 PRAGMA cache_size; 97 PRAGMA cache_size=-4321; 98 PRAGMA cache_size; [all …]
|
D | shared3.test | 49 PRAGMA main.cache_size = 10; 53 execsql { PRAGMA main.cache_size } db1 57 execsql { PRAGMA main.cache_size } db1 60 execsql { PRAGMA main.cache_size } db2 63 execsql { PRAGMA main.cache_size } db1
|
D | pcache.test | 33 # caches to the sum of the 'cache_size' values for the set of open 45 PRAGMA cache_size=12; 75 execsql "PRAGMA cache_size=10" db2 136 execsql { PRAGMA cache_size = 20 } 156 execsql { PRAGMA cache_size = 15 }
|
D | autovacuum_ioerr2.test | 46 PRAGMA cache_size = 10; 97 PRAGMA cache_size = 10; 107 PRAGMA cache_size = 10;
|
D | thread003.test | 69 # Both "cache_size" parameters are set to 15, so there is a maximum of 86 execsql { PRAGMA cache_size = 15 } 123 execsql { PRAGMA cache_size = 15 } 162 execsql { PRAGMA cache_size = 15 }
|
D | tkt2409.test | 89 PRAGMA cache_size=10; 122 execsql "PRAGMA cache_size = $iCache" 157 PRAGMA cache_size=10; 190 PRAGMA cache_size=20;
|
D | tkt-2d1a5c67d.test | 28 db eval "PRAGMA cache_size=$::ii" 61 db eval "PRAGMA cache_size=$::ii"
|
D | pcache2.test | 39 db eval {PRAGMA cache_size=10} 45 db2 eval {PRAGMA cache_size=50}
|
D | savepoint3.test | 32 PRAGMA cache_size = 10; 52 PRAGMA cache_size = 10; 112 PRAGMA cache_size = 1000;
|
D | backup_malloc.test | 24 PRAGMA cache_size = 10; 39 execsql { PRAGMA cache_size = 10 } db2
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
D | db_bench_sqlite3.cc | 218 std::string cache_size; in PrintEnvironment() local 230 cache_size = val.ToString(); in PrintEnvironment() 235 fprintf(stderr, "CPUCache: %s\n", cache_size.c_str()); in PrintEnvironment() 439 char cache_size[100]; in Open() local 440 snprintf(cache_size, sizeof(cache_size), "PRAGMA cache_size = %d", in Open() 442 status = sqlite3_exec(db_, cache_size, NULL, NULL, &err_msg); in Open()
|
/external/eigen/bench/ |
D | check_cache_queries.cpp | 69 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1); in main() local 77 cout << "cache[" << cache_id << "].size = " << cache_size << "\n"; in main()
|
D | bench_gemm.cpp | 132 int cache_size = -1; in main() local 140 cache_size = atoi(argv[i]+1); in main() 155 if(cache_size>0) in main() 156 setCpuCacheSizes(cache_size,96*cache_size); in main()
|
/external/chromium/net/disk_cache/ |
D | backend_unittest.cc | 367 const int cache_size = 0x10000; // 64 kB in BackendSetSize() local 368 SetMaxSize(cache_size); in BackendSetSize() 376 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(cache_size)); in BackendSetSize() 377 memset(buffer->data(), 0, cache_size); in BackendSetSize() 378 EXPECT_EQ(cache_size / 10, WriteData(entry, 0, 0, buffer, cache_size / 10, in BackendSetSize() 381 EXPECT_EQ(net::ERR_FAILED, WriteData(entry, 1, 0, buffer, cache_size / 5, in BackendSetSize() 385 SetMaxSize(cache_size * 2); in BackendSetSize() 386 EXPECT_EQ(cache_size / 5, WriteData(entry, 1, 0, buffer, cache_size / 5, in BackendSetSize() 390 SetMaxSize(cache_size * 10); in BackendSetSize() 391 EXPECT_EQ(cache_size * 3 / 4, WriteData(entry, 0, 0, buffer, in BackendSetSize() [all …]
|
D | stress_cache.cc | 94 int cache_size = 0x800000; // 8MB in StressTheCache() local 105 path, false, cache_size, net::DISK_CACHE, in StressTheCache()
|
/external/chromium_org/webkit/browser/appcache/ |
D | appcache_unittest.cc | 63 EXPECT_EQ(0L, cache->cache_size()); in TEST() 72 EXPECT_EQ(kFooSize, cache->cache_size()); in TEST() 81 EXPECT_EQ(kFooSize + kBarSize, cache->cache_size()); in TEST() 91 EXPECT_EQ(kFooSize + kBarSize, cache->cache_size()); in TEST() 96 EXPECT_EQ(kFooSize, cache->cache_size()); in TEST() 98 EXPECT_EQ(0L, cache->cache_size()); in TEST() 594 EXPECT_EQ(1 + 2 + 3, cache_record.cache_size); in TEST() 615 EXPECT_EQ(1 + 2 + 3, cache->cache_size()); in TEST()
|
/external/chromium/app/sql/ |
D | connection.h | 126 void set_cache_size(int cache_size) { cache_size_ = cache_size; } in set_cache_size() argument
|
/external/chromium_org/net/disk_cache/simple/ |
D | simple_index_file.h | 58 IndexMetadata(uint64 number_of_entries, uint64 cache_size); 90 uint64 cache_size,
|
D | simple_index_file.cc | 154 uint64 number_of_entries, uint64 cache_size) in IndexMetadata() argument 158 cache_size_(cache_size) {} in IndexMetadata() 265 uint64 cache_size, in WriteToDisk() argument 268 IndexMetadata index_metadata(entry_set.size(), cache_size); in WriteToDisk()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | systeminfo.cc | 66 static void GetProcessorInformation(int* physical_cpus, int* cache_size) { in GetProcessorInformation() argument 87 *cache_size = 0; in GetProcessorInformation() 94 if (next_cache_size >= *cache_size) { in GetProcessorInformation() 95 *cache_size = next_cache_size; in GetProcessorInformation()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_quarantine.h | 49 void Init(uptr size, uptr cache_size) { in Init() argument 52 max_cache_size_ = cache_size; in Init()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | diskcache.cc | 232 size_t cache_size = 0; in CheckLimit() local 234 cache_size += it->second.size; in CheckLimit() 236 ASSERT(cache_size == total_size_); in CheckLimit()
|