Home
last modified time | relevance | path

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

12

/php-src/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-src/ext/dba/
H A Ddba_db2.c34 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 Ddba_db3.c46 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 Ddba_db4.c60 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/ext/mysqli/tests/
H A D067.phpt12 /* 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 Dbug77935.phpt2 Bug #77935: Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor
H A Dps_cursor_multiple_result_sets.phpt2 PS using cursor and returning multiple result sets
/php-src/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-src/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, ze…
H A Dvar_unserializer.re383 #define YYCURSOR cursor
448 unsigned char cursor;
452 cursor = *p;
453 if (cursor >= '0' && cursor <= '9') {
454 result = result * 10 + (size_t)(cursor - (unsigned char)'0');
882 const unsigned char *cursor, *limit, *marker, *start;
886 cursor = *p;
896 start = cursor;
/php-src/sapi/phpdbg/
H A Dphpdbg_lexer.h27 unsigned char *cursor; member
H A Dphpdbg_lexer.l15 #define YYCURSOR LEX(cursor)
/php-src/ext/zip/
H A Dzip_stream.c37 size_t cursor; member
73 self->cursor += n; in php_zip_ops_read()
259 self->cursor = 0; in php_stream_zip_open()
345 self->cursor = 0; in php_stream_zip_opener()
/php-src/ext/date/lib/
H A Dparse_iso_intervals.re51 #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 Dparse_iso_intervals.c53 #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()
331 s->pos = cursor; s->line++; in scan()
/php-src/ext/pdo_firebird/tests/
H A Dbug_aaa.phpt2 PDO_Firebird: cursor should not be marked as opened on singleton statements
/php-src/ext/xmlreader/tests/
H A D015-move-errors.phpt2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace, with invalid ar…
H A D015-get-errors.phpt2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace, with invalid ar…
H A D003-move-errors.phpt2 XMLReader: libxml2 XML Reader, Move cursor to an attribute, with invalid arguments
H A D015.phpt2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace
/php-src/ext/pgsql/tests/
H A D05large_object.phpt29 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 */
/php-src/ext/pdo/
H A Dpdo_sql_parser.re29 #define RET(i) {s->cur = cursor; return i; }
33 #define YYCURSOR cursor
44 const char *cursor = s->cur;
46 s->tok = cursor;
/php-src/ext/pdo/tests/
H A Dbug_44861.phpt2 PDO Common: Bug #44861 (scrollable cursor don't work with pgsql)

Completed in 45 milliseconds

12