Home
last modified time | relevance | path

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

/AliOS-Things-master/components/freetype/src/base/
A 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 …]
/AliOS-Things-master/components/freetype/include/internal/
A 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), \
294 #define FT_ALLOC_MULT( ptr, count, item_size ) \ argument
295 FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) )
307 #define FT_QALLOC_MULT( ptr, count, item_size ) \ argument
308 FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) )
/AliOS-Things-master/components/freetype/src/pfr/
A 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()
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_alios.h266 int item_size; member
272 return aos_queue_send(&((aos_mq_impl_t *)mq)->queue, msg, ((aos_mq_impl_t *)mq)->item_size); in os_message_queue_send()
295 mq->item_size = size; in os_message_queue_create()
/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c50 uint32_t item_size; member
834 for (i = 0; i < mgr_handle->item_size; ++i) { in board_get_items()
866 … void *addr = aos_realloc(mgr_handle->item, sizeof(board_item_t *) * (mgr_handle->item_size + 1)); in board_add_new_item()
877 mgr_handle->item[mgr_handle->item_size] = new_item; in board_add_new_item()
878 mgr_handle->item_size += 1; in board_add_new_item()
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c49 uint32_t item_size; member
1453 for (i = 0; i < mgr_handle->item_size; ++i) in board_get_items()
1491 mgr_handle->item, sizeof(board_item_t *) * (mgr_handle->item_size + 1)); in board_add_new_item()
1503 mgr_handle->item[mgr_handle->item_size] = new_item; in board_add_new_item()
1504 mgr_handle->item_size += 1; in board_add_new_item()

Completed in 13 milliseconds