Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dqueue.c135 q->cursor = q->head; in Q_Init()
241 q->cursor = q->head; in Q_Head()
266 q->cursor = q->tail; in Q_Tail()
313 q->cursor = q->head; in Q_PushHead()
363 q->cursor = q->tail; in Q_PushTail()
482 if(!q->cursor || q->cursor->next == NULL) in Q_Next()
485 q->cursor = (node *)q->cursor->next; in Q_Next()
515 q->cursor = (node *)q->cursor->prev; in Q_Previous()
549 q->cursor = p; in Q_Iter_Del()
551 q->cursor = n; in Q_Iter_Del()
[all …]
/PHP-5.5/ext/dba/
H A Ddba_db2.c44 DBC *cursor; member
93 if (dba->cursor) in DBA_CLOSE_FUNC()
94 dba->cursor->c_close(dba->cursor); in DBA_CLOSE_FUNC()
153 if (dba->cursor) {
154 dba->cursor->c_close(dba->cursor);
155 dba->cursor = NULL;
159 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) {
161 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) {
175 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)
H A Ddba_db3.c53 DBC *cursor; member
99 data->cursor = NULL; in DBA_OPEN_FUNC()
118 if (dba->cursor) dba->cursor->c_close(dba->cursor); in DBA_CLOSE_FUNC()
180 if (dba->cursor) { in DBA_FIRSTKEY_FUNC()
181 dba->cursor->c_close(dba->cursor); in DBA_FIRSTKEY_FUNC()
184 dba->cursor = NULL; in DBA_FIRSTKEY_FUNC()
185 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { in DBA_FIRSTKEY_FUNC()
202 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) { in DBA_NEXTKEY_FUNC()
H A Ddba_db4.c71 DBC *cursor; member
137 data->cursor = NULL;
156 if (dba->cursor) dba->cursor->c_close(dba->cursor);
232 if (dba->cursor) {
233 dba->cursor->c_close(dba->cursor);
236 dba->cursor = NULL;
237 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
258 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
/PHP-5.5/ext/oci8/tests/
H A Dbug42841.phpt49 $sql = "BEGIN bug42841_proc(:cursor); END;";
51 $cursor = oci_new_cursor($c);
52 oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
55 oci_execute($cursor);
62 oci_free_statement($cursor);
67 $sql = "BEGIN bug42841_proc(:cursor); END;";
69 $cursor = oci_new_cursor($c);
70 oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
73 oci_execute($cursor);
80 oci_free_statement($cursor);
[all …]
H A Dcursor_bind_err.phpt2 binding a cursor (with errors)
27 $sql = "select cursor(select * from cursor_bind_err_tab) into :cursor from dual";
30 $cursor = oci_new_cursor($c);
31 oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
35 oci_execute($cursor);
36 var_dump(oci_fetch_assoc($cursor));
H A Dcursor_bind.phpt2 bind and fetch cursor from a statement
37 $cursor = oci_new_cursor($c);
38 oci_bind_by_name($stmt, ":curs", $cursor, -1, OCI_B_CURSOR);
42 oci_execute($cursor);
43 var_dump(oci_fetch_row($cursor));
44 var_dump(oci_fetch_row($cursor));
45 var_dump(oci_fetch_row($cursor));
46 var_dump(oci_fetch_row($cursor));
H A Dbug40415.phpt73 echo "Getting nested cursor\n";
82 echo "Test 1: Associate fetch of nested cursor\n";
85 echo "\nTest 2: fetchall of nested cursor\n";
98 Test 1: Associate fetch of nested cursor
99 Got row "11". Now getting nested cursor:
113 Got row "12". Now getting nested cursor:
127 Got row "13". Now getting nested cursor:
142 Test 2: fetchall of nested cursor
164 Getting nested cursor
177 Getting nested cursor
[all …]
H A Drefcur_prefetch_3.phpt55 echo "Fetch Row using Nested cursor Query\n";
86 Fetch Row using Nested cursor Query
91 Fetch Row using Nested cursor Query
96 Fetch Row using Nested cursor Query
101 Fetch Row using Nested cursor Query
106 Fetch Row using Nested cursor Query
111 Fetch Row using Nested cursor Query
116 Fetch Row using Nested cursor Query
121 Fetch Row using Nested cursor Query
126 Fetch Row using Nested cursor Query
[all …]
H A Dbug44206.phpt17 $stmt = "select cursor (select $x from dual) a,
18 cursor (select $x from dual) b
H A Dcursors_old.phpt2 fetching cursor from a statement
27 $sql = "select cursor(select * from cursors_old_tab) as curs from dual";
H A Drefcur_prefetch_4.phpt2 Prefetch with REF cursor. Test No 4
24 type refcursortype is ref cursor;
58 // Steps to Fetch from PHP . For every sub-test,the cursor is bound and then executed.
68 // Steps to Fetch from PL/SQL . For every sub-test,the cursor is bound and then executed.
H A Db47243_2.phpt15 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
H A Db47243_1.phpt15 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
H A Db47243_3.phpt15 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
H A Drefcur_prefetch_2.phpt2 Prefetch with REF cursor. Test No 2
22 type refcursortype is ref cursor;
56 // Steps to Fetch from PHP . For every sub-test,the cursor is bound and then executed.
66 // Steps to Fetch from PL/SQL . For every sub-test,the cursor is bound and then executed.
H A Ddefine6.phpt61 echo "Test 3 - define before cursor execute\n";
129 Test 3 - define before cursor execute
H A Dcursors.phpt2 fetching cursor from a statement
/PHP-5.5/ext/mysqli/tests/
H A D067.phpt12 /* skip cursor test for versions < 50004 */
44 $mysql->query("DROP TABLE IF EXISTS cursor$i");
45 $mysql->query("CREATE TABLE cursor$i (a int not null) ENGINE=" . $engine);
46 $mysql->query("INSERT INTO cursor$i VALUES (1),(2),(3),(4),(5),(6)");
47 $stmt[$i] = open_cursor($mysql, "SELECT a FROM cursor$i");
74 if (!mysqli_query($link, sprintf("DROP TABLE IF EXISTS cursor%d", $i)))
/PHP-5.5/ext/standard/
H A Dhtml.c67 *cursor = pos + (advance); \
93 size_t *cursor, in get_next_char() argument
96 size_t pos = *cursor; in get_next_char()
344 *cursor = pos; in get_next_char()
354 size_t *cursor, in php_next_utf8_char() argument
1140 size_t *cursor) in find_entity_for_char() argument
1162 if (!(*cursor < oldlen)) in find_entity_for_char()
1186 *cursor = cursor_before; in find_entity_for_char()
1269 cursor = 0; in php_escape_html_entities_ex()
1270 while (cursor < oldlen) { in php_escape_html_entities_ex()
[all …]
H A Dvar_unserializer.c240 #define YYCURSOR cursor
252 char cursor; in parse_iv2() local
265 cursor = (char)*p; in parse_iv2()
266 if (cursor >= '0' && cursor <= '9') { in parse_iv2()
286 unsigned char cursor; in parse_uiv() local
294 cursor = *p; in parse_uiv()
295 if (cursor >= '0' && cursor <= '9') { in parse_uiv()
471 const unsigned char *cursor, *limit, *marker, *start; in php_var_unserialize() local
475 cursor = *p; in php_var_unserialize()
481 if (var_hash && cursor[0] != 'R') { in php_var_unserialize()
[all …]
H A Dvar_unserializer.re238 #define YYCURSOR cursor
256 char cursor;
269 cursor = (char)*p;
270 if (cursor >= '0' && cursor <= '9') {
290 unsigned char cursor;
298 cursor = *p;
299 if (cursor >= '0' && cursor <= '9') {
475 const unsigned char *cursor, *limit, *marker, *start;
479 cursor = *p;
485 if (var_hash && cursor[0] != 'R') {
[all …]
H A Dhtml.h60 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, in…
/PHP-5.5/ext/zip/
H A Dzip_stream.c22 size_t cursor; member
50 self->cursor += n; in php_zip_ops_read()
219 self->cursor = 0; in php_stream_zip_open()
298 self->cursor = 0; in php_stream_zip_opener()
/PHP-5.5/ext/date/lib/
H A Dparse_iso_intervals.re65 #define YYCURSOR cursor
70 #define RET(i) {s->cur = cursor; return i;}
74 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
243 uchar *cursor = s->cur;
247 s->tok = cursor;
384 s->pos = cursor; s->line++;
436 /* init cursor */

Completed in 33 milliseconds

12