Searched defs:token (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/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)
102 zval token; local
111 ZVAL_NULL(&token);
112 while ((token_type = lex_scan(&token))) {
143 if (destroy && Z_TYPE(token) != IS_NULL) {
144 zval_dtor(&token);
146 ZVAL_NULL(&token);
/PHP_TRUNK/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_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c104 int token, test; local
143 token = 0;
160 if (!token && *s == '%') {
161 token = 1;
167 if (token) {
168 token = 0;
409 token = 1;
438 zlog(ZLOG_WARNING, "Invalid token in the access.format (%%%c)", *s);
H A Dfpm_conf.c176 * Expands the '$pool' token in a dynamically allocated string
179 char *token; local
185 while (*value && (token = strstr(*value, "$pool"))) {
187 char *p2 = token + strlen("$pool");
195 token[0] = '\0';
197 /* Build a brand new string with the expanded token */
/PHP_TRUNK/Zend/
H A Dzend_highlight.c87 zval token; local
95 ZVAL_UNDEF(&token);
96 while ((token_type=lex_scan(&token))) {
125 ZVAL_UNDEF(&token);
129 if (Z_TYPE(token) == IS_UNDEF) {
149 if (Z_TYPE(token) == IS_STRING) {
159 zend_string_release(Z_STR(token));
163 ZVAL_UNDEF(&token);
175 zval token; local
179 ZVAL_UNDEF(&token);
[all...]
/PHP_TRUNK/win32/
H A Dsendmail.c368 char *tempMailTo, *token, *pos1, *pos2; local
421 token = strtok(tempMailTo, ",");
422 while (token != NULL)
424 SMTP_SKIP_SPACE(token);
425 FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\r\n"); local
435 token = strtok(NULL, ",");
442 token = strtok(tempMailTo, ",");
443 while (token != NULL)
445 SMTP_SKIP_SPACE(token);
446 FormatEmailAddress(PW32G(mail_buffer), token, "RCP local
476 FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\\r\\n"); local
501 FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\\r\\n"); local
534 FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\\r\\n"); local
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar.c1472 * Or scan a phar file for the required __HALT_COMPILER(); ?> token and verify
1563 * Scan an open fp for the required __HALT_COMPILER(); ?> token and verify
1569 const char token[] = "__HALT_COMPILER();"; local
1575 char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */
1576 const zend_long readsize = sizeof(buffer) - sizeof(token);
1577 const zend_long tokenlen = sizeof(token) - 1;
1591 memset(buffer, 32, sizeof(token));
1717 if (got > 0 && (pos = phar_strnstr(buffer, got + sizeof(token), token, sizeo
[all...]
/PHP_TRUNK/ext/json/
H A Dphp_json_scanner.h29 php_json_ctype *token; /* token position */ member in struct:_php_json_scanner
H A Djson_parser.tab.c540 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
541 (internal) symbol number NUM (which must be that of a token). */
597 positive, shift that token. If negative, reduce the rule whose
674 /* Error token number */
740 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
915 about the unexpected token YYTOKEN for the state stack whose top is
945 that there is no unexpected or expected token to report. In that
951 - Of course, the expected token list depends on states to have
956 token list. However, the list is correct for canonical LR with
957 one exception: it will still contain any token tha
1850 int token = php_json_scan(&parser->scanner); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c1305 /* {{{ proto string strtok([string str,] string token)
1310 char *token; local
1344 token = tok->val;
1345 token_end = token + tok->len;
1347 while (token < token_end) {
1348 STRTOK_TABLE(token++) = 1;
1380 token = tok->val;
1382 while (token < token_end) {
1383 STRTOK_TABLE(token++) = 0;
5638 php_error_docref(NULL, E_WARNING, "Only a single %%i or %%n token ca
[all...]
H A Dphp_fopen_wrapper.c149 char *p, *token = NULL; local
152 p = php_strtok_r(filterlist, "|", &token);
169 p = php_strtok_r(NULL, "|", &token);
180 char *p, *token, *pathdup; local
356 p = php_strtok_r(pathdup + 1, "/", &token);
365 p = php_strtok_r(NULL, "/", &token);
/PHP_TRUNK/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 */
1042 char* token = NULL; local
1060 token = php_strtok_r( key_value , DELIMITER ,&last_ptr);
1066 add_assoc_string( hash_arr, cur_key_name , token);
1068 while( (token = php_strtok_r(NULL , DELIMITER , &last_ptr)) && (strlen(token)>1) ){
1070 add_assoc_string( hash_arr, cur_key_name , token);
1151 char* token = NULL; local
1246 char* token = 0; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c3894 char *token = NULL; local
3921 if(token && token_pos > 0) {
3922 fld_name = zend_string_init(token, token_pos, 0);
3970 token = (char*)ps;
3977 token = (char*)ps;
3987 if(token && token_pos > 0) {
3988 fld_val = zend_string_init(token, token_pos, 0);
4004 token = (char*)ps;
4030 token = "";
4036 if(token
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c6506 char *table_copy, *escaped, *token, *tmp; local
6511 token = php_strtok_r(table_copy, ".", &tmp);
6512 if (token == NULL) {
6513 token = table;
6515 len = strlen(token);
6516 if (_php_pgsql_detect_identifier_escape(token, len) == SUCCESS) {
6517 smart_str_appendl(querystr, token, len);
6519 escaped = PGSQLescapeIdentifier(pg_link, token, len);
/PHP_TRUNK/ext/session/
H A Dsession.c310 zval *token; local
318 (token = zend_hash_str_find(Z_ARRVAL_P(array), "REMOTE_ADDR", sizeof("REMOTE_ADDR") - 1)) &&
319 Z_TYPE_P(token) == IS_STRING
321 remote_addr = Z_STRVAL_P(token);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c2208 ** complete if it ends with a semicolon token and is not a prefix of a
2211 ** independent tokens (they are part of the token in which they are
9503 void *token; /* id that may be used to recursive triggers */ member in struct:SubProgram
11599 ** Each token coming out of the lexer is an instance of
11607 const char *z; /* Text of the token. Not NULL-terminated! */
11608 unsigned int n; /* Number of characters in this token */
11675 ** Expr.op is the opcode. The integer parser token codes are reused
11682 ** or TK_STRING), then Expr.token contains the text of the SQL literal. If
11683 ** the expression is a variable (TK_VARIABLE), then Expr.token contains the
11685 ** then Expr.token contain
14434 void *token; /* Copy of SubProgram.token */ member in struct:VdbeFrame
86213 int token; local
86284 int token; /* Type of token */ local
86334 int token; local
126137 u8 token; /* Value of the next token */ local
[all...]

Completed in 196 milliseconds