/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | gfx7_urb.c | 223 unsigned entry_size[4]; in gfx7_upload_urb() local 224 entry_size[MESA_SHADER_VERTEX] = vs_size; in gfx7_upload_urb() 226 entry_size[i] = prog_data[i] ? prog_data[i]->urb_entry_size : 1; in gfx7_upload_urb() 232 if (brw->urb.vsize == entry_size[MESA_SHADER_VERTEX] && in gfx7_upload_urb() 234 brw->urb.gsize == entry_size[MESA_SHADER_GEOMETRY] && in gfx7_upload_urb() 236 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] && in gfx7_upload_urb() 237 brw->urb.dsize == entry_size[MESA_SHADER_TESS_EVAL]) { in gfx7_upload_urb() 240 brw->urb.vsize = entry_size[MESA_SHADER_VERTEX]; in gfx7_upload_urb() 242 brw->urb.gsize = entry_size[MESA_SHADER_GEOMETRY]; in gfx7_upload_urb() 244 brw->urb.hsize = entry_size[MESA_SHADER_TESS_CTRL]; in gfx7_upload_urb() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_callstack.cpp | 88 int entry_size = stack.entry_size; in update_max_depth() local 90 elements = (stack.loop + stack.push_wqm ) * entry_size; in update_max_depth() 129 entry_size = 4; in update_max_depth() 131 entries = (elements + (entry_size - 1)) / entry_size; in update_max_depth()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.c | 66 unsigned entry_size; member 101 unsigned entry_size = util_next_power_of_two(size); in get_slab_pot_entry_size() local 104 return MAX2(entry_size, min_entry_size); in get_slab_pot_entry_size() 110 unsigned entry_size = get_slab_pot_entry_size(screen, size); in get_slab_entry_alignment() local 112 if (size <= entry_size * 3 / 4) in get_slab_entry_alignment() 113 return entry_size / 4; in get_slab_entry_alignment() 115 return entry_size; in get_slab_entry_alignment() 161 assert(slab->base.num_entries * slab->entry_size <= slab_size); in bo_slab_free() 824 bo_slab_alloc(void *priv, unsigned heap, unsigned entry_size, unsigned group_index, bool encrypted) in bo_slab_alloc() argument 843 if (entry_size <= max_entry_size) { in bo_slab_alloc() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | cinepakenc.c | 264 int entry_size = s->pix_fmt == AV_PIX_FMT_RGB24 ? 6 : 4; in calculate_mode_score() local 268 … int64_t ret = s->lambda * ((info->v1_size ? CHUNK_HEADER_SIZE + info->v1_size * entry_size : 0) + in calculate_mode_score() 269 … (info->v4_size ? CHUNK_HEADER_SIZE + info->v4_size * entry_size : 0) + in calculate_mode_score() 386 int x, y, ret, entry_size = s->pix_fmt == AV_PIX_FMT_RGB24 ? 6 : 4; in encode_codebook() local 394 entry_size * size + in encode_codebook() 412 for (y = 0; y < entry_size; y++) in encode_codebook() 413 buf[ret++] = codebook[y + x * entry_size] ^ (y >= 4 ? 0x80 : 0); in encode_codebook() 423 for (y = 0; y < entry_size; y++) in encode_codebook() 424 buf[ret++] = codebook[y + x * entry_size] ^ (y >= 4 ? 0x80 : 0); in encode_codebook() 450 int entry_size = s->pix_fmt == AV_PIX_FMT_RGB24 ? 6 : 4; in decode_v1_vector() local [all …]
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 651 assert(bo->base.size <= bo->u.slab.entry.entry_size); in get_slab_wasted_size() 654 bo->base.size > bo->u.slab.entry.entry_size / 2); in get_slab_wasted_size() 655 return bo->u.slab.entry.entry_size - bo->base.size; in get_slab_wasted_size() 685 unsigned entry_size = util_next_power_of_two(size); in get_slab_pot_entry_size() local 688 return MAX2(entry_size, min_entry_size); in get_slab_pot_entry_size() 694 unsigned entry_size = get_slab_pot_entry_size(ws, size); in get_slab_entry_alignment() local 696 if (size <= entry_size * 3 / 4) in get_slab_entry_alignment() 697 return entry_size / 4; in get_slab_entry_alignment() 699 return entry_size; in get_slab_entry_alignment() 703 unsigned entry_size, in amdgpu_bo_slab_alloc() argument [all …]
|
D | amdgpu_bo.h | 115 unsigned entry_size; member 136 unsigned entry_size, 139 unsigned entry_size,
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_slab.c | 115 unsigned entry_size = 1 << order; in pb_slab_alloc() local 121 if (slabs->allow_three_fourths_allocations && size <= entry_size * 3 / 4) { in pb_slab_alloc() 122 entry_size = entry_size * 3 / 4; in pb_slab_alloc() 160 slab = slabs->slab_alloc(slabs->priv, heap, entry_size, group_index); in pb_slab_alloc()
|
D | pb_slab.h | 66 unsigned entry_size; member 95 unsigned entry_size,
|
/third_party/mesa3d/src/intel/common/ |
D | intel_urb_config.c | 66 const unsigned entry_size[4], in intel_get_urb_config() 110 granularity[i] = (entry_size[i] < 9) ? 8 : 1; in intel_get_urb_config() 148 entry_size_bytes[i] = 64 * entry_size[i]; in intel_get_urb_config()
|
D | intel_l3_config.h | 104 const unsigned entry_size[4],
|
/third_party/elfio/elfio/ |
D | elfio_array.hpp | 43 Elf_Xword entry_size = elf_file.get_class() == ELFCLASS32 in get_entries_num() local 46 return array_section->get_size() / entry_size; in get_entries_num()
|
D | elfio_section.hpp | 46 ELFIO_GET_SET_ACCESS_DECL( Elf_Xword, entry_size ); 98 ELFIO_GET_SET_ACCESS( Elf_Xword, entry_size, header.sh_entsize );
|
D | elfio.hpp | 435 Elf_Half entry_size = header->get_section_entry_size(); in load_sections() local 442 (std::streampos)i * entry_size ); in load_sections() 485 Elf_Half entry_size = header->get_segment_entry_size(); in load_segments() local 504 (std::streampos)i * entry_size ); in load_segments()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 184 unsigned entry_size; member 562 unsigned entry_size = util_next_power_of_two(size); in get_slab_pot_entry_size() local 565 return MAX2(entry_size, min_entry_size); in get_slab_pot_entry_size() 572 unsigned entry_size = get_slab_pot_entry_size(bufmgr, size); in get_slab_entry_alignment() local 574 if (size <= entry_size * 3 / 4) in get_slab_entry_alignment() 575 return entry_size / 4; in get_slab_entry_alignment() 577 return entry_size; in get_slab_entry_alignment() 621 unsigned entry_size, in iris_slab_alloc() argument 641 if (entry_size <= max_entry_size) { in iris_slab_alloc() 645 if (!util_is_power_of_two_nonzero(entry_size)) { in iris_slab_alloc() [all …]
|
/third_party/eudev/src/shared/ |
D | hashmap.c | 250 size_t entry_size; member 258 .entry_size = sizeof(struct plain_hashmap_entry), 264 .entry_size = sizeof(struct ordered_hashmap_entry), 270 .entry_size = sizeof(struct set_entry), 404 (storage_ptr(h) + idx * hashmap_type_info[h->type].entry_size); in bucket_at() 438 (storage_ptr(h) + hashmap_type_info[h->type].entry_size * n_buckets(h)); in dib_raw_ptr() 486 memset(bucket_at(h, idx), 0, hashmap_type_info[h->type].entry_size); in bucket_mark_free() 499 memcpy(e_to, e_from, hashmap_type_info[h->type].entry_size); in bucket_move_entry() 771 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets); in reset_direct_storage() 1107 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t)))) in resize_buckets() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 106 entry_size(struct cache_entry *entry) in entry_size() function 236 cache->total_size += entry_size(entry); in radv_pipeline_cache_set_entry() 331 size_t size = entry_size(entry); in radv_create_shader_variants_from_pipeline_cache() 340 memcpy(new_entry, entry, entry_size(entry)); in radv_create_shader_variants_from_pipeline_cache() 470 disk_cache_put(device->physical_device->disk_cache, disk_sha1, entry, entry_size(entry), in radv_pipeline_cache_insert_shaders() 524 size_t size_of_entry = entry_size(entry); in radv_pipeline_cache_load() 621 const uint32_t size_of_entry = entry_size(entry); in radv_GetPipelineCacheData()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-container-object.c | 133 uint8_t entry_size = ecma_op_container_entry_size (lit_id); in ecma_op_internal_buffer_find() local 137 for (uint32_t i = 0; i < entry_count; i += entry_size) in ecma_op_internal_buffer_find() 847 uint8_t entry_size = ecma_op_container_entry_size (lit_id); in ecma_op_container_foreach() local 849 for (uint32_t i = 0; i < ECMA_CONTAINER_ENTRY_COUNT (container_p); i += entry_size) in ecma_op_container_foreach() 1160 uint8_t entry_size = ecma_op_container_entry_size (lit_id); in ecma_op_container_iterator_next() local 1165 for (uint32_t i = index; i < entry_count; i += entry_size) in ecma_op_container_iterator_next() 1171 if (i == (entry_count - entry_size)) in ecma_op_container_iterator_next() 1180 ecma_op_iterator_set_index (obj_p, i + entry_size); in ecma_op_container_iterator_next()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline_cache.c | 82 entry_size(struct cache_entry *entry) in entry_size() function 150 cache->total_size += entry_size(entry); in tu_pipeline_cache_set_entry() 229 size_t size = entry_size(entry); in tu_pipeline_cache_load() 332 const uint32_t size = entry_size(entry); in tu_GetPipelineCacheData()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-glyf-table.hh | 91 unsigned entry_size = use_short_loca ? 2 : 4; in _add_loca_and_head() local 92 char *loca_prime_data = (char *) calloc (entry_size, num_offsets); in _add_loca_and_head() 96 …entry_size %d num_offsets %d max_offset %d size %d", entry_size, num_offsets, max_offset, entry_si… in _add_loca_and_head() 104 entry_size * num_offsets, in _add_loca_and_head()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | genX_gpu_memcpy.c | 156 const unsigned entry_size[4] = { DIV_ROUND_UP(32, 64), 1, 1, 1 }; in genX() local 160 VK_SHADER_STAGE_VERTEX_BIT, entry_size, NULL); in genX()
|
D | anv_genX.h | 108 const unsigned entry_size[4],
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.h | 85 unsigned entry_size,
|
D | radeon_drm_bo.c | 774 unsigned entry_size, in radeon_bo_slab_alloc() argument 794 slab->base.num_entries = slab->buffer->base.size / entry_size; in radeon_bo_slab_alloc() 807 bo->base.alignment_log2 = util_logbase2(entry_size); in radeon_bo_slab_alloc() 809 bo->base.size = entry_size; in radeon_bo_slab_alloc() 812 bo->va = slab->buffer->va + i * entry_size; in radeon_bo_slab_alloc() 817 bo->u.slab.entry.entry_size = entry_size; in radeon_bo_slab_alloc()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-glyf-table.hh | 104 unsigned entry_size = use_short_loca ? 2 : 4; in _add_loca_and_head() local 105 char *loca_prime_data = (char *) hb_calloc (entry_size, num_offsets); in _add_loca_and_head() 111 entry_size, num_offsets, max_offset, entry_size * num_offsets); in _add_loca_and_head() 119 entry_size * num_offsets, in _add_loca_and_head()
|
/third_party/harfbuzz/src/ |
D | hb-ot-glyf-table.hh | 100 unsigned entry_size = use_short_loca ? 2 : 4; in _add_loca_and_head() local 101 char *loca_prime_data = (char *) calloc (entry_size, num_offsets); in _add_loca_and_head() 107 entry_size, num_offsets, max_offset, entry_size * num_offsets); in _add_loca_and_head() 115 entry_size * num_offsets, in _add_loca_and_head()
|