/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/curl/lib/ |
D | pingpong.c | 299 DEBUGASSERT((ptr+pp->cache_size) <= (buf+BUFSIZE+1)); in Curl_pp_readresp() 300 memcpy(ptr, pp->cache, pp->cache_size); in Curl_pp_readresp() 301 gotbytes = (ssize_t)pp->cache_size; in Curl_pp_readresp() 304 pp->cache_size = 0; /* zero the size just in case */ in Curl_pp_readresp() 429 pp->cache_size = clipamount; in Curl_pp_readresp() 430 pp->cache = malloc(pp->cache_size); in Curl_pp_readresp() 432 memcpy(pp->cache, pp->linestart_resp, pp->cache_size); in Curl_pp_readresp() 506 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
|
D | imap.c | 1137 size_t chunk = pp->cache_size; in imap_state_fetch_resp() 1155 if(pp->cache_size > chunk) { in imap_state_fetch_resp() 1157 memmove(pp->cache, pp->cache + chunk, pp->cache_size - chunk); in imap_state_fetch_resp() 1158 pp->cache_size -= chunk; in imap_state_fetch_resp() 1165 pp->cache_size = 0; in imap_state_fetch_resp()
|
/external/libunwind/src/x86_64/ |
D | Gtrace.c | 286 uint64_t cache_size = 1u << cache->log_size; in trace_lookup() local 287 uint64_t slot = ((rip * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); in trace_lookup() 307 if (++slot >= cache_size) in trace_lookup() 308 slot -= cache_size; in trace_lookup() 316 if (unlikely(addr || cache->used >= cache_size / 2)) in trace_lookup() 321 cache_size = 1u << cache->log_size; in trace_lookup() 322 slot = ((rip * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); in trace_lookup()
|
/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() 208 mgr->cache_size -= buf->size; in pb_cache_reclaim_buffer() 284 mgr->cache_size = 0; in pb_cache_init()
|
D | pb_cache.h | 56 uint64_t cache_size; member
|
/external/syslinux/core/fs/ |
D | diskio.c | 29 dev.cache_size = 128*1024; in device_init() 30 dev.cache_data = malloc(dev.cache_size); in device_init()
|
D | cache.c | 27 if (dev->cache_size < dev->cache_block_size + 2*sizeof(struct cache)) { in cache_init() 34 (dev->cache_size - sizeof(struct cache))/ in cache_init()
|
/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/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() 763 for (i = 0; i < fs->icache->cache_size; i++) { in ext2fs_read_inode_full() 792 cache_slot = (fs->icache->cache_last + 1) % fs->icache->cache_size; in ext2fs_read_inode_full() 891 for (i=0; i < fs->icache->cache_size; i++) { in ext2fs_write_inode_full()
|
D | ext2fsP.h | 72 unsigned int cache_size; member
|
/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/webrtc/webrtc/base/ |
D | diskcache.cc | 217 size_t cache_size = 0; in CheckLimit() local 219 cache_size += it->second.size; in CheckLimit() 221 ASSERT(cache_size == total_size_); in CheckLimit()
|
/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()
|
D | sanitizer_coverage_libcdep.cc | 92 uptr cache_size); 444 uptr cache_size) { in IndirCall() argument 454 callee_cache[1] = cache_size; in IndirCall() 458 for (uptr i = 2; i < cache_size; i++) { in IndirCall()
|
/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()
|
/external/libmojo/third_party/jinja2/ |
D | environment.py | 257 cache_size=50, argument 298 self.cache = create_cache(cache_size) 330 loader=missing, cache_size=missing, auto_reload=missing, argument 355 if cache_size is not missing: 356 rv.cache = create_cache(cache_size)
|
/external/eigen/Eigen/src/Core/util/ |
D | Memory.h | 803 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1); 807 case 1: l1 = cache_size; break; 808 case 2: l2 = cache_size; break; 809 case 3: l3 = cache_size; break;
|
/external/syslinux/core/include/ |
D | fs.h | 141 uint32_t cache_size; member
|
/external/dnsmasq/src/ |
D | cache.c | 753 static int read_hostsfile(char *filename, int index, int cache_size) in read_hostsfile() argument 757 int addr_count = 0, name_count = cache_size, lineno = 0; in read_hostsfile() 815 if ((name_count - cache_size) > 1000) in read_hostsfile() 818 cache_size = name_count; in read_hostsfile()
|
/external/freetype/src/cache/ |
D | ftccache.h | 135 FT_Offset cache_size; member
|
/external/webp/src/dec/ |
D | frame_dec.c | 707 const size_t cache_size = top_size * cache_height; in AllocateMemory() local 714 + cache_size + alpha_size + WEBP_ALIGN_CST; in AllocateMemory() 776 mem += cache_size; in AllocateMemory()
|