/external/qemu/include/qapi/qmp/ |
json-lexer.h | 2 * JSON lexer 43 void json_lexer_init(JSONLexer *lexer, JSONLexerEmitter func); 45 int json_lexer_feed(JSONLexer *lexer, const char *buffer, size_t size); 47 int json_lexer_flush(JSONLexer *lexer); 49 void json_lexer_destroy(JSONLexer *lexer);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 52 String tok = lexer.ttoken(); 84 String s1 = lexer.number(); 89 lexer.match(' '); 90 String month = lexer.ttoken().toLowerCase(); 116 lexer.match(' '); 117 String s2 = lexer.number(); 133 String s = lexer.number(); 136 lexer.match(':'); 137 s = lexer.number(); 140 lexer.match(':') [all...] |
ContentLengthParser.java | 48 protected ContentLengthParser(Lexer lexer) { 49 super(lexer); 58 String number = this.lexer.number(); 60 this.lexer.SPorHT(); 61 this.lexer.match('\n');
|
MaxForwardsParser.java | 47 protected MaxForwardsParser(Lexer lexer) { 48 super(lexer); 57 String number = this.lexer.number(); 59 this.lexer.SPorHT(); 60 this.lexer.match('\n');
|
MinExpiresParser.java | 56 * @param lexer the lexer to use to parse the header 58 protected MinExpiresParser(Lexer lexer) { 59 super(lexer); 76 String number = this.lexer.number(); 82 this.lexer.SPorHT(); 84 this.lexer.match('\n');
|
RSeqParser.java | 54 * param lexer the lexer to use to parse the header 56 protected RSeqParser(Lexer lexer) { 57 super(lexer); 75 String number = this.lexer.number(); 81 this.lexer.SPorHT(); 83 this.lexer.match('\n');
|
ToParser.java | 51 protected ToParser(Lexer lexer) { 52 super(lexer); 60 this.lexer.match('\n');
|
/external/chromium_org/tools/idl_parser/ |
idl_lexer_test.py | 16 def FileToTokens(lexer, filename): 18 lexer.Tokenize(srcfile.read(), filename) 19 return lexer.GetTokens() 27 def TextToTokens(lexer, text): 28 lexer.Tokenize(text) 29 return lexer.GetTokens() 34 self.lexer = IDLLexer() 49 tokens1 = FileToTokens(self.lexer, filename) 51 tokens2 = TextToTokens(self.lexer, to_text) 74 tokens = FileToTokens(self.lexer, filename [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t029synpredgate.py | 13 lexer = self.getLexer(stream) 14 token = lexer.nextToken()
|
t030specialStates.py | 13 lexer = self.getLexer(cStream) 14 tStream = antlr3.CommonTokenStream(lexer) 21 lexer = self.getLexer(cStream) 22 tStream = antlr3.CommonTokenStream(lexer) 29 lexer = self.getLexer(cStream) 30 tStream = antlr3.CommonTokenStream(lexer) 38 lexer = self.getLexer(cStream) 39 tStream = antlr3.CommonTokenStream(lexer)
|
t022scopes.py | 27 lexer = self.getLexer(cStream) 28 tStream = antlr3.CommonTokenStream(lexer) 35 lexer = self.getLexer(cStream) 36 tStream = antlr3.CommonTokenStream(lexer) 48 lexer = self.getLexer(cStream) 49 tStream = antlr3.CommonTokenStream(lexer) 64 lexer = self.getLexer(cStream) 65 tStream = antlr3.CommonTokenStream(lexer) 86 lexer = self.getLexer(cStream) 87 tStream = antlr3.CommonTokenStream(lexer) [all...] |
t001lexer.py | 25 lexer = self.getLexer(stream) 27 token = lexer.nextToken() 30 token = lexer.nextToken() 36 lexer = self.getLexer(stream) 38 types = [token.type for token in lexer] 45 lexer = self.getLexer(stream) 48 token = lexer.nextToken()
|
t003lexer.py | 25 lexer = self.getLexer(stream) 27 token = lexer.nextToken() 30 token = lexer.nextToken() 33 token = lexer.nextToken() 36 token = lexer.nextToken() 42 lexer = self.getLexer(stream) 45 token = lexer.nextToken()
|
t008lexer.py | 25 lexer = self.getLexer(stream) 27 token = lexer.nextToken() 33 token = lexer.nextToken() 39 token = lexer.nextToken() 45 token = lexer.nextToken() 51 lexer = self.getLexer(stream) 53 lexer.nextToken() 54 lexer.nextToken() 56 token = lexer.nextToken()
|
t027eof.py | 14 lexer = self.getLexer(cStream) 16 tok = lexer.nextToken() 19 tok = lexer.nextToken()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PServedUserParser.java | 33 import gov.nist.javax.sip.parser.Lexer; 44 protected PServedUserParser(Lexer lexer) { 45 super(lexer); 59 this.lexer.match(TokenTypes.P_SERVED_USER); 60 this.lexer.SPorHT(); 61 this.lexer.match(':'); 62 this.lexer.SPorHT(); 64 this.lexer.SPorHT(); 65 String servedUsername = lexer.byteStringNoSemicolon() [all...] |
PChargingVectorParser.java | 36 import gov.nist.javax.sip.parser.Lexer; 57 protected PChargingVectorParser(Lexer lexer) { 59 super(lexer); 75 while (lexer.lookAhead(0) != '\n') { 77 this.lexer.SPorHT(); 78 char la = lexer.lookAhead(0); 81 this.lexer.match(';'); 82 this.lexer.SPorHT();
|
PAssociatedURIParser.java | 44 import gov.nist.javax.sip.parser.Lexer; 73 protected PAssociatedURIParser(Lexer lexer) 75 super(lexer); 96 this.lexer.SPorHT(); 97 while (lexer.lookAhead(0) == ',') 99 this.lexer.match(','); 100 this.lexer.SPorHT(); 106 this.lexer.SPorHT(); 108 this.lexer.SPorHT() [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
nuances.rb | 28 lexer = EmptyAlt::Lexer.new( 'foo' ) 29 parser = EmptyAlt::Parser.new lexer 58 lexer = Subrule::Lexer.new( 'BEGIN A END' ) 59 parser = Subrule::Parser.new lexer 95 lexer = SpecialStates::Lexer.new 'foo' 96 parser = SpecialStates::Parser.new lexer 101 lexer = SpecialStates::Lexer.new 'foo name1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
netrc.py | 35 lexer = shlex.shlex(fp) 36 lexer.wordchars += r"""!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~""" 37 lexer.commenters = lexer.commenters.replace('#', '') 40 toplevel = tt = lexer.get_token() 47 lexer.instream.seek(-pos, 1) 48 lexer.instream.readline() 51 entryname = lexer.get_token() 55 entryname = lexer.get_token() 57 lexer.whitespace = ' \t [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
netrc.py | 35 lexer = shlex.shlex(fp) 36 lexer.wordchars += r"""!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~""" 37 lexer.commenters = lexer.commenters.replace('#', '') 40 toplevel = tt = lexer.get_token() 47 lexer.instream.seek(-pos, 1) 48 lexer.instream.readline() 51 entryname = lexer.get_token() 55 entryname = lexer.get_token() 57 lexer.whitespace = ' \t [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
expr.pl | 20 my $lexer = ExprLexer->new({ input => $input }); 22 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
mexpr.pl | 15 my $lexer = MExprLexer->new($input); 17 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
tweak.pl | 12 my $lexer = TLexer->new({ input => $input }); 13 my $tokens = ANTLR::Runtime::TokenRewriteStream({ token_source => $lexer });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/ |
t-error.pl | 13 my $lexer = TLexer->new($input); 16 my $token = eval { $lexer->next_token(); };
|