/cts/tests/tests/view/src/android/view/cts/ |
ChoreographerTest.java | 26 private static final Object TOKEN = new Object(); 73 // If the token matches, the the callback should be removed. 77 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN); 79 Choreographer.CALLBACK_ANIMATION, null, TOKEN); 84 // If the action and token matches, then the callback should be removed. 85 // If only the token matches, then the callback should not be removed. 87 Choreographer.CALLBACK_ANIMATION, addedCallback1, TOKEN); 89 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN); 91 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN); 131 // If the token matches, the the callback should be removed [all...] |
/external/e2fsprogs/lib/ss/ |
parse.c | 24 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING }; 88 /* random-token mode */ 89 parse_mode = TOKEN; 96 while (parse_mode == TOKEN) { 128 parse_mode = TOKEN;
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
MediaType.java | 28 private static final String TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)"; 30 private static final Pattern TYPE_SUBTYPE = Pattern.compile(TOKEN + "/" + TOKEN); 32 ";\\s*" + TOKEN + "=(?:" + TOKEN + "|" + QUOTED + ")"); 66 ? parameter.group(2) // Value is a token.
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
StaticAccountAuthenticator.java | 39 private static final String TOKEN = "asdlkjfslkjfdklj"; 46 sAccountBundle.putString(AccountManager.KEY_AUTHTOKEN, TOKEN);
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/ |
HelloLicenseServlet.java | 34 /* TODO: The token from the Chrome Developer Dashboard. */ 35 private static final String TOKEN = "[INSERT TOKEN HERE]"; 37 /* TODO: The token secret from the Chrome Developer Dashboard. */ 38 private static final String TOKEN_SECRET = "[INSERT TOKEN SECRET HERE]"; 74 oauth.setTokenWithSecret(TOKEN, TOKEN_SECRET);
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/workspace/HelloLicense/src/com/example/ |
HelloLicenseServlet.java | 34 /* TODO: The token from the Chrome Developer Dashboard. */ 35 private static final String TOKEN = "[INSERT TOKEN HERE]"; 37 /* TODO: The token secret from the Chrome Developer Dashboard. */ 38 private static final String TOKEN_SECRET = "[INSERT TOKEN SECRET HERE]"; 74 oauth.setTokenWithSecret(TOKEN, TOKEN_SECRET);
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/ |
HelloLicenseServlet.java | 33 /* TODO: The token from the Chrome Developer Dashboard. */ 34 private static final String TOKEN = "[INSERT TOKEN HERE]"; 36 /* TODO: The token secret from the Chrome Developer Dashboard. */ 37 private static final String TOKEN_SECRET = "[INSERT TOKEN SECRET HERE]"; 73 oauth.setTokenWithSecret(TOKEN, TOKEN_SECRET);
|
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/ |
MainActivity.java | 98 getSupportLoaderManager().initLoader(SmsQuery.TOKEN, null, this); 161 if (i == SmsQuery.TOKEN) { 171 if (cursorLoader.getId() == SmsQuery.TOKEN && cursor != null) { 187 int TOKEN = 1;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
AddressListParser.jj | 424 /*@egen*/ Token t; }
451 /*@egen*/ Token t; }
479 TOKEN :
500 // different token type than inner ")" instances.
518 TOKEN :
535 // to make sure matchedToken.token = token.toString()
572 TOKEN :
580 TOKEN :
590 TOKEN : [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/ |
index.php | 45 const TOKEN = '[REPLACE THIS WITH YOUR OAUTH TOKEN]'; 46 const TOKEN_SECRET = '[REPLACE THIS WITH YOUR OAUTH TOKEN SECRET]'; 48 public $token; variable 54 $this->token = new OAuthToken(self::TOKEN, self::TOKEN_SECRET); variable 109 $this->consumer, $this->token, 'GET', $url, array()); 112 $this->token);
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/ |
index.php | 44 const TOKEN = '[REPLACE THIS WITH YOUR OAUTH TOKEN]'; 45 const TOKEN_SECRET = '[REPLACE THIS WITH YOUR OAUTH TOKEN SECRET]'; 47 public $token; variable 53 $this->token = new OAuthToken(self::TOKEN, self::TOKEN_SECRET); variable 108 $this->consumer, $this->token, 'GET', $url, array()); 111 $this->token);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
config.cpp | 156 TOKEN, 165 string token; local 206 token.erase(); 208 state = TOKEN; 209 token.push_back(c); 212 case TOKEN: 215 token.push_back('\0'); 219 token.push_back(c); 306 pParam = new CNfcParam(token.c_str(), strValue); 308 pParam = new CNfcParam(token.c_str(), numValue) [all...] |
/external/libnfc-nci/src/adaptation/ |
config.cpp | 156 TOKEN, 165 string token; local 206 token.erase(); 208 state = TOKEN; 209 token.push_back(c); 212 case TOKEN: 215 token.push_back('\0'); 219 token.push_back(c); 306 pParam = new CNfcParam(token.c_str(), strValue); 308 pParam = new CNfcParam(token.c_str(), numValue) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslator.java | 161 private static final String TOKEN = "__FromAndroid"; 177 return prefix.endsWith(TOKEN); 181 return prefix + TOKEN + suffix; 185 return prefix.replace(TOKEN, "") + suffix;
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
TextFormat.java | 396 * ":"), {@code Scanner} would recognize it only as a single token. 412 // The character index within this.text at which the current token begins. 415 // The line and column numbers of the current token. 419 // The line and column numbers of the previous token (allows throwing 428 private static final Pattern TOKEN = Pattern.compile( 458 /** Advance to the next token. */ 474 // Match the next token. 479 matcher.usePattern(TOKEN); 495 * token. 505 * If the next token exactly matches {@code token}, consume it and retur [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
lempar.c | 14 /* Next is all token values, in a form suitable for use by makeheaders. 42 ** original value of the token will not parse. 87 ** current state and lookahead token. These tables are used to implement 95 ** token onto the stack and goto state N. 140 ** appears in the grammar, then ID becomes a fallback token for X, Y, 142 ** but it does not parse, the type of the token is changed to ID and 156 ** + The value of the token stored at this level of the stack. 157 ** (In other words, the "major" token.) 161 ** It is sometimes called the "minor" token. 165 YYCODETYPE major; /* The major token value. This is the cod [all...] |
parse.y | 18 // All token codes are small integers with #defines that begin with "TK_" 21 // The type of the data attached to each token is Token. This is also the 24 %token_type {Token} 25 %default_type {Token} 34 assert( TOKEN.z[0] ); /* The tokenizer always gives us a token */ 35 sqlite3ErrorMsg(pParse, "near \"%T\": syntax error", &TOKEN); 79 Token eOperator; /* "like" or "glob" or "regexp" */ 97 struct AttachKey { int type; Token key; } [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
lempar.c | 8 /* Next is all token values, in a form suitable for use by makeheaders. 36 ** original value of the token will not parse. 81 ** current state and lookahead token. These tables are used to implement 89 ** token onto the stack and goto state N. 134 ** appears in the grammar, then ID becomes a fallback token for X, Y, 136 ** but it does not parse, the type of the token is changed to ID and 150 ** + The value of the token stored at this level of the stack. 151 ** (In other words, the "major" token.) 155 ** It is sometimes called the "minor" token. 159 YYCODETYPE major; /* The major token value. This is the cod [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
TextFormat.java | 562 * ":"), {@code Scanner} would recognize it only as a single token. 578 // The character index within this.text at which the current token begins. 581 // The line and column numbers of the current token. 585 // The line and column numbers of the previous token (allows throwing 594 private static final Pattern TOKEN = Pattern.compile( 624 /** Advance to the next token. */ 640 // Match the next token. 645 matcher.usePattern(TOKEN); 661 * token. 671 * If the next token exactly matches {@code token}, consume it and retur [all...] |
/external/chromium_org/third_party/ply/ |
lex.py | 57 # This regular expression is used to match valid token names 60 # Exception thrown when invalid token encountered and no default error 68 # Token class. This class is used to represent the tokens produced. 107 # token() - Get the next token 298 # opttoken() - Return the next token from the Lexer 304 def token(self): member in class:Lexer 322 # Create a token for return 332 # If no token type was set, it's an ignored token [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
BaseRecognizer.as | 13 // copies from Token object for convenience in actions 54 * single token insertion or deletion error recovery. If 57 * To turn off single token insertion or deletion error 95 // a single token and hope for the best 106 // if current token is consistent with what could come after set 107 // then we know we're missing a token; error recovery is free to 108 // "insert" the missing token 122 /** Factor out what to do upon token mismatch so tree parsers can behave 124 * to get single token insertion and deletion. Use this to turn of 125 * single token insertion and deletion. Override mismatchRecove [all...] |
/cts/tools/signature-tools/lib/ |
antlr-2.7.7.jar | |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.pas | 59 /// or token type sequence (such as for interpretation). 74 /// Negative indexes are allowed. LA(-1) is previous token (token just matched). 75 /// LA(-i) where i is before first token should yield -1, invalid char or EOF. 248 /// <summary>The line number on which this token was matched; line=1..N</summary> 256 /// <summary>The line number on which this token was matched; line=1..N</summary> 260 /// An index from 0..N-1 of the token object in the input stream 267 /// <summary>The text of the token</summary> 281 /// to keep going or you do not upon token recognition error. If you do not 286 /// requested a token. Keep lexing until you get a valid one. Just repor [all...] |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |
/prebuilts/misc/common/antlr/ |
antlr-3.4-complete.jar | |