Lines Matching refs:data

41 	zval *data_begin = ((MYSQLND_RES_BUFFERED_ZVAL *) result)->data;  in MYSQLND_METHOD()
200 zval * data = set->data; in MYSQLND_METHOD() local
204 set->data = NULL; /* prevent double free if following loop is interrupted */ in MYSQLND_METHOD()
205 if (data) { in MYSQLND_METHOD()
210 zval *current_row = data + row * field_count; in MYSQLND_METHOD()
219 mnd_efree(data); in MYSQLND_METHOD()
379 MYSQLND_STMT_DATA * stmt = s ? s->data : NULL; in mysqlnd_query_read_result_set_header()
583 set->data_cursor == set->data || in MYSQLND_METHOD()
584 ((set->data_cursor - set->data) > (result->row_count * result->field_count) )) in MYSQLND_METHOD()
712 zval * data = &result->unbuf->last_row_data[i]; in MYSQLND_METHOD() local
713 const size_t len = (Z_TYPE_P(data) == IS_STRING)? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
716 if (Z_TYPE_P(data) != IS_NULL) { in MYSQLND_METHOD()
717 convert_to_string(data); in MYSQLND_METHOD()
718 (*row)[i] = Z_STRVAL_P(data); in MYSQLND_METHOD()
843 zval * data = &result->unbuf->last_row_data[i]; in MYSQLND_METHOD() local
844 const size_t len = (Z_TYPE_P(data) == IS_STRING)? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
847 if (zend_hash_index_add(row_ht, i, data) != NULL) { in MYSQLND_METHOD()
848 Z_TRY_ADDREF_P(data); in MYSQLND_METHOD()
859 Z_TRY_ADDREF_P(data); in MYSQLND_METHOD()
861 zend_hash_update(row_ht, meta->fields[i].sname, data); in MYSQLND_METHOD()
863 zend_hash_index_update(row_ht, meta->fields[i].num_key, data); in MYSQLND_METHOD()
979 (set->data_cursor - set->data) < (result->stored_data->row_count * field_count)) in MYSQLND_METHOD()
985 uint64_t row_num = (set->data_cursor - set->data) / field_count; in MYSQLND_METHOD()
1016 zval * data = &current_row[i]; in MYSQLND_METHOD() local
1018 set->lengths[i] = (Z_TYPE_P(data) == IS_STRING)? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
1020 if (Z_TYPE_P(data) != IS_NULL) { in MYSQLND_METHOD()
1021 convert_to_string(data); in MYSQLND_METHOD()
1022 (*row)[i] = Z_STRVAL_P(data); in MYSQLND_METHOD()
1070 if (set->data_cursor && (set->data_cursor - set->data) < (set->row_count * field_count)) { in MYSQLND_METHOD()
1075 const size_t row_num = (set->data_cursor - set->data) / field_count; in MYSQLND_METHOD()
1102 zval * data = &current_row[i]; in MYSQLND_METHOD() local
1104 set->lengths[i] = (Z_TYPE_P(data) == IS_STRING)? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
1107 if (zend_hash_index_add(Z_ARRVAL_P(row), i, data) != NULL) { in MYSQLND_METHOD()
1108 Z_TRY_ADDREF_P(data); in MYSQLND_METHOD()
1119 Z_TRY_ADDREF_P(data); in MYSQLND_METHOD()
1121 zend_hash_update(Z_ARRVAL_P(row), meta->fields[i].sname, data); in MYSQLND_METHOD()
1123 zend_hash_index_update(Z_ARRVAL_P(row), meta->fields[i].num_key, data); in MYSQLND_METHOD()
1199 zval * data = &current_row[i]; in MYSQLND_METHOD() local
1201 set->lengths[i] = (Z_TYPE_P(data) == IS_STRING)? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
1204 if (zend_hash_index_add(Z_ARRVAL_P(row), i, data)) { in MYSQLND_METHOD()
1205 Z_TRY_ADDREF_P(data); in MYSQLND_METHOD()
1216 Z_TRY_ADDREF_P(data); in MYSQLND_METHOD()
1218 zend_hash_update(Z_ARRVAL_P(row), meta->fields[i].sname, data); in MYSQLND_METHOD()
1220 zend_hash_index_update(Z_ARRVAL_P(row), meta->fields[i].num_key, data); in MYSQLND_METHOD()
1229 zval_ptr_dtor_nogc(data); in MYSQLND_METHOD()
1458 set->data = mnd_emalloc((size_t)(set->row_count * meta->field_count * sizeof(zval))); in MYSQLND_METHOD()
1459 if (!set->data) { in MYSQLND_METHOD()
1463 memset(set->data, 0, (size_t)(set->row_count * meta->field_count * sizeof(zval))); in MYSQLND_METHOD()
1466 set->data_cursor = set->data; in MYSQLND_METHOD()
1550 set->data_cursor = set->data + row * result->field_count; in MYSQLND_METHOD()