Lines Matching refs:agg_context
703 php_sqlite3_agg_context *agg_context = NULL; in sqlite3_do_callback() local
725 …agg_context = (php_sqlite3_agg_context *)sqlite3_aggregate_context(context, sizeof(php_sqlite3_agg… in sqlite3_do_callback()
727 if (Z_ISUNDEF(agg_context->zval_context)) { in sqlite3_do_callback()
728 ZVAL_NULL(&agg_context->zval_context); in sqlite3_do_callback()
730 ZVAL_DUP(&zargs[0], &agg_context->zval_context); in sqlite3_do_callback()
731 ZVAL_LONG(&zargs[1], agg_context->row_count); in sqlite3_do_callback()
811 if (agg_context && !Z_ISUNDEF(agg_context->zval_context)) { in sqlite3_do_callback()
812 zval_ptr_dtor(&agg_context->zval_context); in sqlite3_do_callback()
817 if (agg_context && !Z_ISUNDEF(agg_context->zval_context)) { in sqlite3_do_callback()
818 zval_ptr_dtor(&agg_context->zval_context); in sqlite3_do_callback()
820 ZVAL_COPY_VALUE(&agg_context->zval_context, &retval); in sqlite3_do_callback()
842 …php_sqlite3_agg_context *agg_context = (php_sqlite3_agg_context *)sqlite3_aggregate_context(contex… in php_sqlite3_callback_step() local
844 agg_context->row_count++; in php_sqlite3_callback_step()
853 …php_sqlite3_agg_context *agg_context = (php_sqlite3_agg_context *)sqlite3_aggregate_context(contex… in php_sqlite3_callback_final() local
855 agg_context->row_count = 0; in php_sqlite3_callback_final()