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

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.c2318 fetch_range_quantifier(UChar** src, UChar* end, OnigToken* tok, ScanEnv* env) argument
2394 tok->type = TK_INTERVAL;
2395 tok->u.repeat.lower = low;
2396 tok->u.repeat.upper = up;
2480 static int fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env);
2908 fetch_token_in_cc(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
2919 tok->type = TK_EOT;
2920 return tok->type;
2924 tok->type = TK_CHAR;
2925 tok
3126 fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4020 parse_char_property(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4175 parse_char_class(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4505 parse_enclose(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5037 parse_exp(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5428 parse_branch(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5465 parse_subexp(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5512 OnigToken tok; local
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar.c2131 char *tok; local
2148 tok = ptr;
2152 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
2154 if (!ptr && (path_length - (tok - path))) {
2155 switch (path_length - (tok - path)) {
2157 if (*tok == '.') {
2164 if (tok[0] == '.' && tok[1] == '.') {
2174 ptr_length = ptr - tok;
[all...]
/PHP_TRUNK/ext/date/lib/
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...]
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...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c32 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; }
41 char *ptr, *cur, *tok, *end; member in struct:Scanner
48 s->tok = cursor;
443 int len = s.cur - s.tok;
455 plc->pos = s.tok;
456 plc->len = s.cur - s.tok;
784 memcpy(ptr, s.tok, s.cur - s.tok);
785 ptr += (s.cur - s.tok);
786 *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/standard/
H A Dfile.c389 php_meta_tags_token tok, tok_last; local
411 while (!done && (tok = php_next_meta_token(&md TSRMLS_CC)) != TOK_EOF) {
412 if (tok == TOK_ID) {
454 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) {
475 } else if (tok == TOK_OPENTAG) {
482 } else if (tok == TOK_CLOSETAG) {
507 tok_last = tok;
H A Dstring.c1258 zend_string *str, *tok = NULL; local
1265 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|S", &str, &tok) == FAILURE) {
1270 tok = str;
1285 token = tok->val;
1286 token_end = token + tok->len;
1321 token = tok->val;

Completed in 28 milliseconds