/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 = 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/ |
D | helpers_array.c | 17 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()
|
D | helpers_array.h | 9 struct drv_array *drv_array_init(uint32_t 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/harfbuzz_ng/src/ |
D | hb-array.hh | 40 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()
|
D | hb-set.hh | 380 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()
|
D | hb-open-type.hh | 356 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
|
D | hb-ot-name-table.hh | 157 { return min_size + count * nameRecordZ.item_size; } in get_size()
|
D | hb-vector.hh | 38 enum { item_size = hb_static_size (Type) }; enumerator
|
D | hb-ot-layout-gsubgpos.hh | 1345 inputZ.item_size * (inputCount ? inputCount - 1 : 0) + in sanitize()
|
/external/mesa3d/src/util/ |
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() 314 unsigned item_size, in slab_create() argument 317 slab_create_parent(&pool->parent, item_size, num_items); in slab_create()
|
D | slab.h | 73 unsigned item_size, 88 unsigned item_size,
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 107 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/ |
D | grpc_util_test.cc | 56 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/ |
D | pfrload.c | 141 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/ |
D | jemalloc.c | 1668 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/ |
D | ctree.c | 41 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/ |
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/virglrenderer/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/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/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 442 ASSERT_EQ(3, raw.item_size()); in TEST()
|
/external/freetype/ |
D | ChangeLog.22 | 161 count is no larger than `FT_INT_MAX/item_size', otherwise a new
|
D | ChangeLog.23 | 7815 `item_size == 0' as well -- though this sounds weird, it can
|