/cts/tools/dasm/src/java_cup/runtime/ |
token.java | 13 public class token extends symbol { class in inherits:symbol 16 public token(int term_num) method in class:token
|
/external/webkit/Source/WebCore/html/ |
DOMSettableTokenList.cpp | 47 bool DOMSettableTokenList::contains(const AtomicString& token, ExceptionCode& ec) const 49 if (!validateToken(token, ec)) 51 return m_tokens.contains(token); 54 void DOMSettableTokenList::add(const AtomicString& token, ExceptionCode& ec) 56 if (!validateToken(token, ec) || m_tokens.contains(token)) 58 addInternal(token); 61 void DOMSettableTokenList::addInternal(const AtomicString& token) 63 m_value = addToken(m_value, token); 65 m_tokens.set(token, false) [all...] |
ClassList.cpp | 67 bool ClassList::contains(const AtomicString& token, ExceptionCode& ec) const 69 if (!validateToken(token, ec)) 71 return containsInternal(token); 74 bool ClassList::containsInternal(const AtomicString& token) const 76 return m_element->hasClass() && classNames().contains(token); 79 void ClassList::add(const AtomicString& token, ExceptionCode& ec) 81 if (!validateToken(token, ec)) 83 addInternal(token); 86 void ClassList::addInternal(const AtomicString& token) 90 m_element->setAttribute(classAttr, token); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/ |
ParserException.java | 10 Token token; field in class:ParserException 12 public ParserException(@SuppressWarnings("hiding") Token token, String message) 15 this.token = token; 18 public Token getToken() 20 return this.token;
|
/frameworks/base/core/java/android/os/ |
IVibratorService.aidl | 23 void vibrate(long milliseconds, IBinder token); 24 void vibratePattern(in long[] pattern, int repeat, IBinder token); 25 void cancelVibrate(IBinder token);
|
/cts/tools/dasm/src/dasm/ |
ReservedWords.java | 21 import java_cup.runtime.token; 24 static Hashtable<String, token> reserved_words; 26 public static token get(String name) { 27 return (token) reserved_words.get(name); 35 reserved_words = new Hashtable<String, token>(); 38 reserved_words.put(".annotation", new token(sym.DANNOTATION)); 39 reserved_words.put(".attribute", new token(sym.DATTRIBUTE)); 40 reserved_words.put(".bytecode", new token(sym.DBYTECODE)); 41 reserved_words.put(".catch", new token(sym.DCATCH)); 42 reserved_words.put(".class", new token(sym.DCLASS)) [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLTreeBuilder.cpp | 251 explicit ExternalCharacterTokenBuffer(AtomicHTMLToken& token) 252 : m_current(token.characters().data()) 253 , m_end(m_current + token.characters().size()) 436 AtomicHTMLToken token(rawToken); 439 // synchronously re-enters the parser. We don't clear the token immedately 451 constructTreeFromAtomicToken(token); 459 void HTMLTreeBuilder::constructTreeFromAtomicToken(AtomicHTMLToken& token) 461 processToken(token); 470 void HTMLTreeBuilder::processToken(AtomicHTMLToken& token) 472 switch (token.type()) [all...] |
HTMLSourceTracker.cpp | 35 void HTMLSourceTracker::start(const HTMLInputStream& input, HTMLToken& token) 37 m_sourceFromPreviousSegments = token.type() == HTMLToken::Uninitialized ? String() : m_sourceFromPreviousSegments + m_source.toString(); 39 token.setBaseOffset(input.current().numberOfCharactersConsumed() - m_sourceFromPreviousSegments.length()); 42 void HTMLSourceTracker::end(const HTMLInputStream& input, HTMLToken& token) 46 token.end(input.current().numberOfCharactersConsumed()); 49 String HTMLSourceTracker::sourceForToken(const HTMLToken& token) 51 if (token.type() == HTMLToken::EndOfFile) 57 ASSERT(!token.startIndex()); 59 int length = token.endIndex() - token.startIndex() - m_sourceFromPreviousSegments.length() [all...] |
/external/srec/tools/cmd/ |
srecres2utd.pl | 51 if(defined %token) { 52 process(\%token, \%results); 53 dump_record($hUTD, \%token); 57 undef %token; 58 $token{file} = $file; 60 $token{gender} = $gender{$1}; 61 $token{"snr"} = get_snr($file) if($additional_fieldh{"snr"}); 62 $token{"snrr"} = sprintf("%.2d",int(get_snr($file)/5+0.5)*5) if($additional_fieldh{"snrr"}); 64 $token{ortho} = normalize($1); 68 $token{parsed_ortho} = $augval [all...] |
/external/mesa3d/src/glsl/glcpp/tests/ |
040-token-pasting.c | 2 paste(one , token)
|
/external/doclava/src/com/google/doclava/apicheck/ |
ApiFile.java | 71 String token = tokenizer.getToken(); local 72 if (token == null) { 75 if ("package".equals(token)) { 78 throw new ApiParseException("expected package got " + token, tokenizer.getLine()); 90 String token; local 94 token = tokenizer.requireToken(); 95 assertIdent(tokenizer, token); 96 name = token; 98 token = tokenizer.requireToken(); 99 if (!"{".equals(token)) { 503 String token = tokenizer.requireToken(); local 592 final String token = getToken(parenIsSep); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
OIDTokenizer.java | 33 String token; local 38 token = oid.substring(index); 40 return token; 43 token = oid.substring(index, end); 46 return token;
|
/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/chromium/base/json/ |
json_reader.cc | 17 static const JSONReader::Token kInvalidToken(JSONReader::Token::INVALID_TOKEN, 24 // token. The method returns false if there is no valid integer at the end of 25 // the token. 26 bool ReadInt(JSONReader::Token& token, bool can_have_leading_zeros) { 27 wchar_t first = token.NextChar(); 33 ++token.length; 35 c = token.NextChar(); 48 // token. If the sequence if digits is not valid (contains other characters) 205 Token token = ParseToken(); local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
cpp.c | 153 int token, name, args[MAX_MACRO_ARGS], argc; local 159 token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); 160 if (token != CPP_IDENTIFIER) { 162 return token; 165 token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); 166 if (token == '(' && !yylvalpp->sc_int) { 170 token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); 171 if (argc == 0 && token == ')') break; 172 if (token != CPP_IDENTIFIER) { 174 return token; 241 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 269 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 363 int token, prec, (*op)(int, int); member in struct:__anon12998 386 int token, (*op)(int); member in struct:__anon12999 470 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 500 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 531 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 565 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 600 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 663 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 697 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 739 int token = cpp->currentInput->scan(cpp->currentInput, yylvalpp); local 872 int token; local 905 int token = ReadToken(in->mac->body, yylvalpp); local 936 int i,j, token, depth=0; local [all...] |
/external/antlr/src/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/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/src/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+")";
|
/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/webkit/Source/JavaScriptCore/parser/ |
SourceProviderCacheItem.h | 50 JSToken token; local 51 token.m_type = CLOSEBRACE; 52 token.m_data.intValue = closeBracePos; 53 token.m_info.startOffset = closeBracePos; 54 token.m_info.endOffset = closeBracePos + 1; 55 token.m_info.line = closeBraceLine; 56 return token;
|
/packages/apps/Mms/src/com/android/mms/util/ |
SendingProgressTokenManager.java | 37 Long token = TOKEN_POOL.get(key); local 39 Log.v(TAG, "TokenManager.get(" + key + ") -> " + token); 41 return token != null ? token : NO_TOKEN; 44 synchronized public static void put(Object key, long token) { 46 Log.v(TAG, "TokenManager.put(" + key + ", " + token + ")"); 48 TOKEN_POOL.put(key, token);
|
/external/chromium/base/ |
string_tokenizer_unittest.cc | 19 EXPECT_EQ(string("this"), t.token()); 22 EXPECT_EQ(string("is"), t.token()); 25 EXPECT_EQ(string("a"), t.token()); 28 EXPECT_EQ(string("test"), t.token()); 39 EXPECT_EQ(string("this"), t.token()); 42 EXPECT_EQ(string("is"), t.token()); 45 EXPECT_EQ(string("a"), t.token()); 48 EXPECT_EQ(string("test"), t.token()); 61 EXPECT_EQ(string("this"), t.token()); 64 EXPECT_EQ(string(" "), t.token()); [all...] |
/frameworks/base/opengl/libagl/ |
Tokenizer.cpp | 50 uint32_t token = run.first + run.length; local 51 _insertTokenAt(token, 1); 52 return token; 55 bool Tokenizer::isAcquired(uint32_t token) const 57 return (_indexOrderOf(token) >= 0); 60 status_t Tokenizer::reserve(uint32_t token) 63 const ssize_t i = _indexOrderOf(token, &o); 65 return BAD_VALUE; // this token is already taken 67 ssize_t err = _insertTokenAt(token, o); 71 status_t Tokenizer::release(uint32_t token) [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 31 * Within JSON objects, name/value pairs are represented by a single token. 185 * long as the longest token that can be reported as a number. 197 * The type of the next token to be returned by {@link #peek} and {@link 200 private JsonToken token; field in class:JsonReader 252 * Consumes the next token from the JSON stream and asserts that it is the 260 * Consumes the next token from the JSON stream and asserts that it is the 268 * Consumes the next token from the JSON stream and asserts that it is the 276 * Consumes the next token from the JSON stream and asserts that it is the 288 if (token != expected) { 299 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY 522 JsonToken token = advance(); local [all...] |