HomeSort by relevance Sort by last modified time
    Searched full:token (Results 476 - 500 of 5845) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/
JavaScriptFormatter.js 56 return this._nextToken.token;
64 if (this._token && this._token.token === FormatterWorker.JavaScriptTokens.EOS)
65 throw "Unexpected EOS token";
71 return this._token.token;
75 * @param {number} token
77 _consume: function(token)
80 if (next !== token)
81 throw "Unexpected token in consume: expected " + token + ", actual " + next;
85 * @param {number} token
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRRecognizerSharedState.m 43 @synthesize token;
86 token = state.token;
116 token = state.token;
160 token = aState.token;
175 if ( token ) [token release];
181 // token stuf
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
CommonToken.pm 12 with 'ANTLR::Runtime::Token';
36 default => sub { ANTLR::Runtime::Token->DEFAULT_CHANNEL }
52 # What token number is this from 0..n-1 tokens; < 0 implies invalid index
59 # The char position into the input buffer where this token starts
65 # The char position into the input buffer where this token stops
74 if (exists $arg_ref->{token}) {
75 my $token = $arg_ref->{token};
76 $self->text($token->get_text());
77 $self->type($token->get_type())
    [all...]
  /external/chromium_org/chrome/browser/chromeos/settings/
device_oauth2_token_service.h 36 // set of scopes using the device-level OAuth2 any-api refresh token
50 // Persist the given refresh token on the device. Overwrites any previous
94 // Pending system salt / refresh token load.
96 // No token available.
100 // Refresh token validation underway.
102 // Token validation failed.
104 // Refresh token is valid.
114 // Returns the refresh token for account_id.
124 // Encrypts and saves the refresh token. Should only be called when the system
128 // Starts the token validation flow, i.e. token info fetch
    [all...]
  /frameworks/base/core/java/android/app/
IBackupAgent.aidl 44 * @param token Opaque token identifying this transaction. This must
54 int token, IBackupManager callbackBinder);
71 * @param token Opaque token identifying this transaction. This must
81 int token, IBackupManager callbackBinder);
92 * @param token Opaque token identifying this transaction. This must
100 void doFullBackup(in ParcelFileDescriptor data, int token, IBackupManager callbackBinder);
116 * @param token Opaque token identifying this transaction. This mus
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
regcomp.c 58 static Idx fetch_number (re_string_t *input, re_token_t *token,
60 static int peek_token (re_token_t *token, re_string_t *input,
65 re_token_t *token, reg_syntax_t syntax,
68 re_token_t *token, reg_syntax_t syntax,
71 re_token_t *token, reg_syntax_t syntax,
74 re_token_t *token, reg_syntax_t syntax,
77 re_dfa_t *dfa, re_token_t *token,
80 re_token_t *token, reg_syntax_t syntax,
84 re_token_t *token, int token_len,
90 re_token_t *token);
    [all...]
  /frameworks/base/core/java/android/util/
JsonReader.java 33 * Within JSON objects, name/value pairs are represented by a single token.
193 * long as the longest token that can be reported as a number.
211 * The type of the next token to be returned by {@link #peek} and {@link
214 private JsonToken token; field in class:JsonReader
273 * Consumes the next token from the JSON stream and asserts that it is the
281 * Consumes the next token from the JSON stream and asserts that it is the
289 * Consumes the next token from the JSON stream and asserts that it is the
297 * Consumes the next token from the JSON stream and asserts that it is the
309 if (token != expected) {
320 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY
352 JsonToken token = nextValue(); local
554 JsonToken token = advance(); local
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONML.java 56 Object token; local
66 token = x.nextContent();
67 if (token == XML.LT) {
68 token = x.nextToken();
69 if (token instanceof Character) {
70 if (token == XML.SLASH) {
74 token = x.nextToken();
75 if (!(token instanceof String)) {
78 token + "'.");
83 return token;
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
BaseRecognizer.js 53 DEFAULT_TOKEN_CHANNEL: org.antlr.runtime.Token.DEFAULT_CHANNEL,
59 HIDDEN: org.antlr.runtime.Token.HIDDEN_CHANNEL,
93 * single token insertion or deletion error recovery. If
96 * <p>To turn off single token insertion or deletion error
106 * matched token.
126 * Match any token.
136 * Is the following token (LA(2)) the unwanted type (ttype)?
138 * @param {Number} ttype the undesired token type.
139 * @returns {Boolean} true if and only if the following token is the
147 * Does the stream appear to be missing a single token
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/
HtmlLexer.java 78 * Makes sure that this.token contains a token if one is available.
84 HtmlToken token = readToken(); local
85 if (token == null) { return null; }
87 switch (token.type) {
94 if (state == State.SAW_EQ && HtmlTokenType.TAGEND == token.type) {
97 pushbackToken(token);
100 token.start, token.start, HtmlTokenType.ATTRVALUE);
115 if (HtmlTokenType.TEXT == token.typ
295 HtmlToken token = parseToken(); local
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
event-parse.c 929 * For strings (double quotes) check the next token.
1012 /* reset back to original token */
1045 * @tok: The token to return
1050 * Returns the token type.
1058 * pevent_free_token - free a token returned by pevent_read_token
1059 * @token: the token to free
1061 void pevent_free_token(char *token)
1063 free_token(token);
1094 static int test_type_token(enum event_type type, const char *token,
1131 char *token; local
1158 char *token; local
1178 char *token; local
1258 char *token; local
1543 char *token; local
1581 char *token; local
1597 char *token = NULL; local
1650 char *token = NULL; local
1752 char *token; local
1932 char *token; local
2266 char *token = *tok; local
2346 char *token; local
2399 char *token; local
2437 char *token; local
2487 char *token; local
2551 char *token; local
2613 char *token; local
2676 char *token; local
2760 char *token; local
2849 char *token; local
2905 char *token; local
4745 char *token; local
    [all...]
  /cts/libs/json/src/com/android/json/stream/
JsonReader.java 31 * Within JSON objects, name/value pairs are represented by a single token.
185 * long as the longest token that can be reported as a number.
197 * The type of the next token to be returned by {@link #peek} and {@link
200 private JsonToken token; field in class:JsonReader
252 * Consumes the next token from the JSON stream and asserts that it is the
260 * Consumes the next token from the JSON stream and asserts that it is the
268 * Consumes the next token from the JSON stream and asserts that it is the
276 * Consumes the next token from the JSON stream and asserts that it is the
288 if (token != expected) {
299 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY
522 JsonToken token = advance(); local
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ChoreographerTest.java 26 private static final Object TOKEN = new Object();
84 // If the token matches, the the callback should be removed.
88 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN);
90 Choreographer.CALLBACK_ANIMATION, null, TOKEN);
95 // If the action and token matches, then the callback should be removed.
96 // If only the token matches, then the callback should not be removed.
98 Choreographer.CALLBACK_ANIMATION, addedCallback1, TOKEN);
100 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN);
102 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN);
142 // If the token matches, the the callback should be removed
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
patcomp.py 18 from .pgen2 import driver, literals, token, tokenize, parse, grammar namespace
35 skip = set((token.NEWLINE, token.INDENT, token.DEDENT))
102 if len(nodes) >= 3 and nodes[1].type == token.EQUAL:
117 if child.type == token.STAR:
120 elif child.type == token.PLUS:
123 elif child.type == token.LBRACE:
124 assert children[-1].type == token.RBRACE
143 if node.type == token.STRING
    [all...]
fixer_util.py 7 from .pgen2 import token namespace
19 [keyword, Leaf(token.EQUAL, u"="), value])
22 return Leaf(token.LPAR, u"(")
25 return Leaf(token.RPAR, u")")
36 target + [Leaf(token.EQUAL, u"=", prefix=u" ")] + source)
40 return Leaf(token.NAME, name, prefix=prefix)
48 return Leaf(token.COMMA, u",")
52 return Leaf(token.DOT, u".")
70 return Leaf(token.NEWLINE, u"\n")
74 return Leaf(token.NEWLINE, u""
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
patcomp.py 18 from .pgen2 import driver, literals, token, tokenize, parse, grammar namespace
35 skip = set((token.NEWLINE, token.INDENT, token.DEDENT))
102 if len(nodes) >= 3 and nodes[1].type == token.EQUAL:
117 if child.type == token.STAR:
120 elif child.type == token.PLUS:
123 elif child.type == token.LBRACE:
124 assert children[-1].type == token.RBRACE
143 if node.type == token.STRING
    [all...]
fixer_util.py 7 from .pgen2 import token namespace
19 [keyword, Leaf(token.EQUAL, u"="), value])
22 return Leaf(token.LPAR, u"(")
25 return Leaf(token.RPAR, u")")
36 target + [Leaf(token.EQUAL, u"=", prefix=u" ")] + source)
40 return Leaf(token.NAME, name, prefix=prefix)
48 return Leaf(token.COMMA, u",")
52 return Leaf(token.DOT, u".")
70 return Leaf(token.NEWLINE, u"\n")
74 return Leaf(token.NEWLINE, u""
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/antlr3/
recognizers.py 59 # 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 to be matched o
    [all...]
  /external/chromium_org/tools/gn/
parse_tree.h 14 #include "tools/gn/token.h"
103 // to be an identifier token.
104 const Token& base() const { return base_; }
105 void set_base(const Token& b) { base_ = b; }
120 Token base_;
145 const Token& op() const { return op_; }
146 void set_op(const Token& t) { op_ = t; }
160 Token op_;
182 void set_begin_token(const Token& t) { begin_token_ = t; }
183 void set_end_token(const Token& t) { end_token_ = t;
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3baserecognizer.c 229 // Free up any token factory we created (error recovery for instance)
246 * Creates a new Mismatched Token Exception and inserts in the recognizer
260 /* Now update it to indicate this is a Mismatched token exception
347 ex->token = cts->tstream->_LT (cts->tstream, 1); /* Current input token */
348 ex->line = ((pANTLR3_COMMON_TOKEN)(ex->token))->getLine (ex->token);
349 ex->charPositionInLine = ((pANTLR3_COMMON_TOKEN)(ex->token))->getCharPositionInLine (ex->token);
351 if (((pANTLR3_COMMON_TOKEN)(ex->token))->type == ANTLR3_TOKEN_EOF
2170 pANTLR3_COMMON_TOKEN token; local
    [all...]
  /external/clang/include/clang/Lex/
Lexer.h 79 // IsAtStartOfLine - True if the next lexed token should get the "start of
137 /// Lex - Return the next token in the file. If this is the end of file, it
138 /// return the tok::eof token. This implicitly involves the preprocessor.
139 bool Lex(Token &Result);
148 void IndirectLex(Token &Result) override { Lex(Result); }
151 /// LexFromRawLexer - Lex a token from a designated raw lexer (one with no
154 bool LexFromRawLexer(Token &Result) {
193 /// Sets the extended token mode back to its initial value, according to the
238 /// getSpelling - This method is used to get the spelling of a token into a
240 /// to allocate enough space for the token, which is guaranteed to be at leas
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
OAuth.php 31 * key = the token
32 * secret = the token secret
40 * generates the basic string serialization of a token that a server
73 * @param OAuthToken $token
76 abstract public function build_signature($request, $consumer, $token);
82 * @param OAuthToken $token
86 public function check_signature($request, $consumer, $token, $signature) {
87 $built = $this->build_signature($request, $consumer, $token);
95 * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&'
104 public function build_signature($request, $consumer, $token) {
508 $token = NULL; variable
529 $token = $this->get_token($request, $consumer, "request"); variable
546 $token = $this->get_token($request, $consumer, "access"); variable
621 $token = $this->data_store->lookup_token( variable
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
ITokenStream.cs 36 /** <summary>Get Token at current input pointer + i ahead where i=1 is next Token.
37 * i&lt;0 indicates tokens in the past. So -1 is previous token and -2 is
38 * two tokens ago. LT(0) is undefined. For i&gt;=n, return Token.EOFToken.
53 * Get a token at an absolute index i; 0..n-1. This is really only
54 * needed for profiling and debugging and token stream rewriting.
65 * the object that provides Token objects.
82 * Because the user is not required to use a token with an index stored
83 * in it, we must provide a means for two token objects themselves to
Lexer.cs 61 /** <summary>Return the text matched so far for the current token or any text override.</summary> */
68 /** <summary>Set the complete text of this token; it wipes any previous changes to the text.</summary> */
100 state.token = null;
109 /** <summary>Return a token from this source; i.e., match a token on the char stream.</summary> */
112 state.token = null;
126 if (state.token == null) {
128 } else if (state.token == Tokens.Skip) {
131 return state.token;
143 * Instruct the lexer to skip creating a token for current lexer rul
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
ITokenStream.cs 38 /** <summary>Get Token at current input pointer + i ahead where i=1 is next Token.
39 * i&lt;0 indicates tokens in the past. So -1 is previous token and -2 is
40 * two tokens ago. LT(0) is undefined. For i&gt;=n, return Token.EOFToken.
56 * Get a token at an absolute index i; 0..n-1. This is really only
57 * needed for profiling and debugging and token stream rewriting.
68 * the object that provides Token objects.
86 * Because the user is not required to use a token with an index stored
87 * in it, we must provide a means for two token objects themselves to

Completed in 1583 milliseconds

<<11121314151617181920>>