Lines Matching refs:cmd
315 if (result->sybase_ptr->cmd) { in php_free_sybase_result()
316 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); in php_free_sybase_result()
352 ct_cmd_drop(sybase_ptr->cmd); in _close_sybase_link()
718 if (ct_cmd_alloc(sybase->connection, &sybase->cmd)!=CS_SUCCEED) { in php_sybase_do_connect_internal()
1000 if (ct_command(sybase_ptr->cmd, CS_LANG_CMD, cmdbuf, CS_NULLTERM, CS_UNUSED)!=CS_SUCCEED) { in exec_cmd()
1004 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) { in exec_cmd()
1009 while ((retcode = ct_results(sybase_ptr->cmd, &restype))==CS_SUCCEED) { in exec_cmd()
1020 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT); in exec_cmd()
1028 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in exec_cmd()
1045 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in exec_cmd()
1117 while ((retcode = ct_results(result->sybase_ptr->cmd, &restype))==CS_SUCCEED) { in php_sybase_finish_results()
1125 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_finish_results()
1135 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_CURRENT); in php_sybase_finish_results()
1140 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_CURRENT); in php_sybase_finish_results()
1145 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_finish_results()
1166 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_finish_results()
1206 …while ((retcode=ct_fetch(result->sybase_ptr->cmd, CS_UNUSED, CS_UNUSED, CS_UNUSED, NULL))==CS_SUCC… in php_sybase_fetch_result_row()
1309 if (ct_res_info(sybase_ptr->cmd, CS_NUMDATA, &num_fields, CS_UNUSED, NULL)!=CS_SUCCEED) { in php_sybase_fetch_result_set()
1330 ct_describe(sybase_ptr->cmd, i+1, &result->datafmt[i]); in php_sybase_fetch_result_set()
1388 …ct_bind(sybase_ptr->cmd, i+1, &result->datafmt[i], result->tmp_buffer[i], &result->lengths[i], &re… in php_sybase_fetch_result_set()
1467 if (sybase_ptr->cmd) { in php_sybase_query()
1468 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1497 if (ct_command(sybase_ptr->cmd, CS_LANG_CMD, query, CS_NULLTERM, CS_UNUSED)!=CS_SUCCEED) { in php_sybase_query()
1509 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) { in php_sybase_query()
1510 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1522 if (ct_results(sybase_ptr->cmd, &restype)!=CS_SUCCEED) { in php_sybase_query()
1523 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1536 if (ct_res_info(sybase_ptr->cmd, CS_ROW_COUNT, &row_count, CS_UNUSED, NULL)==CS_SUCCEED) { in php_sybase_query()
1555 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1564 while ((retcode = ct_results(sybase_ptr->cmd, &restype))==CS_SUCCEED) { in php_sybase_query()
1581 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1589 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT); in php_sybase_query()
1594 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT); in php_sybase_query()
1602 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1620 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1701 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); in PHP_FUNCTION()