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

/PHP_5_3/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_3/ext/sqlite/libsqlite/src/
H A DsqliteInt.h632 ** Each token coming out of the lexer is an instance of
640 const char *z; /* Text of the token. Not NULL-terminated! */
642 unsigned n : 31; /* Number of characters in this token */
649 ** Expr.op is the opcode. The integer parser token codes are reused
658 ** Expr.token is the operator token for this node. For some expressions
659 ** that have subexpressions, Expr.token can be the complete text that gave
660 ** rise to the Expr. In the latter case, the token is marked as being
661 ** a compound token.
689 Token token; /* A member in struct:Expr
[all...]
H A Dtokenize.c152 ** keyword. If it is a keyword, the token code of that keyword is
215 ** Return the length of the token that begins at z[0].
216 ** Store the token type in *tokenType before returning.
436 sqliteSetNString(pzErrMsg, "unrecognized token: \"", -1,
550 ** (7) tkOTHER Any other SQL token.
556 u8 token; /* Value of the next token */ local
559 ** according to what token is seen. trans[state][token] returns the
577 token
[all...]
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c2270 ** complete if it ends with a semicolon token and is not a prefix of a
2273 ** independent tokens (they are part of the token in which they are
8216 void *token; /* id that may be used to recursive triggers */ member in struct:SubProgram
10115 ** Each token coming out of the lexer is an instance of
10123 const char *z; /* Text of the token. Not NULL-terminated! */
10124 unsigned int n; /* Number of characters in this token */
10191 ** Expr.op is the opcode. The integer parser token codes are reused
10198 ** or TK_STRING), then Expr.token contains the text of the SQL literal. If
10199 ** the expression is a variable (TK_VARIABLE), then Expr.token contains the
10201 ** then Expr.token contain
12605 void *token; /* Copy of SubProgram.token */ member in struct:VdbeFrame
75026 int token; local
75097 int token; /* Type of token */ local
75146 int token; local
107655 u8 token; /* Value of the next token */ local
[all...]
/PHP_5_3/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.c44 ZEND_ARG_INFO(0, token)
104 zval token; local
112 ZVAL_NULL(&token);
113 while ((token_type = lex_scan(&token TSRMLS_CC))) {
138 add_next_index_stringl(keyword, Z_STRVAL(token), Z_STRLEN(token), 1);
139 efree(Z_STRVAL(token));
148 if (destroy && Z_TYPE(token) != IS_NULL) {
149 zval_dtor(&token);
151 ZVAL_NULL(&token);
[all...]
/PHP_5_3/win32/
H A Dsendmail.c386 char *tempMailTo, *token, *pos1, *pos2; local
436 token = strtok(tempMailTo, ",");
437 while (token != NULL)
439 SMTP_SKIP_SPACE(token);
440 FormatEmailAddress(Buffer, token, "RCPT TO:<%s>\r\n");
450 token = strtok(NULL, ",");
457 token = strtok(tempMailTo, ",");
458 while (token != NULL)
460 SMTP_SKIP_SPACE(token);
461 FormatEmailAddress(Buffer, token, "RCP
[all...]
/PHP_5_3/ext/curl/
H A Dstreams.c362 char *p, *token, *trimmed, *copy_ctx_opt; local
365 p = php_strtok_r(copy_ctx_opt, "\r\n", &token);
370 p = php_strtok_r(NULL, "\r\n", &token);
/PHP_5_3/ext/mbstring/
H A Dmbstring.c3633 if (token.a > 0) { \
3634 smart_str_appendc(&token, ch); \
3636 token.len++; \
3667 smart_str token = { 0, 0, 0 }; local
3692 fld_name = token;
3721 SEPARATE_SMART_STR(&token);
3741 token.c = (char *)ps;
3742 token.len = 0;
3743 token.a = 0;
3749 token
[all...]
/PHP_5_3/ext/standard/
H A Dphp_fopen_wrapper.c135 char *p, *token; local
138 p = php_strtok_r(filterlist, "|", &token);
155 p = php_strtok_r(NULL, "|", &token);
165 char *p, *token, *pathdup; local
329 p = php_strtok_r(pathdup + 1, "/", &token);
338 p = php_strtok_r(NULL, "/", &token);
H A Dstring.c1187 /* {{{ proto string strtok([string str,] string token)
1195 char *token; local
1227 token = tok;
1228 token_end = token + tok_len;
1230 while (token < token_end) {
1231 STRTOK_TABLE(token++) = 1;
1263 token = tok;
1265 while (token < token_end) {
1266 STRTOK_TABLE(token++) = 0;
5177 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only a single %%i or %%n token ca
[all...]
/PHP_5_3/Zend/
H A Dzend_highlight.c92 zval token; local
100 token.type = 0;
101 while ((token_type=lex_scan(&token TSRMLS_CC))) {
124 token.type = 0;
128 if (token.type == 0) {
148 if (token.type == IS_STRING) {
158 efree(token.value.str.val);
162 efree(token.value.str.val);
164 token.type = 0;
176 zval token; local
[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 efree(token.value.str.val);
146 token.type = 0;
/PHP_5_3/ext/phar/
H A Dphar.c1471 * Or scan a phar file for the required __HALT_COMPILER(); ?> token and verify
1562 * Scan an open fp for the required __HALT_COMPILER(); ?> token and verify
1568 const char token[] = "__HALT_COMPILER();"; local
1574 char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */
1575 const long readsize = sizeof(buffer) - sizeof(token);
1576 const long tokenlen = sizeof(token) - 1;
1590 memset(buffer, 32, sizeof(token));
1716 if (got > 0 && (pos = phar_strnstr(buffer, got + sizeof(token), token, sizeo
2117 char *token; local
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_conf.c157 * Expands the '$pool' token in a dynamically allocated string
160 char *token; local
166 while (*value && (token = strstr(*value, "$pool"))) {
168 char *p2 = token + strlen("$pool");
176 token[0] = '\0';
178 /* Build a brand new string with the expanded token */
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);
/PHP_5_3/ext/intl/locale/
H A Dlocale_methods.c141 * returns the position of next token for lookup
142 * or -1 if no token
143 * strtokr equivalent search for token in reverse direction
154 /* 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_3/ext/session/
H A Dsession.c358 zval **token; local
365 zend_hash_find(Z_ARRVAL_PP(array), "REMOTE_ADDR", sizeof("REMOTE_ADDR"), (void **) &token) == SUCCESS &&
366 Z_TYPE_PP(token) == IS_STRING
368 remote_addr = Z_STRVAL_PP(token);

Completed in 140 milliseconds