Home
last modified time | relevance | path

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

/PHP-5.3/ext/mbstring/oniguruma/
H A Dregparse.c2764 tok->base = 0; in fetch_token_in_cc()
2765 tok->u.c = c; in fetch_token_in_cc()
2831 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token_in_cc()
2871 tok->base = 16; in fetch_token_in_cc()
2903 tok->base = 8; in fetch_token_in_cc()
3202 tok->base = 16; in fetch_token()
3267 tok->base = 8; in fetch_token()
3365 tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); in fetch_token()
3383 p = tok->backp + enc_len(enc, tok->backp); in fetch_token()
4078 if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { in parse_char_class()
[all …]
H A DHISTORY327 tok->escape was not cleared in fetch_token_in_cc().
612 should use tok->u.code instead of tok->u.c in
/PHP-5.3/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()
454 int len = s.cur - s.tok; in pdo_parse_params()
466 plc->pos = s.tok; in pdo_parse_params()
467 plc->len = s.cur - s.tok; in pdo_parse_params()
780 memcpy(ptr, s.tok, s.cur - s.tok);
781 ptr += (s.cur - s.tok);
782 *outquery_len += (s.cur - s.tok);
793 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;
427 memcpy(ptr, s.tok, s.cur - s.tok);
428 ptr += (s.cur - s.tok);
429 *outquery_len += (s.cur - s.tok);
440 if((SUCCESS == zend_hash_find(params, s.tok, s.cur-s.tok,(void **)&param))
/PHP-5.3/ext/date/lib/
H A Dparse_iso_intervals.re89 uchar *lim, *str, *ptr, *cur, *tok, *pos;
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 + 1);
128 memcpy(tmp, s->tok, s->cur - s->tok);
282 s->tok = cursor;
H A Dparse_iso_intervals.c91 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
113 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning()
114 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
122 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
123 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
129 char *tmp = calloc(1, s->cur - s->tok + 1); in timelib_string()
130 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
284 s->tok = cursor; in scan()
H A Dparse_date.re311 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;
346 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
354 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
355 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
439 memcpy(tmp, s->tok, s->cur - s->tok);
[all …]
H A Dparse_date.c313 unsigned int cnt = s->tok - s->bot;
315 memcpy(s->bot, s->tok, s->lim - s->tok);
316 s->tok = s->bot;
324 memcpy(buf, s->tok, s->lim - s->tok);
325 s->tok = buf;
347 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning()
348 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
356 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
357 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
441 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
[all …]
/PHP-5.3/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.3/ext/phar/
H A Dphar.c2157 char *tok; local
2174 tok = ptr;
2178 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
2181 switch (path_length - (tok - path)) {
2183 if (*tok == '.') {
2190 if (tok[0] == '.' && tok[1] == '.') {
2200 ptr_length = ptr - tok;
2202 if (IS_DIRECTORY_UP(tok, ptr_length)) {
2229 tok = ++ptr;
2233 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok);
[all …]
/PHP-5.3/ext/standard/
H A Dfile.c379 php_meta_tags_token tok, tok_last; in PHP_FUNCTION() local
405 while (!done && (tok = php_next_meta_token(&md TSRMLS_CC)) != TOK_EOF) { in PHP_FUNCTION()
406 if (tok == TOK_ID) { in PHP_FUNCTION()
454 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) { in PHP_FUNCTION()
481 } else if (tok == TOK_OPENTAG) { in PHP_FUNCTION()
488 } else if (tok == TOK_CLOSETAG) { in PHP_FUNCTION()
513 tok_last = tok; in PHP_FUNCTION()
H A Dstring.c1191 char *str, *tok = NULL; in PHP_FUNCTION() local
1201 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &str, &str_len, &tok, &tok_len) == FAI… in PHP_FUNCTION()
1206 tok = str; in PHP_FUNCTION()
1227 token = tok; in PHP_FUNCTION()
1263 token = tok; in PHP_FUNCTION()

Completed in 198 milliseconds