Home
last modified time | relevance | path

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

/PHP-8.0/ext/pdo_firebird/
H A Dfirebird_driver.c301 FbTokenType tok = getToken(&p, end); in preprocess() local
304 while (p < end && (tok == ttComment || tok == ttWhite)) in preprocess()
307 tok = getToken(&p, end); in preprocess()
310 if (p >= end || tok != ttIdent) in preprocess()
331 tok = getToken(&p, end); in preprocess()
332 while (p < end && (tok == ttComment || tok == ttWhite)) in preprocess()
335 tok = getToken(&p, end); in preprocess()
337 if (p >= end || tok != ttIdent) in preprocess()
374 tok = getToken(&p, end); in preprocess()
375 switch (tok) in preprocess()
[all …]
/PHP-8.0/main/
H A Dreentrancy.c269 char *tok; in php_strtok_r() local
294 tok = s - 1; in php_strtok_r()
318 return tok; in php_strtok_r()
/PHP-8.0/ext/date/lib/
H A Dparse_iso_intervals.re73 uchar *lim, *str, *ptr, *cur, *tok, *pos;
93 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
94 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
100 char *tmp = timelib_calloc(1, s->cur - s->tok + 1);
101 memcpy(tmp, s->tok, s->cur - s->tok);
175 s->tok = cursor;
H A Dparse_iso_intervals.c75 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
95 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
96 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
102 char *tmp = timelib_calloc(1, s->cur - s->tok + 1); in timelib_string()
103 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
177 s->tok = cursor; in scan()
H A Dparse_date.re304 unsigned int cnt = s->tok - s->bot;
306 memcpy(s->bot, s->tok, s->lim - s->tok);
307 s->tok = s->bot;
315 memcpy(buf, s->tok, s->lim - s->tok);
316 s->tok = buf;
339 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0;
340 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0;
349 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
350 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0;
440 memcpy(tmp, s->tok, s->cur - s->tok);
[all …]
H A Dparse_date.c306 unsigned int cnt = s->tok - s->bot;
308 memcpy(s->bot, s->tok, s->lim - s->tok);
309 s->tok = s->bot;
317 memcpy(buf, s->tok, s->lim - s->tok);
318 s->tok = buf;
341 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning()
342 s->errors->warning_messages[s->errors->warning_count - 1].character = s->tok ? *s->tok : 0; in add_warning()
351 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
352 s->errors->error_messages[s->errors->error_count - 1].character = s->tok ? *s->tok : 0; in add_error()
442 memcpy(tmp, s->tok, s->cur - s->tok); in timelib_string()
[all …]
/PHP-8.0/ext/pdo/
H A Dpdo_sql_parser.re30 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; }
39 const char *ptr, *cur, *tok, *end;
46 s->tok = cursor;
112 ptrdiff_t len = s.cur - s.tok;
124 plc->pos = s.tok;
125 plc->len = s.cur - s.tok;
/PHP-8.0/ext/phar/
H A Dphar.c2142 char *tok; in phar_fix_filepath() local
2161 tok = ptr; in phar_fix_filepath()
2165 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); in phar_fix_filepath()
2168 switch (path_length - (tok - path)) { in phar_fix_filepath()
2170 if (*tok == '.') { in phar_fix_filepath()
2178 if (tok[0] == '.' && tok[1] == '.') { in phar_fix_filepath()
2190 ptr_length = ptr - tok; in phar_fix_filepath()
2192 if (IS_DIRECTORY_UP(tok, ptr_length)) { in phar_fix_filepath()
2219 tok = ++ptr; in phar_fix_filepath()
2223 } while (ptr && ptr - tok == 0 && *ptr == '/' && ++ptr && ++tok); in phar_fix_filepath()
[all …]
/PHP-8.0/ext/standard/
H A Dfile.c387 php_meta_tags_token tok, tok_last; in PHP_FUNCTION() local
411 while (!done && (tok = php_next_meta_token(&md)) != TOK_EOF) { in PHP_FUNCTION()
412 if (tok == TOK_ID) { in PHP_FUNCTION()
454 } else if (tok == TOK_STRING && tok_last == TOK_EQUAL && looking_for_val) { in PHP_FUNCTION()
475 } else if (tok == TOK_OPENTAG) { in PHP_FUNCTION()
482 } else if (tok == TOK_CLOSETAG) { in PHP_FUNCTION()
507 tok_last = tok; in PHP_FUNCTION()
H A Dstring.c1258 zend_string *str, *tok = NULL; in PHP_FUNCTION() local
1268 Z_PARAM_STR_OR_NULL(tok) in PHP_FUNCTION()
1271 if (!tok) { in PHP_FUNCTION()
1272 tok = str; in PHP_FUNCTION()
1295 token = ZSTR_VAL(tok); in PHP_FUNCTION()
1296 token_end = token + ZSTR_LEN(tok); in PHP_FUNCTION()
1330 token = ZSTR_VAL(tok); in PHP_FUNCTION()

Completed in 1395 milliseconds