/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONML.java | 56 Object token; local 66 token = x.nextContent(); 67 if (token == XML.LT) { 68 token = x.nextToken(); 69 if (token instanceof Character) { 70 if (token == XML.SLASH) { 74 token = x.nextToken(); 75 if (!(token instanceof String)) { 78 token + "'."); 83 return token; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/etree/ |
ElementPath.py | 74 for token in xpath_tokenizer_re.findall(pattern): 75 tag = token[1] 81 yield token[0], "{%s}%s" % (namespaces[prefix], uri) 85 yield token 96 def prepare_child(next, token): 97 tag = token[1] 105 def prepare_star(next, token): 112 def prepare_self(next, token): 118 def prepare_descendant(next, token): 119 token = next( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/etree/ |
ElementPath.py | 74 for token in xpath_tokenizer_re.findall(pattern): 75 tag = token[1] 81 yield token[0], "{%s}%s" % (namespaces[prefix], uri) 85 yield token 96 def prepare_child(next, token): 97 tag = token[1] 105 def prepare_star(next, token): 112 def prepare_self(next, token): 118 def prepare_descendant(next, token): 119 token = next( [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t001lexer.py | 27 token = lexer.nextToken() 28 self.failUnlessEqual(token.type, self.lexerModule.ZERO) 30 token = lexer.nextToken() 31 self.failUnlessEqual(token.type, self.lexerModule.EOF) 38 types = [token.type for token in lexer] 48 token = lexer.nextToken()
|
t002lexer.py | 27 token = lexer.nextToken() 28 self.failUnlessEqual(token.type, self.lexerModule.ZERO) 30 token = lexer.nextToken() 31 self.failUnlessEqual(token.type, self.lexerModule.ONE) 33 token = lexer.nextToken() 34 self.failUnlessEqual(token.type, self.lexerModule.EOF) 42 token = lexer.nextToken()
|
/external/icu/icu4c/source/test/intltest/ |
tokiter.cpp | 26 UBool TokenIterator::next(UnicodeString& token, UErrorCode& ec) { 30 token.truncate(0); 41 if (!nextToken(token, ec)) { 55 * Read the next token from 'this->line' and append it to 'token'. 60 * @param token the token is appended to this StringBuffer 62 * @return TRUE if a valid token is found, or FALSE if the end 65 UBool TokenIterator::nextToken(UnicodeString& token, UErrorCode& ec) { 80 token.append(c) [all...] |
/system/core/adb/ |
adb_auth.h | 28 void send_auth_response(uint8_t *token, size_t token_size, atransport *t); 41 int adb_auth_sign(void *key, const unsigned char* token, size_t token_size, 46 static inline int adb_auth_generate_token(void *token, size_t token_size) { return 0; } 47 static inline int adb_auth_verify(void *token, void *sig, int siglen) { return 0; } 52 static inline int adb_auth_sign(void* key, const unsigned char* token, 61 int adb_auth_generate_token(void *token, size_t token_size); 62 int adb_auth_verify(uint8_t* token, uint8_t* sig, int siglen);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
UnwantedTokenException.js | 1 /** An extra token while parsing a TokenStream */ 13 return this.token; 17 if ( this.expecting===org.antlr.runtime.Token.INVALID_TOKEN_TYPE ) { 20 if ( !org.antlr.lang.isValue(this.token) ) { 23 return "UnwantedTokenException(found="+this.token.getText()+exp+")";
|
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/trace-viewer/tracing/third_party/closure_linter/closure_linter/ |
checkerbase.py | 60 def _HandleError(self, code, message, token, position=None, 64 self.__checker.HandleError(code, message, token, position, fix_data) 74 def CheckToken(self, token, parser_state): 75 """Checks a token, given the current parser_state, for warnings and errors. 78 token: The current token under consideration. 108 lint_rules: LintRules object defining lint errors given a token 110 state_tracker: Object that tracks the current state in the token stream. 113 metadata_pass: Object that builds metadata about the token stream. 122 # tokenizer, only the token stream [all...] |
closurizednamespacesinfo.py | 41 Processes token streams for dependency creation or usage and provides logic 125 def IsExtraProvide(self, token): 126 """Returns whether the given goog.provide token is unnecessary. 129 token: A goog.provide token. 132 True if the given token corresponds to an unnecessary goog.provide 138 namespace = tokenutil.Search(token, TokenType.STRING_TEXT).string 144 if token in self._duplicate_provide_tokens: 154 def IsExtraRequire(self, token): 155 """Returns whether the given goog.require token is unnecessary [all...] |
/external/llvm/test/MC/Mips/ |
set-at-noat-bad-syntax.s | 5 # CHECK: error: unexpected token, expected equals sign 11 # CHECK: error: unexpected token, expected dollar sign '$' 14 # CHECK: error: unexpected token, expected identifier or integer 17 # CHECK: error: unexpected token, expected identifier or integer 26 # CHECK: error: unexpected token, expected end of statement 29 # CHECK: error: unexpected token, expected end of statement
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
NotificationCompatImpl21.java | 30 Object token) { 35 if (token != null) { 36 style.setMediaSession((MediaSession.Token) token);
|
/external/mesa3d/src/mesa/program/ |
nvfragparse.c | 215 MatchInstruction(const GLubyte *token) 227 if (strncmp((const char *) token, inst->name, 3) == 0) { 233 if (token[i] == 'R') { 237 else if (token[i] == 'H') { 241 else if (token[i] == 'X') { 245 if (token[i] == 'C') { 249 if (token[i] == '_' && token[i+1] == 'S' && 250 token[i+2] == 'A' && token[i+3] == 'T') 690 GLubyte token[100]; local 712 GLubyte token[100]; local 762 GLubyte token[100]; local 794 GLubyte token[100]; local 828 GLubyte token[100]; local 865 GLubyte token[100]; local 965 GLubyte token[100]; local 1094 GLubyte token[100]; local 1247 GLubyte token[100]; local 1281 GLubyte token[100]; local [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/chromium-trace/trace-viewer/tracing/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...] |
/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; 70 out.writeLong(token); 87 token = in.readLong();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParser.java | 65 Token type; 66 Token subtype; 88 Token attrib; 98 Token t; 117 public Token token, jj_nt; field in class:ContentTypeParser 135 token = new Token(); 147 token = new 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);
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParser.java | 65 Token type; 66 Token subtype; 88 Token attrib; 98 Token t; 117 public Token token, jj_nt; field in class:ContentTypeParser 135 token = new Token(); 147 token = new Token(); [all...] |
/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...] |