/external/llvm/lib/AsmParser/ |
LLParser.cpp | [all...] |
/external/smack/src/org/xbill/DNS/ |
Tokenizer.java | 60 private Token current; 67 public static class Token { 68 /** The type of token. */ 71 /** The value of the token, or null for tokens without values. */ 75 Token() { 80 private Token 90 * Converts the token to a string containing a representation useful 113 /** Indicates whether this token contains a string. */ 119 /** Indicates whether this token contains an EOL or EOF. */ 154 current = new Token(); [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
debug.py | 32 from antlr3 import Parser, TokenStream, RecognitionException, Token 37 # wrap token stream in DebugTokenStream (unless user already did so). 98 # force TokenStream to get at least first valid token 123 # then we consumed more than one token; must be off channel tokens 222 # could be token conjured up during error recovery 283 if isinstance(child, Token): 295 if isinstance(newRoot, Token): 466 """An input token was consumed; matched by any kind of element. 467 Trigger after the token was matched by things like match(), matchAny(). 473 """An off-channel input token was consumed [all...] |
tree.py | 46 from antlr3.tokens import CommonToken, Token, INVALID_TOKEN 108 even use Token objects as trees if you add a child list to your tokens. 134 """Walk upwards looking for ancestor with this token type.""" 139 """Walk upwards and get first ancestor with this token type.""" 211 What is the smallest token index (indexing from 0) for this node 224 What is the largest token index (indexing from 0) for this node 240 """Return a token type; needed for tree parsing.""" 251 In case we don't have a token payload, what is the line for errors? 288 Create a tree node from Token object; for CommonTree type trees, 289 then the token just becomes the payload. This is the mos [all...] |
/external/chromium_org/testing/gtest/scripts/ |
pump.py | 137 class Token: 138 """Represents a token in a Pump source file.""" 153 return 'Token @%s: \'%s\' type=%s' % ( 159 return Token(self.start.Clone(), self.end.Clone(), self.value, 238 """Creates a new instance of Token.""" 240 return Token(start, end, SubString(lines, start, end), token_type) 303 def RStripNewLineFromToken(token): 304 if token.value.endswith('\n'): 305 return Token(token.start, token.end, token.value[:-1], token.token_type [all...] |
/external/chromium_org/third_party/jinja2/ |
lexer.py | 102 # bind operators to token types 164 def describe_token(token): 165 """Returns a description of the token.""" 166 if token.type == 'name': 167 return token.value 168 return _describe_token_type(token.type) 172 """Like `describe_token` but for token expressions.""" 225 class Token(tuple): 226 """Token class.""" 241 """Test a token against a token expression. This can either be [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_fpc.h | 310 struct tgsi_token Token;
|
/external/clang/lib/Format/ |
UnwrappedLineParser.cpp | 63 PreviousStructuralError(StructuralError), Token(nullptr) { 71 ResetToken = Token; 79 // \c getNextToken() after it has encountered the first eof token. 81 Token = PreviousTokenSource->getNextToken(); 84 return Token; 90 Token = PreviousTokenSource->setPosition(Position); 91 return Token; 95 bool eof() { return Token && Token->HasUnescapedNewline; } 116 FormatToken *Token; [all...] |
/external/deqp/framework/randomshaders/ |
rsgToken.hpp | 23 * \brief Token class. 33 class Token 127 Token (void); 128 Token (Type type); 129 Token (const char* identifier); 130 Token (float value); 131 Token (int value); 132 Token (bool value); 133 Token (const Token& other) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 26 enum Token { 43 /// gettok - Return the next token from standard input. 192 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current 193 /// token the parser is looking at. getNextToken reads another token from the 204 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 351 default: return Error("unknown token when expecting an expression"); 740 // Skip token for error recovery. 752 // Skip token for error recovery. 770 // Skip token for error recovery [all...] |
/external/llvm/lib/Target/Sparc/AsmParser/ |
SparcAsmParser.cpp | 152 struct Token { 173 struct Token Tok; 228 /// getStartLoc - Get the location of the first token of this operand. 232 /// getEndLoc - Get the location of the last token of this operand. 239 case k_Token: OS << "Token: " << getToken() << "\n"; break; 466 return Error(Loc, "unexpected token"); 472 return Error(Loc, "unexpected token"); 481 return Error(Loc, "unexpected token"); 488 return Error(Loc, "unexpected token"); 538 return Error(L, "unexpected token in directive") [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86Operand.h | 24 Token, 71 /// getStartLoc - Get the location of the first token of this operand. 73 /// getEndLoc - Get the location of the last token of this operand. 75 /// getLocRange - Get the range between the first and last token of this 84 assert(Kind == Token && "Invalid access!"); 88 assert(Kind == Token && "Invalid access!"); 124 bool isToken() const override {return Kind == Token; } 416 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_fpc.h | 310 struct tgsi_token Token;
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
MediaSessionCompat.java | 43 * {@link #getSessionToken() session token} to other processes to allow them to 207 * Retrieve a token object that can be used by apps to create a 211 * @return A token that can be used to create a MediaController for this 214 public Token getSessionToken() { 420 public static final class Token implements Parcelable { 423 Token(Parcelable inner) { 438 * Gets the underlying framework {@link android.media.session.MediaSession.Token} object. 443 * @return The underlying {@link android.media.session.MediaSession.Token} object, 450 public static final Parcelable.Creator<Token> CREATOR 451 = new Parcelable.Creator<Token>() { [all...] |
/bionic/libc/kernel/tools/ |
cpp.py | 61 class Token: 62 """a simple class to hold information about a given token. 63 each token has a position in the source code, as well as 65 the token's class, while the value is the string of the 66 original token itself. 155 self.held = Token() 170 """mark the position of the current token in the source file""" 179 """return the current token under the cursor without moving it""" 202 """increment the token cursor position""" 215 """retrieve the token at the current cursor position, then skip it"" 813 def token(self): member in class:CppExpr [all...] |
/device/generic/goldfish/gps/ |
gps_qemu.c | 61 } Token; 67 Token tokens[ MAX_NMEA_TOKENS ]; 116 static Token 119 Token tok; 251 nmea_reader_update_time( NmeaReader* r, Token tok ) 288 nmea_reader_update_date( NmeaReader* r, Token date, Token time ) 290 Token tok = date; 315 convert_from_hhmm( Token tok ) 327 Token latitude [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 26 enum Token { 46 /// gettok - Return the next token from standard input. 220 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current 221 /// token the parser is looking at. getNextToken reads another token from the 232 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 379 default: return Error("unknown token when expecting an expression"); 392 // If the current token is not an operator, it must be a primary expr. 851 // Skip token for error recovery. 863 // Skip token for error recovery [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 26 enum Token { 49 /// gettok - Return the next token from standard input. 238 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current 239 /// token the parser is looking at. getNextToken reads another token from the 250 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 443 default: return Error("unknown token when expecting an expression"); 457 // If the current token is not an operator, it must be a primary expr. 1014 // Skip token for error recovery. 1026 // Skip token for error recovery [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 44 enum Token { 67 /// gettok - Return the next token from standard input. 255 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current 256 /// token the parser is looking at. getNextToken reads another token from the 267 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 460 default: return Error("unknown token when expecting an expression"); 474 // If the current token is not an operator, it must be a primary expr. 1040 // Skip token for error recovery. 1054 // Skip token for error recovery [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 29 enum Token { 52 /// gettok - Return the next token from standard input. 240 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current 241 /// token the parser is looking at. getNextToken reads another token from the 252 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 445 default: return Error("unknown token when expecting an expression"); 459 // If the current token is not an operator, it must be a primary expr. 1022 // Skip token for error recovery. 1036 // Skip token for error recovery [all...] |
/external/llvm/lib/Target/PowerPC/AsmParser/ |
PPCAsmParser.cpp | 295 Token, 337 case Token: 352 /// getStartLoc - Get the location of the first token of this operand. 355 /// getEndLoc - Get the location of the last token of this operand. 406 bool isToken() const override { return Kind == Token; } 543 assert(Kind == Token && "Invalid access!"); 551 auto Op = make_unique<PPCOperand>(Token); 568 std::unique_ptr<PPCOperand> Op(new (Mem) PPCOperand(Token)); 626 case Token: [all...] |
/external/llvm/lib/Target/SystemZ/AsmParser/ |
SystemZAsmParser.cpp | 100 TokenOp Token; 128 Op->Token.Data = Str.data(); 129 Op->Token.Length = Str.size(); 164 // Token operands 169 assert(Kind == KindToken && "Not a token"); 170 return StringRef(Token.Data, Token.Length); 536 return Error(Parser.getTok().getLoc(), "unexpected token in address"); 624 return Error(Loc, "unexpected token in argument list");
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
managers.py | 36 __all__ = [ 'BaseManager', 'SyncManager', 'BaseProxy', 'Token' ] 74 class Token(object): 90 return 'Token(typeid=%r, address=%r, id=%r)' % \ 260 token = Token(typeid, self.address, rident) 261 msg = ('#PROXY', (rexposed, token)) 411 def get_methods(self, c, token): 413 Return the methods of the shared object indicated by token 415 return tuple(self.id_to_obj[token.id][1]) 562 Create a new shared object; return the token and exposed tupl [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
managers.py | 36 __all__ = [ 'BaseManager', 'SyncManager', 'BaseProxy', 'Token' ] 74 class Token(object): 90 return 'Token(typeid=%r, address=%r, id=%r)' % \ 260 token = Token(typeid, self.address, rident) 261 msg = ('#PROXY', (rexposed, token)) 411 def get_methods(self, c, token): 413 Return the methods of the shared object indicated by token 415 return tuple(self.id_to_obj[token.id][1]) 562 Create a new shared object; return the token and exposed tupl [all...] |
/external/clang/bindings/python/clang/ |
cindex.py | 270 """Useful to detect the Token/Lexer bug""" 407 """Helper class to facilitate token management. 413 tokens. Each token in a group contains a reference back to an instance of 435 tokens_memory = POINTER(Token)() 448 tokens_array = cast(tokens_memory, POINTER(Token * count)).contents 453 token = Token() 454 token.int_data = tokens_array[i].int_data 455 token.ptr_data = tokens_array[i].ptr_data 456 token._tu = t [all...] |