Searched refs:tok (Results 1 – 12 of 12) sorted by relevance
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | regparse.c | 2928 tok->base = 0; in fetch_token_in_cc() 2929 tok->u.c = c; in fetch_token_in_cc() 3003 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token_in_cc() 3043 tok->base = 16; in fetch_token_in_cc() 3075 tok->base = 8; in fetch_token_in_cc() 3382 tok->base = 16; in fetch_token() 3447 tok->base = 8; in fetch_token() 3568 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token() 4203 if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { in parse_char_class() 4325 p = tok->backp; in parse_char_class() [all …]
|
H A D | HISTORY | 551 tok->escape was not cleared in fetch_token_in_cc(). 836 should use tok->u.code instead of tok->u.c in
|
/PHP-5.6/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() 415 int len = s.cur - s.tok; in pdo_parse_params() 427 plc->pos = s.tok; in pdo_parse_params() 428 plc->len = s.cur - s.tok; in pdo_parse_params() 744 memcpy(ptr, s.tok, s.cur - s.tok); 745 ptr += (s.cur - s.tok); 746 *outquery_len += (s.cur - s.tok); 757 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.6/ext/date/lib/ |
H A D | parse_iso_intervals.re | 95 uchar *lim, *str, *ptr, *cur, *tok, *pos; 115 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 116 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; 124 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 125 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; 131 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); 132 memcpy(tmp, s->tok, s->cur - s->tok); 253 s->tok = cursor;
|
H A D | parse_iso_intervals.c | 97 uchar *lim, *str, *ptr, *cur, *tok, *pos; member 117 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning() 118 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning() 126 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 127 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error() 133 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); in timelib_string() 134 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() 255 s->tok = cursor; in scan()
|
H A D | parse_date.re | 315 unsigned int cnt = s->tok - s->bot; 317 memcpy(s->bot, s->tok, s->lim - s->tok); 318 s->tok = s->bot; 326 memcpy(buf, s->tok, s->lim - s->tok); 327 s->tok = buf; 349 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 350 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; 358 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 359 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; 447 memcpy(tmp, s->tok, s->cur - s->tok); [all …]
|
H A D | parse_date.c | 317 unsigned int cnt = s->tok - s->bot; 319 memcpy(s->bot, s->tok, s->lim - s->tok); 320 s->tok = s->bot; 328 memcpy(buf, s->tok, s->lim - s->tok); 329 s->tok = buf; 351 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning() 352 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning() 360 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 361 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error() 449 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string() [all …]
|
/PHP-5.6/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.6/ext/phar/ |
H A D | phar.c | 2139 char *tok; local 2158 tok = ptr; 2162 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); 2165 switch (path_length - (tok - path)) { 2167 if (*tok == '.') { 2175 if (tok[0] == '.' && tok[1] == '.') { 2187 ptr_length = ptr - tok; 2189 if (IS_DIRECTORY_UP(tok, ptr_length)) { 2216 tok = ++ptr; 2220 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); [all …]
|
/PHP-5.6/ext/standard/ |
H A D | file.c | 389 php_meta_tags_token tok, tok_last; in PHP_FUNCTION() local 411 while (!done && (tok = php_next_meta_token(&md TSRMLS_CC)) != TOK_EOF) { in PHP_FUNCTION() 412 if (tok == TOK_ID) { in PHP_FUNCTION() 454 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) { in PHP_FUNCTION() 475 } else if (tok == TOK_OPENTAG) { in PHP_FUNCTION() 482 } else if (tok == TOK_CLOSETAG) { in PHP_FUNCTION() 507 tok_last = tok; in PHP_FUNCTION()
|
H A D | string.c | 1278 char *str, *tok = NULL; in PHP_FUNCTION() local 1288 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &tok, &tok_len) == FAI… in PHP_FUNCTION() 1293 tok = str; in PHP_FUNCTION() 1314 token = tok; in PHP_FUNCTION() 1350 token = tok; in PHP_FUNCTION()
|
Completed in 112 milliseconds