Lines Matching refs:link_cnt
560 if ((*trans)->link_cnt > 1) { in _php_ibase_get_link_trans()
604 for (j = 0; j < p->trans->link_cnt; ++j) { in _php_ibase_commit_link()
676 for (i = 0; i < trans->link_cnt; ++i) { in _php_ibase_free_trans()
1132 unsigned short i, link_cnt = 0, tpb_len = 0; in PHP_FUNCTION() local
1167 …if ((ib_link[link_cnt] = (ibase_db_link *)zend_fetch_resource2_ex(&args[i], LE_LINK, le_link, le_p… in PHP_FUNCTION()
1175 memcpy(&tpb[TPB_MAX_SIZE * link_cnt], last_tpb, TPB_MAX_SIZE); in PHP_FUNCTION()
1178 teb[link_cnt].db_ptr = &ib_link[link_cnt]->handle; in PHP_FUNCTION()
1179 teb[link_cnt].tpb_len = tpb_len; in PHP_FUNCTION()
1180 teb[link_cnt].tpb_ptr = &tpb[TPB_MAX_SIZE * link_cnt]; in PHP_FUNCTION()
1182 ++link_cnt; in PHP_FUNCTION()
1225 if (link_cnt > 0) { in PHP_FUNCTION()
1226 result = isc_start_multiple(IB_STATUS, &tr_handle, link_cnt, teb); in PHP_FUNCTION()
1233 if (link_cnt == 0) { in PHP_FUNCTION()
1234 link_cnt = 1; in PHP_FUNCTION()
1250 ib_trans = (ibase_trans *) safe_emalloc(link_cnt-1, sizeof(ibase_db_link *), sizeof(ibase_trans)); in PHP_FUNCTION()
1252 ib_trans->link_cnt = link_cnt; in PHP_FUNCTION()
1254 for (i = 0; i < link_cnt; ++i) { in PHP_FUNCTION()
1297 tr->link_cnt = 1; in _php_ibase_def_trans()