/third_party/ffmpeg/libavformat/ |
D | mxg.c | 39 unsigned int cache_size; member 70 mxg->cache_size = 0; in mxg_read_header() 100 static int mxg_update_cache(AVFormatContext *s, unsigned int cache_size) in mxg_update_cache() argument 109 if (current_pos > current_pos + cache_size) in mxg_update_cache() 113 current_pos + cache_size + in mxg_update_cache() 122 ret = avio_read(s->pb, mxg->buffer_ptr + mxg->cache_size, in mxg_update_cache() 123 cache_size - mxg->cache_size); in mxg_update_cache() 127 mxg->cache_size += ret; in mxg_update_cache() 140 if (mxg->cache_size <= OVERREAD_SIZE) { in mxg_read_packet() 146 end = mxg->buffer_ptr + mxg->cache_size; in mxg_read_packet() [all …]
|
D | assenc.c | 39 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/boost/boost/math/special_functions/detail/ |
D | hypergeometric_1F1_bessel.hpp | 63 enum { cache_size = 64 }; enumerator 73 …bessel_cache[cache_size - 1] = bessel_arg > 0 ? boost::math::cyl_bessel_j(b_minus_1_plus_n - 1, 2 … in hypergeometric_1F1_AS_13_3_7_tricomi_series() 74 if (fabs(bessel_cache[cache_size - 1]) < tools::min_value<T>() / tools::epsilon<T>()) in hypergeometric_1F1_AS_13_3_7_tricomi_series() 77 …S_13_3_7_tricomi_series<%1%>", "Underflow in Bessel functions", bessel_cache[cache_size - 1], pol); in hypergeometric_1F1_AS_13_3_7_tricomi_series() 79 …if ((term * bessel_cache[cache_size - 1] < tools::min_value<T>() / (tools::epsilon<T>() * tools::e… in hypergeometric_1F1_AS_13_3_7_tricomi_series() 91 if (!(boost::math::isfinite)(bessel_cache[cache_size - 1])) in hypergeometric_1F1_AS_13_3_7_tricomi_series() 92 …es<%1%>", "Expected finite Bessel function result but got %1%", bessel_cache[cache_size - 1], pol); in hypergeometric_1F1_AS_13_3_7_tricomi_series() 95 …if ((boost::math::isnan)(bessel_cache[cache_size - 1]) || (fabs(bessel_cache[cache_size - 1]) >= t… in hypergeometric_1F1_AS_13_3_7_tricomi_series() 96 …es<%1%>", "Expected finite Bessel function result but got %1%", bessel_cache[cache_size - 1], pol); in hypergeometric_1F1_AS_13_3_7_tricomi_series() 98 … ((std::numeric_limits<T>::has_infinity && !(boost::math::isfinite)(bessel_cache[cache_size - 1])) in hypergeometric_1F1_AS_13_3_7_tricomi_series() [all …]
|
D | hypergeometric_1F1_large_abz.hpp | 29 enum{ cache_size = 64 }; enumerator 43 if (k - cache_offset >= cache_size) in operator ()() 45 cache_offset += cache_size; in operator ()() 58 … gamma_cache[cache_size - 1] = boost::math::gamma_p(alpha_poch + ((int)cache_size - 1), x, pol); in refill_cache() 59 for (int i = cache_size - 1; i > 0; --i) in refill_cache() 65 T gamma_cache[cache_size];
|
/third_party/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()
|
/third_party/boost/boost/accumulators/statistics/ |
D | density.hpp | 37 BOOST_PARAMETER_NESTED_KEYWORD(tag, density_cache_size, cache_size) 74 : cache_size(args[density_cache_size]) in density_impl() 75 , cache(cache_size) in density_impl() 98 if (cnt <= this->cache_size) in operator ()() 106 if (cnt == this->cache_size) in operator ()() 142 else if (cnt > this->cache_size) in operator ()() 194 ar & cache_size; in serialize() local 204 std::size_t cache_size; // number of cached samples member 232 static boost::parameter::keyword<density_cache_size> const cache_size; member
|
D | weighted_density.hpp | 63 : cache_size(args[density_cache_size]) in weighted_density_impl() 64 , cache(cache_size) in weighted_density_impl() 87 if (cnt <= this->cache_size) in operator ()() 95 if (cnt == this->cache_size) in operator ()() 131 else if (cnt > this->cache_size) in operator ()() 181 ar & cache_size; in serialize() local 191 std::size_t cache_size; // number of cached samples member 217 static boost::parameter::keyword<density_cache_size> const cache_size; member
|
D | tail.hpp | 33 BOOST_PARAMETER_NESTED_KEYWORD(tag, right_tail_cache_size, cache_size) 34 BOOST_PARAMETER_NESTED_KEYWORD(tag, left_tail_cache_size, cache_size) 165 , samples(args[tag::tail<LeftRight>::cache_size], args[sample | Sample()]) in tail_impl() 322 static boost::parameter::keyword<tail_cache_size_named_arg<LeftRight> > const cache_size; member
|
/third_party/gstreamer/gstplugins_base/ext/cdparanoia/ |
D | gstcdparanoiasrc.c | 119 src->cache_size = DEFAULT_CACHE_SIZE; in gst_cd_paranoia_src_init() 207 gint i, cache_size; in gst_cd_paranoia_src_open() local 262 cache_size = src->cache_size; in gst_cd_paranoia_src_open() 263 if (cache_size == -1) { in gst_cd_paranoia_src_open() 266 cache_size = 150; in gst_cd_paranoia_src_open() 268 cache_size = paranoia_cachemodel_size (src->p, -1); in gst_cd_paranoia_src_open() 270 paranoia_cachemodel_size (src->p, cache_size); in gst_cd_paranoia_src_open() 271 GST_INFO_OBJECT (src, "set cachemodel size to %u", cache_size); in gst_cd_paranoia_src_open() 470 src->cache_size = g_value_get_int (value); in gst_cd_paranoia_src_set_property() 503 g_value_set_int (value, src->cache_size); in gst_cd_paranoia_src_get_property()
|
D | gstcdparanoiasrc.h | 68 gint cache_size; member
|
/third_party/curl/lib/ |
D | pingpong.c | 300 if((ptr + pp->cache_size) > (buf + data->set.buffer_size + 1)) { in Curl_pp_readresp() 304 memcpy(ptr, pp->cache, pp->cache_size); in Curl_pp_readresp() 305 gotbytes = (ssize_t)pp->cache_size; in Curl_pp_readresp() 308 pp->cache_size = 0; /* zero the size just in case */ in Curl_pp_readresp() 434 pp->cache_size = clipamount; in Curl_pp_readresp() 435 pp->cache = malloc(pp->cache_size); in Curl_pp_readresp() 437 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()
|
/third_party/libunwind/src/aarch64/ |
D | Gtrace.c | 289 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/src/arm/ |
D | Gtrace.c | 291 uint32_t cache_size = 1u << cache->log_size; in trace_lookup() local 292 uint32_t slot = ((pc * 0x9e3779b9) >> 11) & (cache_size-1); in trace_lookup() 312 if (++slot >= cache_size) in trace_lookup() 313 slot -= cache_size; in trace_lookup() 321 if (unlikely(addr || cache->used >= cache_size / 2)) in trace_lookup() 326 cache_size = 1u << cache->log_size; in trace_lookup() 327 slot = ((pc * 0x9e3779b9) >> 11) & (cache_size-1); in trace_lookup()
|
/third_party/libunwind/src/x86_64/ |
D | Gtrace.c | 287 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/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() 298 mgr->cache_size = 0; in pb_cache_init()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/ |
D | cache_embedding.cc | 66 int64_t cache_size = 0; in CheckHostCacheParamSize() local 75 … ((host_size != 0 && tmp_host_size != host_size) || (cache_size != 0 && tmp_cache_size != cache_si… in CheckHostCacheParamSize() 79 cache_size = tmp_cache_size; in CheckHostCacheParamSize() 82 if (cache_size > host_size) { in CheckHostCacheParamSize() 206 void InitHashMapData(void *data, const int64_t host_size, const int64_t cache_size, const size_t ha… in InitHashMapData() argument 222 size_t size = static_cast<size_t>(cache_size); in InitHashMapData() 243 …ePtr InitHashMap(const FuncGraphPtr &func_graph, const int64_t host_size, const int64_t cache_size, in InitHashMap() argument 246 size_t hashmap_size = static_cast<size_t>(cache_size * kEmptyRate); in InitHashMap() 251 InitHashMapData<int64_t>(new_tensor->data_c(), host_size, cache_size, hashmap_size, byte_size); in InitHashMap() 253 InitHashMapData<int32_t>(new_tensor->data_c(), host_size, cache_size, hashmap_size, byte_size); in InitHashMap() [all …]
|
/third_party/flutter/skia/third_party/externals/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);
|
/third_party/skia/third_party/externals/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);
|
/third_party/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() 405 device->bo_cache.cache_size = 0; in v3dv_bo_cache_init() 463 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free() 471 bo->size > cache->max_cache_size - cache->cache_size) { in v3dv_bo_free() 496 cache->cache_size += bo->size; in v3dv_bo_free()
|
/third_party/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() 789 for (i = 0; i < fs->icache->cache_size; i++) { in ext2fs_read_inode2() 822 cache_slot = (fs->icache->cache_last + 1) % fs->icache->cache_size; in ext2fs_read_inode2() 926 for (i=0; i < fs->icache->cache_size; i++) { in ext2fs_write_inode2()
|
/third_party/ffmpeg/libavcodec/ |
D | mss12.c | 124 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()
|
/third_party/alsa-lib/test/ |
D | mixtest.c | 203 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/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()
|