Lines Matching refs:out_sqlda

54 	XSQLDA *out_sqlda;  member
64 XSQLDA *in_sqlda, *out_sqlda; member
143 _php_ibase_free_xsqlda(ib_result->out_sqlda); in _php_ibase_free_result()
162 if (ib_query->out_sqlda) { in _php_ibase_free_query()
163 efree(ib_query->out_sqlda); in _php_ibase_free_query()
337 ib_query->out_sqlda = NULL; in _php_ibase_alloc_query()
345 ib_query->out_sqlda = (XSQLDA *) emalloc(XSQLDA_LENGTH(1)); in _php_ibase_alloc_query()
346 ib_query->out_sqlda->sqln = 1; in _php_ibase_alloc_query()
347 ib_query->out_sqlda->version = SQLDA_CURRENT_VERSION; in _php_ibase_alloc_query()
350 0, query, dialect, ib_query->out_sqlda)) { in _php_ibase_alloc_query()
364 if (ib_query->out_sqlda->sqld > ib_query->out_sqlda->sqln) { in _php_ibase_alloc_query()
365 ib_query->out_sqlda = erealloc(ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_alloc_query()
366 ib_query->out_sqlda->sqln = ib_query->out_sqlda->sqld; in _php_ibase_alloc_query()
367 ib_query->out_sqlda->version = SQLDA_CURRENT_VERSION; in _php_ibase_alloc_query()
368 if (isc_dsql_describe(IB_STATUS, &ib_query->stmt, SQLDA_CURRENT_VERSION, ib_query->out_sqlda)) { in _php_ibase_alloc_query()
405 if (ib_query->out_sqlda->sqld == 0) { in _php_ibase_alloc_query()
406 efree(ib_query->out_sqlda); in _php_ibase_alloc_query()
407 ib_query->out_sqlda = NULL; in _php_ibase_alloc_query()
408 } else if (FAILURE == _php_ibase_alloc_array(&ib_query->out_array, ib_query->out_sqlda, in _php_ibase_alloc_query()
417 if (ib_query->out_sqlda) { in _php_ibase_alloc_query()
418 efree(ib_query->out_sqlda); in _php_ibase_alloc_query()
865 XSQLDA *in_sqlda = NULL, *out_sqlda = NULL; in _php_ibase_exec() local
941 if (ib_query->out_sqlda) { /* output variables in select, select for update */ in _php_ibase_exec()
955 out_sqlda = res->out_sqlda = emalloc(XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_exec()
956 memcpy(out_sqlda, ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_exec()
957 _php_ibase_alloc_xsqlda(out_sqlda); in _php_ibase_exec()
978 &ib_query->stmt, SQLDA_CURRENT_VERSION, in_sqlda, out_sqlda); in _php_ibase_exec()
1021 if (!ib_query->out_sqlda) { /* no result set is being returned */ in _php_ibase_exec()
1048 if (out_sqlda) { in _php_ibase_exec()
1049 _php_ibase_free_xsqlda(out_sqlda); in _php_ibase_exec()
1488 if (ib_result->out_sqlda == NULL || !ib_result->has_more_rows) { in _php_ibase_fetch_hash()
1493 if (isc_dsql_fetch(IB_STATUS, &ib_result->stmt, 1, ib_result->out_sqlda)) { in _php_ibase_fetch_hash()
1506 for (i = 0; i < ib_result->out_sqlda->sqld; ++i) { in _php_ibase_fetch_hash()
1507 XSQLVAR *var = &ib_result->out_sqlda->sqlvar[i]; in _php_ibase_fetch_hash()
1896 sqlda = ib_query->out_sqlda; in PHP_FUNCTION()
1901 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()
2020 sqlda = ib_query->out_sqlda; in PHP_FUNCTION()
2025 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()