Lines Matching refs:cur_row
1315 result->cur_row=result->num_rows=0;
1387 result->cur_field=result->cur_row=result->num_rows=0;
1525 if (result->cur_row >= result->num_rows) {
1532 if (Z_TYPE(result->data[result->cur_row][i]) != IS_NULL) {
1536 if (Z_TYPE(result->data[result->cur_row][i]) == IS_STRING) {
1537 data = Z_STRVAL(result->data[result->cur_row][i]);
1538 data_len = Z_STRLEN(result->data[result->cur_row][i]);
1548 else if (Z_TYPE(result->data[result->cur_row][i]) == IS_LONG) {
1550 add_index_long(return_value, i, Z_LVAL(result->data[result->cur_row][i]));
1553 add_assoc_long(return_value, result->fields[i].name, Z_LVAL(result->data[result->cur_row][i]));
1555 else if (Z_TYPE(result->data[result->cur_row][i]) == IS_DOUBLE) {
1557 add_index_double(return_value, i, Z_DVAL(result->data[result->cur_row][i]));
1560 … add_assoc_double(return_value, result->fields[i].name, Z_DVAL(result->data[result->cur_row][i]));
1571 result->cur_row++;
1629 result->cur_row = offset;
1927 result->cur_row=result->num_fields=result->num_rows=0;
2180 result->cur_field=result->cur_row=result->num_rows=0;