Searched refs:current_row (Results 1 – 8 of 8) sorted by relevance
/PHP-8.3/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.3/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 372 if (result->current_row > result->row_count || result->current_row == 0) { in MYSQLND_METHOD() 559 if (set->current_row < set->row_count) { in MYSQLND_METHOD() 565 zval *current_row = result->row_data; in MYSQLND_METHOD() local 568 current_row, in MYSQLND_METHOD() 579 zval *data = ¤t_row[i]; in MYSQLND_METHOD() 585 ++set->current_row; in MYSQLND_METHOD() 590 if (set->current_row == set->row_count) { in MYSQLND_METHOD() 591 set->current_row = set->row_count + 1; in MYSQLND_METHOD() 774 result->stored_data->current_row = 0; in MYSQLND_METHOD() 853 result->current_row = result->row_count; in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_structs.h | 1179 uint64_t current_row; member
|
H A D | mysqlnd_ps.c | 121 result->stored_data->current_row = 0; in MYSQLND_METHOD()
|
/PHP-8.3/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.3/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 41 milliseconds