/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftutil.c | 92 FT_Long item_size, in ft_mem_realloc() argument 101 block = ft_mem_qrealloc( memory, item_size, in ft_mem_realloc() 104 FT_MEM_ZERO( (char*)block + cur_count * item_size, in ft_mem_realloc() 105 ( new_count - cur_count ) * item_size ); in ft_mem_realloc() 114 FT_Long item_size, in ft_mem_qrealloc() argument 127 if ( cur_count < 0 || new_count < 0 || item_size < 0 ) in ft_mem_qrealloc() 132 else if ( new_count == 0 || item_size == 0 ) in ft_mem_qrealloc() 137 else if ( new_count > FT_INT_MAX / item_size ) in ft_mem_qrealloc() 145 block = memory->alloc( memory, new_count * item_size ); in ft_mem_qrealloc() 152 FT_Long cur_size = cur_count * item_size; in ft_mem_qrealloc() [all …]
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
D | ftmemory.h | 138 FT_Long item_size, 146 FT_Long item_size, 198 #define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ argument 200 (FT_Long)(item_size), \ 214 #define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ argument 216 (FT_Long)(item_size), \ 317 #define FT_ALLOC_MULT( ptr, count, item_size ) \ argument 318 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) 330 #define FT_QALLOC_MULT( ptr, count, item_size ) \ argument 331 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
|
/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 162 local item_size 165 item_size=$(cat $1) 167 item_size=$(grep -w $1 memory.stat | cut -d " " -f 2) 171 if [ $item_size -ge $2 ] && [ $item_size -le $3 ]; then 174 tst_res TFAIL "$1 is $item_size, ${2}-${3} expected" 176 elif [ "$2" = "$item_size" ]; then 179 tst_res TFAIL "$1 is $item_size, $2 expected"
|
/third_party/mesa3d/src/util/ |
D | slab.c | 106 unsigned item_size, in slab_create_parent() argument 110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size, in slab_create_parent() 113 parent->item_size = item_size; in slab_create_parent() 242 memset(r, 0, pool->parent->item_size); in slab_zalloc() 328 unsigned item_size, in slab_create() argument 331 slab_create_parent(&mempool->parent, item_size, num_items); in slab_create()
|
D | slab.h | 58 unsigned item_size; member 78 unsigned item_size, 94 unsigned item_size,
|
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-parser-mem.c | 196 uint32_t item_size, /**< size for each page */ in parser_list_init() argument 200 item_size = (uint32_t) (((item_size) + sizeof (void *) - 1) & ~(sizeof (void *) - 1)); in parser_list_init() 201 parser_data_init (&list_p->data, item_size * item_count); in parser_list_init() 202 list_p->page_size = item_size * item_count; in parser_list_init() 203 list_p->item_size = item_size; in parser_list_init() 238 if (list_p->data.last_position + list_p->item_size > list_p->page_size) in parser_list_append() 259 list_p->data.last_position += list_p->item_size; in parser_list_append() 284 || (index * list_p->item_size < list_p->data.last_position)); in parser_list_get() 285 return page_p->bytes + (index * list_p->item_size); in parser_list_get() 316 iterator_p->current_position += iterator_p->list_p->item_size; in parser_list_iterator_next()
|
D | js-parser-internal.h | 331 uint32_t item_size; /**< size of each item */ member 604 void parser_list_init (parser_list_t *list_p, uint32_t item_size, uint32_t item_count);
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dvx_meta_common.c | 715 uint32_t item_size) in v3dX() 717 const uint32_t stride = job->frame_tiling.width * item_size; in v3dX() 732 uint32_t item_size) in v3dX() 740 framebuffer, format, item_size); in v3dX() 1238 uint32_t item_size = 4; in v3dX() local 1239 while (item_size > 1 && in v3dX() 1240 (src_offset % item_size != 0 || dst_offset % item_size != 0)) { in v3dX() 1241 item_size /= 2; in v3dX() 1244 while (item_size > 1 && region->size % item_size != 0) in v3dX() 1245 item_size /= 2; in v3dX() [all …]
|
D | v3dvx_private.h | 210 uint32_t item_size); 220 uint32_t item_size);
|
/third_party/python/Python/ |
D | suggestions.c | 147 Py_ssize_t item_size; in calculate_suggestions() local 148 const char *item_str = PyUnicode_AsUTF8AndSize(item, &item_size); in calculate_suggestions() 156 Py_ssize_t max_distance = (name_size + item_size + 3) * MOVE_COST / 6; in calculate_suggestions() 161 item_str, item_size, max_distance); in calculate_suggestions()
|
/third_party/node/deps/v8/tools/v8windbg/src/ |
D | v8-debug-helper-interop.cc | 64 size_t item_size) in Property() argument 70 item_size(item_size) {} in Property()
|
D | v8-debug-helper-interop.h | 74 size_t item_size); 107 size_t item_size; member
|
D | object-inspection.cc | 360 ULONG64 address = prop->addr_value + index * prop->item_size; in GetModelForCustomArrayElement()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-vector.hh | 39 static constexpr unsigned item_size = hb_static_size (Type); member 124 { return hb_bytes_t ((const char *) arrayZ, length * item_size); } in as_bytes() 149 unsigned get_size () const { return length * item_size; } in get_size()
|
D | hb-bit-set.hh | 345 hb_memcpy ((void *) pages, (const void *) other.pages, count * pages.item_size); in set() 346 hb_memcpy ((void *) page_map, (const void *) other.page_map, count * page_map.item_size); in set() 797 (page_map.length - 1 - i) * page_map.item_size); in page_for()
|
D | hb-open-type.hh | 444 static constexpr unsigned item_size = hb_static_size (Type); member 602 static constexpr unsigned item_size = hb_static_size (Type); member 779 static constexpr unsigned item_size = Type::static_size; member 1031 static constexpr unsigned item_size = Type::static_size; member
|
D | hb-ot-name-table.hh | 202 { return min_size + count * nameRecordZ.item_size; } in get_size()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrload.c | 141 FT_UInt num_items, item_type, item_size; in pfr_extra_items_parse() local 150 item_size = PFR_NEXT_BYTE( p ); in pfr_extra_items_parse() 153 PFR_CHECK( item_size ); in pfr_extra_items_parse() 164 error = extra->parser( p, p + item_size, item_data ); in pfr_extra_items_parse() 173 p += item_size; in pfr_extra_items_parse()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | compute_memory_pool.c | 263 int64_t item_size = align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_finalize_pending() local 278 if (hole_size >= item_size) { in compute_memory_finalize_pending() 281 unallocated -= item_size; in compute_memory_finalize_pending() 282 allocated += item_size; in compute_memory_finalize_pending()
|
D | r600_state_common.c | 1761 unlikely(shader->scratch_space_needed != scratch->item_size || in r600_setup_scratch_area_for_shader() 1780 scratch->item_size = shader->scratch_space_needed; in r600_setup_scratch_area_for_shader() 1827 unsigned item_size; in r600_setup_scratch_buffers() member 1841 &rctx->scratch_buffers[i], regs[i].ring_base, regs[i].item_size, regs[i].ring_size); in r600_setup_scratch_buffers()
|
/third_party/pulseaudio/src/pulsecore/ |
D | dbus-util.c | 593 unsigned item_size; in pa_dbus_append_basic_array() local 599 item_size = basic_type_size(item_type); in pa_dbus_append_basic_array() 604 …ert_se(dbus_message_iter_append_basic(&array_iter, item_type, &((uint8_t*) array)[i * item_size])); in pa_dbus_append_basic_array()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | vector_dce.cpp | 114 uint32_t item_size = GetVectorComponentCount(operand_inst->type_id()); in MarkExtractUseAsLive() local 115 if (element_index < item_size) { in MarkExtractUseAsLive()
|
/third_party/spirv-tools/source/opt/ |
D | vector_dce.cpp | 114 uint32_t item_size = GetVectorComponentCount(operand_inst->type_id()); in MarkExtractUseAsLive() local 115 if (element_index < item_size) { in MarkExtractUseAsLive()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | vector_dce.cpp | 114 uint32_t item_size = GetVectorComponentCount(operand_inst->type_id()); in MarkExtractUseAsLive() local 115 if (element_index < item_size) { in MarkExtractUseAsLive()
|
/third_party/pcre2/pcre2/maint/ |
D | GenerateUcd.py | 462 def write_bitsets(list, item_size): argument 464 bitwords = [0] * item_size
|