Lines Matching refs:ib_result

141 	ibase_result *ib_result = (ibase_result *) rsrc->ptr;  in _php_ibase_free_result()  local
144 if (ib_result) { in _php_ibase_free_result()
145 _php_ibase_free_xsqlda(ib_result->out_sqlda); in _php_ibase_free_result()
146 if (ib_result->query != NULL) { in _php_ibase_free_result()
148 ib_result->query->result = NULL; /* Indicate to query, that result is released */ in _php_ibase_free_result()
150 _php_ibase_free_stmt_handle(ib_result->link, ib_result->stmt TSRMLS_CC); in _php_ibase_free_result()
152 efree(ib_result); in _php_ibase_free_result()
1263 ibase_result *ib_result; in PHP_FUNCTION() local
1273 ZEND_FETCH_RESOURCE(ib_result, ibase_result *, &result_arg, -1, 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()
1485 ibase_result *ib_result; in _php_ibase_fetch_hash() local
1493 ZEND_FETCH_RESOURCE(ib_result, ibase_result *, &result_arg, -1, LE_RESULT, le_result); in _php_ibase_fetch_hash()
1495 if (ib_result->out_sqlda == NULL || !ib_result->has_more_rows) { in _php_ibase_fetch_hash()
1499 if (ib_result->statement_type != isc_info_sql_stmt_exec_procedure) { 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()
1501 ib_result->has_more_rows = 0; in _php_ibase_fetch_hash()
1508 ib_result->has_more_rows = 0; 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()
1563 if (isc_open_blob(IB_STATUS, &ib_result->link->handle, &ib_result->trans->handle, in _php_ibase_fetch_hash()
1617 ibase_array *ib_array = &ib_result->out_array[array_cnt++]; in _php_ibase_fetch_hash()
1620 if (isc_array_get_slice(IB_STATUS, &ib_result->link->handle, in _php_ibase_fetch_hash()
1621 &ib_result->trans->handle, &ar_qd, &ib_array->ar_desc, in _php_ibase_fetch_hash()
1698 ibase_result *ib_result; in PHP_FUNCTION() local
1706 ZEND_FETCH_RESOURCE(ib_result, ibase_result *, &result_arg, -1, LE_RESULT, le_result); in PHP_FUNCTION()
1708 if (isc_dsql_set_cursor_name(IB_STATUS, &ib_result->stmt, name_arg, 0)) { in PHP_FUNCTION()
1722 ibase_result *ib_result; in PHP_FUNCTION() local
1730 ZEND_FETCH_RESOURCE(ib_result, ibase_result *, &result_arg, -1, LE_RESULT, le_result); in PHP_FUNCTION()
1905 ibase_result *ib_result; in PHP_FUNCTION() local
1907 ZEND_FETCH_RESOURCE(ib_result, ibase_result *, &result, -1, LE_RESULT, le_result); in PHP_FUNCTION()
1908 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()
2029 ibase_result *ib_result; in PHP_FUNCTION() local
2031 ZEND_FETCH_RESOURCE(ib_result, ibase_result *, &result_arg, -1, LE_RESULT, le_result); in PHP_FUNCTION()
2032 sqlda = ib_result->out_sqlda; in PHP_FUNCTION()