Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 25 of 52) sorted by relevance

123

/PHP-8.1/Zend/tests/
H A Dobject_property_ref_incdec.phpt7 $obj->cursor = 0;
8 $ref =& $obj->cursor;
10 $obj->cursor++;
11 var_dump($obj->cursor);
13 $obj->cursor--;
14 var_dump($obj->cursor);
/PHP-8.1/ext/dba/
H A Ddba_db2.c40 DBC *cursor; member
88 if (dba->cursor) in DBA_CLOSE_FUNC()
89 dba->cursor->c_close(dba->cursor); in DBA_CLOSE_FUNC()
148 if (dba->cursor) {
149 dba->cursor->c_close(dba->cursor);
150 dba->cursor = NULL;
154 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) {
156 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) {
170 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)
H A Ddba_db3.c52 DBC *cursor; member
102 data->cursor = NULL;
121 if (dba->cursor) dba->cursor->c_close(dba->cursor);
183 if (dba->cursor) {
184 dba->cursor->c_close(dba->cursor);
187 dba->cursor = NULL;
188 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
205 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
H A Ddba_db4.c66 DBC *cursor; member
131 data->cursor = NULL;
150 if (dba->cursor) dba->cursor->c_close(dba->cursor);
226 if (dba->cursor) {
227 dba->cursor->c_close(dba->cursor);
230 dba->cursor = NULL;
231 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
252 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
/PHP-8.1/ext/oci8/tests/
H A Dbug42841.phpt51 $sql = "BEGIN bug42841_proc(:cursor); END;";
53 $cursor = oci_new_cursor($c);
54 oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
57 oci_execute($cursor);
64 oci_free_statement($cursor);
69 $sql = "BEGIN bug42841_proc(:cursor); END;";
71 $cursor = oci_new_cursor($c);
72 oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
75 oci_execute($cursor);
82 oci_free_statement($cursor);
[all …]
H A Dcursor_bind.phpt2 bind and fetch cursor from a statement
39 $cursor = oci_new_cursor($c);
40 oci_bind_by_name($stmt, ":curs", $cursor, -1, OCI_B_CURSOR);
44 oci_execute($cursor);
45 var_dump(oci_fetch_row($cursor));
46 var_dump(oci_fetch_row($cursor));
47 var_dump(oci_fetch_row($cursor));
48 var_dump(oci_fetch_row($cursor));
H A Dcursor_bind_err.phpt2 binding a cursor (with errors)
29 $sql = "select cursor(select * from cursor_bind_err_tab) into :cursor from dual";
32 $cursor = oci_new_cursor($c);
33 oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
37 oci_execute($cursor);
38 var_dump(oci_fetch_assoc($cursor));
H A Dbug40415.phpt75 echo "Getting nested cursor\n";
84 echo "Test 1: Associate fetch of nested cursor\n";
87 echo "\nTest 2: fetchall of nested cursor\n";
100 Test 1: Associate fetch of nested cursor
101 Got row "11". Now getting nested cursor:
115 Got row "12". Now getting nested cursor:
129 Got row "13". Now getting nested cursor:
144 Test 2: fetchall of nested cursor
166 Getting nested cursor
179 Getting nested cursor
[all …]
H A Drefcur_prefetch_3.phpt63 echo "Fetch Row using Nested cursor Query\n";
94 Fetch Row using Nested cursor Query
99 Fetch Row using Nested cursor Query
104 Fetch Row using Nested cursor Query
109 Fetch Row using Nested cursor Query
114 Fetch Row using Nested cursor Query
119 Fetch Row using Nested cursor Query
124 Fetch Row using Nested cursor Query
129 Fetch Row using Nested cursor Query
134 Fetch Row using Nested cursor Query
[all …]
H A Dbug44206.phpt19 $stmt = "select cursor (select $x from dual) a,
20 cursor (select $x from dual) b
H A Dimp_res_cursor.phpt2 Oracle Database 12c Implicit Result Sets: nested cursor
44 … open c1 for select cursor(select c1, c2 from imp_res_cursor_tab_1 order by 1) as curs from dual;
58 if (is_resource($item)) { // Nested cursor
H A Dimp_res_get_cursor.phpt2 Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: nested cursor
41 …open c1 for select cursor(select c1, c2 from imp_res_get_cursor_tab_1 order by 1) as curs from dua…
58 if (is_resource($item)) { // Nested cursor
H A Db47243_1.phpt17 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
H A Db47243_2.phpt17 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
H A Db47243_3.phpt17 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
H A Drefcur_prefetch_4.phpt2 Prefetch with REF cursor. Test No 4
31 type refcursortype is ref cursor;
65 // Steps to Fetch from PHP . For every sub-test,the cursor is bound and then executed.
75 // Steps to Fetch from PL/SQL . For every sub-test,the cursor is bound and then executed.
H A Drefcur_prefetch_2.phpt2 Prefetch with REF cursor. Test No 2
29 type refcursortype is ref cursor;
63 // Steps to Fetch from PHP . For every sub-test,the cursor is bound and then executed.
73 // Steps to Fetch from PL/SQL . For every sub-test,the cursor is bound and then executed.
/PHP-8.1/ext/mysqli/tests/
H A D067.phpt13 /* skip cursor test for server versions < 50009 */
43 $mysql->query("DROP TABLE IF EXISTS cursor$i");
44 $mysql->query("CREATE TABLE cursor$i (a int not null) ENGINE=" . $engine);
45 $mysql->query("INSERT INTO cursor$i VALUES (1),(2),(3),(4),(5),(6)");
46 $stmt[$i] = open_cursor($mysql, "SELECT a FROM cursor$i");
73 if (!mysqli_query($link, sprintf("DROP TABLE IF EXISTS cursor%d", $i)))
/PHP-8.1/ext/json/
H A Djson_scanner.re24 #define YYCURSOR s->cursor
107 s->token = s->cursor;
208 s->str_start = s->cursor;
272 s->cursor = s->str_start;
303 s->str_start = s->cursor;
311 s->str_start = s->cursor;
320 s->str_start = s->cursor;
333 s->str_start = s->cursor;
339 switch (*s->cursor) {
357 esc = *s->cursor;
[all …]
H A Dphp_json_scanner.h26 php_json_ctype *cursor; /* cursor position */ member
/PHP-8.1/ext/standard/
H A Dhtml.c61 *cursor = pos + (advance); \
97 size_t *cursor, in get_next_char() argument
100 size_t pos = *cursor; in get_next_char()
348 *cursor = pos; in get_next_char()
358 size_t *cursor, in php_next_utf8_char() argument
1030 size_t *cursor) in find_entity_for_char() argument
1052 if (!(*cursor < oldlen)) in find_entity_for_char()
1076 *cursor = cursor_before; in find_entity_for_char()
1154 cursor = 0; in php_escape_html_entities_ex()
1155 while (cursor < oldlen) { in php_escape_html_entities_ex()
[all …]
H A Dhtml.h50 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, in…
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_lexer.h27 unsigned char *cursor; member
/PHP-8.1/ext/zip/
H A Dzip_stream.c37 size_t cursor; member
73 self->cursor += n; in php_zip_ops_read()
230 self->cursor = 0; in php_stream_zip_open()
309 self->cursor = 0; in php_stream_zip_opener()
/PHP-8.1/ext/pdo_firebird/tests/
H A Dbug_aaa.phpt2 PDO_Firebird: cursor should not be marked as opened on singleton statements

Completed in 46 milliseconds

123