/php-src/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-src/ext/dba/ |
H A D | dba_db2.c | 34 DBC *cursor; member 78 if (dba->cursor) in DBA_CLOSE_FUNC() 79 dba->cursor->c_close(dba->cursor); in DBA_CLOSE_FUNC() 149 if (dba->cursor) { 150 dba->cursor->c_close(dba->cursor); 151 dba->cursor = NULL; 155 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) { 157 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) { 170 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)
|
H A D | dba_db3.c | 46 DBC *cursor; member 92 data->cursor = NULL; 111 if (dba->cursor) dba->cursor->c_close(dba->cursor); 187 if (dba->cursor) { 188 dba->cursor->c_close(dba->cursor); 191 dba->cursor = NULL; 192 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 | 60 DBC *cursor; member 121 data->cursor = NULL; 140 if (dba->cursor) dba->cursor->c_close(dba->cursor); 231 if (dba->cursor) { 232 dba->cursor->c_close(dba->cursor); 235 dba->cursor = NULL; 236 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { 256 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
|
/php-src/Zend/tests/property_hooks/ |
H A D | explicit_iter.phpt | 12 private $cursor = 0; 14 public function current(): string { return $this->x[$this->cursor]; } 15 public function key(): int { return $this->cursor; } 16 public function next(): void { ++$this->cursor; } 17 public function rewind(): void { $this->cursor = 0; } 18 public function valid(): bool { return isset($this->x[$this->cursor]); }
|
/php-src/ext/mysqli/tests/ |
H A D | 067.phpt | 12 /* skip cursor test for server versions < 50009 */ 42 $mysql->query("DROP TABLE IF EXISTS cursor$i"); 43 $mysql->query("CREATE TABLE cursor$i (a int not null) ENGINE=" . $engine); 44 $mysql->query("INSERT INTO cursor$i VALUES (1),(2),(3),(4),(5),(6)"); 45 $stmt[$i] = open_cursor($mysql, "SELECT a FROM cursor$i"); 72 if (!mysqli_query($link, sprintf("DROP TABLE IF EXISTS cursor%d", $i)))
|
H A D | bug77935.phpt | 2 Bug #77935: Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor
|
H A D | ps_cursor_multiple_result_sets.phpt | 2 PS using cursor and returning multiple result sets
|
/php-src/ext/json/ |
H A D | json_scanner.re | 24 #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 D | php_json_scanner.h | 26 php_json_ctype *cursor; /* cursor position */ member
|
/php-src/ext/pdo/ |
H A D | pdo_sql_parser.h | 26 #define RET(i) {s->cur = cursor; return i; } 30 #define YYCURSOR cursor
|
/php-src/ext/standard/ |
H A D | html.c | 57 *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 1026 size_t *cursor) in find_entity_for_char() argument 1048 if (!(*cursor < oldlen)) in find_entity_for_char() 1072 *cursor = cursor_before; in find_entity_for_char() 1150 cursor = 0; in php_escape_html_entities_ex() 1151 while (cursor < oldlen) { in php_escape_html_entities_ex() [all …]
|
H A D | html.h | 50 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, ze…
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_lexer.h | 27 unsigned char *cursor; member
|
H A D | phpdbg_lexer.l | 15 #define YYCURSOR LEX(cursor)
|
/php-src/ext/pdo_mysql/ |
H A D | mysql_sql_parser.re | 24 const char *cursor = s->cur; 26 s->tok = cursor;
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_sql_parser.re | 24 const char *cursor = s->cur; 26 s->tok = cursor;
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_sql_parser.re | 24 const char *cursor = s->cur; 26 s->tok = cursor;
|
/php-src/ext/zip/ |
H A D | zip_stream.c | 35 size_t cursor; member 71 self->cursor += n; in php_zip_ops_read() 257 self->cursor = 0; in php_stream_zip_open() 343 self->cursor = 0; in php_stream_zip_opener()
|
/php-src/ext/date/lib/ |
H A D | parse_iso_intervals.re | 51 #define YYCURSOR cursor 56 #define RET(i) {s->cur = cursor; return i;} 60 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 170 uchar *cursor = s->cur; 175 s->tok = cursor; 312 s->pos = cursor; s->line++; 364 /* init cursor */
|
H A D | parse_iso_intervals.c | 53 #define YYCURSOR cursor 58 #define RET(i) {s->cur = cursor; return i;} 62 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str 172 uchar *cursor = s->cur; in scan() local 177 s->tok = cursor; in scan() 252 s->pos = cursor; s->line++; in scan()
|
/php-src/ext/pdo_firebird/tests/ |
H A D | bug_aaa.phpt | 2 PDO_Firebird: cursor should not be marked as opened on singleton statements
|
/php-src/ext/xmlreader/tests/ |
H A D | 015-move-errors.phpt | 2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace, with invalid ar…
|
H A D | 015-get-errors.phpt | 2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace, with invalid ar…
|
/php-src/ext/pgsql/tests/ |
H A D | 05large_object.phpt | 29 var_dump(pg_lo_seek($handle, 2, /* PGSQL_SEEK_CUR */)); // This is the default so move cursor from 5 32 var_dump(pg_lo_seek($handle, 0, PGSQL_SEEK_SET)); /* Reset cursor to beginning */
|