/bootable/recovery/applypatch/include/applypatch/ |
imgpatch.h | 24 SinkFn sink, void* token);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
EditorState.java | 89 for (String token : tokens) { 90 if (token.startsWith("'") && token.endsWith("'")) { 91 for (int i = 1; i < token.length() - 1; ++i) { 92 final char ch = token.charAt(1); 99 sb.append(token.substring(1, token.length() - 1)); 100 } else if (token.startsWith("U+")) { 101 final int codePoint = Integer.parseInt(token.substring(2), 16); 103 throw new IllegalArgumentException("Invalid code point is specified:" + token); [all...] |
/cts/tools/dasm/src/dasm/tokens/ |
number_token.java | 22 public class number_token extends java_cup.runtime.token {
|
/cts/tools/dasm/src/java_cup/runtime/ |
double_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class double_token extends token {
|
float_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class float_token extends token {
|
str_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class str_token extends token {
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
RecognizerSharedState.js | 9 /** Track the set of token types that can follow any rule invocation. 18 * matched a token. Prevents generation of more than one error message 25 * but no token is consumed during recovery...another error is found, 27 * one token/tree node is consumed for two errors. 31 /** In lieu of a return value, this indicates that a rule or token 32 * has failed to match. Reset to false upon valid token match. 45 * the stop token index for each rule. ruleMemo[ruleIndex] is 47 * get back the stop token for associated rule or MEMO_RULE_FAILED. 58 /** The goal of all lexer rules/methods is to create a token object. 60 * create a single token. nextToken will return this object afte [all...] |
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/ |
location_info_mixin.js | 82 parser._processTokenInForeignContent = function (token) { 83 this.currentToken = token; 84 parserProto._processTokenInForeignContent.call(this, token); 87 parser._processToken = function (token) { 88 this.currentToken = token; 89 parserProto._processToken.call(this, token); 93 if (token.type === Tokenizer.END_TAG_TOKEN && 94 (token.tagName === $.HTML || 95 (token.tagName === $.BODY && this.openElements.hasInScope($.BODY)))) { 99 if (this.treeAdapter.getTagName(element) === token.tagName) [all...] |
/external/dagger2/producers/src/main/java/dagger/producers/monitoring/ |
ProductionComponentMonitor.java | 50 ProducerMonitor producerMonitorFor(ProducerToken token);
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/ |
StringUtils.java | 52 CommonToken token = (CommonToken)lexer.nextToken(); local 53 if (token.getType() != smaliParser.STRING_LITERAL) { 57 if (token.getStopIndex() != str.length()-1) { 61 String text = token.getText();
|
/frameworks/base/core/java/android/app/backup/ |
IRestoreSession.aidl | 47 * @param token The token from {@link getAvailableRestoreSets()} corresponding to 52 int restoreAll(long token, IRestoreObserver observer); 63 * @param token The token from {@link getAvailableRestoreSets()} corresponding to 68 * the contents of the actual back-end dataset named by {@code token}, only 71 int restoreSome(long token, IRestoreObserver observer, in String[] packages);
|
RestoreSet.java | 44 * Token that identifies this backup set unambiguously to the backup/restore 48 public long token; field in class:RestoreSet 58 token = _token; 69 out.writeLong(token); 86 token = in.readLong();
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
EditorState.java | 89 for (String token : tokens) { 90 if (token.startsWith("'") && token.endsWith("'")) { 91 for (int i = 1; i < token.length() - 1; ++i) { 92 final char ch = token.charAt(1); 99 sb.append(token.substring(1, token.length() - 1)); 100 } else if (token.startsWith("U+")) { 101 final int codePoint = Integer.parseInt(token.substring(2), 16); 103 throw new IllegalArgumentException("Invalid code point is specified:" + token); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
InputMethodManagerCompatWrapper.java | 43 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { 45 METHOD_switchToNextInputMethod, token, onlyCurrentIme); 48 public boolean shouldOfferSwitchingToNextInputMethod(final IBinder token) { 50 METHOD_shouldOfferSwitchingToNextInputMethod, token);
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlSanitizer.java | 135 HtmlToken token = lexer.next(); local 136 switch (token.type) { 139 Encoding.decodeHtml(html.substring(token.start, token.end))); 143 html.substring(token.start, token.end))); 146 if (html.charAt(token.start + 1) == '/') { // A close tag. 148 html.substring(token.start + 2, token.end))); 187 html.substring(token.start + 1, token.end)) [all...] |
/external/icu/icu4c/source/test/intltest/ |
tokiter.h | 39 * Return the next token from this iterator. 40 * @return TRUE if a token was read, or FALSE if no more tokens 43 UBool next(UnicodeString& token, UErrorCode& ec); 46 * Return the one-based line number of the line of the last token 61 UBool nextToken(UnicodeString& token, UErrorCode& ec);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/tokens/ |
BlockEntryTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 BlockEntryToken token = new BlockEntryToken(mark, mark); local 28 assertEquals(ID.BlockEntry, token.getTokenId());
|
BlockSequenceStartTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 BlockSequenceStartToken token = new BlockSequenceStartToken(mark, mark); local 28 assertEquals(ID.BlockSequenceStart, token.getTokenId());
|
DirectiveTokenTest.java | 24 import org.yaml.snakeyaml.tokens.Token.ID; 30 DirectiveToken<Integer> token = new DirectiveToken<Integer>("YAML", null, mark, mark); local 31 assertEquals("name=YAML", token.getArguments()); 51 DirectiveToken<String> token = new DirectiveToken<String>("TAG", list, mark, mark); local 52 assertEquals("name=TAG, value=[!foo, !bar]", token.getArguments()); 60 DirectiveToken<Integer> token = new DirectiveToken<Integer>("YAML", list, mark, mark); local 61 assertEquals("name=YAML, value=[1, 1]", token.getArguments()); 66 DirectiveToken<Integer> token = new DirectiveToken<Integer>("YAML", null, mark, mark); local 67 assertEquals(ID.Directive, token.getTokenId());
|
DocumentEndTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 DocumentEndToken token = new DocumentEndToken(mark, mark); local 28 assertEquals(ID.DocumentEnd, token.getTokenId());
|
DocumentStartTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 DocumentStartToken token = new DocumentStartToken(mark, mark); local 28 assertEquals(ID.DocumentStart, token.getTokenId());
|
FlowEntryTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 FlowEntryToken token = new FlowEntryToken(mark, mark); local 28 assertEquals(ID.FlowEntry, token.getTokenId());
|
FlowMappingStartTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 FlowMappingStartToken token = new FlowMappingStartToken(mark, mark); local 28 assertEquals(ID.FlowMappingStart, token.getTokenId());
|
FlowSequenceStartTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 FlowSequenceStartToken token = new FlowSequenceStartToken(mark, mark); local 28 assertEquals(ID.FlowSequenceStart, token.getTokenId());
|
StreamStartTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 StreamStartToken token = new StreamStartToken(mark, mark); local 28 assertEquals(ID.StreamStart, token.getTokenId());
|