/external/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 …]
|
/external/minigbm/ |
D | helpers_array.c | 17 uint32_t item_size; member 21 struct drv_array *drv_array_init(uint32_t item_size) in drv_array_init() argument 30 array->item_size = item_size; in drv_array_init() 46 item = calloc(1, array->item_size); in drv_array_append() 47 memcpy(item, data, array->item_size); in drv_array_append()
|
D | helpers_array.h | 9 struct drv_array *drv_array_init(uint32_t item_size);
|
/external/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 ) )
|
/external/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() 312 unsigned item_size, in slab_create() argument 315 slab_create_parent(&mempool->parent, item_size, num_items); in slab_create()
|
D | slab.h | 73 unsigned item_size, 88 unsigned item_size,
|
/external/llvm-project/lldb/bindings/interface/ |
D | SBData.i | 143 def __init__(self, sbdata, readerfunc, item_size): 146 self.item_size = item_size 155 …key = key * self.item_size # SBData uses byte-based indexes, but we want to use itemsize-based ind… 163 return int(self.sbdata.GetByteSize()/self.item_size)
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 107 item_size=`cat $1` 109 item_size=`grep -w $1 memory.stat | cut -d " " -f 2` 112 if [ "$2" = "$item_size" ]; then 115 tst_resm TFAIL "$1 is $item_size, $2 expected"
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_util_test.cc | 57 int item_size = std::min(size - approx_size, 1024); in MakeProto() local 58 proto.add_container(string(item_size, 'a' + static_cast<char>(index % 26))); in MakeProto() 59 approx_size += item_size + 3; // +3 for encoding overhead. in MakeProto()
|
/external/harfbuzz_ng/src/ |
D | hb-vector.hh | 39 static constexpr unsigned item_size = hb_static_size (Type); member 103 { return hb_bytes_t ((const char *) arrayZ, length * item_size); } in as_bytes() 128 unsigned get_size () const { return length * item_size; } in get_size()
|
D | hb-set.hh | 404 memcpy ((void *) pages, (const void *) other->pages, count * pages.item_size); in set() 405 memcpy ((void *) page_map, (const void *) other->page_map, count * page_map.item_size); in set() 736 (page_map.length - 1 - i) * page_map.item_size); in page_for_insert()
|
D | hb-open-type.hh | 398 static constexpr unsigned item_size = hb_static_size (Type); member 553 static constexpr unsigned item_size = hb_static_size (Type); member 728 static constexpr unsigned item_size = Type::static_size; member 976 static constexpr unsigned item_size = Type::static_size; member
|
D | hb-ot-name-table.hh | 172 { return min_size + count * nameRecordZ.item_size; } in get_size()
|
/external/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()
|
/external/jemalloc_new/src/ |
D | jemalloc.c | 1668 size_t item_size; member 1679 dynamic_opts->item_size = 0; 1774 *size = dopts->item_size; 1781 *size = dopts->item_size * dopts->num_items; 1784 return (dopts->num_items != 0 && dopts->item_size != 0); 1793 if (likely((high_bits & (dopts->num_items | dopts->item_size)) == 0)) { 1796 if (likely(*size / dopts->item_size == dopts->num_items)) { 2007 UTRACE(NULL, dopts->num_items * dopts->item_size, NULL); 2052 dopts.item_size = size; 2083 dopts.item_size = size; [all …]
|
/external/virglrenderer/src/gallium/auxiliary/cso_cache/ |
D | cso_cache.c | 80 unsigned cso_construct_key(void *item, int item_size) in cso_construct_key() argument 82 return hash_key((item), item_size); in cso_construct_key()
|
D | cso_cache.h | 146 unsigned cso_construct_key(void *item, int item_size);
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
D | cso_cache.c | 78 unsigned cso_construct_key(void *item, int item_size) in cso_construct_key() argument 80 return hash_key((item), item_size); in cso_construct_key()
|
D | cso_cache.h | 147 unsigned cso_construct_key(void *item, int item_size);
|
/external/rust/crates/flate2/src/ffi/ |
D | c.rs | 60 extern "C" fn zalloc(_ptr: *mut c_void, items: AllocSize, item_size: AllocSize) -> *mut c_void { in zalloc() 66 .checked_mul(item_size) in zalloc()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 1919 uint32_t item_size = 4; in copy_buffer() local 1920 while (item_size > 1 && in copy_buffer() 1921 (src_offset % item_size != 0 || dst_offset % item_size != 0)) { in copy_buffer() 1922 item_size /= 2; in copy_buffer() 1925 while (item_size > 1 && region->size % item_size != 0) in copy_buffer() 1926 item_size /= 2; in copy_buffer() 1928 assert(region->size % item_size == 0); in copy_buffer() 1929 uint32_t num_items = region->size / item_size; in copy_buffer() 1934 switch (item_size) { in copy_buffer() 1972 const uint32_t bytes_copied = items_copied * item_size; in copy_buffer()
|
/external/python/cffi/c/ |
D | parse_c_type.c | 449 size_t item_size, int array_len, in search_sorted() argument 457 const char *src = *(const char *const *)(baseptr + middle * item_size); in search_sorted()
|
/external/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/ |
D | SystemRuntimeMacOSX.cpp | 793 uint32_t item_size = extractor.GetU32(&offset); in GetPendingItemRefsForQueue() local 797 offset = start_of_array_offset + (i * item_size); in GetPendingItemRefsForQueue()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state_common.c | 1666 unlikely(shader->scratch_space_needed != scratch->item_size || in r600_setup_scratch_area_for_shader() 1685 scratch->item_size = shader->scratch_space_needed; in r600_setup_scratch_area_for_shader() 1732 unsigned item_size; in r600_setup_scratch_buffers() member 1746 &rctx->scratch_buffers[i], regs[i].ring_base, regs[i].item_size, regs[i].ring_size); in r600_setup_scratch_buffers()
|
D | r600_pipe.h | 486 unsigned item_size; member
|