Lines Matching refs:num_fields

274 			for (j=0; j<result->num_fields; j++) {  in _free_sybase_result()
283 for (i=0; i<result->num_fields; i++) { in _free_sybase_result()
291 for (i=0; i<result->num_fields; i++) { in _free_sybase_result()
1101 for (i=0; i<result->num_fields; i++) { in php_sybase_finish_results()
1212 result->data[i] = (zval *) safe_emalloc(sizeof(zval), result->num_fields, 0); in php_sybase_fetch_result_row()
1215 for (j = 0; j < result->num_fields; j++) { in php_sybase_fetch_result_row()
1298 int num_fields; in php_sybase_fetch_result_set() local
1308 if (ct_res_info(sybase_ptr->cmd, CS_NUMDATA, &num_fields, CS_UNUSED, NULL)!=CS_SUCCEED) { in php_sybase_fetch_result_set()
1317 result->num_fields = num_fields; in php_sybase_fetch_result_set()
1321 result->tmp_buffer = (char **) safe_emalloc(sizeof(char *), num_fields, 0); in php_sybase_fetch_result_set()
1322 result->lengths = (CS_INT *) safe_emalloc(sizeof(CS_INT), num_fields, 0); in php_sybase_fetch_result_set()
1323 result->indicators = (CS_SMALLINT *) safe_emalloc(sizeof(CS_INT), num_fields, 0); in php_sybase_fetch_result_set()
1324 result->datafmt = (CS_DATAFMT *) safe_emalloc(sizeof(CS_DATAFMT), num_fields, 0); in php_sybase_fetch_result_set()
1325 result->numerics = (unsigned char *) safe_emalloc(sizeof(unsigned char), num_fields, 0); in php_sybase_fetch_result_set()
1326 result->types = (CS_INT *) safe_emalloc(sizeof(CS_INT), num_fields, 0); in php_sybase_fetch_result_set()
1328 for (i=0; i<num_fields; i++) { in php_sybase_fetch_result_set()
1390 result->fields = (sybase_field *) safe_emalloc(sizeof(sybase_field), num_fields, 0); in php_sybase_fetch_result_set()
1392 for (i=0; i<num_fields; i++) { in php_sybase_fetch_result_set()
1748 Z_LVAL_P(return_value) = result->num_fields; in PHP_FUNCTION()
1779 for (i=0; i<result->num_fields; i++) { in PHP_FUNCTION()
1817 for (i=0; i<result->num_fields; i++) { in php_sybase_fetch_hash()
1995 if (field_offset < 0 || field_offset >= result->num_fields) { in PHP_FUNCTION()
2026 if (field_offset < 0 || field_offset >= result->num_fields) { in PHP_FUNCTION()
2066 for (i = 0; i < result->num_fields; i++) { in PHP_FUNCTION()
2072 if (i >= result->num_fields) { /* no match found */ in PHP_FUNCTION()
2081 if (field_offset < 0 || field_offset >= result->num_fields) { in PHP_FUNCTION()