Searched refs:tok (Results 1 – 12 of 12) sorted by relevance
/PHP-5.4/ext/mbstring/oniguruma/ |
H A D | regparse.c | 2764 tok->base = 0; in fetch_token_in_cc() 2765 tok->u.c = c; in fetch_token_in_cc() 2831 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token_in_cc() 2871 tok->base = 16; in fetch_token_in_cc() 2903 tok->base = 8; in fetch_token_in_cc() 3202 tok->base = 16; in fetch_token() 3267 tok->base = 8; in fetch_token() 3365 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token() 3383 p = tok->backp + enc_len(enc, tok->backp); in fetch_token() 4078 if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { in parse_char_class() [all …]
|
H A D | HISTORY | 327 tok->escape was not cleared in fetch_token_in_cc(). 612 should use tok->u.code instead of tok->u.c in
|
/PHP-5.4/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() 459 int len = s.cur - s.tok; in pdo_parse_params() 471 plc->pos = s.tok; in pdo_parse_params() 472 plc->len = s.cur - s.tok; in pdo_parse_params() 788 memcpy(ptr, s.tok, s.cur - s.tok); 789 ptr += (s.cur - s.tok); 790 *outquery_len += (s.cur - s.tok); 801 if((SUCCESS == zend_hash_find(params, s.tok, s.cur-s.tok,(void **)¶m))
|
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; 101 int len = s.cur - s.tok; 113 plc->pos = s.tok; 114 plc->len = s.cur - s.tok; 430 memcpy(ptr, s.tok, s.cur - s.tok); 431 ptr += (s.cur - s.tok); 432 *outquery_len += (s.cur - s.tok); 443 if((SUCCESS == zend_hash_find(params, s.tok, s.cur-s.tok,(void **)¶m))
|
/PHP-5.4/ext/date/lib/ |
H A D | parse_iso_intervals.re | 89 uchar *lim, *str, *ptr, *cur, *tok, *pos; 111 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 112 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; 120 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 121 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; 127 char *tmp = calloc(1, s->cur - s->tok + 1); 128 memcpy(tmp, s->tok, s->cur - s->tok); 282 s->tok = cursor;
|
H A D | parse_iso_intervals.c | 91 uchar *lim, *str, *ptr, *cur, *tok, *pos; member 113 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning() 114 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning() 122 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 123 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error() 129 char *tmp = calloc(1, s->cur - s->tok + 1); in timelib_string() 130 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() 284 s->tok = cursor; in scan()
|
H A D | parse_date.re | 311 unsigned int cnt = s->tok - s->bot; 313 memcpy(s->bot, s->tok, s->lim - s->tok); 314 s->tok = s->bot; 322 memcpy(buf, s->tok, s->lim - s->tok); 323 s->tok = buf; 345 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 346 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; 354 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 355 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; 439 memcpy(tmp, s->tok, s->cur - s->tok); [all …]
|
H A D | parse_date.c | 313 unsigned int cnt = s->tok - s->bot; 315 memcpy(s->bot, s->tok, s->lim - s->tok); 316 s->tok = s->bot; 324 memcpy(buf, s->tok, s->lim - s->tok); 325 s->tok = buf; 347 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning() 348 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning() 356 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 357 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error() 441 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() [all …]
|
/PHP-5.4/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-5.4/ext/phar/ |
H A D | phar.c | 2148 char *tok; local 2167 tok = ptr; 2171 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); 2174 switch (path_length - (tok - path)) { 2176 if (*tok == '.') { 2184 if (tok[0] == '.' && tok[1] == '.') { 2196 ptr_length = ptr - tok; 2198 if (IS_DIRECTORY_UP(tok, ptr_length)) { 2225 tok = ++ptr; 2229 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); [all …]
|
/PHP-5.4/ext/standard/ |
H A D | file.c | 380 php_meta_tags_token tok, tok_last; in PHP_FUNCTION() local 402 while (!done && (tok = php_next_meta_token(&md TSRMLS_CC)) != TOK_EOF) { in PHP_FUNCTION() 403 if (tok == TOK_ID) { in PHP_FUNCTION() 445 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) { in PHP_FUNCTION() 466 } else if (tok == TOK_OPENTAG) { in PHP_FUNCTION() 473 } else if (tok == TOK_CLOSETAG) { in PHP_FUNCTION() 498 tok_last = tok; in PHP_FUNCTION()
|
H A D | string.c | 1264 char *str, *tok = NULL; in PHP_FUNCTION() local 1274 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &tok, &tok_len) == FAI… in PHP_FUNCTION() 1279 tok = str; in PHP_FUNCTION() 1300 token = tok; in PHP_FUNCTION() 1336 token = tok; in PHP_FUNCTION()
|
Completed in 179 milliseconds