/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/swiftshader/src/OpenGL/compiler/preprocessor/ |
MacroExpander.cpp | 22 #include "Token.h" 35 typedef std::vector<Token> TokenVector; 43 void lex(Token *token) override 47 token->reset(); 48 token->type = Token::LAST; 52 *token = *mIter++; 120 void MacroExpander::lex(Token *token) 243 Token token; local 360 Token token; local 476 const Token &token = replacements->back(); local [all...] |
ExpressionParser.y | 65 #include "Token.h" 81 pp::Token* token; 108 %token TOK_CONST_INT 109 %token TOK_IDENTIFIER 136 // This rule should be applied right after the token is lexed, so we can 137 // refer to context->token in the error message. 139 context->token->location, context->token->text); 222 context->token->location [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/ |
RamDiskBlockIo.c | 306 @param[in, out] Token A pointer to the token associated with the
316 @retval EFI_SUCCESS The read request was queued if Token->Event
318 the device if the Token->Event is NULL.
338 IN OUT EFI_BLOCK_IO2_TOKEN *Token,
362 if ((Token != NULL) && (Token->Event != NULL)) {
363 Token->TransactionStatus = EFI_SUCCESS;
364 gBS->SignalEvent (Token->Event);
379 @param[in, out] Token A pointer to the token associated with the [all...] |
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
CommonTokenStream.as | 30 /** The most common stream of tokens is one where every token is buffered up 35 * TODO: how to access the full token stream? How to track all tokens matched per rule? 40 /** Record every single token pulled from the source so we can reproduce 60 /** The index into the tokens list of the current token (next token 70 /** Reset this token stream by setting its token source. */ 78 /** Load all tokens from the token source and put in tokens. 80 * set some token type / channel overrides before filling buffer. 84 var t:Token = tokenSource.nextToken() [all...] |
/external/deqp/framework/randomshaders/ |
rsgStatement.cpp | 205 str << Token::LEFT_BRACE << Token::NEWLINE << Token::INDENT_INC; 210 str << Token::INDENT_DEC << Token::RIGHT_BRACE << Token::NEWLINE; 223 str << Token::SEMICOLON << Token::NEWLINE; 339 str << Token::EQUAL; 343 str << Token::SEMICOLON << Token::NEWLINE [all...] |
/external/clang/lib/Frontend/Rewrite/ |
RewriteMacros.cpp | 28 static bool isSameToken(Token &RawTok, Token &PPTok) { 46 /// GetNextRawTok - Return the next raw token in the stream, skipping over 48 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, 63 std::vector<Token> &RawTokens) { 74 Token RawTok; 78 // If we have an identifier with no identifier info for our raw token, look 97 std::vector<Token> RawTokens; 100 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false) [all...] |
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
TreeAdaptor.as | 44 /** Create a tree node from Token object; for CommonTree type trees, 45 * then the token just becomes the payload. This is the most 50 function createWithPayload(payload:Token):Object; 67 * tokens consumed during error recovery. The start token indicates the 68 * input symbol at which the error was detected. The stop token indicates 76 * This only makes sense during token parsing, not tree parsing. 80 function errorNode(input:TokenStream, start:Token, stop:Token, e:RecognitionException):Object; 148 /** Create a new node derived from a token, with a new token type [all...] |
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.java | 61 state.token = null; 62 state.type = Token.INVALID_TOKEN_TYPE; 63 state.channel = Token.DEFAULT_CHANNEL; 70 /** Return a token from this source; i.e., match a token on the char 73 public Token nextToken() { 75 state.token = null; 76 state.channel = Token.DEFAULT_CHANNEL; 86 if ( state.token==null ) { 89 else if ( state.token==Token.SKIP_TOKEN ) [all...] |
/external/antlr/runtime/ObjC/Framework/ |
TokenRewriteStream.h | 45 /** Token buffer rwIndex. */ 59 * Return the rwIndex of the next token to operate on. 132 - (void) insertAfterToken:(id<Token>)t Text:(NSString *)theText; 137 - (void) insertBeforeToken:(id<Token>)t Text:(NSString *)theText; 142 - (void) replaceFromToken:(id<Token>)indexT Text:(NSString *)theText; 143 - (void) replaceFromToken:(id<Token>)from ToToken:(id<Token>)to Text:(NSString *)theText; 144 - (void) replaceProgNam:(NSString *)programName Token:(id<Token>)from Token:(id<Token>)to Text:(NSString *)theText [all...] |
/external/skia/src/sksl/ |
SkSLParser.h | 109 StringFragment text(Token token); 111 Position position(Token token); 117 * Return the next token, including whitespace tokens, from the parse stream. 119 Token nextRawToken(); 122 * Return the next non-whitespace token from the parse stream. 124 Token nextToken(); 127 * Push a token back onto the parse stream, so that it is the next one read. Only a single level 131 void pushback(Token t) [all...] |
/external/skqp/src/sksl/ |
SkSLParser.h | 109 StringFragment text(Token token); 111 Position position(Token token); 117 * Return the next token, including whitespace tokens, from the parse stream. 119 Token nextRawToken(); 122 * Return the next non-whitespace token from the parse stream. 124 Token nextToken(); 127 * Push a token back onto the parse stream, so that it is the next one read. Only a single level 131 void pushback(Token t) [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
DnsDhcp.c | 286 EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN Token;
310 ZeroMem (&Token, sizeof (EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN));
418 // Build required Token.
425 &Token.CompletionEvent
431 SetMem (&Token.RemoteAddress, sizeof (EFI_IPv4_ADDRESS), 0xff);
433 Token.RemotePort = 67;
435 Token.ListenPointCount = 1;
437 Token.ListenPoints = AllocateZeroPool (Token.ListenPointCount * sizeof (EFI_DHCP4_LISTEN_POINT));
438 if (Token.ListenPoints == NULL) { [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
Ftp4.h | 157 @param[in] Token Pointer to the token structure to provide the parameters that
166 IN EFI_FTP4_COMMAND_TOKEN *Token
269 with the corresponding connection token. If this function returns EFI_SUCCESS, the
271 due to any error, the Token->Event will be signaled and Token->Status will be updated
275 @param[in] Token Pointer to the token used to establish control connection.
280 - Token is NULL.
281 - Token->Event is NULL. [all...] |
/external/antlr/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/libtextclassifier/actions/ |
feature-processor_test.cc | 77 Token token("aaa", 0, 3); 79 EXPECT_TRUE(feature_processor.AppendTokenFeatures(token, &embedding_executor_, 97 Token token("Aaa", 0, 3); 99 EXPECT_TRUE(feature_processor.AppendTokenFeatures(token, &embedding_executor_, 118 const std::vector<Token> tokens = {Token("Aaa", 0, 3), Token("bbb", 4, 7), 119 Token("Cccc", 8, 12)} [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
toplevel.ml | 11 | Some (Token.Kwd ';') -> 15 | Some token -> 17 try match token with 18 | Token.Def -> 21 | Token.Extern -> 29 (* Skip token for error recovery. *)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
toplevel.ml | 13 | Some (Token.Kwd ';') -> 17 | Some token -> 19 try match token with 20 | Token.Def -> 24 | Token.Extern -> 34 (* Skip token for error recovery. *)
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/ |
toplevel.ml | 11 | Some (Token.Kwd ';') -> 15 | Some token -> 17 try match token with 18 | Token.Def -> 21 | Token.Extern -> 29 (* Skip token for error recovery. *)
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/ |
toplevel.ml | 13 | Some (Token.Kwd ';') -> 17 | Some token -> 19 try match token with 20 | Token.Def -> 24 | Token.Extern -> 34 (* Skip token for error recovery. *)
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
toplevel.ml | 11 | Some (Token.Kwd ';') -> 15 | Some token -> 17 try match token with 18 | Token.Def -> 21 | Token.Extern -> 29 (* Skip token for error recovery. *)
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
toplevel.ml | 13 | Some (Token.Kwd ';') -> 17 | Some token -> 19 try match token with 20 | Token.Def -> 24 | Token.Extern -> 34 (* Skip token for error recovery. *)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
Dhcp4Impl.c | 275 @param[in] Token Pointer to the EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN structure.
290 IN EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN *Token
[all...] |
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCTP.java | 157 match(input, Token.DOWN, null); 164 match(input, Token.UP, null); 173 match(input, Token.DOWN, null); 185 match(input, Token.UP, null); 212 match(input, Token.DOWN, null); 224 match(input, Token.UP, null); 272 match(input, Token.DOWN, null); 314 match(input, Token.UP, null); 339 match(input, Token.DOWN, null); 351 match(input, Token.UP, null); [all...] |
/external/antlr/tool/src/test/java/org/antlr/test/ |
TestTreeNodeStream.java | 31 import org.antlr.runtime.Token; 80 Tree root = new CommonTree((Token)null); 103 Tree root = new CommonTree((Token)null); 120 Tree root = new CommonTree((Token)null); 157 assertEquals(Token.DOWN, ((Tree)stream.LT(2)).getType()); 159 assertEquals(Token.DOWN, ((Tree)stream.LT(4)).getType()); 161 assertEquals(Token.UP, ((Tree)stream.LT(6)).getType()); 163 assertEquals(Token.UP, ((Tree)stream.LT(8)).getType()); 164 assertEquals(Token.EOF, ((Tree)stream.LT(9)).getType()); 166 assertEquals(Token.EOF, ((Tree)stream.LT(100)).getType()) [all...] |