Lines Matching refs:agg_context
328 aggregate_context *agg_context = NULL; in do_callback() local
342 agg_context = sqlite3_aggregate_context(context, sizeof(aggregate_context)); in do_callback()
343 if (!agg_context) { in do_callback()
347 if (Z_ISUNDEF(agg_context->val)) { in do_callback()
348 ZVAL_NEW_REF(&agg_context->val, &EG(uninitialized_zval)); in do_callback()
350 ZVAL_COPY_VALUE(&zargs[0], &agg_context->val); in do_callback()
351 ZVAL_LONG(&zargs[1], ++agg_context->row); in do_callback()
419 if (agg_context) { in do_callback()
420 zval_ptr_dtor(&agg_context->val); in do_callback()
425 if (agg_context) { in do_callback()
429 zval_ptr_dtor(Z_REFVAL(agg_context->val)); in do_callback()
430 ZVAL_COPY_VALUE(Z_REFVAL(agg_context->val), &retval); in do_callback()