/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Parser.java | 30 import gov.nist.core.Token; 58 Token tok = lexer.match(SIP); 80 Token[] tokens = this.lexer.peekNextToken(1); 81 Token token = (Token) tokens[0]; local 82 if (token.getTokenType() == INVITE 83 || token.getTokenType() == ACK 84 || token.getTokenType() == OPTIONS 85 || token.getTokenType() == BY [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonTree.cs | 38 * A tree node that is wrapper for a Token object. After 3.0 release 47 /** <summary>A single token is the payload</summary> */ 49 public IToken token; field in class:Antlr.Runtime.Tree.CommonTree 52 * What token indexes bracket all tokens associated with this node 73 this.token = node.token; 79 this.token = t; 85 if (token == null || token.CharPositionInLine == -1) { 91 return token.CharPositionInLine [all...] |
/frameworks/base/core/java/android/os/ |
IVibratorService.aidl | 23 void vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token); 24 void vibratePattern(int uid, String opPkg, in long[] pattern, int repeat, int usageHint, IBinder token); 25 void cancelVibrate(IBinder token);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
CommonTree.java | 30 import org.antlr.runtime.Token; 32 /** A tree node that is wrapper for a Token object. After 3.0 release 39 /** A single token is the payload */ 40 public Token token; field in class:CommonTree 42 /** What token indexes bracket all tokens associated with this node 57 this.token = node.token; 62 public CommonTree(Token t) { 63 this.token = t [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/ |
indentation.py | 44 # For each token, we determine if it is a block or continuation token. 60 """Stores information about a token. 63 token: The token 64 is_block: Whether the token represents a block indentation. 65 is_transient: Whether the token should be automatically removed without 66 finding a matching end token. 67 overridden_by: TokenInfo for a token that overrides the indentation that 68 this token would require [all...] |
closurizednamespacesinfo_test.py | 76 token = self._GetRequireTokens('package.Something') 81 self.assertFalse(namespaces_info.IsExtraRequire(token), 87 self.assertTrue(namespaces_info.IsExtraRequire(token), 96 token = self._tokenizer.TokenizeFile(input_lines) 97 namespaces_info = self._GetInitializedNamespacesInfo(token, ['package'], []) 99 self.assertFalse(namespaces_info.IsExtraProvide(token), 108 token = self._tokenizer.TokenizeFile(input_lines) 109 namespaces_info = self._GetInitializedNamespacesInfo(token, ['package'], []) 111 self.assertFalse(namespaces_info.IsExtraProvide(token), 117 token = self._tokenizer.TokenizeFile(input_lines [all...] |
ecmalintrules.py | 101 def HandleMissingParameterDoc(self, token, param_name): 109 last_token: The last token in the line. 111 # Start from the last token so that we have the flag object attached to 114 token = last_token 119 while token and token.line_number == line_number: 120 if state.IsTypeToken(token): 121 line.insert(0, 'x' * len(token.string)) 122 elif token.type in (Type.IDENTIFIER, Type.NORMAL): 124 line.insert(0, token.string.replace('.', ' ') [all...] |
requireprovidesorter.py | 46 def CheckProvides(self, token): 49 Iterates over tokens in given token stream, identifies goog.provide tokens, 54 token: A token in the token stream before any goog.provide tokens. 57 A tuple containing the first provide token in the token stream and a list 64 provide_tokens = self._GetRequireOrProvideTokens(token, 'goog.provide') 71 def CheckRequires(self, token): 74 Iterates over tokens in given token stream, identifies goog.require tokens [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
StylesheetPIHandler.java | 156 String token = ""; local 160 token = tokenizer.nextToken(); 164 (token.equals(" ") || token.equals("\t") || token.equals("="))) 167 String name = token; 170 token = tokenizer.nextToken(); 172 (token.equals(" " ) || token.equals("\t") || token.equals("=")) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/ |
t-error.pl | 16 my $token = eval { $lexer->next_token(); }; 22 last if $token->get_type() == $TLexer::EOF; 24 print "type: ", $token->get_type(), "\n"; 25 print "text: ", $token->get_text(), "\n";
|
t.pl | 16 my $token = $lexer->next_token(); 17 last if $token->get_type() == $TLexer::EOF; 19 print "type: ", $token->get_type(), "\n"; 20 print "text: ", $token->get_text(), "\n";
|
/frameworks/base/media/java/android/media/midi/ |
IMidiDeviceServer.aidl | 25 ParcelFileDescriptor openInputPort(IBinder token, int portNumber); 26 ParcelFileDescriptor openOutputPort(IBinder token, int portNumber); 27 void closePort(IBinder token); 31 void connectPorts(IBinder token, in ParcelFileDescriptor pfd, int outputPortNumber);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
CommonTree.js | 1 /** A tree node that is wrapper for a Token object. After 3.0 release 8 /** What token indexes bracket all tokens associated with this node 20 /** A single token is the payload */ 21 this.token = null; 25 this.token = node.token; 29 this.token = node; 33 /** A tree node that is wrapper for a Token object. */ 36 return this.token; 44 return !this.token; [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
MissingTokenException.java | 30 /** We were expecting a token but it's not found. The current token 48 if ( inserted!=null && token!=null ) { 49 return "MissingTokenException(inserted "+inserted+" at "+token.getText()+")"; 51 if ( token!=null ) { 52 return "MissingTokenException(at "+token.getText()+")";
|
UnwantedTokenException.java | 30 /** An extra token while parsing a TokenStream */ 39 public Token getUnexpectedToken() { 40 return token; 45 if ( expecting==Token.INVALID_TOKEN_TYPE ) { 48 if ( token==null ) { 51 return "UnwantedTokenException(found="+token.getText()+exp+")";
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
AlarmHandler.java | 4 public void wake(Object token);
|
/frameworks/base/core/java/android/content/pm/ |
KeySet.java | 31 private IBinder token; field in class:KeySet 34 public KeySet(IBinder token) { 35 if (token == null) { 36 throw new NullPointerException("null value for KeySet IBinder token"); 38 this.token = token; 43 return token; 51 return token == ks.token; 59 return token.hashCode() 90 IBinder token = in.readStrongBinder(); local [all...] |
/frameworks/compile/mclinker/lib/Script/ |
ScriptScanner.ll | 19 typedef mcld::ScriptParser::token token; 22 #define yyterminate() return token::END 68 return token::LINKER_SCRIPT; 79 <LDSCRIPT>"ENTRY" { return token::ENTRY; } 81 <LDSCRIPT>"INCLUDE" { return token::INCLUDE; } 82 <LDSCRIPT>"INPUT" { return token::INPUT; } 83 <LDSCRIPT>"GROUP" { return token::GROUP; } 84 <LDSCRIPT>"AS_NEEDED" { return token::AS_NEEDED; } 85 <LDSCRIPT>"OUTPUT" { return token::OUTPUT; [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlLexer.java | 78 * Makes sure that this.token contains a token if one is available. 84 HtmlToken token = readToken(); local 85 if (token == null) { return null; } 87 switch (token.type) { 94 if (state == State.SAW_EQ && HtmlTokenType.TAGEND == token.type) { 97 pushbackToken(token); 100 token.start, token.start, HtmlTokenType.ATTRVALUE); 115 if (HtmlTokenType.TEXT == token.typ 295 HtmlToken token = parseToken(); local [all...] |
/system/core/libpixelflinger/codeflinger/ |
Arm64Disassembler.cpp | 95 static void get_token(const char *instr, uint32_t index, char *token) 102 token[j++] = instr[i]; 111 token[j++] = instr[i]; 114 token[j] = '\0'; 134 static void decode_token(uint32_t code, char *token, char *instr_part) 136 if(strcmp(token, "<imm1>") == 0) 138 else if(strcmp(token, "<imm2>") == 0) 140 else if(strcmp(token, "<shift1>") == 0) 142 else if(strcmp(token, "<shift2>") == 0) 147 else if(strcmp(token, "<shift3>") == 0 273 char token[256]; local [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
MissingTokenException.pm | 23 if (defined (my $inserted = $self->inserted) && defined (my $token = $self->token)) { 24 return "MissingTokenException(inserted $inserted at " . $token->get_text() . ")"; 26 if (defined $self->token) { 27 return "MissingTokenException(at " . $self->token->get_text() . ")";
|
/external/skia/experimental/PdfViewer/src/ |
SkPdfContext.cpp | 22 SkPdfResult consumeToken(PdfToken& token) override; 85 SkPdfResult PdfMainLooper::consumeToken(PdfToken& token) { 86 if (token.fType == kKeyword_TokenType && token.fKeywordLength < 256) 89 if (gPdfOps.find(token.fKeyword, token.fKeywordLength, &pdfOperatorRenderer) && 95 gRenderStats[result].find(token.fKeyword, token.fKeywordLength, &cnt); 96 gRenderStats[result].set(token.fKeyword, token.fKeywordLength, cnt + 1) 122 PdfToken token; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PMediaAuthorization.java | 51 * P-Media-Authorization-Token 52 * *(COMMA P-Media-Authorization-Token) 53 * P-Media-Authorization-Token = 1*HEXDIG 70 * P-Media-Authorization Token 72 private String token; field in class:PMediaAuthorization 85 * Get the media authorization token. 87 * @return token 91 return token; 96 * Set the media authorization token. 98 * @param token - media authorization token to se [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSpelunker.java | 49 protected String token; field in class:GrammarSpelunker 65 void consume() throws IOException { token = scanner.nextToken(); } 68 //System.out.println("match "+expecting+"; is "+token); 69 if ( token.equals(expecting) ) consume(); 70 else throw new Error("Error parsing "+grammarFileName+": '"+token+ 82 while ( token!=null && !token.equals("@") && !token.equals(":") && 83 !token.equals("import") && !token.equals("options") [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/common/ |
error.py | 26 def __init__(self, code, message, token, position, fix_data): 32 token: The tokens.Token where the error occurred. 33 position: The position of the error within the token. 40 self.token = token 42 if token: 43 self.start_index = token.start_index 60 line_diff = a.token.line_number - b.token.line_numbe [all...] |