/bionic/linker/ |
linker_memory.cpp | 75 void* calloc(size_t item_count, size_t item_size) { 76 return get_allocator().alloc(item_count*item_size);
|
/external/mesa3d/src/util/ |
slab.h | 73 unsigned item_size, 88 unsigned item_size,
|
slab.c | 103 * \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);
|
/external/freetype/src/base/ |
ftutil.c | 93 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/ |
ftmemory.h | 129 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/ |
cso_cache.h | 147 unsigned cso_construct_key(void *item, int item_size);
|
cso_cache.c | 78 unsigned cso_construct_key(void *item, int item_size) 80 return hash_key((item), item_size);
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
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/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_util_test.cc | 56 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.
|
/hardware/intel/img/psb_video/src/ |
psb_cmdbuf.c | 651 unsigned int item_size = FW_DEVA_DECODE_SIZE; /* Size of a render/deocde msg */ local 654 uint32_t *msg = (uint32_t *)(cmdbuf->MTX_msg + item_size * cmdbuf->cmd_count); 701 unsigned int item_size = FW_DEVA_DECODE_SIZE; /* Size of a render/deocde msg */ local 704 uint32_t *msg = (uint32_t *)(cmdbuf->MTX_msg + item_size * cmdbuf->cmd_count + cmdbuf->deblock_count * msg_size); 739 unsigned int item_size = FW_DEVA_DECODE_SIZE; /* Size of a render/deocde msg */ local 750 uint32_t msg_size = item_size; 829 unsigned int item_size = FW_DEVA_DECODE_SIZE; /* Size of a render/deocde msg */ local 892 msg += item_size / sizeof(uint32_t); 893 msg_size += item_size; [all...] |
/external/freetype/src/pfr/ |
pfrload.c | 141 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/ |
coff-dump.py | 512 item_size = read_value(ent_size) 523 index += (Input.tell() - prev_loc) / item_size
|
/external/syslinux/core/fs/btrfs/ |
btrfs.c | 43 static int bin_search(void *ptr, int item_size, void *cmp_item, cmp_func func, 55 offset = mid * item_size;
|
/external/protobuf/src/google/protobuf/ |
wire_format_unittest.cc | 442 ASSERT_EQ(3, raw.item_size()); [all...] |