Searched refs:item_size (Results 1 - 12 of 12) sorted by relevance

/external/mesa3d/src/util/
H A Dslab.h73 unsigned item_size,
88 unsigned item_size,
H A Dslab.c103 * \param item_size Size of one object.
108 unsigned item_size,
112 parent->element_size = ALIGN(sizeof(struct slab_element_header) + item_size,
306 * \param item_size Size of one object.
311 unsigned item_size,
314 slab_create_parent(&pool->parent, item_size, num_items);
107 slab_create_parent(struct slab_parent_pool *parent, unsigned item_size, unsigned num_items) argument
310 slab_create(struct slab_mempool *pool, unsigned item_size, unsigned num_items) argument
/external/freetype/src/base/
H A Dftutil.c93 FT_Long item_size,
102 block = ft_mem_qrealloc( memory, item_size,
105 FT_MEM_ZERO( (char*)block + cur_count * item_size,
106 ( new_count - cur_count ) * item_size );
115 FT_Long item_size,
124 /* Note that we now accept `item_size == 0' as a valid parameter, in
128 if ( cur_count < 0 || new_count < 0 || item_size < 0 )
133 else if ( new_count == 0 || item_size == 0 )
138 else if ( new_count > FT_INT_MAX / item_size )
146 block = memory->alloc( memory, new_count * item_size );
[all...]
/external/freetype/include/freetype/internal/
H A Dftmemory.h129 FT_Long item_size,
137 FT_Long item_size,
189 #define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \
191 (FT_Long)(item_size), \
205 #define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \
207 (FT_Long)(item_size), \
309 #define FT_ALLOC_MULT( ptr, count, item_size ) \
310 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) )
322 #define FT_QALLOC_MULT( ptr, count, item_size ) \
323 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
[all...]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h147 unsigned cso_construct_key(void *item, int item_size);
H A Dcso_cache.c78 unsigned cso_construct_key(void *item, int item_size) argument
80 return hash_key((item), item_size);
/external/ltp/testcases/kernel/controllers/memcg/functional/
H A 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/tensorflow/tensorflow/core/distributed_runtime/rpc/
H A Dgrpc_util_test.cc56 int item_size = std::min(size - approx_size, 1024); local
57 proto.add_container(string(item_size, 'a' + static_cast<char>(index % 26)));
58 approx_size += item_size + 3; // +3 for encoding overhead.
/external/freetype/src/pfr/
H A Dpfrload.c141 FT_UInt num_items, item_type, item_size; local
150 item_size = PFR_NEXT_BYTE( p );
153 PFR_CHECK( item_size );
164 error = extra->parser( p, p + item_size, item_data );
173 p += item_size;
/external/swiftshader/third_party/LLVM/test/Scripts/
H A Dcoff-dump.py512 item_size = read_value(ent_size)
523 index += (Input.tell() - prev_loc) / item_size
/external/syslinux/core/fs/btrfs/
H A Dbtrfs.c43 static int bin_search(void *ptr, int item_size, void *cmp_item, cmp_func func, argument
55 offset = mid * item_size;
/external/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc442 ASSERT_EQ(3, raw.item_size());

Completed in 678 milliseconds