Home
last modified time | relevance | path

Searched refs:current_row (Results 1 – 8 of 8) sorted by relevance

/PHP-8.4/ext/mysqli/
H A Dmysqli_result_iterator.c36 zval current_row; member
71 zval_ptr_dtor(&iterator->current_row); in php_mysqli_result_iterator_dtor()
80 return Z_TYPE(iterator->current_row) == IS_ARRAY ? SUCCESS : FAILURE; in php_mysqli_result_iterator_valid()
89 return &iterator->current_row; in php_mysqli_result_iterator_current_data()
103 zval_ptr_dtor(&iterator->current_row); in php_mysqli_result_iterator_move_forward()
104 php_mysqli_fetch_into_hash_aux(&iterator->current_row, result, MYSQLI_ASSOC); in php_mysqli_result_iterator_move_forward()
105 if (Z_TYPE(iterator->current_row) == IS_ARRAY) { in php_mysqli_result_iterator_move_forward()
/PHP-8.4/ext/mysqlnd/
H A Dmysqlnd_result.c372 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 = &current_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 Dmysqlnd_structs.h1180 uint64_t current_row; member
H A Dmysqlnd_ps.c121 result->stored_data->current_row = 0; in MYSQLND_METHOD()
/PHP-8.4/ext/pdo_mysql/
H A Dmysql_statement.c55 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 Dphp_pdo_mysql_int.h142 zval *current_row; member
/PHP-8.4/ext/pdo_pgsql/
H A Dpgsql_statement.c154 S->current_row = 0; in pgsql_stmt_execute()
469 S->current_row = 1; in pgsql_stmt_fetch()
475 if (S->current_row < stmt->row_count) { in pgsql_stmt_fetch()
476 S->current_row++; in pgsql_stmt_fetch()
511 if (PQgetisnull(S->result, S->current_row - 1, colno)) { /* Check if we got NULL */ in pgsql_stmt_get_col()
514 char *ptr = PQgetvalue(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col()
515 size_t len = PQgetlength(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col()
H A Dphp_pdo_pgsql_int.h69 int current_row; member

Completed in 37 milliseconds