Searched refs:tok (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/pdo/
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);
[all...]
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;
459 int len = s.cur - s.tok;
471 plc->pos = s.tok;
472 plc->len = s.cur - s.tok;
788 memcpy(ptr, s.tok, s.cur - s.tok);
789 ptr += (s.cur - s.tok);
790 *outquery_len += (s.cur - s.tok);
[all...]
/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_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
[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...]
H A Dparse_date.re151 uchar *lim, *str, *ptr, *cur, *tok, *pos;
309 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
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar.c2127 char *tok; local
2144 tok = ptr;
2148 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
2150 if (!ptr && (path_length - (tok - path))) {
2151 switch (path_length - (tok - path)) {
2153 if (*tok == '.') {
2160 if (tok[0] == '.' && tok[1] == '.') {
2170 ptr_length = ptr - tok;
[all...]
/PHP_TRUNK/main/
H A Dreentrancy.c384 char *tok; local
409 tok = s - 1;
433 return tok;
/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/standard/
H A Dstring.c1260 char *str, *tok = NULL; local
1270 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &tok, &tok_len) == FAILURE) {
1275 tok = str;
1296 token = tok;
1332 token = tok;
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;

Completed in 35 milliseconds