/packages/services/Telecomm/src/com/android/server/telecom/ |
CallerInfoAsyncQueryFactory.java | 22 CallerInfoAsyncQuery startQuery(int token, Context context, String number,
|
/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...] |
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/ |
parse5.js | 339 //Token adjustments 340 exports.adjustTokenMathMLAttrs = function (token) { 341 for (var i = 0; i < token.attrs.length; i++) { 342 if (token.attrs[i].name === DEFINITION_URL_ATTR) { 343 token.attrs[i].name = ADJUSTED_DEFINITION_URL_ATTR; 349 exports.adjustTokenSVGAttrs = function (token) { 350 for (var i = 0; i < token.attrs.length; i++) { 351 var adjustedAttrName = SVG_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name]; 354 token.attrs[i].name = adjustedAttrName; 358 exports.adjustTokenXMLAttrs = function (token) { [all...] |
/bootable/recovery/ |
fuse_sdcard_provider.c | 63 struct token { struct 70 struct token* t = (struct token*)cookie; 103 struct token* t = malloc(sizeof(struct token)); 131 struct token* t = (struct token*)cookie;
|
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/common/ |
tokenizer.py | 61 The first token in the file 65 # The first token in the stream. 67 # The last token added to the token stream. 79 """Creates a new Token object (or subclass). 82 string: The string of input the token represents. 83 token_type: The type of token. 84 line: The text of the line this token is in. 85 line_number: The line number of the token. 86 values: A dict of named values within the token. For instance, [all...] |
/external/libxml2/include/libxml/ |
xmlautomata.h | 59 const xmlChar *token, 65 const xmlChar *token, 72 const xmlChar *token, 80 const xmlChar *token, 88 const xmlChar *token, 97 const xmlChar *token, 105 const xmlChar *token,
|
/external/mdnsresponder/mDNSShared/ |
dnsextd_parser.y | 101 %token OPTIONS 102 %token LISTEN_ON 103 %token NAMESERVER 104 %token PORT 105 %token ADDRESS 106 %token LLQ 107 %token PUBLIC 108 %token PRIVATE 109 %token ALLOWUPDATE 110 %token ALLOWQUER [all...] |
/external/skia/src/gpu/gl/builders/ |
GrGLSLPrettyPrint.cpp | 43 * For long style comments like this one, we search for the ending token. We also 106 // hasToken automatically consumes the next token, if it is a match, and then tabs 107 // if necessary, before inserting the token into the pretty string 108 bool hasToken(const char* token) { 110 for (size_t j = 0; token[j] && fLength > i; i++, j++) { 111 if (token[j] != fInput[i]) { 117 fPretty.append(token); 138 void parseUntil(const char* token) { 148 if (this->hasToken(token)) { 155 fInParseUntilToken = token; [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 38 private static int parseDigits(Token token) { 39 return Integer.parseInt(token.image, 10); 198 {if (true) return token.image;} 212 Token t; 277 Token t; 303 Token t; 310 Token t; 317 Token t; 324 Token t, u; int z 411 public Token token, jj_nt; field in class:DateTimeParser [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 38 private static int parseDigits(Token token) { 39 return Integer.parseInt(token.image, 10); 198 {if (true) return token.image;} 212 Token t; 277 Token t; 303 Token t; 310 Token t; 317 Token t; 324 Token t, u; int z 411 public Token token, jj_nt; field in class:DateTimeParser [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tokenize.py | 8 the token type (see token.py) 9 the token (a string) 10 the starting (row, column) indices of the token (a 2-tuple of ints) 11 the ending (row, column) indices of the token (a 2-tuple of ints) 23 each time a new token is found.""" 30 from token import * 32 import token namespace 33 __all__ = [x for x in dir(token) if not x.startswith("_")] 36 del token [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tokenize.py | 8 the token type (see token.py) 9 the token (a string) 10 the starting (row, column) indices of the token (a 2-tuple of ints) 11 the ending (row, column) indices of the token (a 2-tuple of ints) 23 each time a new token is found.""" 30 from token import * 32 import token namespace 33 __all__ = [x for x in dir(token) if not x.startswith("_")] 36 del token [all...] |
/external/smali/smali/src/test/java/ |
LexerTest.java | 170 CommonToken token; local 172 token = (CommonToken)tokens.get(i); 174 if (discardHiddenTokens && token.getChannel() == smaliParser.HIDDEN) { 182 if (token.getType() == smaliParser.INVALID_TOKEN) { 184 token.getChannel() == smaliParser.ERROR_CHANNEL); 189 Assert.fail("Unknown token: " + expectedToken.tokenName); 193 if (token.getType() != expectedTokenType) { 194 Assert.fail(String.format("Invalid token at index %d. Expecting %s, got %s(%s)", 195 expectedTokenIndex-1, expectedToken.tokenName, getTokenName(token.getType()), token.getText())) [all...] |
/frameworks/base/core/java/android/view/ |
WindowId.java | 52 WindowId token; 54 token = mRegistrations.get(inputToken); 57 mHandler.sendMessage(mHandler.obtainMessage(1, token)); 59 onFocusGained(token); 65 WindowId token; 67 token = mRegistrations.get(inputToken); 70 mHandler.sendMessage(mHandler.obtainMessage(2, token)); 72 onFocusLost(token); 109 public abstract void onFocusGained(WindowId token); 114 public abstract void onFocusLost(WindowId token); [all...] |
Choreographer.java | 125 // All frame callbacks posted by applications have this token. 325 * @param token The callback token, or null if none. 330 public void postCallback(int callbackType, Runnable action, Object token) { 331 postCallbackDelayed(callbackType, action, token, 0); 342 * @param token The callback token, or null if none. 349 Runnable action, Object token, long delayMillis) { 357 postCallbackDelayedInternal(callbackType, action, token, delayMillis); 361 Object action, Object token, long delayMillis) 852 public Object token; field in class:Choreographer.CallbackRecord [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
Chronograph.java | 20 private AlarmEntry(long at, AlarmHandler alarmHandler, Object token) { 23 mToken = token; 37 public Object addAlarm(long interval, AlarmHandler handler, Object token) { 40 AlarmEntry alarmEntry = new AlarmEntry(at, handler, token); 131 public void wake(Object token) { 132 System.out.println("3: " + token); 138 public void wake(Object token) { 139 System.out.println("7: " + token); 145 public void wake(Object token) { 146 System.out.println("10: " + token); [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
filter.rb | 12 the token! method can match a token without raising a RecognitionError. 20 # if at end-of-file, return the EOF token 23 @state.token = nil 32 token! 35 return @state.token 37 # token! backtracks with synpred at backtracking==2
|
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/ |
checker.py | 69 def _CheckTokens(self, token, parse_error, debug_tokens): 70 """Checks a token stream for lint warnings/errors. 76 token: The first token in the token stream. 78 debug_tokens: Whether every token should be printed as it is encountered 82 A boolean indicating whether the full token stream could be checked or if 89 result = (self._ExecutePass(token, self._DependencyPass) and 90 self._ExecutePass(token, self._LintPass, 93 result = self._ExecutePass(token, self._LintPass, parse_error [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/tokenization/ |
location_info_mixin.js | 10 tokenizer._attachLocationInfo = function (token) { 11 token.location = { 17 //NOTE: patch token creation methods and attach location objects 43 //NOTE: patch token emission methods to determine end location 45 //NOTE: if we have pending character token make it's end location equal to the 46 //current token's start location. 55 //NOTE: if we have character token and it's location wasn't set in the _emitCurrentToken(), 58 //NOTE: we don't need to increment preprocessor position, since character token 59 //emission is always forced by the start of the next character token here. 67 //NOTE: patch initial states for each mode to obtain token start positio [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
TypedProperties.java | 153 int token; local 155 // Read the next token, which is either the type or EOF. 156 token = st.nextToken(); 157 if (token == StreamTokenizer.TT_EOF) { 160 if (token != StreamTokenizer.TT_WORD) { 171 token = st.nextToken(); 172 if (token != '(') { 178 token = st.nextToken(); 179 if (token != StreamTokenizer.TT_WORD) { 190 token = st.nextToken() 234 final int token = st.nextToken(); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_itertools_imports.py | 5 from lib2to3.fixer_util import BlankLine, syms, token namespace 21 if child.type == token.NAME: 24 elif child.type == token.STAR: 43 if remove_comma and child.type == token.COMMA: 48 while children and children[-1].type == token.COMMA:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_itertools_imports.py | 5 from lib2to3.fixer_util import BlankLine, syms, token namespace 21 if child.type == token.NAME: 24 elif child.type == token.STAR: 43 if remove_comma and child.type == token.COMMA: 48 while children and children[-1].type == token.COMMA:
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarAST.java | 36 import org.antlr.runtime.Token; 81 /** Rule ref nodes, token refs, set, and NOT set refs need to track their 151 public GrammarAST(Token token) { 152 initialize(token); 156 token = new CommonToken(i,s); 157 token.setTokenIndex(-1); 164 this.token = t.token; 171 public void initialize(Token token) [all...] |