Lines Matching refs:ib_link
1065 ibase_db_link *ib_link = NULL; in PHP_FUNCTION() local
1081 ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link*, &zlink, -1, LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1091 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, &zlink, &ib_link, &trans); in PHP_FUNCTION()
1126 ib_link = (ibase_db_link *) emalloc(sizeof(ibase_db_link)); in PHP_FUNCTION()
1127 ib_link->handle = db; in PHP_FUNCTION()
1128 ib_link->dialect = SQL_DIALECT_CURRENT; in PHP_FUNCTION()
1129 ib_link->tr_list = NULL; in PHP_FUNCTION()
1130 ib_link->event_head = NULL; in PHP_FUNCTION()
1132 ZEND_REGISTER_RESOURCE(return_value, ib_link, le_link); in PHP_FUNCTION()
1143 ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, in PHP_FUNCTION()
1153 if (ib_link == NULL || FAILURE == _php_ibase_def_trans(ib_link, &trans TSRMLS_CC) in PHP_FUNCTION()
1154 || FAILURE == _php_ibase_alloc_query(&ib_query, ib_link, trans, query, ib_link->dialect, in PHP_FUNCTION()
1204 ibase_db_link *ib_link; in PHP_FUNCTION() local
1214 …ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink… in PHP_FUNCTION()
1215 if (ib_link->tr_list == NULL || ib_link->tr_list->trans == NULL) { in PHP_FUNCTION()
1218 trans = ib_link->tr_list->trans; in PHP_FUNCTION()
1221 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, &arg, &ib_link, &trans); in PHP_FUNCTION()
1223 ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, &arg, -1, LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1225 if (ib_link->tr_list == NULL || ib_link->tr_list->trans == NULL) { in PHP_FUNCTION()
1228 trans = ib_link->tr_list->trans; in PHP_FUNCTION()
1734 ibase_db_link *ib_link; in PHP_FUNCTION() local
1746 …ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink… in PHP_FUNCTION()
1751 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, &link_arg, &ib_link, &trans); in PHP_FUNCTION()
1760 ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, &link_arg, -1, LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1765 if (FAILURE == _php_ibase_def_trans(ib_link, &trans TSRMLS_CC)) { in PHP_FUNCTION()
1771 …if (FAILURE == _php_ibase_alloc_query(ib_query, ib_link, trans, query, ib_link->dialect, trans_res… in PHP_FUNCTION()