Home
last modified time | relevance | path

Searched refs:token (Results 1 – 6 of 6) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java76 String token = tokenizer.getToken(); in parseApi() local
77 if (token == null) { in parseApi()
80 if ("package".equals(token)) { in parseApi()
83 throw new ApiParseException("expected package got " + token, tokenizer.getLine()); in parseApi()
94 String token; in parsePackage() local
98 token = tokenizer.requireToken(); in parsePackage()
99 assertIdent(tokenizer, token); in parsePackage()
100 name = token; in parsePackage()
102 token = tokenizer.requireToken(); in parsePackage()
103 if (!"{".equals(token)) { in parsePackage()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DQuotationAwareTokenizer.java61 StringBuilder token = new StringBuilder(); in tokenizeLine() local
75 token.append(aChar); in tokenizeLine()
77 if (token.length() > 0) { in tokenizeLine()
80 Log.d(LOG_TAG, String.format("Finished token '%s'", token.toString())); in tokenizeLine()
81 tokens.add(token.toString()); in tokenizeLine()
82 token.delete(0, token.length()); in tokenizeLine()
92 token.append(aChar); in tokenizeLine()
103 if (token.length() > 0) { in tokenizeLine()
104 Log.v(LOG_TAG, String.format("Finished final token '%s'", token.toString())); in tokenizeLine()
105 tokens.add(token.toString()); in tokenizeLine()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java437 String token = line.get(idx); in expandLongMacro() local
438 Matcher matchMacro = MACRO_PATTERN.matcher(token); in expandLongMacro()
487 String token = line.get(idx); in expandMacro() local
488 Matcher matchMacro = MACRO_PATTERN.matcher(token); in expandMacro()
/tools/repohooks/tools/
Dcpplint.py2486 token = match.group(1)
2492 if token in ('{', '}', ';'): return False
2499 if token in ('>', '=', '[', ']', '.'): return True
2503 if token != '<':
2709 token = matched.group(1)
2710 if token == '{':
2723 elif token == ';' or token == ')':
3497 token = last_word.group(1)
3499 token = expr
3502 if _TYPES.match(token):
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java483 for (final String token : tokens) { in stopMonitor()
484 values.add(Long.parseLong(token)); in stopMonitor()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt199 --provider-arg token.cfg --ks NONE --ks-type PKCS11 app.apk