Lines Matching refs:out_sqlda

56 	XSQLDA *out_sqlda;  member
66 XSQLDA *in_sqlda, *out_sqlda; member
145 _php_ibase_free_xsqlda(ib_result->out_sqlda); in _php_ibase_free_result()
164 if (ib_query->out_sqlda) { in _php_ibase_free_query()
165 efree(ib_query->out_sqlda); in _php_ibase_free_query()
339 ib_query->out_sqlda = NULL; in _php_ibase_alloc_query()
347 ib_query->out_sqlda = (XSQLDA *) emalloc(XSQLDA_LENGTH(1)); in _php_ibase_alloc_query()
348 ib_query->out_sqlda->sqln = 1; in _php_ibase_alloc_query()
349 ib_query->out_sqlda->version = SQLDA_CURRENT_VERSION; in _php_ibase_alloc_query()
352 0, query, dialect, ib_query->out_sqlda)) { in _php_ibase_alloc_query()
366 if (ib_query->out_sqlda->sqld > ib_query->out_sqlda->sqln) { in _php_ibase_alloc_query()
367 ib_query->out_sqlda = erealloc(ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_alloc_query()
368 ib_query->out_sqlda->sqln = ib_query->out_sqlda->sqld; in _php_ibase_alloc_query()
369 ib_query->out_sqlda->version = SQLDA_CURRENT_VERSION; in _php_ibase_alloc_query()
370 if (isc_dsql_describe(IB_STATUS, &ib_query->stmt, SQLDA_CURRENT_VERSION, ib_query->out_sqlda)) { in _php_ibase_alloc_query()
407 if (ib_query->out_sqlda->sqld == 0) { in _php_ibase_alloc_query()
408 efree(ib_query->out_sqlda); in _php_ibase_alloc_query()
409 ib_query->out_sqlda = NULL; in _php_ibase_alloc_query()
410 } else if (FAILURE == _php_ibase_alloc_array(&ib_query->out_array, ib_query->out_sqlda, in _php_ibase_alloc_query()
419 if (ib_query->out_sqlda) { in _php_ibase_alloc_query()
420 efree(ib_query->out_sqlda); in _php_ibase_alloc_query()
867 XSQLDA *in_sqlda = NULL, *out_sqlda = NULL; in _php_ibase_exec() local
943 if (ib_query->out_sqlda) { /* output variables in select, select for update */ in _php_ibase_exec()
957 out_sqlda = res->out_sqlda = emalloc(XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_exec()
958 memcpy(out_sqlda, ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); in _php_ibase_exec()
959 _php_ibase_alloc_xsqlda(out_sqlda); in _php_ibase_exec()
980 &ib_query->stmt, SQLDA_CURRENT_VERSION, in_sqlda, out_sqlda); in _php_ibase_exec()
1023 if (!ib_query->out_sqlda) { /* no result set is being returned */ in _php_ibase_exec()
1050 if (out_sqlda) { in _php_ibase_exec()
1051 _php_ibase_free_xsqlda(out_sqlda); in _php_ibase_exec()
1495 if (ib_result->out_sqlda == NULL || !ib_result->has_more_rows) { in _php_ibase_fetch_hash()
1500 if (isc_dsql_fetch(IB_STATUS, &ib_result->stmt, 1, ib_result->out_sqlda)) { in _php_ibase_fetch_hash()
1513 for (i = 0; i < ib_result->out_sqlda->sqld; ++i) { in _php_ibase_fetch_hash()
1514 XSQLVAR *var = &ib_result->out_sqlda->sqlvar[i]; in _php_ibase_fetch_hash()
1903 sqlda = ib_query->out_sqlda; in PHP_FUNCTION()
1908 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()
2027 sqlda = ib_query->out_sqlda; in PHP_FUNCTION()
2032 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()