Lines Matching refs:agg_context
319 zend_reference *agg_context = NULL; in do_callback() local
342 agg_context = (zend_reference*)sqlite3_aggregate_context(context, sizeof(zend_reference)); in do_callback()
343 if (!agg_context) { in do_callback()
346 if (Z_ISUNDEF(agg_context->val)) { in do_callback()
347 GC_REFCOUNT(agg_context) = 1; in do_callback()
348 GC_TYPE_INFO(agg_context) = IS_REFERENCE; in do_callback()
349 ZVAL_NULL(&agg_context->val); in do_callback()
351 ZVAL_REF(&zargs[0], agg_context); in do_callback()
422 if (agg_context) { in do_callback()
423 zval_ptr_dtor(&agg_context->val); in do_callback()
428 if (agg_context) { in do_callback()
429 zval_ptr_dtor(&agg_context->val); in do_callback()
432 ZVAL_COPY_VALUE(&agg_context->val, &retval); in do_callback()
435 ZVAL_UNDEF(&agg_context->val); in do_callback()