/external/cpu_features/src/ |
D | cpuinfo_x86.c | 267 .cache_size = 4 * KiB, in GetCacheLevelInfo() 275 .cache_size = 4 * MiB, in GetCacheLevelInfo() 283 .cache_size = 4 * KiB, in GetCacheLevelInfo() 291 .cache_size = 4 * MiB, in GetCacheLevelInfo() 299 .cache_size = 4 * MiB, in GetCacheLevelInfo() 307 .cache_size = 8 * KiB, in GetCacheLevelInfo() 315 .cache_size = 16 * KiB, in GetCacheLevelInfo() 323 .cache_size = 32 * KiB, in GetCacheLevelInfo() 331 .cache_size = 8 * KiB, in GetCacheLevelInfo() 339 .cache_size = 4 * MiB, in GetCacheLevelInfo() [all …]
|
/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/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_quarantine.h | 84 void Init(uptr size, uptr cache_size) { in Init() argument 87 CHECK((size == 0 && cache_size == 0) || cache_size != 0); in Init() 91 atomic_store_relaxed(&max_cache_size_, cache_size); in Init() 103 uptr cache_size = GetCacheSize(); in Put() local 104 if (cache_size) { in Put() 111 if (c->Size() > cache_size) in Put() 161 uptr cache_size = cache_.Size(); in Recycle() local 163 CHECK_GE(cache_size, overhead_size); in Recycle() 168 if (cache_size > overhead_size && in Recycle() 170 cache_size * kOverheadThresholdPercents) { in Recycle()
|
/external/curl/lib/ |
D | pingpong.c | 302 if((ptr + pp->cache_size) > (buf + data->set.buffer_size + 1)) { in Curl_pp_readresp() 306 memcpy(ptr, pp->cache, pp->cache_size); in Curl_pp_readresp() 307 gotbytes = (ssize_t)pp->cache_size; in Curl_pp_readresp() 310 pp->cache_size = 0; /* zero the size just in case */ in Curl_pp_readresp() 437 pp->cache_size = clipamount; in Curl_pp_readresp() 438 pp->cache = malloc(pp->cache_size); in Curl_pp_readresp() 440 memcpy(pp->cache, pp->linestart_resp, pp->cache_size); in Curl_pp_readresp() 508 return (!pp->sendleft && pp->cache && pp->nread_resp < pp->cache_size) ? in Curl_pp_moredata()
|
D | pingpong.h | 50 size_t cache_size; /* size of cache in bytes */ member
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_cache.c | 48 mgr->cache_size -= buf->size; in destroy_buffer_locked() 99 if (mgr->cache_size + buf->size > mgr->max_cache_size) { in pb_cache_add_buffer() 109 mgr->cache_size += buf->size; in pb_cache_add_buffer() 210 mgr->cache_size -= buf->size; in pb_cache_reclaim_buffer() 296 mgr->cache_size = 0; in pb_cache_init()
|
D | pb_cache.h | 56 uint64_t cache_size; member
|
/external/cpu_features/test/ |
D | cpuinfo_x86_test.cc | 219 EXPECT_EQ(info.levels[0].cache_size, 32 * KiB); in TEST_F() 227 EXPECT_EQ(info.levels[1].cache_size, 32 * KiB); in TEST_F() 235 EXPECT_EQ(info.levels[2].cache_size, 256 * KiB); in TEST_F() 243 EXPECT_EQ(info.levels[3].cache_size, 6 * MiB); in TEST_F() 268 EXPECT_EQ(info.levels[0].cache_size, 32 * KiB); in TEST_F() 276 EXPECT_EQ(info.levels[1].cache_size, 32 * KiB); in TEST_F() 284 EXPECT_EQ(info.levels[2].cache_size, 256 * KiB); in TEST_F() 292 EXPECT_EQ(info.levels[3].cache_size, 6 * MiB); in TEST_F()
|
/external/piex/src/binary_parse/ |
D | cached_paged_byte_array.cc | 30 const PagedByteArray* paged_byte_array, size_t cache_size) in CachedPagedByteArray() argument 31 : paged_byte_array_(paged_byte_array), cache_size_(cache_size) {} in CachedPagedByteArray()
|
D | cached_paged_byte_array.h | 38 size_t cache_size);
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 53 fprintf(stderr, " BOs cached size: %dkb\n", cache->cache_size / 1024); in bo_dump_stats() 91 cache->cache_size -= bo->size; in bo_remove_from_cache() 402 device->bo_cache.cache_size = 0; in v3dv_bo_cache_init() 460 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free() 468 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free() 493 cache->cache_size += bo->size; in v3dv_bo_free()
|
/external/gemmlowp/meta/ |
D | single_thread_gemm.h | 406 inline int CalculateCacheFriendlyTasksCount(int cache_size, int constant_memory, in CalculateCacheFriendlyTasksCount() argument 409 assert(constant_memory + per_chunk_memory < cache_size); in CalculateCacheFriendlyTasksCount() 410 const int available_cache = cache_size - constant_memory; in CalculateCacheFriendlyTasksCount() 437 template <int cache_size = 256 * 1024> 443 return cache_size; in EstimateScratchSize() 461 internal::CalculateCacheFriendlyTasksCount(cache_size, lhs_scratch, in ExecuteDispatch3D() 486 template <int cache_size = 256 * 1024> 492 return cache_size; in EstimateScratchSize() 510 internal::CalculateCacheFriendlyTasksCount(cache_size, rhs_scratch, in ExecuteDispatch3D()
|
/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()
|
/external/e2fsprogs/lib/ext2fs/ |
D | inode.c | 72 for (i=0; i < fs->icache->cache_size; i++) in ext2fs_flush_icache() 90 for (i = 0; i < icache->cache_size; i++) in ext2fs_free_inode_cache() 98 errcode_t ext2fs_create_inode_cache(ext2_filsys fs, unsigned int cache_size) in ext2fs_create_inode_cache() argument 116 fs->icache->cache_size = cache_size; in ext2fs_create_inode_cache() 118 retval = ext2fs_get_array(fs->icache->cache_size, in ext2fs_create_inode_cache() 124 for (i = 0; i < fs->icache->cache_size; i++) { in ext2fs_create_inode_cache() 778 for (i = 0; i < fs->icache->cache_size; i++) { in ext2fs_read_inode2() 811 cache_slot = (fs->icache->cache_last + 1) % fs->icache->cache_size; in ext2fs_read_inode2() 915 for (i=0; i < fs->icache->cache_size; i++) { in ext2fs_write_inode2()
|
/external/llvm-project/lld/test/ELF/lto/ |
D | cache.ll | 33 ; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=0s:cache_size=0%:cach… 37 ; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=0s:cache_size=0%:cach… 47 ; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=0s:cache_size=0%:cach…
|
/external/puffin/scripts/ |
D | test_corpus.py | 124 if args.cache_size: 125 cmd += ['--cache_size={}'.format(args.cache_size)]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fixed_length_record_reader_op.cc | 93 int64 cache_size = lookahead_cache_.size(); in ReadLocked() local 95 Status s = buffered_inputstream_->SkipNBytes(hop_bytes_ - cache_size); in ReadLocked()
|
/external/python/jinja/tests/ |
D | test_loader.py | 73 env = Environment(loader=TestLoader(), cache_size=-1) 82 env = Environment(loader=loaders.DictLoader(mapping), cache_size=0) 88 env = Environment(loader=loader, cache_size=2) 102 env = Environment(loader=loader1, cache_size=2)
|
/external/capstone/ |
D | cs.c | 838 unsigned int cache_size = INSN_CACHE_SIZE; in cs_disasm() local 856 cache_size = (unsigned int) count; in cs_disasm() 864 total_size = sizeof(cs_insn) * cache_size; in cs_disasm() 969 if (f == cache_size) { in cs_disasm() 971 cache_size = cache_size * 8 / 5; // * 1.6 ~ golden ratio in cs_disasm() 972 total_size += (sizeof(cs_insn) * cache_size); in cs_disasm() 1005 } else if (f != cache_size) { in cs_disasm() 1007 tmp = cs_mem_realloc(total, total_size - (cache_size - f) * sizeof(*insn_cache)); in cs_disasm()
|
/external/cpu_features/include/ |
D | cpu_features_cache_info.h | 36 int cache_size; // Cache size in bytes member
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_quarantine.h | 51 void Init(uptr size, uptr cache_size) { in Init() argument 55 max_cache_size_ = cache_size; in Init()
|
/external/llvm-project/lld/test/wasm/lto/ |
D | cache.ll | 32 ; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=0s:cache_size=0%:cac… 36 ; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=0s:cache_size=0%:cac…
|
/external/fastrpc/src/ |
D | listener_android.c | 270 int cache_size = emin == 0 ? 0 : atoi(emin); in listener2() local 278 …(HIGH, "listener using ion heap: %d flags: %x cache: %lld\n", (int)heapid, (int)flags, cache_size); in listener2() 302 if(ALIGNB(inBufsLenReq * 2) < inBufsLen && inBufsLen > cache_size) { in listener2() 350 if(ALIGNB(outBufsLen*2) < outBufsCapacity && outBufsCapacity > cache_size) { in listener2()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_program.c | 578 size_t cache_size; in nvc0_program_translate() local 651 cached_data = disk_cache_get(disk_shader_cache, key, &cache_size); in nvc0_program_translate() 653 if (cached_data && cache_size >= blob.size) { // blob.size is the size of serialized "info" in nvc0_program_translate() 656 if (nv50_ir_prog_info_out_deserialize(cached_data, cache_size, offset, &info_out)) in nvc0_program_translate() 667 cache_size = 0; in nvc0_program_translate() 676 cache_size = blob.size; in nvc0_program_translate() 758 info_out.bin.codeSize, cache_size); in nvc0_program_translate()
|
/external/squashfs-tools/squashfs-tools/ |
D | xattr.c | 79 static int cache_bytes = 0, cache_size = 0; variable 346 data_space = cache_size - cache_bytes; in get_xattr_space() 349 data_cache = realloc(data_cache, cache_size + in get_xattr_space() 353 cache_size += realloc_size; in get_xattr_space()
|