Searched refs:tok (Results 1 – 13 of 13) sorted by relevance
/PHP-7.2/ext/mbstring/oniguruma/src/ |
H A D | regparse.c | 2883 tok->base = 0; in fetch_token_in_cc() 2884 tok->u.c = c; in fetch_token_in_cc() 2901 tok->u.c = c; in fetch_token_in_cc() 2960 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token_in_cc() 3130 tok->base = 0; in fetch_token() 3131 tok->backp = p; in fetch_token() 3140 tok->u.c = c; in fetch_token() 3578 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token() 3608 tok->u.c = c; in fetch_token() 4210 if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { in parse_char_class() [all …]
|
/PHP-7.2/main/ |
H A D | reentrancy.c | 384 char *tok; in php_strtok_r() local 409 tok = s - 1; in php_strtok_r() 433 return tok; in php_strtok_r()
|
/PHP-7.2/ext/date/lib/ |
H A D | parse_iso_intervals.re | 75 uchar *lim, *str, *ptr, *cur, *tok, *pos; 95 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 96 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; 102 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); 103 memcpy(tmp, s->tok, s->cur - s->tok); 175 s->tok = cursor;
|
H A D | parse_iso_intervals.c | 77 uchar *lim, *str, *ptr, *cur, *tok, *pos; member 97 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 98 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error() 104 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); in timelib_string() 105 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() 177 s->tok = cursor; in scan()
|
H A D | parse_date.re | 305 unsigned int cnt = s->tok - s->bot; 307 memcpy(s->bot, s->tok, s->lim - s->tok); 308 s->tok = s->bot; 316 memcpy(buf, s->tok, s->lim - s->tok); 317 s->tok = buf; 340 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 341 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; 350 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 351 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; 441 memcpy(tmp, s->tok, s->cur - s->tok); [all …]
|
H A D | parse_date.c | 307 unsigned int cnt = s->tok - s->bot; 309 memcpy(s->bot, s->tok, s->lim - s->tok); 310 s->tok = s->bot; 318 memcpy(buf, s->tok, s->lim - s->tok); 319 s->tok = buf; 342 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning() 343 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning() 352 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 353 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error() 443 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() [all …]
|
/PHP-7.2/ext/pdo/ |
H A D | pdo_sql_parser.c | 33 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; } 42 char *ptr, *cur, *tok, *end; member 49 s->tok = cursor; in scan() 420 int len = s.cur - s.tok; in pdo_parse_params() 432 plc->pos = s.tok; in pdo_parse_params() 433 plc->len = s.cur - s.tok; in pdo_parse_params()
|
H A D | pdo_sql_parser.re | 31 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; } 40 char *ptr, *cur, *tok, *end; 47 s->tok = cursor; 105 int len = s.cur - s.tok; 117 plc->pos = s.tok; 118 plc->len = s.cur - s.tok;
|
/PHP-7.2/ext/phar/ |
H A D | phar.c | 2086 char *tok; local 2105 tok = ptr; 2109 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); 2112 switch (path_length - (tok - path)) { 2114 if (*tok == '.') { 2122 if (tok[0] == '.' && tok[1] == '.') { 2134 ptr_length = ptr - tok; 2136 if (IS_DIRECTORY_UP(tok, ptr_length)) { 2163 tok = ++ptr; 2167 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); [all …]
|
/PHP-7.2/ext/standard/ |
H A D | file.c | 385 php_meta_tags_token tok, tok_last; in PHP_FUNCTION() local 409 while (!done && (tok = php_next_meta_token(&md)) != TOK_EOF) { in PHP_FUNCTION() 410 if (tok == TOK_ID) { in PHP_FUNCTION() 452 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) { in PHP_FUNCTION() 473 } else if (tok == TOK_OPENTAG) { in PHP_FUNCTION() 480 } else if (tok == TOK_CLOSETAG) { in PHP_FUNCTION() 505 tok_last = tok; in PHP_FUNCTION()
|
H A D | string.c | 1332 zend_string *str, *tok = NULL; in PHP_FUNCTION() local 1342 Z_PARAM_STR(tok) in PHP_FUNCTION() 1346 tok = str; in PHP_FUNCTION() 1361 token = ZSTR_VAL(tok); in PHP_FUNCTION() 1362 token_end = token + ZSTR_LEN(tok); in PHP_FUNCTION() 1397 token = ZSTR_VAL(tok); in PHP_FUNCTION()
|
/PHP-7.2/ext/mbstring/oniguruma/ |
H A D | HISTORY | 644 tok->escape was not cleared in fetch_token_in_cc(). 929 should use tok->u.code instead of tok->u.c in
|
/PHP-7.2/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 205622 int tok; 205630 case '(': tok = FTS5_LP; break; 205631 case ')': tok = FTS5_RP; break; 205632 case '{': tok = FTS5_LCP; break; 205633 case '}': tok = FTS5_RCP; break; 205634 case ':': tok = FTS5_COLON; break; 205638 case '-': tok = FTS5_MINUS; break; 205639 case '^': tok = FTS5_CARET; break; 205644 tok = FTS5_STRING; 205666 tok = FTS5_STRING; [all …]
|
Completed in 458 milliseconds