Searched refs:Token (Results 1 - 25 of 668) sorted by relevance

1234567891011>>

/external/deqp/framework/randomshaders/
H A DrsgVariable.cpp50 case STORAGE_CONST: str << Token::CONST; break;
51 case STORAGE_PARAMETER_IN: str << Token::IN; break;
52 case STORAGE_PARAMETER_OUT: str << Token::OUT; break;
53 case STORAGE_PARAMETER_INOUT: str << Token::INOUT; break;
57 str << Token::UNIFORM;
59 str << Token::MEDIUM_PRECISION;
68 str << Token::LAYOUT << Token::LEFT_PAREN << Token::LOCATION << Token
[all...]
H A DrsgToken.hpp23 * \brief Token class.
33 class Token class in namespace:rsg
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
164 inline Token::Token (void) function in class:rsg::Token
170 inline Token::Token (Type type) function in class:rsg::Token
176 inline Token::Token (float value) function in class:rsg::Token
182 inline Token::Token (int value) function in class:rsg::Token
188 inline Token::Token (bool value) function in class:rsg::Token
[all...]
H A DrsgToken.cpp21 * \brief Token class.
31 Token::Token (const char* identifier) function in class:rsg::Token
39 Token::~Token (void)
45 Token& Token::operator= (const Token& other)
71 Token::Token (cons function in class:rsg::Token
[all...]
H A DrsgPrettyPrinter.cpp123 inline const char* PrettyPrinter::getSimpleTokenStr (Token::Type token)
140 void PrettyPrinter::processToken (const Token& token)
146 case Token::IDENTIFIER:
152 case Token::FLOAT_LITERAL:
161 case Token::INT_LITERAL:
165 case Token::BOOL_LITERAL:
169 case Token::INDENT_INC:
173 case Token::INDENT_DEC:
177 case Token::NEWLINE:
H A DrsgVariableType.cpp208 case PRECISION_LOW: str << Token::LOW_PRECISION; break;
209 case PRECISION_MEDIUM: str << Token::MEDIUM_PRECISION; break;
210 case PRECISION_HIGH: str << Token::HIGH_PRECISION; break;
217 str << Token::VOID;
223 case 1: str << Token::FLOAT; break;
224 case 2: str << Token::VEC2; break;
225 case 3: str << Token::VEC3; break;
226 case 4: str << Token::VEC4; break;
234 case 1: str << Token::INT; break;
235 case 2: str << Token
[all...]
/external/clang/test/CodeGen/
H A Dbitfield-init.c6 struct Token { struct
10 struct Token one = { 1 };
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DCommonTree.cs38 * A tree node that is wrapper for a Token object. After 3.0 release
75 this.Token = node.Token;
82 this.Token = t;
91 if ( Token == null || Token.CharPositionInLine == -1 )
98 return Token.CharPositionInLine;
124 return Token == null;
132 if ( Token == null || Token
177 public IToken Token property in class:Antlr.Runtime.Tree.CommonTree
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DTokenSource.java44 /** Return a Token object from your input stream (usually a CharStream).
48 public Token nextToken();
H A DTokenStream.java34 /** Get Token at current input pointer + i ahead where i=1 is next Token.
36 * two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken.
40 public Token LT(int k);
54 public Token get(int i);
57 * the object that provides Token objects.
74 public String toString(Token start, Token stop);
H A DUnbufferedTokenStream.java50 public class UnbufferedTokenStream extends LookaheadStream<Token> implements TokenStream {
55 protected int channel = Token.DEFAULT_CHANNEL;
61 public Token nextElement() {
62 Token t = tokenSource.nextToken();
67 public boolean isEOF(Token o) { return o.getType() == Token.EOF; }
73 public String toString(Token start, Token stop) { return "n/a"; }
77 public Token get(int i) {
H A DToken.java30 public interface Token { interface
42 public static final Token EOF_TOKEN = new CommonToken(EOF);
45 public static final Token INVALID_TOKEN = new CommonToken(INVALID_TOKEN_TYPE);
50 public static final Token SKIP_TOKEN = new CommonToken(INVALID_TOKEN_TYPE);
87 * implement but it's nice to know where a Token comes from if you have
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DCommonToken.pm5 use ANTLR::Runtime::Token;
23 ok(ANTLR::Runtime::Token->EOF_TOKEN == ANTLR::Runtime::Token->EOF_TOKEN);
24 ok(ANTLR::Runtime::Token->SKIP_TOKEN == ANTLR::Runtime::Token->SKIP_TOKEN);
28 ok !(ANTLR::Runtime::Token->EOF_TOKEN != ANTLR::Runtime::Token->EOF_TOKEN);
29 ok !(ANTLR::Runtime::Token->SKIP_TOKEN != ANTLR::Runtime::Token->SKIP_TOKEN);
33 ok !ANTLR::Runtime::Token
[all...]
/external/clang/include/clang/Lex/
H A DTokenConcatenation.h1 //===--- TokenConcatenation.h - Token Concatenation Avoidance ---*- C++ -*-===//
21 class Token;
61 bool AvoidConcat(const Token &PrevPrevTok,
62 const Token &PrevTok,
63 const Token &Tok) const;
68 bool IsIdentifierStringPrefix(const Token &Tok) const;
H A DMacroArgs.h24 class Token;
46 std::vector<std::vector<Token> > PreExpArgTokens;
50 std::vector<Token> StringifiedArgs;
65 ArrayRef<Token> UnexpArgTokens,
74 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
79 const Token *getUnexpArgument(unsigned Arg) const;
84 static unsigned getArgLength(const Token *ArgPtr);
88 const std::vector<Token> &
93 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP,
114 static Token StringifyArgumen
[all...]
H A DTokenLexer.h22 class Token;
51 const Token *Tokens;
109 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI,
119 void Init(Token &Tok, SourceLocation ILEnd, MacroInfo *MI,
125 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion,
136 void Init(const Token *TokArray, unsigned NumToks,
147 bool Lex(Token &Tok);
167 bool PasteTokens(Token &Tok);
178 void HandleMicrosoftCommentPaste(Token &Tok);
191 Token *begin_token
[all...]
H A DPTHLexer.h51 void ReadToken(Token& T);
53 bool LexEndOfFile(Token &Result);
58 Token EofToken;
70 bool Lex(Token &Tok);
72 void getEOF(Token &Tok);
92 void IndirectLex(Token &Result) override { Lex(Result); }
/external/v8/src/
H A Dscanner.cc84 STATIC_ASSERT(Token::NUM_TOKENS <= 0x100);
88 Token::ILLEGAL,
89 Token::ILLEGAL,
90 Token::ILLEGAL,
91 Token::ILLEGAL,
92 Token::ILLEGAL,
93 Token::ILLEGAL,
94 Token::ILLEGAL,
95 Token::ILLEGAL,
96 Token
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DTokenStream.as32 /** Get Token at current input pointer + i ahead where i=1 is next Token.
34 * two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken.
38 function LT(k:int):Token;
47 function getToken(i:int):Token;
50 * the object that provides Token objects.
67 function toStringWithTokenRange(start:Token, stop:Token):String;
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
H A DParserException.java10 Token token;
12 public ParserException(@SuppressWarnings("hiding") Token token, String message)
18 public Token getToken()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DRewriteRuleTokenStream.as29 import org.antlr.runtime.Token;
40 var t:Token = Token(_next());
44 public function nextToken():Token {
45 return Token(_next());
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonErrorNode.java35 public Token start;
36 public Token stop;
39 public CommonErrorNode(TokenStream input, Token start, Token stop,
45 stop.getType()!=Token.EOF) )
64 return Token.INVALID_TOKEN_TYPE;
69 if ( start instanceof Token ) {
70 int i = ((Token)start).getTokenIndex();
71 int j = ((Token)stop).getTokenIndex();
72 if ( ((Token)sto
[all...]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dlexer.ml27 [< 'Token.Kwd c; lex stream >]
37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); stream >]
45 | "def" -> [< 'Token.Def; stream >]
46 | "extern" -> [< 'Token.Extern; stream >]
47 | "if" -> [< 'Token.If; stream >]
48 | "then" -> [< 'Token.Then; stream >]
49 | "else" -> [< 'Token.Else; stream >]
50 | "for" -> [< 'Token.For; stream >]
51 | "in" -> [< 'Token.In; stream >]
52 | "binary" -> [< 'Token
[all...]
/external/v8/src/ic/
H A Dic-state.cc41 static_cast<Token::Value>(FIRST_TOKEN + OpField::decode(extra_ic_state));
90 GENERATE(Token::ADD, INT32, INT32, INT32, NO_OVERWRITE);
91 GENERATE(Token::ADD, INT32, INT32, INT32, OVERWRITE_LEFT);
92 GENERATE(Token::ADD, INT32, INT32, NUMBER, NO_OVERWRITE);
93 GENERATE(Token::ADD, INT32, INT32, NUMBER, OVERWRITE_LEFT);
94 GENERATE(Token::ADD, INT32, NUMBER, NUMBER, NO_OVERWRITE);
95 GENERATE(Token::ADD, INT32, NUMBER, NUMBER, OVERWRITE_LEFT);
96 GENERATE(Token::ADD, INT32, NUMBER, NUMBER, OVERWRITE_RIGHT);
97 GENERATE(Token::ADD, INT32, SMI, INT32, NO_OVERWRITE);
98 GENERATE(Token
[all...]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dlexer.ml27 [< 'Token.Kwd c; lex stream >]
37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); stream >]
45 | "def" -> [< 'Token.Def; stream >]
46 | "extern" -> [< 'Token.Extern; stream >]
47 | "if" -> [< 'Token.If; stream >]
48 | "then" -> [< 'Token.Then; stream >]
49 | "else" -> [< 'Token.Else; stream >]
50 | "for" -> [< 'Token.For; stream >]
51 | "in" -> [< 'Token.In; stream >]
52 | "binary" -> [< 'Token
[all...]
/external/jsoncpp/include/json/
H A Dreader.h109 class Token class in class:Json::Reader
120 Token token_;
127 bool expectToken( TokenType type, Token &token, const char *message );
128 bool readToken( Token &token );
138 bool readObject( Token &token );
139 bool readArray( Token &token );
140 bool decodeNumber( Token &token );
141 bool decodeString( Token &token );
142 bool decodeString( Token &token, std::string &decoded );
143 bool decodeDouble( Token
[all...]

Completed in 578 milliseconds

1234567891011>>