Searched refs:token (Results 276 - 300 of 781) sorted by relevance

<<11121314151617181920>>

/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3lexer.c5 * An ANTLR3 lexer implements a base recongizer, a token source and
47 static void emitNew (pANTLR3_LEXER lexer, pANTLR3_COMMON_TOKEN token);
103 /* Now install the token source interface
147 /* Initialise the eof token
160 // Initialize the skip token.
181 lexer->rec->state->token = NULL;
191 // a token factory that needs a reset. Do that here
201 /// Returns the next available token from the current input stream.
204 /// Points to the implementation of a token source. The lexer is
208 /// The next token i
636 emitNew(pANTLR3_LEXER lexer, pANTLR3_COMMON_TOKEN token) argument
644 pANTLR3_COMMON_TOKEN token; local
[all...]
/external/mesa3d/src/glsl/glcpp/
H A Dglcpp-parse.c162 /* Note: This function adds a hieralloc_reference() to token.
167 _token_list_append (token_list_t *list, token_t *token);
237 /* Enabling the token table. */
671 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
672 token YYLEX-NUM. */
779 positive, shift that token. If negative, reduce the rule which
1117 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1329 /* Copy into YYRESULT an error message about the unexpected token
1566 /* Lookahead token as an internal (translated) token numbe
3047 token_t *token; local
3059 token_t *token; local
3082 _token_list_append(token_list_t *list, token_t *token) argument
3208 _token_print(char **out, token_t *token) argument
3273 _token_paste(glcpp_parser_t *parser, token_t *token, token_t *other) argument
3561 token_t *token; local
3743 token_t *token = node->token; local
[all...]
/external/chromium/chrome/browser/
H A Dshell_integration_linux.cc312 FilePath data_dir(tokenizer.token());
377 if (tokenizer.token().substr(0, 5) == "Exec=") {
378 std::string exec_path = tokenizer.token().substr(5);
381 while (exec_tokenizer.GetNext() && exec_tokenizer.token() != "%U") {
384 final_path += exec_tokenizer.token();
400 } else if (tokenizer.token().substr(0, 5) == "Name=") {
411 } else if (tokenizer.token().substr(0, 11) == "GenericName" ||
412 tokenizer.token().substr(0, 7) == "Comment" ||
413 tokenizer.token().substr(0, 1) == "#") {
415 } else if (tokenizer.token()
[all...]
/external/icu4c/tools/genrb/
H A Dparse.c64 /* keep in sync with token defines in read.h */
67 "string", /* A string token, such as "MonthNames" */
101 MAX_LOOKAHEAD lookahead tokens and a slot for the current token and value.
103 old slot is filled with the next token from the reader by calling getNextToken.
104 The token values are stored in the slot, which means that token values don't
224 enum ETokenType token = getToken(state, tokenValue, comment, &line, status); local
236 if (token != expectedToken)
239 error(line, "expecting %s, got %s", tokenNames[expectedToken], tokenNames[token]);
810 enum ETokenType token; local
1013 enum ETokenType token; local
1136 enum ETokenType token; local
1247 enum ETokenType token; local
1338 enum ETokenType token; local
1895 enum ETokenType token; local
2025 enum ETokenType token; local
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DASTTreeParser.stg35 * token, set, rule, wildcard
107 tokenRefBang(token,label,elementIndex) ::= <<
113 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
132 tokenRefAndListLabel(token,label,elementIndex) ::= <<
138 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
154 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
160 wildcard(token,label,elementIndex,terminalOptions) ::= <<
278 /** Streams for token refs are tree nodes now; override to
281 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
283 new <terminalOptions.node>(stream_<token>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DASTTreeParser.stg35 * token, set, rule, wildcard
106 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
112 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
131 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
137 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
153 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
159 wildcard(token,label,elementIndex,terminalOptions) ::= <<
277 /** Streams for token refs are tree nodes now; override to
280 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
282 new <terminalOptions.node>(stream_<token>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DASTTreeParser.stg35 * token, set, rule, wildcard
117 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
123 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
144 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
150 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
166 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
172 wildcard(token,label,elementIndex,terminalOptions) ::= <<
293 /** Streams for token refs are tree nodes now; override to
296 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
298 <terminalOptions.node>(stream_<token>
[all...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Drecognizers.py59 # Track the set of token types that can follow any rule invocation.
64 # matched a token. Prevents generation of more than one error message
70 # but no token is consumed during recovery...another error is found,
72 # one token/tree node is consumed for two errors.
80 # the stop token index for each rule. ruleMemo[ruleIndex] is
82 # get back the stop token for associated rule or MEMO_RULE_FAILED.
95 ## The goal of all lexer rules/methods is to create a token object.
97 # create a single token. nextToken will return this object after
98 # matching lexer rule(s). If you subclass to allow multiple token
99 # emissions, then set this to the last token t
[all...]
/external/srec/srec/EventLog/src/
H A DEventLogImpl.c191 impl->Interface.token = &SR_EventLog_Token;
335 ESR_ReturnCode SR_EventLog_Token(SR_EventLog* self, const LCHAR* token, const LCHAR *value) argument
340 if (self == NULL || token == NULL || value == NULL)
345 /* token cannot contain '=' */
346 if (LSTRCHR(token, L('=')) != NULL)
348 PLogError(L("SLEE: Token '%s' contains illegal '=' character"), token);
354 PLogError(L("SLEE: Value for token '%s' contains illegal newline character"), token);
359 if (LSTRLEN(token) + LSTRLEN(value) + 2 +
362 if (LSTRLEN(token)
389 SR_EventLog_TokenInt(SR_EventLog* self, const LCHAR* token, int value) argument
404 SR_EventLog_TokenUint16_t(SR_EventLog* self, const LCHAR* token, asr_uint16_t value) argument
419 SR_EventLog_TokenSize_t(SR_EventLog* self, const LCHAR* token, size_t value) argument
434 SR_EventLog_TokenBool(SR_EventLog* self, const LCHAR* token, ESR_BOOL value) argument
442 SR_EventLog_TokenFloat(SR_EventLog* self, const LCHAR* token, float value) argument
[all...]
/external/srec/srec/clib/
H A Dvoc_read.c77 char token[256]; local
107 token[i++] = *ok++;
109 token[i] = 0;
111 CHKLOG(rc, lstrcasecmp(token, L("#lang"), &result));
118 while (!cr_or_nl(*ok)) token[i++] = *ok++;
119 token[i] = 0;
121 CHKLOG(rc, ESR_str2locale(token, locale));
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DTreeParser.js98 /** Tree parsers parse nodes they usually have a token object as
99 * payload. Set the exception token and do the default behavior.
105 e.token = adaptor.getToken(e.node);
106 if ( !org.antlr.lang.isValue(e.token) ) { // could be an UP/DOWN node
107 e.token = new org.antlr.runtime.CommonToken(
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
H A DASTParser.stg38 * token, set, rule, wildcard
53 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
67 tokenRefBang(token,label,elementIndex) ::= "<super.tokenRef(...)>"
70 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
84 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
90 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
96 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
/external/chromium/chrome/browser/net/gaia/
H A Dtoken_service.h7 // the token service is expected to call ClientLogin to derive a new SID and
13 // A token service controller like the ChromiumOS login is expected to:
27 // Whenever a token update occurs:
30 // SetMyToken(notification.token())
70 const std::string& token)
71 : service_(service), token_(token) {}
73 const std::string& token() const { return token_; } function in class:TokenService::TokenAvailableDetails
93 // Initialize this token service with a request source
98 // Update the credentials in the token service.
182 // A bunch of fetchers suitable for token issuin
69 TokenAvailableDetails(const std::string& service, const std::string& token) argument
[all...]
/external/qemu/
H A Djson-parser.c47 * about a token identified by the lexer. These are routines that make working with
52 return qdict_get_str(qobject_to_qdict(obj), "token");
95 QObject *token, const char *msg, ...)
169 static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token) argument
171 const char *ptr = token_get_value(token);
236 parse_error(ctxt, token,
247 parse_error(ctxt, token, "invalid escape sequence in string");
272 QObject *key, *token = NULL, *value, *peek; local
282 token = qlist_pop(working);
283 if (!token_is_operator(token, '
94 parse_error(JSONParserContext *ctxt, QObject *token, const char *msg, ...) argument
314 QObject *token, *peek; local
370 QObject *token, *peek; local
437 QObject *token, *ret; local
470 QObject *token = NULL, *obj; local
513 QObject *token, *obj; local
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DHTMLToken.h121 // Starting a character token works slightly differently than starting
386 AtomicHTMLToken(HTMLToken& token) argument
387 : m_type(token.type())
394 m_name = AtomicString(token.name().data(), token.name().size());
395 m_doctypeData = token.m_doctypeData.release();
401 m_selfClosing = token.selfClosing();
402 m_name = AtomicString(token.name().data(), token.name().size());
403 initializeAttributes(token
[all...]
/external/webkit/Source/WebCore/platform/network/
H A DHTTPParsers.cpp60 // Returns true if the function can match the whole token (case insensitive).
62 static inline bool skipToken(const String& str, unsigned& pos, const char* token) argument
66 while (pos != len && *token) {
67 if (toASCIILower(str[pos]) != *token++)
91 // without a disposition token... screen those out.
/external/chromium/testing/gtest/scripts/
H A Dpump.py138 """Represents a token in a Pump source file."""
303 def RStripNewLineFromToken(token):
304 if token.value.endswith('\n'):
305 return Token(token.start, token.end, token.value[:-1], token.token_type)
307 return token
386 for token in TokenizeLines(lines, Cursor(0, 0)):
387 yield token
[all...]
/external/gtest/scripts/
H A Dpump.py138 """Represents a token in a Pump source file."""
303 def RStripNewLineFromToken(token):
304 if token.value.endswith('\n'):
305 return Token(token.start, token.end, token.value[:-1], token.token_type)
307 return token
386 for token in TokenizeLines(lines, Cursor(0, 0)):
387 yield token
[all...]
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3exception.h39 /** Indicates that the recognizer received a token
48 /** Indicates that the recognizer was expecting one token and found a
139 /** Indicates the index of the 'token' we were looking at when the
144 /** Indicates what the current token/tree was when the error occurred. Since not
145 * all input streams will be able to retrieve the nth token, we track it here
148 void * token; member in struct:ANTLR3_EXCEPTION_struct
150 /** Indicates the token we were expecting to see next when the error occurred
H A Dantlr3recognizersharedstate.h77 /** Track the set of token types that can follow any rule invocation.
84 * matched a token. Prevents generation of more than one error message
91 * but no token is consumed during recovery...another error is found,
93 * one token/tree node is consumed for two errors.
97 /** In lieu of a return value, this indicates that a rule or token
98 * has failed to match. Reset to false upon valid token match.
114 * Tracks the stop token index for each rule. ruleMemo[ruleIndex] is
116 * get back the stop token for associated rule or MEMO_RULE_FAILED.
122 /** Pointer to an array of token names
125 * at parser compile time - grammar token name
142 pANTLR3_COMMON_TOKEN token; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
H A DASTTreeParser.stg7 * token, set, rule, wildcard
79 tokenRefBang(token,label,elementIndex) ::= <<
85 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
104 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
110 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
126 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
235 /** Streams for token refs are tree nodes now; override to
238 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
240 new <terminalOptions.node>(stream_<token>.nextNode())
242 stream_<token>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
H A DASTTreeParser.stg36 * token, set, rule, wildcard
108 tokenRefBang(token,label,elementIndex) ::= <<
114 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
133 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
139 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
155 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
240 /** Streams for token refs are tree nodes now; override to
243 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
245 new <terminalOptions.node>(stream_<token>.nextNode())
247 stream_<token>
[all...]
/external/chromium/base/win/
H A Dwin_util.cc46 // Get the current token.
47 HANDLE token = NULL; local
48 if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token))
50 base::win::ScopedHandle token_scoped(token);
56 if (!::GetTokenInformation(token, TokenUser, user, size, &size))
/external/chromium/chrome/browser/policy/
H A Dcloud_policy_identity_strategy.h18 // Manages a device management token, i.e. an identifier that represents a
20 // credentials. Responsibilities include storing and loading the token from
28 // Notifies observers that the effective token for fetching policy has
29 // changed. The token can be queried by calling GetDeviceToken().
43 // Returns the device management token, if available. Returns the empty string
44 // if the device token is currently unavailable.
49 // to be sent along with the device token to the server.
72 // Notifies the identity strategy that a new token has been fetched. It is up
73 // to the identity strategy to store the token, decide whether it is going
75 // and return the new token i
[all...]
/external/chromium/chrome/browser/sync/notifier/
H A Dnon_blocking_invalidation_notifier.h38 const std::string& email, const std::string& token);

Completed in 1344 milliseconds

<<11121314151617181920>>