Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 12 of 12) sorted by relevance

/PHP-5.5/ext/mbstring/oniguruma/
H A Dregparse.c2920 tok->base = 0; in fetch_token_in_cc()
2921 tok->u.c = c; in fetch_token_in_cc()
2995 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token_in_cc()
3035 tok->base = 16; in fetch_token_in_cc()
3067 tok->base = 8; in fetch_token_in_cc()
3374 tok->base = 16; in fetch_token()
3439 tok->base = 8; in fetch_token()
3560 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token()
3578 p = tok->backp + enclen(enc, tok->backp); in fetch_token()
4190 if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { in parse_char_class()
[all …]
H A DHISTORY532 tok->escape was not cleared in fetch_token_in_cc().
817 should use tok->u.code instead of tok->u.c in
/PHP-5.5/ext/pdo/
H A Dpdo_sql_parser.c33 #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 **)&param))
H A Dpdo_sql_parser.re31 #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 **)&param))
/PHP-5.5/ext/date/lib/
H A Dparse_iso_intervals.re89 uchar *lim, *str, *ptr, *cur, *tok, *pos;
109 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
110 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
118 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
119 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
125 char *tmp = calloc(1, s->cur - s->tok + 1);
126 memcpy(tmp, s->tok, s->cur - s->tok);
247 s->tok = cursor;
H A Dparse_iso_intervals.c91 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
111 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning()
112 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
120 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
121 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
127 char *tmp = calloc(1, s->cur - s->tok + 1); in timelib_string()
128 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
249 s->tok = cursor; in scan()
H A Dparse_date.re309 unsigned int cnt = s->tok - s->bot;
311 memcpy(s->bot, s->tok, s->lim - s->tok);
312 s->tok = s->bot;
320 memcpy(buf, s->tok, s->lim - s->tok);
321 s->tok = buf;
343 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
344 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
352 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
353 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
437 memcpy(tmp, s->tok, s->cur - s->tok);
[all …]
H A Dparse_date.c311 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; in add_warning()
346 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
354 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
355 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
439 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
[all …]
/PHP-5.5/main/
H A Dreentrancy.c384 char *tok; in php_strtok_r() local
409 tok = s - 1; in php_strtok_r()
433 return tok; in php_strtok_r()
/PHP-5.5/ext/phar/
H A Dphar.c2147 char *tok; local
2166 tok = ptr;
2170 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
2173 switch (path_length - (tok - path)) {
2175 if (*tok == '.') {
2183 if (tok[0] == '.' && tok[1] == '.') {
2195 ptr_length = ptr - tok;
2197 if (IS_DIRECTORY_UP(tok, ptr_length)) {
2224 tok = ++ptr;
2228 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
[all …]
/PHP-5.5/ext/standard/
H A Dfile.c381 php_meta_tags_token tok, tok_last; in PHP_FUNCTION() local
403 while (!done && (tok = php_next_meta_token(&md TSRMLS_CC)) != TOK_EOF) { in PHP_FUNCTION()
404 if (tok == TOK_ID) { in PHP_FUNCTION()
446 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) { in PHP_FUNCTION()
467 } else if (tok == TOK_OPENTAG) { in PHP_FUNCTION()
474 } else if (tok == TOK_CLOSETAG) { in PHP_FUNCTION()
499 tok_last = tok; in PHP_FUNCTION()
H A Dstring.c1278 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 107 milliseconds