Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 - 25 of 40) sorted by relevance

12

/third_party/ffmpeg/libavformat/
H A Dmxg.c39 unsigned int cache_size; member
69 mxg->cache_size = 0; in mxg_read_header()
99 static int mxg_update_cache(AVFormatContext *s, unsigned int cache_size) in mxg_update_cache() argument
108 if (current_pos > current_pos + cache_size) in mxg_update_cache()
112 current_pos + cache_size + in mxg_update_cache()
121 ret = avio_read(s->pb, mxg->buffer_ptr + mxg->cache_size, in mxg_update_cache()
122 cache_size - mxg->cache_size); in mxg_update_cache()
126 mxg->cache_size += ret; in mxg_update_cache()
139 if (mxg->cache_size < in mxg_read_packet()
[all...]
H A Dassenc.c39 int cache_size; member
108 ass->cache_size -= n; in purge_dialogues()
111 n, ass->cache_size, ass->expected_readorder); in purge_dialogues()
150 ass->cache_size++; in insert_dialogue()
/third_party/mesa3d/src/gallium/tests/unit/
H A 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()
/third_party/libunwind/libunwind/src/x86_64/
H A DGtrace.c287 uint64_t cache_size = 1u << cache->log_size; in trace_lookup() local
288 uint64_t slot = ((rip * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); in trace_lookup()
308 if (++slot >= cache_size) in trace_lookup()
309 slot -= cache_size; in trace_lookup()
317 if (unlikely(addr || cache->used >= cache_size / 2)) in trace_lookup()
322 cache_size = 1u << cache->log_size; in trace_lookup()
323 slot = ((rip * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); in trace_lookup()
/third_party/libunwind/libunwind/src/aarch64/
H A DGtrace.c289 uint64_t cache_size = 1u << cache->log_size; in trace_lookup() local
290 uint64_t slot = ((pc * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); in trace_lookup()
310 if (++slot >= cache_size) in trace_lookup()
311 slot -= cache_size; in trace_lookup()
319 if (unlikely(addr || cache->used >= cache_size / 2)) in trace_lookup()
324 cache_size = 1u << cache->log_size; in trace_lookup()
325 slot = ((pc * 0x9e3779b97f4a7c16) >> 43) & (cache_size-1); in trace_lookup()
/third_party/libunwind/libunwind/src/arm/
H A DGtrace.c290 uint32_t cache_size = 1u << cache->log_size; in trace_lookup() local
291 uint32_t slot = ((pc * 0x9e3779b9) >> 11) & (cache_size-1); in trace_lookup()
311 if (++slot >= cache_size) in trace_lookup()
312 slot -= cache_size; in trace_lookup()
320 if (unlikely(addr || cache->used >= cache_size / 2)) in trace_lookup()
325 cache_size = 1u << cache->log_size; in trace_lookup()
326 slot = ((pc * 0x9e3779b9) >> 11) & (cache_size-1); in trace_lookup()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_cache.c48 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()
298 mgr->cache_size = 0; in pb_cache_init()
H A Dpb_cache.h58 uint64_t cache_size; member
/third_party/skia/third_party/externals/piex/src/binary_parse/
H A Dcached_paged_byte_array.cc18 // The cache is implemented as a vector (of size 'cache_size') of shared
30 const PagedByteArray* paged_byte_array, size_t cache_size) in CachedPagedByteArray()
31 : paged_byte_array_(paged_byte_array), cache_size_(cache_size) {} in CachedPagedByteArray()
29 CachedPagedByteArray( const PagedByteArray* paged_byte_array, size_t cache_size) CachedPagedByteArray() argument
H A Dcached_paged_byte_array.h36 // 'cache_size'.
38 size_t cache_size);
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_bo.c53 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()
404 device->bo_cache.cache_size = 0; in v3dv_bo_cache_init()
468 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free()
476 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free()
501 cache->cache_size += bo->size; in v3dv_bo_free()
/third_party/alsa-lib/test/
H A Dmixtest.c203 int cache_size = 1024*1024; variable
214 a = malloc(cache_size); in init()
215 for (count = cache_size - 1; count >= 0; count--) { in init()
246 cache_size = atoi(argv[4]) * 1024; in main()
/third_party/ffmpeg/libavcodec/
H A Dmss12.c124 for (i = 0; i < ctx->cache_size; i++) in pixctx_reset()
140 static av_cold void pixctx_init(PixContext *ctx, int cache_size, in pixctx_init() argument
145 ctx->cache_size = cache_size + 4; in pixctx_init()
146 ctx->num_syms = cache_size; in pixctx_init()
172 for (i = 0; i < pctx->cache_size; i++) { in decode_pixel()
182 val = FFMIN(i, pctx->cache_size - 1); in decode_pixel()
187 for (i = 0; i < pctx->cache_size - 1; i++) in decode_pixel()
H A Dmss12.h61 int cache_size, num_syms; member
/third_party/ffmpeg/libavfilter/
H A Df_graphmonitor.c60 unsigned int cache_size; member
122 s->cache = av_fast_realloc(NULL, &s->cache_size, in init()
316 if (s->cache_index + 1 >= s->cache_size / sizeof(*(s->cache))) { in draw_items()
317 void *ptr = av_fast_realloc(s->cache, &s->cache_size, s->cache_size * 2); in draw_items()
468 s->cache_size = s->cache_index = 0; in uninit()
H A Df_ebur128.c67 int cache_size; member
470 ebur128->i400.cache_size = I400_BINS(outlink->sample_rate); in config_audio_output()
471 ebur128->i3000.cache_size = I3000_BINS(outlink->sample_rate); in config_audio_output()
472 ebur128->i400.cache[i] = av_calloc(ebur128->i400.cache_size, sizeof(*ebur128->i400.cache[0])); in config_audio_output()
473 ebur128->i3000.cache[i] = av_calloc(ebur128->i3000.cache_size, sizeof(*ebur128->i3000.cache[0])); in config_audio_output()
653 ebur128->i##time.cache_size) { \ in filter_frame()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c578 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()
/third_party/node/deps/v8/third_party/jinja2/
H A Denvironment.py233 `cache_size`
308 cache_size=400,
351 self.cache = create_cache(cache_size)
403 cache_size=missing,
419 del args["self"], args["cache_size"], args["extensions"]
430 if cache_size is not missing:
431 rv.cache = create_cache(cache_size)
/third_party/node/tools/inspector_protocol/jinja2/
H A Denvironment.py205 `cache_size`
283 cache_size=400,
325 self.cache = create_cache(cache_size)
363 loader=missing, cache_size=missing, auto_reload=missing,
377 del args['self'], args['cache_size'], args['extensions']
388 if cache_size is not missing:
389 rv.cache = create_cache(cache_size)
/third_party/skia/third_party/externals/jinja2/
H A Denvironment.py233 `cache_size`
308 cache_size=400,
351 self.cache = create_cache(cache_size)
403 cache_size=missing,
419 del args["self"], args["cache_size"], args["extensions"]
430 if cache_size is not missing:
431 rv.cache = create_cache(cache_size)
/third_party/python/Modules/_sqlite/clinic/
H A Dconnection.c.h10 int cache_size, int uri);
28 int cache_size = 128; in pysqlite_connection_init() local
87 cache_size = _PyLong_AsInt(fastargs[6]); in pysqlite_connection_init()
88 if (cache_size == -1 && PyErr_Occurred()) { in pysqlite_connection_init()
100 return_value = pysqlite_connection_init_impl((pysqlite_Connection *)self, database, timeout, detect_types, isolation_level, check_same_thread, factory, cache_size, uri); in pysqlite_connection_init()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_bufmgr.c49 uint32_t cache_size = 0; in v3d_bo_dump_stats() local
52 cache_size += bo->size; in v3d_bo_dump_stats()
58 fprintf(stderr, " BOs cached size: %dkb\n", cache_size / 1024); in v3d_bo_dump_stats()
/third_party/cups-filters/cupsfilters/
H A Dimage.c565 int cache_size, /* Size of tile cache in bytes */ in cupsImageSetMaxTiles() local
580 cache_size = max_tiles * CUPS_TILE_SIZE * CUPS_TILE_SIZE * in cupsImageSetMaxTiles()
608 if (cache_size > max_size) in cupsImageSetMaxTiles()
/third_party/jinja2/
H A Denvironment.py234 `cache_size`
312 cache_size: int = 400,
355 self.cache = create_cache(cache_size)
404 cache_size: int = missing,
425 del args["self"], args["cache_size"], args["extensions"], args["enable_async"]
436 if cache_size is not missing:
437 rv.cache = create_cache(cache_size)
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dframe_dec.c698 const size_t cache_size = top_size * cache_height; in AllocateMemory() local
705 + cache_size + alpha_size + WEBP_ALIGN_CST; in AllocateMemory()
767 mem += cache_size; in AllocateMemory()

Completed in 24 milliseconds

12