/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/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/pdfium/third_party/freetype/include/freetype/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/freetype/include/freetype/internal/ |
D | ftmemory.h | 129 FT_Long item_size, 137 FT_Long item_size, 189 #define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ argument 191 (FT_Long)(item_size), \ 205 #define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ argument 207 (FT_Long)(item_size), \ 309 #define FT_ALLOC_MULT( ptr, count, item_size ) \ argument 310 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) 322 #define FT_QALLOC_MULT( ptr, count, item_size ) \ argument 323 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
|
/external/mesa3d/src/util/ |
D | slab.h | 73 unsigned item_size, 88 unsigned item_size,
|
D | slab.c | 108 unsigned item_size, in slab_create_parent() argument 112 parent->element_size = ALIGN(sizeof(struct slab_element_header) + item_size, in slab_create_parent() 311 unsigned item_size, in slab_create() argument 314 slab_create_parent(&pool->parent, item_size, num_items); in slab_create()
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 99 item_size=`cat $1` 101 item_size=`grep -w $1 memory.stat | cut -d " " -f 2` 104 if [ "$2" = "$item_size" ]; then 107 tst_resm TFAIL "$1 is $item_size, $2 expected"
|
/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 | 147 unsigned cso_construct_key(void *item, int item_size);
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
D | coff-dump.py | 512 item_size = read_value(ent_size) 523 index += (Input.tell() - prev_loc) / item_size
|
/external/syslinux/core/fs/btrfs/ |
D | btrfs.c | 43 static int bin_search(void *ptr, int item_size, void *cmp_item, cmp_func func, in bin_search() argument 55 offset = mid * item_size; in bin_search()
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 442 ASSERT_EQ(3, raw.item_size()); in TEST()
|