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()
1205 …while ((retcode=ct_fetch(result->sybase_ptr->cmd, CS_UNUSED, CS_UNUSED, CS_UNUSED, NULL))==CS_SUCC… in php_sybase_fetch_result_row()
1308 if (ct_res_info(sybase_ptr->cmd, CS_NUMDATA, &num_fields, CS_UNUSED, NULL)!=CS_SUCCEED) { in php_sybase_fetch_result_set()
1329 ct_describe(sybase_ptr->cmd, i+1, &result->datafmt[i]); in php_sybase_fetch_result_set()
1387 …ct_bind(sybase_ptr->cmd, i+1, &result->datafmt[i], result->tmp_buffer[i], &result->lengths[i], &re… in php_sybase_fetch_result_set()
1466 if (sybase_ptr->cmd) { in php_sybase_query()
1467 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1496 if (ct_command(sybase_ptr->cmd, CS_LANG_CMD, query, CS_NULLTERM, CS_UNUSED)!=CS_SUCCEED) { in php_sybase_query()
1508 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) { in php_sybase_query()
1509 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1521 if (ct_results(sybase_ptr->cmd, &restype)!=CS_SUCCEED) { in php_sybase_query()
1522 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1535 if (ct_res_info(sybase_ptr->cmd, CS_ROW_COUNT, &row_count, CS_UNUSED, NULL)==CS_SUCCEED) { in php_sybase_query()
1554 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1563 while ((retcode = ct_results(sybase_ptr->cmd, &restype))==CS_SUCCEED) { in php_sybase_query()
1580 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1588 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT); in php_sybase_query()
1593 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT); in php_sybase_query()
1601 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1619 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1700 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); in PHP_FUNCTION()