Lines Matching refs:zargs
329 zval *zargs = NULL; in do_callback() local
351 zargs = safe_emalloc(fake_argc, sizeof(zval), 0); in do_callback()
357 efree(zargs); in do_callback()
363 ZVAL_COPY_VALUE(&zargs[0], &agg_context->val); in do_callback()
364 ZVAL_LONG(&zargs[1], ++agg_context->row); in do_callback()
371 ZVAL_LONG(&zargs[i + is_agg], sqlite3_value_int(argv[i])); in do_callback()
375 ZVAL_DOUBLE(&zargs[i + is_agg], sqlite3_value_double(argv[i])); in do_callback()
379 ZVAL_NULL(&zargs[i + is_agg]); in do_callback()
385 …ZVAL_STRINGL(&zargs[i + is_agg], (char*)sqlite3_value_text(argv[i]), sqlite3_value_bytes(argv[i])); in do_callback()
390 fc->fci.params = zargs; in do_callback()
397 if (zargs) { in do_callback()
399 zval_ptr_dtor(&zargs[i]); in do_callback()
402 zval_ptr_dtor(&zargs[1]); in do_callback()
404 efree(zargs); in do_callback()
488 zval zargs[2]; in php_sqlite3_collation_callback() local
498 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite3_collation_callback()
499 ZVAL_STRINGL(&zargs[1], (char *) string2, string2_len); in php_sqlite3_collation_callback()
501 collation->fc.fci.params = zargs; in php_sqlite3_collation_callback()
518 zval_ptr_dtor(&zargs[0]); in php_sqlite3_collation_callback()
519 zval_ptr_dtor(&zargs[1]); in php_sqlite3_collation_callback()