Searched refs:current_row (Results 1 – 8 of 8) sorted by relevance
/php-src/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 36 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-src/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 | 1180 uint64_t current_row; member
|
H A D | mysqlnd_ps.c | 121 result->stored_data->current_row = 0; in MYSQLND_METHOD()
|
/php-src/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 | 142 zval *current_row; member
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 200 S->current_row = 0; in pgsql_stmt_execute() 558 S->current_row = 1; in pgsql_stmt_fetch() 564 if (S->is_running_unbuffered && S->current_row >= stmt->row_count) { in pgsql_stmt_fetch() 584 S->current_row = 0; in pgsql_stmt_fetch() 592 if (S->current_row < stmt->row_count) { in pgsql_stmt_fetch() 593 S->current_row++; in pgsql_stmt_fetch() 628 if (PQgetisnull(S->result, S->current_row - 1, colno)) { /* Check if we got NULL */ in pgsql_stmt_get_col() 631 char *ptr = PQgetvalue(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col() 632 size_t len = PQgetlength(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col()
|
H A D | php_pdo_pgsql_int.h | 73 int current_row; member
|
Completed in 34 milliseconds