Home
last modified time | relevance | path

Searched refs:num_rows (Results 1 – 24 of 24) sorted by relevance

/PHP-8.2/ext/mysqli/tests/
H A Dbug36420.phpt2 Bug #36420 (segfault when access result->num_rows after calling result->close())
19 $result->num_rows;
26 $result->num_rows;
H A Dmysqli_get_client_stats_ps.phpt35 $num_rows = 0;
37 $num_rows++;
48 $stats['rows_fetched_from_client_ps_buffered'] += $num_rows;
65 $num_rows = 0;
67 $num_rows++;
70 $stats['rows_fetched_from_client_ps_unbuffered'] += $num_rows;
H A Dmysqli_explain_metadata.phpt16 $num_rows = 0;
23 $num_rows++;
30 $num_rows++;
32 if (($tmp = mysqli_num_rows($res)) !== $num_rows) {
34 $num_rows, gettype($tmp), $tmp);
71 if (($tmp = mysqli_stmt_num_rows($stmt)) !== $num_rows) {
73 $num_rows, gettype($tmp), $tmp);
105 if (($tmp = mysqli_num_rows($res_stmt)) !== $num_rows) {
107 $num_rows, gettype($tmp), $tmp);
H A Dmysqli_class_mysqli_result_interface.phpt100 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
101 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n",
102 $mysqli_result->num_rows, gettype($mysqli_result->num_rows),
117 $res->num_rows;
156 num_rows
165 mysqli_result->num_rows = '6'/integer ('6'/integer)
H A Dmysqli_get_client_stats_skipped.phpt23 $num_rows = mysqli_num_rows($res);
24 assert($num_rows > 2);
34 for ($i = 0; $i < $num_rows - 1; $i++)
H A Dmysqli_class_mysqli_stmt_interface.phpt35 'num_rows' => true,
119 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows);
120 printf("stmt->num_rows = '%s'\n", $stmt->num_rows);
150 num_rows
168 stmt->num_rows = '0'
H A Dgracefull_fail_on_empty_result_set.phpt40 ["num_rows"]=>
53 ["num_rows"]=>
H A Dmysqli_multi_query.phpt67 $num_rows = 0;
70 $num_rows++;
76 if (1 == $num_rows) {
91 if ($num_rows != 1)
92 printf("[018 - %d] Expecting 1 row, got %d rows\n", $num_rows);
H A Dmysqli_stmt_get_result_seek.phpt30 if (3 !== $res->num_rows)
31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
70 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
H A Dbug79375.phpt32 echo "Got {$stmt->num_rows} for $name\n";
46 echo "Got {$res->num_rows} for $name\n";
58 echo "Got {$res->num_rows} for $name\n";
73 echo "Got {$stmt->num_rows} for $name\n";
87 echo "Got {$res->num_rows} for $name\n";
H A Dmysqli_get_client_stats.phpt195 $num_rows = $row['_num'];
204 assert(mysqli_num_rows($res) == $num_rows);
276 for ($i = 0; $i < $num_rows - 1; $i++)
338 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
341 …['rows_buffered_from_client_ps'] = (string)($expected['rows_buffered_from_client_ps'] + $num_rows);
375 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
413 for ($i = 0; $i < $num_rows - 1; $i++)
416 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
460 assert($num_rows = $i);
462 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
[all …]
H A Dmysqli_fork.phpt140 $num_rows = 0;
156 $num_rows++;
157 if ($num_rows > 3) {
167 … printf("[013] Parent cannot fetch row %d\n", $num_rows, mysqli_errno($link), mysqli_error($link));
198 } while (((time() - $start) < 5) && ($num_rows < 3));
H A Dmysqli_real_connect.phpt82 var_dump($res->num_rows);
85 var_dump($res->num_rows);
H A Dmysqli_real_connect_pconn.phpt84 var_dump($res->num_rows);
87 var_dump($res->num_rows);
H A D057.phpt84 ["num_rows"]=>
H A Dmysqli_stmt_affected_rows.phpt158 /* use it like num_rows */
159 …/* PS are unbuffered, num_rows cannot determine the row count before all rows have been fetched an…
183 /* use it like num_rows */
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_result.c866 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows)(const MYSQLND_RES_UNBUFFERED * const result) in MYSQLND_METHOD() argument
876 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows)(const MYSQLND_RES_BUFFERED * const result) in MYSQLND_METHOD() argument
885 MYSQLND_METHOD(mysqlnd_res, num_rows)(const MYSQLND_RES * const result) in MYSQLND_METHOD() argument
888 result->stored_data->m.num_rows(result->stored_data) : in MYSQLND_METHOD()
889 (result->unbuf? result->unbuf->m.num_rows(result->unbuf) : 0); in MYSQLND_METHOD()
1068 MYSQLND_METHOD(mysqlnd_res, num_rows),
1095 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows),
1104 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows),
H A Dmysqlnd_structs.h663 func_mysqlnd_res__num_rows num_rows; in MYSQLND_CLASS_METHODS_TYPE() local
697 func_mysqlnd_result_unbuffered__num_rows num_rows; in MYSQLND_CLASS_METHODS_TYPE() local
711 func_mysqlnd_result_buffered__num_rows num_rows; in MYSQLND_CLASS_METHODS_TYPE() local
H A Dmysqlnd.h143 #define mysqlnd_num_rows(result) (result)->m.num_rows((result))
H A Dmysqlnd_ps.c1380 MYSQLND_METHOD(mysqlnd_stmt, num_rows)(const MYSQLND_STMT * const s) in MYSQLND_METHOD() argument
1956 MYSQLND_METHOD(mysqlnd_stmt, num_rows),
/PHP-8.2/ext/gd/libgd/
H A Dgd_topal.c324 int num_rows = oim->sy; in prescan_quantize() local
326 for (row = 0; row < num_rows; row++) in prescan_quantize()
1140 int num_rows = oim->sy; in pass2_no_dither() local
1148 for (row = 0; row < num_rows; row++) in pass2_no_dither()
1205 int num_rows = oim->sy; in pass2_fs_dither() local
1212 SHIFT_TEMPS for (row = 0; row < num_rows; row++) in pass2_fs_dither()
/PHP-8.2/ext/mysqli/
H A Dmysqli.stub.php1063 public int|string $num_rows;
1176 public int|string $num_rows;
1295 public function num_rows(): int|string {}
H A Dmysqli_arginfo.h1023 …ZEND_ME_MAPPING(num_rows, mysqli_stmt_num_rows, arginfo_class_mysqli_stmt_num_rows, ZEND_ACC_PUBLI…
/PHP-8.2/ext/pgsql/
H A Dpgsql.c1472 int num_rows = PQntuples(result); in get_field_name() local
1475 for (int i = 0; i < num_rows; i++) { in get_field_name()
4166 int i, num_rows; in php_pgsql_meta_data() local
4224 if (PQresultStatus(pg_result) != PGRES_TUPLES_OK || (num_rows = PQntuples(pg_result)) == 0) { in php_pgsql_meta_data()
4232 for (i = 0; i < num_rows; i++) { in php_pgsql_meta_data()

Completed in 93 milliseconds