Lines Matching refs:ib_result

139 	ibase_result *ib_result = (ibase_result *) rsrc->ptr;  in _php_ibase_free_result()  local
142 if (ib_result) { in _php_ibase_free_result()
143 _php_ibase_free_xsqlda(ib_result->out_sqlda); in _php_ibase_free_result()
144 if (ib_result->query != NULL) { in _php_ibase_free_result()
146 ib_result->query->result = NULL; /* Indicate to query, that result is released */ in _php_ibase_free_result()
148 _php_ibase_free_stmt_handle(ib_result->link, ib_result->stmt); in _php_ibase_free_result()
150 efree(ib_result); in _php_ibase_free_result()
1263 ibase_result *ib_result; in PHP_FUNCTION() local
1273 ib_result = (ibase_result *)zend_fetch_resource_ex(&result_arg, LE_RESULT, le_result); in PHP_FUNCTION()
1275 …if (isc_dsql_sql_info(IB_STATUS, &ib_result->stmt, sizeof(info_count), info_count, sizeof(result),… in PHP_FUNCTION()
1480 ibase_result *ib_result; in _php_ibase_fetch_hash() local
1488 ib_result = (ibase_result *)zend_fetch_resource_ex(result_arg, LE_RESULT, le_result); in _php_ibase_fetch_hash()
1490 if (ib_result->out_sqlda == NULL || !ib_result->has_more_rows) { in _php_ibase_fetch_hash()
1494 if (ib_result->statement_type != isc_info_sql_stmt_exec_procedure) { in _php_ibase_fetch_hash()
1495 if (isc_dsql_fetch(IB_STATUS, &ib_result->stmt, 1, ib_result->out_sqlda)) { in _php_ibase_fetch_hash()
1496 ib_result->has_more_rows = 0; in _php_ibase_fetch_hash()
1503 ib_result->has_more_rows = 0; in _php_ibase_fetch_hash()
1508 for (i = 0; i < ib_result->out_sqlda->sqld; ++i) { in _php_ibase_fetch_hash()
1509 XSQLVAR *var = &ib_result->out_sqlda->sqlvar[i]; in _php_ibase_fetch_hash()
1557 if (isc_open_blob(IB_STATUS, &ib_result->link->handle, &ib_result->trans->handle, in _php_ibase_fetch_hash()
1611 ibase_array *ib_array = &ib_result->out_array[array_cnt++]; in _php_ibase_fetch_hash()
1614 if (isc_array_get_slice(IB_STATUS, &ib_result->link->handle, in _php_ibase_fetch_hash()
1615 &ib_result->trans->handle, &ar_qd, &ib_array->ar_desc, in _php_ibase_fetch_hash()
1691 ibase_result *ib_result; in PHP_FUNCTION() local
1699 ib_result = (ibase_result *)zend_fetch_resource_ex(result_arg, LE_RESULT, le_result); in PHP_FUNCTION()
1701 if (isc_dsql_set_cursor_name(IB_STATUS, &ib_result->stmt, name_arg, 0)) { in PHP_FUNCTION()
1715 ibase_result *ib_result; in PHP_FUNCTION() local
1723 ib_result = (ibase_result *)zend_fetch_resource_ex(result_arg, LE_RESULT, le_result); in PHP_FUNCTION()
1898 ibase_result *ib_result; in PHP_FUNCTION() local
1900 ib_result = (ibase_result *)zend_fetch_resource_ex(result, LE_RESULT, le_result); in PHP_FUNCTION()
1901 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()
2022 ibase_result *ib_result; in PHP_FUNCTION() local
2024 ib_result = (ibase_result *)zend_fetch_resource_ex(result_arg, LE_RESULT, le_result); in PHP_FUNCTION()
2025 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()