Lines Matching refs:current_row
101 zval * current_row = mnd_emalloc(field_count * sizeof(zval)); in MYSQLND_METHOD() local
103 if (!current_row) { in MYSQLND_METHOD()
113 …rc = result->m.row_decoder(&result->row_buffers[row], current_row, field_count, meta->fields, int_… in MYSQLND_METHOD()
127 if (Z_TYPE(current_row[field]) == IS_STRING) { in MYSQLND_METHOD()
128 const size_t len = Z_STRLEN(current_row[field]); in MYSQLND_METHOD()
133 zval_ptr_dtor_nogc(¤t_row[field]); in MYSQLND_METHOD()
136 mnd_efree(current_row); in MYSQLND_METHOD()
210 zval *current_row = data + row * field_count; in MYSQLND_METHOD() local
213 if (current_row != NULL) { in MYSQLND_METHOD()
215 zval_ptr_dtor_nogc(&(current_row[col])); in MYSQLND_METHOD()
608 if (set->current_row > set->row_count || set->current_row == 0) { in MYSQLND_METHOD()
981 zval *current_row = set->data_cursor; in MYSQLND_METHOD() local
984 if (Z_ISUNDEF(current_row[0])) { in MYSQLND_METHOD()
987 current_row, in MYSQLND_METHOD()
1002 if (Z_TYPE(current_row[i]) == IS_STRING) { in MYSQLND_METHOD()
1003 const size_t len = Z_STRLEN(current_row[i]); in MYSQLND_METHOD()
1016 zval * data = ¤t_row[i]; in MYSQLND_METHOD()
1072 zval *current_row = set->data_cursor; in MYSQLND_METHOD() local
1074 if (Z_ISUNDEF(current_row[0])) { in MYSQLND_METHOD()
1077 current_row, in MYSQLND_METHOD()
1092 if (Z_TYPE(current_row[i]) == IS_STRING) { in MYSQLND_METHOD()
1093 const size_t len = Z_STRLEN(current_row[i]); in MYSQLND_METHOD()
1102 zval * data = ¤t_row[i]; in MYSQLND_METHOD()
1158 if (set->current_row < set->row_count) { in MYSQLND_METHOD()
1160 zval * current_row; in MYSQLND_METHOD() local
1163 current_row = mnd_emalloc(field_count * sizeof(zval)); in MYSQLND_METHOD()
1164 if (!current_row) { in MYSQLND_METHOD()
1169 rc = result->stored_data->m.row_decoder(&result->stored_data->row_buffers[set->current_row], in MYSQLND_METHOD()
1170 current_row, in MYSQLND_METHOD()
1178 if (!ZEND_BIT_TEST(set->initialized, set->current_row)) { in MYSQLND_METHOD()
1179 set->initialized[set->current_row >> 3] |= (1 << (set->current_row & 7)); /* mark initialized */ in MYSQLND_METHOD()
1189 if (Z_TYPE(current_row[i]) == IS_STRING) { in MYSQLND_METHOD()
1190 const size_t len = Z_STRLEN(current_row[i]); in MYSQLND_METHOD()
1199 zval * data = ¤t_row[i]; in MYSQLND_METHOD()
1231 mnd_efree(current_row); in MYSQLND_METHOD()
1232 ++set->current_row; in MYSQLND_METHOD()
1237 if (set->current_row == set->row_count) { in MYSQLND_METHOD()
1238 set->current_row = set->row_count + 1; in MYSQLND_METHOD()
1240 DBG_INF_FMT("EOF reached. current_row=%llu", (unsigned long long) set->current_row); in MYSQLND_METHOD()
1469 set->current_row = 0; in MYSQLND_METHOD()
1566 set->current_row = set->row_count; in MYSQLND_METHOD()
1568 set->current_row = row; in MYSQLND_METHOD()