Lines Matching refs:zargs
730 zval *zargs = NULL; in sqlite3_do_callback() local
752 zargs = (zval *)safe_emalloc(fake_argc, sizeof(zval), 0); in sqlite3_do_callback()
762 ZVAL_COPY(&zargs[0], &agg_context->zval_context); in sqlite3_do_callback()
763 ZVAL_LONG(&zargs[1], agg_context->row_count); in sqlite3_do_callback()
770 ZVAL_LONG(&zargs[i + is_agg], sqlite3_value_int64(argv[i])); in sqlite3_do_callback()
772 ZVAL_LONG(&zargs[i + is_agg], sqlite3_value_int(argv[i])); in sqlite3_do_callback()
777 ZVAL_DOUBLE(&zargs[i + is_agg], sqlite3_value_double(argv[i])); in sqlite3_do_callback()
781 ZVAL_NULL(&zargs[i + is_agg]); in sqlite3_do_callback()
787 …ZVAL_STRINGL(&zargs[i + is_agg], (char*)sqlite3_value_text(argv[i]), sqlite3_value_bytes(argv[i])); in sqlite3_do_callback()
792 fc->fci.params = zargs; in sqlite3_do_callback()
799 zval_ptr_dtor(&zargs[0]); in sqlite3_do_callback()
805 zval_ptr_dtor(&zargs[i]); in sqlite3_do_callback()
808 zval_ptr_dtor(&zargs[1]); in sqlite3_do_callback()
810 efree(zargs); in sqlite3_do_callback()
902 zval zargs[2]; in php_sqlite3_callback_compare() local
917 ZVAL_STRINGL(&zargs[0], a, a_len); in php_sqlite3_callback_compare()
918 ZVAL_STRINGL(&zargs[1], b, b_len); in php_sqlite3_callback_compare()
920 collation->fci.fci.params = zargs; in php_sqlite3_callback_compare()
926 zval_ptr_dtor(&zargs[0]); in php_sqlite3_callback_compare()
927 zval_ptr_dtor(&zargs[1]); in php_sqlite3_callback_compare()