Home
last modified time | relevance | path

Searched refs:item_size (Results 1 – 13 of 13) sorted by relevance

/external/freetype/src/base/
Dftutil.c93 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/
Dftutil.c93 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/
Dftmemory.h125 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/
Dftmemory.h129 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/
Dslab.h73 unsigned item_size,
88 unsigned item_size,
Dslab.c108 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/
Dmemcg_lib.sh99 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/
Dpfrload.c54 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/
Dcso_cache.c78 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()
Dcso_cache.h147 unsigned cso_construct_key(void *item, int item_size);
/external/swiftshader/third_party/LLVM/test/Scripts/
Dcoff-dump.py512 item_size = read_value(ent_size)
523 index += (Input.tell() - prev_loc) / item_size
/external/syslinux/core/fs/btrfs/
Dbtrfs.c43 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/
Dwire_format_unittest.cc442 ASSERT_EQ(3, raw.item_size()); in TEST()