Searched defs:tok (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.c2310 fetch_range_quantifier(UChar** src, UChar* end, OnigToken* tok, ScanEnv* env) argument
2386 tok->type = TK_INTERVAL;
2387 tok->u.repeat.lower = low;
2388 tok->u.repeat.upper = up;
2473 static int fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env);
2903 fetch_token_in_cc(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
2914 tok->type = TK_EOT;
2915 return tok->type;
2919 tok->type = TK_CHAR;
2920 tok
3121 fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4017 parse_char_property(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4173 parse_char_class(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4503 parse_enclose(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5035 parse_exp(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5426 parse_branch(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5463 parse_subexp(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5510 OnigToken tok; local
[all...]
/PHP_TRUNK/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 in struct:Scanner
49 s->tok = cursor;
454 int len = s.cur - s.tok;
466 plc->pos = s.tok;
467 plc->len = s.cur - s.tok;
780 memcpy(ptr, s.tok, s.cur - s.tok);
781 ptr += (s.cur - s.tok);
782 *outquery_len += (s.cur - s.tok);
[all...]
/PHP_TRUNK/main/
H A Dreentrancy.c384 char *tok; local
409 tok = s - 1;
433 return tok;
/PHP_TRUNK/ext/phar/
H A Dphar.c2151 char *tok; local
2168 tok = ptr;
2172 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
2174 if (!ptr && (path_length - (tok - path))) {
2175 switch (path_length - (tok - path)) {
2177 if (*tok == '.') {
2184 if (tok[0] == '.' && tok[1] == '.') {
2194 ptr_length = ptr - tok;
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.c381 php_meta_tags_token tok, tok_last; local
403 while (!done && (tok = php_next_meta_token(&md TSRMLS_CC)) != TOK_EOF) {
404 if (tok == TOK_ID) {
446 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) {
467 } else if (tok == TOK_OPENTAG) {
474 } else if (tok == TOK_CLOSETAG) {
499 tok_last = tok;
H A Dstring.c1264 char *str, *tok = NULL; local
1274 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &tok, &tok_len) == FAILURE) {
1279 tok = str;
1300 token = tok;
1336 token = tok;
/PHP_TRUNK/ext/date/lib/
H A Dparse_iso_intervals.c91 uchar *lim, *str, *ptr, *cur, *tok, *pos; member in struct:Scanner
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
[all...]
H A Dparse_date.c153 uchar *lim, *str, *ptr, *cur, *tok, *pos; member in struct:Scanner
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
[all...]

Completed in 28 milliseconds