Lines Matching refs:pool
1116 MYSQLND_MEMORY_POOL * pool; in mysqlnd_result_init() local
1121 pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)); in mysqlnd_result_init()
1122 if (!pool) { in mysqlnd_result_init()
1126 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_init()
1129 ret->row_data = pool->get_chunk(pool, field_count * sizeof(zval)); in mysqlnd_result_init()
1132 ret->memory_pool = pool; in mysqlnd_result_init()
1136 mysqlnd_mempool_save_state(pool); in mysqlnd_result_init()
1148 MYSQLND_MEMORY_POOL * pool = result->memory_pool; in mysqlnd_result_unbuffered_init() local
1153 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_unbuffered_init()
1156 ret->result_set_memory_pool = pool; in mysqlnd_result_unbuffered_init()
1169 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1183 MYSQLND_MEMORY_POOL * pool = result->memory_pool; in mysqlnd_result_buffered_init() local
1188 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_init()
1193 ret->result_set_memory_pool = pool; in mysqlnd_result_buffered_init()
1205 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_init()