Searched refs:current_row (Results 1 – 8 of 8) sorted by relevance
/PHP-8.2/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 37 zval current_row; member 72 zval_ptr_dtor(&iterator->current_row); in php_mysqli_result_iterator_dtor() 81 return Z_TYPE(iterator->current_row) == IS_ARRAY ? SUCCESS : FAILURE; in php_mysqli_result_iterator_valid() 90 return &iterator->current_row; in php_mysqli_result_iterator_current_data() 104 zval_ptr_dtor(&iterator->current_row); in php_mysqli_result_iterator_move_forward() 105 php_mysqli_fetch_into_hash_aux(&iterator->current_row, result, MYSQLI_ASSOC); in php_mysqli_result_iterator_move_forward() 106 if (Z_TYPE(iterator->current_row) == IS_ARRAY) { in php_mysqli_result_iterator_move_forward()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 374 if (result->current_row > result->row_count || result->current_row == 0) { in MYSQLND_METHOD() 561 if (set->current_row < set->row_count) { in MYSQLND_METHOD() 567 zval *current_row = result->row_data; in MYSQLND_METHOD() local 570 current_row, in MYSQLND_METHOD() 581 zval *data = ¤t_row[i]; in MYSQLND_METHOD() 587 ++set->current_row; in MYSQLND_METHOD() 592 if (set->current_row == set->row_count) { in MYSQLND_METHOD() 593 set->current_row = set->row_count + 1; in MYSQLND_METHOD() 776 result->stored_data->current_row = 0; in MYSQLND_METHOD() 855 result->current_row = result->row_count; in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_structs.h | 1182 uint64_t current_row; member
|
H A D | mysqlnd_ps.c | 121 result->stored_data->current_row = 0; in MYSQLND_METHOD()
|
/PHP-8.2/ext/pdo_mysql/ |
H A D | mysql_statement.c | 55 if (S->current_row) { in pdo_mysql_free_result() 58 zval_ptr_dtor_nogc(&S->current_row[i]); in pdo_mysql_free_result() 60 efree(S->current_row); in pdo_mysql_free_result() 61 S->current_row = NULL; in pdo_mysql_free_result() 583 if (!S->current_row) { in pdo_mysql_stmt_fetch() 584 S->current_row = ecalloc(stmt->column_count, sizeof(zval)); in pdo_mysql_stmt_fetch() 587 zval_ptr_dtor_nogc(&S->current_row[i]); in pdo_mysql_stmt_fetch() 588 ZVAL_COPY_VALUE(&S->current_row[i], &row_data[i]); in pdo_mysql_stmt_fetch() 687 ZVAL_COPY(result, &S->current_row[colno]); in pdo_mysql_stmt_get_col()
|
H A D | php_pdo_mysql_int.h | 140 zval *current_row; member
|
/PHP-8.2/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 145 S->current_row = 0; in pgsql_stmt_execute() 456 S->current_row = 1; in pgsql_stmt_fetch() 462 if (S->current_row < stmt->row_count) { in pgsql_stmt_fetch() 463 S->current_row++; in pgsql_stmt_fetch() 498 if (PQgetisnull(S->result, S->current_row - 1, colno)) { /* Check if we got NULL */ in pgsql_stmt_get_col() 501 char *ptr = PQgetvalue(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col() 502 size_t len = PQgetlength(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col()
|
H A D | php_pdo_pgsql_int.h | 66 int current_row; member
|
Completed in 36 milliseconds