Lines Matching refs:zargs
315 zval *zargs = NULL; in do_callback() local
337 zargs = safe_emalloc(fake_argc, sizeof(zval), 0); in do_callback()
343 ZVAL_NULL(&zargs[0]); in do_callback()
350 ZVAL_REF(&zargs[0], agg_context); in do_callback()
352 ZVAL_LONG(&zargs[1], sqlite3_aggregate_count(context)); in do_callback()
359 ZVAL_LONG(&zargs[i + is_agg], sqlite3_value_int(argv[i])); in do_callback()
363 ZVAL_DOUBLE(&zargs[i + is_agg], sqlite3_value_double(argv[i])); in do_callback()
367 ZVAL_NULL(&zargs[i + is_agg]); in do_callback()
373 …ZVAL_STRINGL(&zargs[i + is_agg], (char*)sqlite3_value_text(argv[i]), sqlite3_value_bytes(argv[i])); in do_callback()
378 fc->fci.params = zargs; in do_callback()
385 if (zargs) { in do_callback()
387 zval_ptr_dtor(&zargs[i]); in do_callback()
390 zval_ptr_dtor(&zargs[1]); in do_callback()
392 efree(zargs); in do_callback()
473 zval zargs[2]; in php_sqlite3_collation_callback() local
483 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite3_collation_callback()
484 ZVAL_STRINGL(&zargs[1], (char *) string2, string2_len); in php_sqlite3_collation_callback()
486 collation->fc.fci.params = zargs; in php_sqlite3_collation_callback()
503 zval_ptr_dtor(&zargs[0]); in php_sqlite3_collation_callback()
504 zval_ptr_dtor(&zargs[1]); in php_sqlite3_collation_callback()