Home
last modified time | relevance | path

Searched refs:item_size (Results 1 – 25 of 25) 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 = memory->alloc( memory, new_count * item_size ); in ft_mem_qrealloc()
153 FT_Long cur_size = cur_count * item_size; in ft_mem_qrealloc()
[all …]
/external/minigbm/
Dhelpers_array.c17 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()
Dhelpers_array.h9 struct drv_array *drv_array_init(uint32_t 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/harfbuzz_ng/src/
Dhb-array.hh40 enum { item_size = hb_static_size (Type) }; enumerator
132 ::qsort (arrayZ, len, item_size, cmp_); in qsort()
137 ::qsort (arrayZ, len, item_size, Type::cmp); in qsort()
144 ::qsort (arrayZ + start, end - start, item_size, Type::cmp); in qsort()
151 unsigned int get_size () const { return len * item_size; } in get_size()
Dhb-set.hh380 memcpy ((void *) pages, (const void *) other->pages, count * pages.item_size); in set()
381 memcpy ((void *) page_map, (const void *) other->page_map, count * page_map.item_size); in set()
683 (page_map.len - 1 - i) * page_map.item_size); in page_for_insert()
Dhb-open-type.hh356 enum { item_size = hb_static_size (Type) }; enumerator
512 enum { item_size = hb_static_size (Type) }; enumerator
682 enum { item_size = Type::static_size }; enumerator
891 enum { item_size = Type::static_size }; enumerator
Dhb-ot-name-table.hh157 { return min_size + count * nameRecordZ.item_size; } in get_size()
Dhb-vector.hh38 enum { item_size = hb_static_size (Type) }; enumerator
Dhb-ot-layout-gsubgpos.hh1345 inputZ.item_size * (inputCount ? inputCount - 1 : 0) + in sanitize()
/external/mesa3d/src/util/
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()
314 unsigned item_size, in slab_create() argument
317 slab_create_parent(&pool->parent, item_size, num_items); in slab_create()
Dslab.h73 unsigned item_size,
88 unsigned item_size,
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh107 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/
Dgrpc_util_test.cc56 int item_size = std::min(size - approx_size, 1024); in MakeProto() local
57 proto.add_container(string(item_size, 'a' + static_cast<char>(index % 26))); in MakeProto()
58 approx_size += item_size + 3; // +3 for encoding overhead. in MakeProto()
/external/freetype/src/pfr/
Dpfrload.c141 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/
Djemalloc.c1668 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/u-boot/fs/btrfs/
Dctree.c41 static int generic_bin_search(void *addr, int item_size, struct btrfs_key *key, in generic_bin_search() argument
50 tmp = (struct btrfs_key *) ((u8 *) addr + mid*item_size); in generic_bin_search()
/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/virglrenderer/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.h146 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/protobuf/src/google/protobuf/
Dwire_format_unittest.cc442 ASSERT_EQ(3, raw.item_size()); in TEST()
/external/freetype/
DChangeLog.22161 count is no larger than `FT_INT_MAX/item_size', otherwise a new
DChangeLog.237815 `item_size == 0' as well -- though this sounds weird, it can