Searched refs:token (Results 1 - 21 of 21) sorted by relevance

/PHP_5_6/ext/phar/
H A Dmakestub.php6 foreach (token_get_all($s) as $token) {
7 if (is_array($token)) {
8 if ($token[0] == T_COMMENT) {
9 $token[1] = '';
11 if ($token[0] == T_WHITESPACE) {
12 $n = str_repeat("\n", substr_count($token[1], "\n"));
13 $token[1] = strlen($n) ? $n : ' ';
15 $news .= $token[1];
17 $news .= $token;
H A Dphar.c1469 * Or scan a phar file for the required __HALT_COMPILER(); ?> token and verify
1560 * Scan an open fp for the required __HALT_COMPILER(); ?> token and verify
1566 const char token[] = "__HALT_COMPILER();"; local
1572 char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */
1573 const long readsize = sizeof(buffer) - sizeof(token);
1574 const long tokenlen = sizeof(token) - 1;
1588 memset(buffer, 32, sizeof(token));
1714 if (got > 0 && (pos = phar_strnstr(buffer, got + sizeof(token), token, sizeo
2087 char *token; local
[all...]
/PHP_5_6/TSRM/
H A Dtsrm_strtok_r.c19 char *token; local
32 token = s;
43 return token;
52 char *token;
54 token = tsrm_strtok_r(foo, "/\\", &last);
55 while (token) {
56 printf ("Token = '%s'\n", token);
57 token = tsrm_strtok_r(NULL, "/\\", &last);
/PHP_5_6/ext/tokenizer/
H A Dtokenizer.php18 $token = $tokens[$i]; variable
19 if (is_array($token)) {
20 if ($state == 1 && $token[0] == T_STRING) {
21 $token[1] = preg_replace('!([a-z])([A-Z])!e', '"$1_".strtolower("$2")', $token[1]);
23 } else if ($token[0] == T_FUNCTION) {
26 $chunk = $token[1];
28 $chunk = $token;
H A Dtokenizer.c46 ZEND_ARG_INFO(0, token)
106 zval token; local
115 ZVAL_NULL(&token);
116 while ((token_type = lex_scan(&token TSRMLS_CC))) {
148 if (destroy && Z_TYPE(token) != IS_NULL) {
149 zval_dtor(&token);
151 ZVAL_NULL(&token);
/PHP_5_6/win32/
H A Dsendmail.c387 char *tempMailTo, *token, *pos1, *pos2; local
437 token = strtok(tempMailTo, ",");
438 while (token != NULL)
440 SMTP_SKIP_SPACE(token);
441 FormatEmailAddress(Buffer, token, "RCPT TO:<%s>\r\n");
451 token = strtok(NULL, ",");
458 token = strtok(tempMailTo, ",");
459 while (token != NULL)
461 SMTP_SKIP_SPACE(token);
462 FormatEmailAddress(Buffer, token, "RCP
[all...]
/PHP_5_6/ext/mbstring/
H A Dmbstring.c3845 if (token.a > 0) { \
3846 smart_str_appendc(&token, ch); \
3848 token.len++; \
3879 smart_str token = { 0, 0, 0 }; local
3904 fld_name = token;
3933 SEPARATE_SMART_STR(&token);
3953 token.c = (char *)ps;
3954 token.len = 0;
3955 token.a = 0;
3961 token
[all...]
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c2113 ** complete if it ends with a semicolon token and is not a prefix of a
2116 ** independent tokens (they are part of the token in which they are
9049 void *token; /* id that may be used to recursive triggers */ member in struct:SubProgram
11077 ** Each token coming out of the lexer is an instance of
11085 const char *z; /* Text of the token. Not NULL-terminated! */
11086 unsigned int n; /* Number of characters in this token */
11153 ** Expr.op is the opcode. The integer parser token codes are reused
11160 ** or TK_STRING), then Expr.token contains the text of the SQL literal. If
11161 ** the expression is a variable (TK_VARIABLE), then Expr.token contains the
11163 ** then Expr.token contain
13809 void *token; /* Copy of SubProgram.token */ member in struct:VdbeFrame
81397 int token; local
81468 int token; /* Type of token */ local
81517 int token; local
119770 u8 token; /* Value of the next token */ local
[all...]
/PHP_5_6/Zend/
H A Dzend_highlight.c87 zval token; local
95 token.type = 0;
96 while ((token_type=lex_scan(&token TSRMLS_CC))) {
119 token.type = 0;
123 if (token.type == 0) {
143 if (token.type == IS_STRING) {
153 str_efree(token.value.str.val);
157 token.type = 0;
169 zval token; local
173 token
[all...]
H A Dzend_indent.c52 zval token; local
63 token.type = 0;
64 while ((token_type=lex_scan(&token TSRMLS_CC))) {
70 token.type = 0;
82 if (token.type==0) {
135 if (token.type == IS_STRING) {
142 str_efree(token.value.str.val);
146 token.type = 0;
H A Dzend_language_parser.y57 %token END 0 "end of file"
59 %token T_INCLUDE "include (T_INCLUDE)"
60 %token T_INCLUDE_ONCE "include_once (T_INCLUDE_ONCE)"
61 %token T_EVAL "eval (T_EVAL)"
62 %token T_REQUIRE "require (T_REQUIRE)"
63 %token T_REQUIRE_ONCE "require_once (T_REQUIRE_ONCE)"
66 %token T_LOGICAL_OR "or (T_LOGICAL_OR)"
68 %token T_LOGICAL_XOR "xor (T_LOGICAL_XOR)"
70 %token T_LOGICAL_AND "and (T_LOGICAL_AND)"
72 %token T_PRIN
[all...]
H A Dzend_ini_parser.y255 %token TC_SECTION
256 %token TC_RAW
257 %token TC_CONSTANT
258 %token TC_NUMBER
259 %token TC_STRING
260 %token TC_WHITESPACE
261 %token TC_LABEL
262 %token TC_OFFSET
263 %token TC_DOLLAR_CURLY
264 %token TC_VARNAM
[all...]
/PHP_5_6/ext/intl/locale/
H A Dlocale_methods.c144 * returns the position of next token for lookup
145 * or -1 if no token
146 * strtokr equivalent search for token in reverse direction
157 /* a singleton; so send the position of token before the singleton */
1033 char* token = NULL; local
1051 token = php_strtok_r( key_value , DELIMITER ,&last_ptr);
1057 add_assoc_string( hash_arr, cur_key_name , token ,TRUE );
1059 while( (token = php_strtok_r(NULL , DELIMITER , &last_ptr)) && (strlen(token)>1) ){
1061 add_assoc_string( hash_arr, cur_key_name , token , TRU
1142 char* token = NULL; local
1239 char* token = 0; local
[all...]
/PHP_5_6/ext/pgsql/
H A Dpgsql.c6481 char *table_copy, *escaped, *token, *tmp; local
6486 token = php_strtok_r(table_copy, ".", &tmp);
6487 len = strlen(token);
6488 if (_php_pgsql_detect_identifier_escape(token, len) == SUCCESS) {
6489 smart_str_appendl(querystr, token, len);
6491 escaped = PGSQLescapeIdentifier(pg_link, token, len);
/PHP_5_6/ext/standard/
H A Dphp_fopen_wrapper.c149 char *p, *token; local
152 p = php_strtok_r(filterlist, "|", &token);
169 p = php_strtok_r(NULL, "|", &token);
180 char *p, *token, *pathdup; local
355 p = php_strtok_r(pathdup + 1, "/", &token);
364 p = php_strtok_r(NULL, "/", &token);
H A Dstring.c1256 /* {{{ proto string strtok([string str,] string token)
1264 char *token; local
1296 token = tok;
1297 token_end = token + tok_len;
1299 while (token < token_end) {
1300 STRTOK_TABLE(token++) = 1;
1332 token = tok;
1334 while (token < token_end) {
1335 STRTOK_TABLE(token++) = 0;
5500 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only a single %%i or %%n token ca
[all...]
H A Dbasic_functions.c2194 ZEND_ARG_INFO(0, token)
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_parser.y44 %token T_EVAL "eval"
45 %token T_RUN "run"
46 %token T_SHELL "shell"
47 %token T_IF "if (condition)"
48 %token T_TRUTHY "truthy (true, on, yes or enabled)"
49 %token T_FALSY "falsy (false, off, no or disabled)"
50 %token T_STRING "string (some input, perhaps)"
51 %token T_COLON ": (colon)"
52 %token T_DCOLON ":: (double colon)"
53 %token T_POUN
[all...]
/PHP_5_6/ext/session/
H A Dsession.c297 zval **token; local
304 zend_hash_find(Z_ARRVAL_PP(array), "REMOTE_ADDR", sizeof("REMOTE_ADDR"), (void **) &token) == SUCCESS &&
305 Z_TYPE_PP(token) == IS_STRING
307 remote_addr = Z_STRVAL_PP(token);
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_log.c102 int token, test; local
141 token = 0;
158 if (!token && *s == '%') {
159 token = 1;
165 if (token) {
166 token = 0;
407 token = 1;
436 zlog(ZLOG_WARNING, "Invalid token in the access.format (%%%c)", *s);
H A Dfpm_conf.c172 * Expands the '$pool' token in a dynamically allocated string
175 char *token; local
181 while (*value && (token = strstr(*value, "$pool"))) {
183 char *p2 = token + strlen("$pool");
191 token[0] = '\0';
193 /* Build a brand new string with the expanded token */

Completed in 210 milliseconds