/AliOS-Things-master/kernel/rhino/ |
A D | k_mm_blk.c | 14 NULL_PARA_CHK(pool); in krhino_mblk_pool_init() 33 pool->pool_name = name; in krhino_mblk_pool_init() 36 pool->slice_cnt = 0; in krhino_mblk_pool_init() 38 memset(pool->slice_type, 0, sizeof(pool->slice_type)); in krhino_mblk_pool_init() 57 if (pool == NULL) { in krhino_mblk_alloc_nolock() 84 pool->slice_type[pool->slice_cnt] = blk_type; in krhino_mblk_alloc_nolock() 109 NULL_PARA_CHK(pool); in krhino_mblk_free_nolock() 140 NULL_PARA_CHK(pool); in krhino_mblk_info_nolock() 155 info->pool_size = pool->pool_end - pool->pool_start; in krhino_mblk_info_nolock() 168 if (pool == NULL) { in krhino_mblk_alloc() [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | qstr.c | 138 pool = pool->prev; in find_qstr() 140 return pool->qstrs[q - pool->total_prev_len]; in find_qstr() 155 if (pool == NULL) { in qstr_add() 162 pool->len = 0; in qstr_add() 179 for (qstr_pool_t *pool = MP_STATE_VM(last_pool); pool != NULL; pool = pool->prev) { in qstr_find_strn() local 180 for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) { in qstr_find_strn() 182 return pool->total_prev_len + (q - pool->qstrs); in qstr_find_strn() 286 …for (qstr_pool_t *pool = MP_STATE_VM(last_pool); pool != NULL && pool != &CONST_POOL; pool = pool-… in qstr_pool_info() local 289 for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) { in qstr_pool_info() 305 …for (qstr_pool_t *pool = MP_STATE_VM(last_pool); pool != NULL && pool != &CONST_POOL; pool = pool-… in qstr_dump_data() local [all …]
|
A D | gc.c | 909 … for (qstr_pool_t *pool = MP_STATE_VM(last_pool); c == 'h' && pool != NULL; pool = pool->prev) { in gc_dump_alloc_table() 910 if ((qstr_pool_t *)ptr == pool) { in gc_dump_alloc_table() 914 … for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) { in gc_dump_alloc_table()
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_mm_blk.h | 68 kstat_t krhino_mblk_pool_init(mblk_pool_t *pool, const name_t *name, 79 void *krhino_mblk_alloc(mblk_pool_t *pool, uint32_t size); 80 void *krhino_mblk_alloc_nolock(mblk_pool_t *pool, uint32_t size); 90 kstat_t krhino_mblk_free(mblk_pool_t *pool, void *blk); 91 kstat_t krhino_mblk_free_nolock(mblk_pool_t *pool, void *blk); 99 kstat_t krhino_mblk_info(mblk_pool_t *pool, mblk_info_t *info); 110 #define krhino_mblk_check(pool, blk) \ argument 111 ((pool) != NULL \ 113 && ((uintptr_t)(blk) < ((mblk_pool_t*)(pool))->pool_end)) 128 blk_type = pool->slice_type[slice_idx]; in krhino_mblk_get_size() [all …]
|
A D | k_trace.h | 167 #define TRACE_MBLK_POOL_CREATE(task, pool) argument 170 #define TRACE_MM_POOL_CREATE(task, pool) argument 244 #define TRACE_MBLK_POOL_CREATE(task, pool) 247 #define TRACE_MM_POOL_CREATE(task, pool)
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/priv/ |
A D | tcpip_priv.h | 58 #define API_VAR_ALLOC(type, pool, name, errorval) do { \ argument 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ argument 65 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 70 #define API_VAR_FREE(pool, name) memp_free(pool, name) argument 71 #define API_VAR_FREE_POOL(pool, name) LWIP_MEMPOOL_FREE(pool, name) argument 84 #define API_VAR_ALLOC(type, pool, name, errorval) argument 85 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) argument 86 #define API_VAR_FREE(pool, name) argument 87 #define API_VAR_FREE_POOL(pool, name) argument
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/priv/ |
A D | tcpip_priv.h | 58 #define API_VAR_ALLOC(type, pool, name, errorval) do { \ argument 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ argument 65 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 70 #define API_VAR_FREE(pool, name) memp_free(pool, name) argument 71 #define API_VAR_FREE_POOL(pool, name) LWIP_MEMPOOL_FREE(pool, name) argument 84 #define API_VAR_ALLOC(type, pool, name, errorval) argument 85 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) argument 86 #define API_VAR_FREE(pool, name) argument 87 #define API_VAR_FREE_POOL(pool, name) argument
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | buf.c | 95 return (pool->buf_count == pool->uninit_count + k_lifo_num_get(&pool->free)); in net_buf_pool_is_free() 116 return buf - pool->__bufs; in net_buf_id() 124 buf = &pool->__bufs[pool->buf_count - uninit_count]; in pool_get_uninit() 327 __ASSERT_NO_MSG(pool); in net_buf_alloc_len_debug() 340 if (pool->uninit_count) { in net_buf_alloc_len_debug() 347 if (pool->uninit_count < pool->buf_count) { in net_buf_alloc_len_debug() 428 pool->avail_count--; in net_buf_alloc_len_debug() 648 pool->avail_count++; in net_buf_unref_debug() 649 __ASSERT_NO_MSG(pool->avail_count <= pool->buf_count); in net_buf_unref_debug() 652 if (pool->destroy) { in net_buf_unref_debug() [all …]
|
A D | Kconfig | 68 bool "Network buffer pool usage tracking" 70 Enable network buffer pool tracking. This means that: 71 * amount of free buffers in the pool is remembered 72 * total size of the pool is calculated 73 * pool name is stored and can be shown in debugging prints
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | jcomapi.c | 31 int pool; in jpeg_abort() local 40 for (pool = JPOOL_NUMPOOLS-1; pool > JPOOL_PERMANENT; pool--) { in jpeg_abort() 41 (*cinfo->mem->free_pool) (cinfo, pool); in jpeg_abort()
|
A D | jmemmgr.c | 1005 int pool; in self_destruct() local 1011 for (pool = JPOOL_NUMPOOLS-1; pool >= JPOOL_PERMANENT; pool--) { in self_destruct() 1012 free_pool(cinfo, pool); in self_destruct() 1033 int pool; in jinit_memory_mgr() local 1086 for (pool = JPOOL_NUMPOOLS-1; pool >= JPOOL_PERMANENT; pool--) { in jinit_memory_mgr() 1087 mem->small_list[pool] = NULL; in jinit_memory_mgr() 1088 mem->large_list[pool] = NULL; in jinit_memory_mgr()
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_dataqueue.c | 78 packet->next = queue->pool; in SDL_NewDataQueue() 79 queue->pool = packet; in SDL_NewDataQueue() 114 queue->tail->next = queue->pool; in SDL_ClearDataQueue() 116 packet = queue->pool; in SDL_ClearDataQueue() 123 queue->pool = packet; in SDL_ClearDataQueue() 134 queue->pool = NULL; in SDL_ClearDataQueue() 147 packet = queue->pool; in AllocateDataQueuePacket() 150 queue->pool = packet->next; in AllocateDataQueuePacket() 210 queue->pool = NULL; in SDL_WriteToDataQueue() 279 packet->next = queue->pool; in SDL_ReadFromDataQueue() [all …]
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testnativecocoa.m | 19 NSAutoreleasePool *pool; 24 pool = [[NSAutoreleasePool alloc] init]; 37 [pool release]; 44 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 48 [pool release];
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | bm_nqueens.py | 11 pool = tuple(iterable) 12 n = len(pool) 17 yield tuple(pool[i] for i in indices[:r]) 27 yield tuple(pool[i] for i in indices[:r])
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | hci_raw.c | 99 struct net_buf_pool *pool; in bt_buf_get_tx() local 104 pool = &hci_cmd_pool; in bt_buf_get_tx() 107 pool = &hci_acl_pool; in bt_buf_get_tx() 115 pool = &hci_cmd_pool; in bt_buf_get_tx() 119 pool = &hci_acl_pool; in bt_buf_get_tx() 137 buf = net_buf_alloc(pool, timeout); in bt_buf_get_tx()
|
/AliOS-Things-master/components/ble_host/include/net/ |
A D | buf.h | 833 int net_buf_pool_init(struct net_buf_pool *pool); 1070 struct net_buf *net_buf_alloc_fixed_debug(struct net_buf_pool *pool, 1076 struct net_buf *net_buf_alloc_fixed(struct net_buf_pool *pool, 1085 #define net_buf_alloc(pool, timeout) net_buf_alloc_fixed(pool, timeout) argument 1103 struct net_buf *net_buf_alloc_len_debug(struct net_buf_pool *pool, size_t size, 1109 struct net_buf *net_buf_alloc_len(struct net_buf_pool *pool, size_t size, 1133 struct net_buf *net_buf_alloc_with_data_debug(struct net_buf_pool *pool, 1141 struct net_buf *net_buf_alloc_with_data(struct net_buf_pool *pool, 1176 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in net_buf_destroy() local 1178 k_lifo_put(&pool->free, buf); in net_buf_destroy()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | huffman_encode_utils.c | 136 const HuffmanTree* const pool, in SetBitDepths() argument 139 SetBitDepths(&pool[tree->pool_index_left_], pool, bit_depths, level + 1); in SetBitDepths() 140 SetBitDepths(&pool[tree->pool_index_right_], pool, bit_depths, level + 1); in SetBitDepths()
|
/AliOS-Things-master/components/SDL2/src/hidapi/testgui/ |
A D | mac_support_cocoa.m | 78 NSAutoreleasePool *pool = [NSAutoreleasePool new]; 91 [pool release];
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | havege.c | 154 hs->pool[n % MBEDTLS_HAVEGE_COLLECT_SIZE] ^= RES[i]; 229 val = hs->pool[hs->offset[0]++]; in mbedtls_havege_random() 230 val ^= hs->pool[hs->offset[1]++]; in mbedtls_havege_random()
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | havege.h | 41 int pool[MBEDTLS_HAVEGE_COLLECT_SIZE]; member
|
/AliOS-Things-master/components/trace/Config/ |
A D | SYSVIEW_AliOSThings.txt | 13 …pool, 4=Wait for timeout, 12=Wait for event with timeout, 20=Wait for sema zero with timeout, 28=W…
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | pngvalid.c | 837 memset(pool, 0, sizeof *pool); in store_pool_init() 841 pool->max = pool->current = pool->limit = pool->total = 0; in store_pool_init() 842 pool->max_max = pool->max_limit = pool->max_total = 0; in store_pool_init() 1824 if (memory->pool != pool) in store_memory_free() 1879 if (pool->max > pool->max_max) pool->max_max = pool->max; in store_pool_delete() 1888 if (pool->limit > pool->max_limit) in store_pool_delete() 1889 pool->max_limit = pool->limit; in store_pool_delete() 1893 if (pool->total > pool->max_total) in store_pool_delete() 1894 pool->max_total = pool->total; in store_pool_delete() 1919 pool->limit = pool->current; in store_malloc() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/cmsis/ |
A D | cmsis_os.h | 243 void *pool; ///< pointer to memory for pool member 252 void *pool; ///< memory array for messages member 262 void *pool; ///< memory array for mail
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | adv.h | 53 struct net_buf *bt_mesh_adv_create_from_pool(struct net_buf_pool *pool, bt_mesh_adv_alloc_t get_id,
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | rfcomm.h | 178 struct net_buf *bt_rfcomm_create_pdu(struct net_buf_pool *pool);
|