/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
CSSSourceFrame.js | 77 var token = this.textEditor.tokenAtTextPosition(selection.startLine, selection.startColumn); 78 if (!token) { 80 token = this.textEditor.tokenAtTextPosition(selection.startLine, selection.startColumn - 1); 81 if (!token) 84 if (token.type !== "css-number") 87 var cssUnitRange = new WebInspector.TextRange(selection.startLine, token.startColumn, selection.startLine, token.endColumn + 1); 93 selection.startColumn = token.startColumn;
|
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 {string} token 77 _consume: function(token) 80 if (next !== token) 81 throw "Unexpected token in consume: expected " + token + ", actual " + next; 85 * @param {string} token [all...] |
/external/chromium_org/tools/gn/ |
parser.cc | 10 #include "tools/gn/token.h" 36 // expressions_ at the top of parser.cc that describes how each token 44 // Indexed by Token::Type. 78 Parser::Parser(const std::vector<Token>& tokens, Err* err) 86 scoped_ptr<ParseNode> Parser::Parse(const std::vector<Token>& tokens, 93 scoped_ptr<ParseNode> Parser::ParseExpression(const std::vector<Token>& tokens, 101 (node->AsBinaryOp()->op().type() == Token::EQUAL || 102 node->AsBinaryOp()->op().type() == Token::PLUS_EQUALS || 103 node->AsBinaryOp()->op().type() == Token::MINUS_EQUALS); 106 bool Parser::IsStatementBreak(Token::Type token_type) const 385 Token token = at_end() ? tokens_[tokens_.size() - 1] : cur_token(); local [all...] |
/external/e2fsprogs/lib/blkid/ |
resolve.c | 56 * Locate a device name from a token (NAME=value string), or (name, value) 57 * pair. In the case of a token, value is ignored. If the "token" is not 61 char *blkid_get_devname(blkid_cache cache, const char *token, 69 if (!token) 78 printf("looking for %s%s%s %s\n", token, value ? "=" : "", 82 if (!strchr(token, '=')) { 83 ret = blkid_strdup(token); 86 blkid_parse_tag_string(token, &t, &v); 89 token = t [all...] |
/external/llvm/test/MC/X86/AlignedBundling/ |
align-mode-argument-error.s | 4 # CHECK: error: unknown token
|
/frameworks/base/core/java/android/hardware/display/ |
VirtualDisplay.java | 37 VirtualDisplay(DisplayManagerGlobal global, Display display, IBinder token) { 40 mToken = token; 66 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken + "}";
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputMethodManager.aidl | 62 void setInputMethod(in IBinder token, String id); 63 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); 64 void hideMySoftInput(in IBinder token, int flags); 65 void showMySoftInput(in IBinder token, int flags); 66 void updateStatusIcon(in IBinder token, String packageName, int iconId); 67 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); 72 boolean switchToLastInputMethod(in IBinder token); 73 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); 74 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
InputMethodManagerCompatWrapper.java | 37 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { 39 METHOD_switchToNextInputMethod, token, onlyCurrentIme);
|
/external/chromium_org/remoting/webapp/ |
oauth2.js | 7 * OAuth2 class that handles retrieval/storage of an OAuth2 token. 32 remoting.OAuth2.prototype.KEY_REFRESH_TOKEN_ = 'oauth2-refresh-token'; 35 'oauth2-refresh-token-revokable'; 37 remoting.OAuth2.prototype.KEY_ACCESS_TOKEN_ = 'oauth2-access-token'; 39 remoting.OAuth2.prototype.KEY_XSRF_TOKEN_ = 'oauth2-xsrf-token'; 99 * Sets the refresh token. 101 * This method also marks the token as revokable, so that this object will 102 * revoke the token when it no longer needs it. 104 * @param {string} token The new refresh token [all...] |
/external/chromium_org/third_party/icu/source/tools/genrb/ |
read.c | 41 struct UString *token, 44 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UErrorCode *status); 45 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status); 46 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status); 54 /* Read and return the next token from the stream. If the token is of 55 type eString, fill in the token parameter with the token. If the 56 token is eError, then the status parameter will contain the 63 struct UString *token, [all...] |
/external/icu4c/tools/genrb/ |
read.c | 42 struct UString *token, 45 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UErrorCode *status); 46 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status); 47 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status); 55 /* Read and return the next token from the stream. If the token is of 56 type eString, fill in the token parameter with the token. If the 57 token is eError, then the status parameter will contain the 65 struct UString *token, [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
RecognizerSharedState.as | 11 /** Track the set of token types that can follow any rule invocation. 19 * matched a token. Prevents generation of more than one error message 26 * but no token is consumed during recovery...another error is found, 28 * one token/tree node is consumed for two errors. 32 /** In lieu of a return value, this indicates that a rule or token 33 * has failed to match. Reset to false upon valid token match. 46 * the stop token index for each rule. ruleMemo[ruleIndex] is 48 * get back the stop token for associated rule or MEMO_RULE_FAILED. 59 /** The goal of all lexer rules/methods is to create a token object. 61 * create a single token. nextToken will return this object afte 67 public var token:Token; variable [all...] |
/external/chromium_org/net/cookies/ |
cookie_util.cc | 116 const std::string token = tokenizer.token(); local 117 DCHECK(!token.empty()); 118 bool numerical = IsAsciiDigit(token[0]); 125 if (base::strncasecmp(token.c_str(), kMonths[i], 3) == 0) { 138 // DCHECK(token == "GMT"); 141 } else if (token.find(':') != std::string::npos) { 148 token.c_str(), "%2u:%2u:%2u", &exploded.hour, 160 if (!found_day_of_month && token.length() <= 2) { 161 exploded.day_of_month = atoi(token.c_str()) [all...] |
/frameworks/base/core/java/android/net/http/ |
HttpAuthHeader.java | 342 String token = parameter.substring(0, i).trim(); local 348 " token: " + token + 352 if (token.equalsIgnoreCase(REALM_TOKEN)) { 356 parseParameter(token, value); 364 * If the token is a known parameter name, parses and initializes 365 * the token value. 367 private void parseParameter(String token, String value) { 368 if (token != null && value != null) { 369 if (token.equalsIgnoreCase(NONCE_TOKEN)) [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
identity_internals_ui_browsertest.js | 33 * Gets all of the token entries on the page. 34 * return {Element[]} Elements displaying token information. 37 return document.querySelectorAll('#token-list > div'); 42 * @param {Element} tokenEntry Display element holding token information. 43 * @return {Date} Expiration date of the token. 52 * @param {Element} tokenEntry Display element holding token information. 53 * @return {string} Extension Id of the token. 61 * @param {Element} tokenEntry Display element holding token information. 62 * @return {string} Extension Name of the token. 69 * Gets the revoke button of the token entry [all...] |
/external/chromium_org/google_apis/gaia/ |
google_service_auth_error.cc | 20 const std::string& token, const GURL& audio, const GURL& img, 22 : token(token), audio_url(audio), image_url(img), unlock_url(unlock), 30 return (token == b.token && 42 const std::string& token, const std::string& prompt, 44 : token(token), prompt_text(prompt), alternate_text(alternate), 53 return (token == b.token & 139 const std::string& GoogleServiceAuthError::token() const { function in class:GoogleServiceAuthError [all...] |
/external/chromium_org/media/video/capture/ |
file_video_capture_device.cc | 26 int ParseY4MInt(const base::StringPiece& token) { 28 CHECK(base::StringToInt(token, &temp_int)); 32 // Extract numerator and denominator out of a token that must have the aspect 34 void ParseY4MRational(const base::StringPiece& token, 37 size_t index_divider = token.find(':'); 38 CHECK_NE(index_divider, token.npos); 39 *numerator = ParseY4MInt(token.substr(0, index_divider)); 40 *denominator = ParseY4MInt(token.substr(index_divider + 1, token.length())); 62 base::StringPiece token; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/UglifyJS/ |
parse-js.js | 17 function to fetch the next token. 249 function is_token(token, type, val) { 250 return token.type == type && (val == null || token.value == val); 302 function token(type, value, is_comment) { 368 return token("num", valid); 410 return token("string", ret); 424 return token("comment1", ret, true); 432 tok = token("comment2", text, true); 462 return token("regexp", [ regexp, mods ]) [all...] |
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
ExpressionParser.y | 47 #include "Token.h" 65 pp::Token* token; 81 %token TOK_CONST_INT 156 context->token->location, 169 context->token->location, 202 pp::Token* token = context->token; 203 switch (token->type [all...] |
/external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/ |
DigestChallenge.java | 162 * qop-value = "auth" | "auth-int" | "auth-conf" | token 172 String token; local 179 for (token = parser.parseToken(); 180 token != null; 181 token = parser.parseToken()) 183 if (token.equals("auth")) 185 else if (token.equals("auth-int")) 187 else if (token.equals("auth-conf")) 264 * qop-value = "auth" | "auth-int" | "auth-conf" | token 274 String token; local [all...] |
/external/smack/src/com/novell/sasl/client/ |
DigestChallenge.java | 162 * qop-value = "auth" | "auth-int" | "auth-conf" | token 172 String token; local 179 for (token = parser.parseToken(); 180 token != null; 181 token = parser.parseToken()) 183 if (token.equals("auth")) 185 else if (token.equals("auth-int")) 187 else if (token.equals("auth-conf")) 264 * qop-value = "auth" | "auth-int" | "auth-conf" | token 274 String token; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
LeftRecursiveRuleWalker.g | 61 Token token = null; 64 token = ((MismatchedTokenException)ex).token; 68 token = ((NoViableAltException)ex).token; 74 token, 185 : ^( ALT (^(BACKTRACK_SEMPRED .*))? recurseNoLabel op=token recurse EOA ) {setTokenPrec($op.t, outerAlt);} 189 : ^( ALT (^(BACKTRACK_SEMPRED .*))? recurseNoLabel ^( BLOCK ( ^( ALT op=token EOA {setTokenPrec($op.t, outerAlt);} ) )+ EOB ) recurse EOA ) 193 : ^( ALT (^(BACKTRACK_SEMPRED .*))? recurseNoLabel op=token recurse token recurse EOA ) {setTokenPrec($op.t, outerAlt); [all...] |
/external/bison/src/ |
parse-gram.y | 128 %token GRAM_EOF 0 "end of file" 129 %token STRING "string" 130 %token INT "integer" 132 %token PERCENT_TOKEN "%token" 133 %token PERCENT_NTERM "%nterm" 135 %token PERCENT_TYPE "%type" 136 %token PERCENT_DESTRUCTOR "%destructor" 137 %token PERCENT_PRINTER "%printer" 139 %token PERCENT_LEFT "%left [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 11 the token type (see token.py) 12 the token (a string) 13 the starting (row, column) indices of the token (a 2-tuple of ints) 14 the ending (row, column) indices of the token (a 2-tuple of ints) 26 each time a new token is found.""" 34 from lib2to3.pgen2.token import * 36 from . import token namespace 37 __all__ = [x for x in dir(token) if x[0] != '_'] + ["tokenize", 39 del token [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 11 the token type (see token.py) 12 the token (a string) 13 the starting (row, column) indices of the token (a 2-tuple of ints) 14 the ending (row, column) indices of the token (a 2-tuple of ints) 26 each time a new token is found.""" 34 from lib2to3.pgen2.token import * 36 from . import token namespace 37 __all__ = [x for x in dir(token) if x[0] != '_'] + ["tokenize", 39 del token [all...] |