/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_eol.c | 107 i = cursor = 0; in phpdbg_eol_convert() 111 cursor++; in phpdbg_eol_convert() 112 out[cursor] = cur; in phpdbg_eol_convert() 116 cursor++; in phpdbg_eol_convert() 124 out[cursor] = cur; in phpdbg_eol_convert() 129 cursor++; in phpdbg_eol_convert() 148 i = cursor = 0; in phpdbg_eol_convert() 157 out[cursor] = cur; in phpdbg_eol_convert() 161 cursor++; in phpdbg_eol_convert() 162 cur = in[cursor]; in phpdbg_eol_convert() [all …]
|
H A D | phpdbg_lexer.h | 29 unsigned char *cursor; member
|
/PHP-7.3/Zend/tests/ |
H A D | object_property_ref_incdec.phpt | 7 $obj->cursor = 0; 8 $ref =& $obj->cursor; 10 $obj->cursor++; 11 var_dump($obj->cursor); 13 $obj->cursor--; 14 var_dump($obj->cursor);
|
/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | queue.c | 132 q->cursor = q->head; in Q_Init() 238 q->cursor = q->head; in Q_Head() 263 q->cursor = q->tail; in Q_Tail() 310 q->cursor = q->head; in Q_PushHead() 360 q->cursor = q->tail; in Q_PushTail() 479 if(!q->cursor || q->cursor->next == NULL) in Q_Next() 482 q->cursor = (node *)q->cursor->next; in Q_Next() 512 q->cursor = (node *)q->cursor->prev; in Q_Previous() 546 q->cursor = p; in Q_Iter_Del() 548 q->cursor = n; in Q_Iter_Del() [all …]
|
/PHP-7.3/ext/dba/ |
H A D | dba_db2.c | 42 DBC *cursor; member 90 if (dba->cursor) in DBA_CLOSE_FUNC() 91 dba->cursor->c_close(dba->cursor); in DBA_CLOSE_FUNC() 150 if (dba->cursor) { 151 dba->cursor->c_close(dba->cursor); 152 dba->cursor = NULL; 156 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) { 158 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) { 172 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)
|
H A D | dba_db3.c | 54 DBC *cursor; member 104 data->cursor = NULL; 123 if (dba->cursor) dba->cursor->c_close(dba->cursor); 185 if (dba->cursor) { 186 dba->cursor->c_close(dba->cursor); 189 dba->cursor = NULL; 190 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { 207 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
|
H A D | dba_db4.c | 68 DBC *cursor; member 133 data->cursor = NULL; 152 if (dba->cursor) dba->cursor->c_close(dba->cursor); 228 if (dba->cursor) { 229 dba->cursor->c_close(dba->cursor); 232 dba->cursor = NULL; 233 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { 254 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
|
/PHP-7.3/ext/oci8/tests/ |
H A D | bug42841.phpt | 49 $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 D | cursor_bind_err.phpt | 2 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 D | cursor_bind.phpt | 2 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 D | bug40415.phpt | 73 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 D | refcur_prefetch_3.phpt | 63 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 D | bug44206.phpt | 17 $stmt = "select cursor (select $x from dual) a, 18 cursor (select $x from dual) b
|
H A D | imp_res_cursor.phpt | 2 Oracle Database 12c Implicit Result Sets: nested cursor 43 … open c1 for select cursor(select c1, c2 from imp_res_cursor_tab_1 order by 1) as curs from dual; 57 if (is_resource($item)) { // Nested cursor
|
H A D | imp_res_get_cursor.phpt | 2 Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: nested cursor 40 …open c1 for select cursor(select c1, c2 from imp_res_get_cursor_tab_1 order by 1) as curs from dua… 57 if (is_resource($item)) { // Nested cursor
|
H A D | cursors_old.phpt | 2 fetching cursor from a statement 27 $sql = "select cursor(select * from cursors_old_tab) as curs from dual";
|
H A D | b47243_1.phpt | 15 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
|
H A D | b47243_2.phpt | 15 $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
|
H A D | refcur_prefetch_4.phpt | 2 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.
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | 067.phpt | 12 /* 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-7.3/ext/json/ |
H A D | json_scanner.re | 26 #define YYCURSOR s->cursor 109 s->token = s->cursor; 210 s->str_start = s->cursor; 274 s->cursor = s->str_start; 305 s->str_start = s->cursor; 313 s->str_start = s->cursor; 322 s->str_start = s->cursor; 335 s->str_start = s->cursor; 341 switch (*s->cursor) { 359 esc = *s->cursor; [all …]
|
H A D | json_scanner.c | 27 #define YYCURSOR s->cursor 110 s->token = s->cursor; in php_json_scan() 254 if (s->limit < s->cursor) { in php_json_scan() 292 s->str_start = s->cursor; in php_json_scan() 594 s->cursor = s->str_start; in php_json_scan() 1024 switch (*s->cursor) { in php_json_scan() 1042 esc = *s->cursor; in php_json_scan() 1050 s->str_start = s->cursor; in php_json_scan() 1292 s->str_start = s->cursor; in php_json_scan() 1386 switch (*s->cursor) { in php_json_scan() [all …]
|
H A D | php_json_scanner.h | 28 php_json_ctype *cursor; /* cursor position */ member
|
/PHP-7.3/ext/standard/ |
H A D | html.c | 65 *cursor = pos + (advance); \ 103 size_t *cursor, in get_next_char() argument 106 size_t pos = *cursor; in get_next_char() 354 *cursor = pos; in get_next_char() 364 size_t *cursor, in php_next_utf8_char() argument 1146 size_t *cursor) in find_entity_for_char() argument 1168 if (!(*cursor < oldlen)) in find_entity_for_char() 1192 *cursor = cursor_before; in find_entity_for_char() 1271 cursor = 0; in php_escape_html_entities_ex() 1272 while (cursor < oldlen) { in php_escape_html_entities_ex() [all …]
|
/PHP-7.3/ext/zip/ |
H A D | zip_stream.c | 39 size_t cursor; member 75 self->cursor += n; in php_zip_ops_read() 244 self->cursor = 0; in php_stream_zip_open() 330 self->cursor = 0; in php_stream_zip_opener()
|