/external/pdfium/third_party/freetype/src/base/ |
D | ftutil.c | 93 FT_Long item_size, in ft_mem_realloc() argument 102 block = ft_mem_qrealloc( memory, item_size, in ft_mem_realloc() 105 FT_MEM_ZERO( (char*)block + cur_count * item_size, in ft_mem_realloc() 106 ( new_count - cur_count ) * item_size ); in ft_mem_realloc() 115 FT_Long item_size, in ft_mem_qrealloc() argument 128 if ( cur_count < 0 || new_count < 0 || item_size < 0 ) in ft_mem_qrealloc() 133 else if ( new_count == 0 || item_size == 0 ) in ft_mem_qrealloc() 138 else if ( new_count > FT_INT_MAX/item_size ) in ft_mem_qrealloc() 146 block = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc() 151 FT_Long cur_size = cur_count*item_size; in ft_mem_qrealloc() [all …]
|
/external/freetype/src/base/ |
D | ftutil.c | 93 FT_Long item_size, in ft_mem_realloc() argument 102 block = ft_mem_qrealloc( memory, item_size, in ft_mem_realloc() 105 FT_MEM_ZERO( (char*)block + cur_count * item_size, in ft_mem_realloc() 106 ( new_count - cur_count ) * item_size ); in ft_mem_realloc() 115 FT_Long item_size, in ft_mem_qrealloc() argument 128 if ( cur_count < 0 || new_count < 0 || item_size < 0 ) in ft_mem_qrealloc() 133 else if ( new_count == 0 || item_size == 0 ) in ft_mem_qrealloc() 138 else if ( new_count > FT_INT_MAX/item_size ) in ft_mem_qrealloc() 146 block = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc() 151 FT_Long cur_size = cur_count*item_size; in ft_mem_qrealloc() [all …]
|
/external/freetype/include/internal/ |
D | ftmemory.h | 125 FT_Long item_size, 133 FT_Long item_size, 182 #define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ argument 184 (FT_Long)(item_size), \ 198 #define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ argument 200 (FT_Long)(item_size), \ 302 #define FT_ALLOC_MULT( ptr, count, item_size ) \ argument 303 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) 315 #define FT_QALLOC_MULT( ptr, count, item_size ) \ argument 316 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
|
/external/pdfium/third_party/freetype/include/internal/ |
D | ftmemory.h | 125 FT_Long item_size, 133 FT_Long item_size, 182 #define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ argument 184 (FT_Long)(item_size), \ 198 #define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ argument 200 (FT_Long)(item_size), \ 294 #define FT_ALLOC_MULT( ptr, count, item_size ) \ argument 295 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) 307 #define FT_QALLOC_MULT( ptr, count, item_size ) \ argument 308 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_slab.c | 138 unsigned item_size, in util_slab_create() argument 142 item_size = align(item_size, sizeof(intptr_t)); in util_slab_create() 146 pool->block_size = sizeof(struct util_slab_block) + item_size; in util_slab_create()
|
D | u_slab.h | 75 unsigned item_size,
|
/external/lldb/scripts/Python/interface/ |
D | SBData.i | 139 def __init__(self, sbdata, readerfunc, item_size): 142 self.item_size = item_size 151 …key = key * self.item_size # SBData uses byte-based indexes, but we want to use itemsize-based ind… 159 return int(self.sbdata.GetByteSize()/self.item_size)
|
/external/freetype/src/pfr/ |
D | pfrload.c | 54 FT_UInt num_items, item_type, item_size; in pfr_extra_items_parse() local 63 item_size = PFR_NEXT_BYTE( p ); in pfr_extra_items_parse() 66 PFR_CHECK( item_size ); in pfr_extra_items_parse() 77 error = extra->parser( p, p + item_size, item_data ); in pfr_extra_items_parse() 85 p += item_size; in pfr_extra_items_parse()
|
/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 | 146 unsigned cso_construct_key(void *item, int item_size);
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 438 ASSERT_EQ(3, raw.item_size()); in TEST()
|