Lines Matching refs:zargs
314 zval *zargs = NULL; in do_callback() local
338 zargs = safe_emalloc(fake_argc, sizeof(zval), 0); in do_callback()
344 ZVAL_NULL(&zargs[0]); in do_callback()
351 ZVAL_REF(&zargs[0], agg_context); in do_callback()
353 ZVAL_LONG(&zargs[1], sqlite3_aggregate_count(context)); in do_callback()
360 ZVAL_LONG(&zargs[i + is_agg], sqlite3_value_int(argv[i])); in do_callback()
364 ZVAL_DOUBLE(&zargs[i + is_agg], sqlite3_value_double(argv[i])); in do_callback()
368 ZVAL_NULL(&zargs[i + is_agg]); in do_callback()
374 …ZVAL_STRINGL(&zargs[i + is_agg], (char*)sqlite3_value_text(argv[i]), sqlite3_value_bytes(argv[i])); in do_callback()
379 fc->fci.params = zargs; in do_callback()
386 if (zargs) { in do_callback()
388 zval_ptr_dtor(&zargs[i]); in do_callback()
391 zval_ptr_dtor(&zargs[1]); in do_callback()
393 efree(zargs); in do_callback()
474 zval zargs[2]; in php_sqlite3_collation_callback() local
486 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite3_collation_callback()
487 ZVAL_STRINGL(&zargs[1], (char *) string2, string2_len); in php_sqlite3_collation_callback()
489 collation->fc.fci.params = zargs; in php_sqlite3_collation_callback()
506 zval_ptr_dtor(&zargs[0]); in php_sqlite3_collation_callback()
507 zval_ptr_dtor(&zargs[1]); in php_sqlite3_collation_callback()