Searched refs:item_size (Results 1 – 8 of 8) sorted by relevance
/external/freetype/src/base/ |
D | ftutil.c | 93 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 = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc() 150 FT_Long cur_size = cur_count*item_size; in ft_mem_qrealloc() [all …]
|
/external/freetype/include/freetype/internal/ |
D | ftmemory.h | 125 FT_Long item_size, 133 FT_Long item_size, 177 #define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ argument 178 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, (item_size), \ 187 #define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ argument 188 FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, (item_size), \ 266 #define FT_ALLOC_MULT( ptr, count, item_size ) \ argument 267 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) 279 #define FT_QALLOC_MULT( ptr, count, item_size ) \ argument 280 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
|
/external/qemu/block/ |
D | vvfat.c | 76 unsigned int size,next,item_size; member 79 static inline void array_init(array_t* array,unsigned int item_size) in array_init() argument 84 array->item_size=item_size; in array_init() 97 return array->pointer + index * array->item_size; in array_get() 102 if((index + 1) * array->item_size > array->size) { in array_ensure_allocated() 103 int new_size = (index + 32) * array->item_size; in array_ensure_allocated() 128 if((array->next+count)*array->item_size>array->size) { in array_insert() 129 int increment=count*array->item_size; in array_insert() 135 memmove(array->pointer+(index+count)*array->item_size, in array_insert() 136 array->pointer+index*array->item_size, in array_insert() [all …]
|
/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/llvm/test/Scripts/ |
D | coff-dump.py | 512 item_size = read_value(ent_size) 523 index += (Input.tell() - prev_loc) / item_size
|
/external/harfbuzz/src/ |
D | harfbuzz-shape.h | 186 HB_GlyphBuffer *hb_glyph_buffer_new (size_t item_size);
|
/external/chromium/chrome/browser/ui/views/download/ |
D | download_shelf_view.cc | 344 gfx::Size item_size = (*download_views_.rbegin())->GetPreferredSize(); in CanFitFirstDownloadItem() local 345 return item_size.width() < available_width; in CanFitFirstDownloadItem()
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 359 ASSERT_EQ(3, raw.item_size()); in TEST()
|