Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/gallium/tests/unit/
Du_cache_test.c67 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/
Dpingpong.c296 DEBUGASSERT((ptr+pp->cache_size) <= (buf+BUFSIZE+1)); in Curl_pp_readresp()
297 memcpy(ptr, pp->cache, pp->cache_size); in Curl_pp_readresp()
298 gotbytes = (ssize_t)pp->cache_size; in Curl_pp_readresp()
301 pp->cache_size = 0; /* zero the size just in case */ in Curl_pp_readresp()
426 pp->cache_size = clipamount; in Curl_pp_readresp()
427 pp->cache = malloc(pp->cache_size); in Curl_pp_readresp()
429 memcpy(pp->cache, pp->linestart_resp, pp->cache_size); in Curl_pp_readresp()
503 return (!pp->sendleft && pp->cache && pp->nread_resp < pp->cache_size) ? in Curl_pp_moredata()
Dpingpong.h50 size_t cache_size; /* size of cache in bytes */ member
Dimap.c1133 size_t chunk = pp->cache_size; in imap_state_fetch_resp()
1151 if(pp->cache_size > chunk) { in imap_state_fetch_resp()
1153 memmove(pp->cache, pp->cache + chunk, pp->cache_size - chunk); in imap_state_fetch_resp()
1154 pp->cache_size -= chunk; in imap_state_fetch_resp()
1161 pp->cache_size = 0; in imap_state_fetch_resp()
/external/libunwind/src/x86_64/
DGtrace.c286 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/piex/src/binary_parse/
Dcached_paged_byte_array.cc30 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()
Dcached_paged_byte_array.h38 size_t cache_size);
/external/valgrind/drd/scripts/
Drun-splash2184 cache_size=$(get_cache_size)
185 log2_cache_size=$(log2 ${cache_size})
194 test_args=tk15.O run_test ../CHOLESKY -C$((cache_size))
/external/eigen/bench/
Dcheck_cache_queries.cpp69 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()
Dbench_gemm.cpp132 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/e2fsprogs/lib/ext2fs/
Dinode.c67 for (i=0; i < fs->icache->cache_size; i++) in ext2fs_flush_icache()
92 fs->icache->cache_size = 4; in create_icache()
94 retval = ext2fs_get_array(fs->icache->cache_size, in create_icache()
553 for (i=0; i < fs->icache->cache_size; i++) { in ext2fs_read_inode_full()
617 fs->icache->cache_size; in ext2fs_read_inode_full()
652 for (i=0; i < fs->icache->cache_size; i++) { in ext2fs_write_inode_full()
Dext2fsP.h71 int cache_size; member
/external/webrtc/webrtc/base/
Ddiskcache.cc217 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/
Dsanitizer_quarantine.h51 void Init(uptr size, uptr cache_size) { in Init() argument
55 max_cache_size_ = cache_size; in Init()
Dsanitizer_coverage_libcdep.cc90 uptr cache_size);
427 uptr cache_size) { in IndirCall() argument
437 callee_cache[1] = cache_size; in IndirCall()
441 for (uptr i = 2; i < cache_size; i++) { in IndirCall()
/external/chromium-trace/catapult/dashboard/dashboard/
Dstored_object.py155 cache_size = cache_values[head_key]
157 for key in keys[:cache_size]:
/external/opencv3/3rdparty/libwebp/enc/
Dwebpenc.c179 const size_t cache_size = (3 * YUV_SIZE + PRED_SIZE) * sizeof(uint8_t); in InitVP8Encoder() local
191 + cache_size // working caches in InitVP8Encoder()
209 sizeof(VP8Encoder) + ALIGN_CST, cache_size, info_size, in InitVP8Encoder()
/external/squashfs-tools/squashfs-tools/
Dxattr.c79 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/eigen/Eigen/src/Core/util/
DMemory.h803 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/autotest/client/bin/
Dsite_utils.py772 cache_size = _get_int_from_file(_CPUINFO, 'cache size', ': ', ' KB')
774 assert cache_size >= 64, 'Unreasonably small cache.'
775 return cache_size
/external/opencv3/3rdparty/libwebp/dec/
Dframe.c425 const size_t cache_size = top_size * cache_height; in AllocateMemory() local
432 + cache_size + alpha_size + ALIGN_MASK; in AllocateMemory()
494 mem += cache_size; in AllocateMemory()
/external/dnsmasq/src/
Dcache.c753 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/
Dftccache.h135 FT_Offset cache_size; member
/external/webp/src/dec/
Dframe.c717 const size_t cache_size = top_size * cache_height; in AllocateMemory() local
724 + cache_size + alpha_size + WEBP_ALIGN_CST; in AllocateMemory()
786 mem += cache_size; in AllocateMemory()
/external/opencv3/modules/core/src/
Dcuda_info.cpp109 static const int cache_size = static_cast<int>(sizeof(versions) / sizeof(versions[0])); in deviceSupports()
115 if (devId < cache_size && versions[devId] >= 0) in deviceSupports()
123 if (devId < cache_size) in deviceSupports()

12