Lines Matching refs:agg_context
736 php_sqlite3_agg_context *agg_context = NULL; in sqlite3_do_callback() local
758 …agg_context = (php_sqlite3_agg_context *)sqlite3_aggregate_context(context, sizeof(php_sqlite3_agg… in sqlite3_do_callback()
760 if (Z_ISUNDEF(agg_context->zval_context)) { in sqlite3_do_callback()
761 ZVAL_NULL(&agg_context->zval_context); in sqlite3_do_callback()
763 ZVAL_COPY(&zargs[0], &agg_context->zval_context); in sqlite3_do_callback()
764 ZVAL_LONG(&zargs[1], agg_context->row_count); in sqlite3_do_callback()
850 if (agg_context && !Z_ISUNDEF(agg_context->zval_context)) { in sqlite3_do_callback()
851 zval_ptr_dtor(&agg_context->zval_context); in sqlite3_do_callback()
856 if (agg_context && !Z_ISUNDEF(agg_context->zval_context)) { in sqlite3_do_callback()
857 zval_ptr_dtor(&agg_context->zval_context); in sqlite3_do_callback()
859 ZVAL_COPY_VALUE(&agg_context->zval_context, &retval); in sqlite3_do_callback()
881 …php_sqlite3_agg_context *agg_context = (php_sqlite3_agg_context *)sqlite3_aggregate_context(contex… in php_sqlite3_callback_step() local
883 agg_context->row_count++; in php_sqlite3_callback_step()
892 …php_sqlite3_agg_context *agg_context = (php_sqlite3_agg_context *)sqlite3_aggregate_context(contex… in php_sqlite3_callback_final() local
894 agg_context->row_count = 0; in php_sqlite3_callback_final()