Lines Matching refs:pool
1929 MYSQLND_MEMORY_POOL * pool; in mysqlnd_result_init() local
1934 pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)); in mysqlnd_result_init()
1935 if (!pool) { in mysqlnd_result_init()
1939 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_init()
1942 ret->memory_pool = pool; in mysqlnd_result_init()
1946 mysqlnd_mempool_save_state(pool); in mysqlnd_result_init()
1958 MYSQLND_MEMORY_POOL * pool = result->memory_pool; in mysqlnd_result_unbuffered_init() local
1963 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_unbuffered_init()
1966 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1969 ret->result_set_memory_pool = pool; in mysqlnd_result_unbuffered_init()
1992 MYSQLND_MEMORY_POOL * pool = result->memory_pool; in mysqlnd_result_buffered_zval_init() local
1997 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_zval_init()
2004 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_zval_init()
2007 ret->result_set_memory_pool = pool; in mysqlnd_result_buffered_zval_init()
2033 MYSQLND_MEMORY_POOL * pool = result->memory_pool; in mysqlnd_result_buffered_c_init() local
2038 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_c_init()
2045 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_c_init()
2048 ret->result_set_memory_pool = pool; in mysqlnd_result_buffered_c_init()