Searched defs:parse (Results 1 - 25 of 544) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dauto-ast.rb8 def parse( grammar, rule, input, expect_errors = false ) method in class:TestAutoAST
61 result = parse( <<-'END', :a, 'abc 34' )
73 result = parse( <<-'END', :a, 'abc 34' )
85 result = parse( <<-'END', :a, 'abc 34' )
97 result = parse( <<-'END', :a, '34 abc' )
109 result = parse( <<-'END', :a, 'abc 34 dag 4532' )
122 result = parse( <<-'END', :a, 'a 1 b' )
134 result = parse( <<-'END', :a, 'void foo;' )
146 result = parse( <<-'END', :a, 'void foo;' )
158 result = parse( <<
[all...]
H A Drewrites.rb8 def parse( grammar, rule, input, expect_errors = false ) method in class:TestASTViaRewriteRules
60 result = parse( <<-'END', :a, 'abc 34' )
73 result = parse( <<-'END', :a, 'abc' )
87 result = parse( <<-'END', :a, 'abc' )
101 result = parse( <<-'END', :a, 'abc' )
115 result = parse( <<-'END', :a, 'abc' )
128 result = parse( <<-'END', :a, 'c' )
142 result = parse( <<-'END', :a, 'ick' )
156 result = parse( <<-'END', :a, 'abc' )
171 result = parse( <<
[all...]
H A Dhetero-nodes.rb593 def parse( grammar_name, grammar_rule, input ) method in class:TestHeterogeneousNodeTypes
621 result = parse( :VToken, :a, 'a' )
627 result = parse( :TokenWithQualifiedType, :a, 'a' )
633 result = parse( :TokenWithLabel, :a, 'a' )
639 result = parse( :TokenWithListLabel, :a, 'a' )
645 result = parse( :TokenRoot, :a, 'a' )
651 result = parse( :TokenRootWithListLabel, :a, 'a' )
657 result = parse( :FromString, :a, 'begin' )
663 result = parse( :StringRoot, :a, 'begin' )
669 result = parse(
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
H A Dtemplate-output.rb8 def parse( grammar, input, options = nil ) method in class:TestTemplateOutput
29 ANTLR3::Template::Group.parse( source.fixed_indent( 0 ) )
34 text = parse( <<-'END', "abc 34" )
61 text = parse( <<-'END', 'a + b', :templates => templates )
82 text = parse( <<-'END', 'abc 34' )
101 text = parse( <<-'END', "abc def ghi" )
122 text = parse( <<-'END', "abc" )
140 text = parse( <<-'END', 'abc' )
157 # text = parse( <<-'END', 'abc' )
185 text = parse( <<
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_iterate.c36 struct tgsi_parse_context parse; local
38 if (tgsi_parse_init( &parse, tokens ) != TGSI_PARSE_OK)
41 ctx->processor = parse.FullHeader.Processor;
47 while (!tgsi_parse_end_of_tokens( &parse )) {
48 tgsi_parse_token( &parse );
50 switch (parse.FullToken.Token.Type) {
53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction ))
59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration ))
65 if (!ctx->iterate_immediate( ctx, &parse.FullToken.FullImmediate ))
71 if (!ctx->iterate_property( ctx, &parse
[all...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_iterate.c36 struct tgsi_parse_context parse; local
38 if (tgsi_parse_init( &parse, tokens ) != TGSI_PARSE_OK)
41 ctx->processor = parse.FullHeader.Processor;
47 while (!tgsi_parse_end_of_tokens( &parse )) {
48 tgsi_parse_token( &parse );
50 switch (parse.FullToken.Token.Type) {
53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction ))
59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration ))
65 if (!ctx->iterate_immediate( ctx, &parse.FullToken.FullImmediate ))
71 if (!ctx->iterate_property( ctx, &parse
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
H A Ddebug-mode.rb66 def parse( grammar, rule, input, options = {} ) method in class:TestDebugGrammars
99 parse( grammar, :a, 'a', :listener => listener )
121 debugger = parse( grammar, :a, 'a' )
151 debugger = parse( grammar, :a, "a b" )
189 debugger = parse( grammar, :a, "a" )
223 debugger = parse( grammar, :a, "a 1 b c 3" )
294 debugger = parse( grammar, :a, "a 1 b c 3" )
364 debugger = parse( grammar, :a, "a" )
403 debugger = parse( grammar, :a, "a 1" )
456 debugger = parse( gramma
[all...]
/external/proguard/src/proguard/util/
H A DStringParser.java34 public StringMatcher parse(String regularExpression); method in interface:StringParser
H A DFileNameParser.java40 public StringMatcher parse(String regularExpression) method in class:FileNameParser
58 parse(regularExpression.substring(index + 2)));
72 parse(regularExpression.substring(index + 1)));
86 parse(regularExpression.substring(index + 1)));
108 StringMatcher matcher = parser.parse(args[0]);
H A DNameParser.java39 public StringMatcher parse(String regularExpression) method in class:NameParser
57 parse(regularExpression.substring(index + 1)));
71 parse(regularExpression.substring(index + 1)));
93 StringMatcher matcher = parser.parse(args[0]);
/external/apache-http/src/org/apache/http/io/
H A DHttpMessageParser.java55 HttpMessage parse() method in interface:HttpMessageParser
/external/chromium_org/third_party/skia/src/ports/
H A DSkXMLParser_empty.cpp10 bool SkXMLParser::parse(SkStream& docStream) function in class:SkXMLParser
15 bool SkXMLParser::parse(const char doc[], size_t len) function in class:SkXMLParser
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DHexParser.java44 public static byte[] parse(String src) { method in class:HexParser
/external/skia/src/ports/
H A DSkXMLParser_empty.cpp10 bool SkXMLParser::parse(SkStream& docStream) function in class:SkXMLParser
15 bool SkXMLParser::parse(const char doc[], size_t len) function in class:SkXMLParser
/external/smack/src/com/kenai/jbosh/
H A DBodyParser.java30 * @param xml XML to parse
32 * @throws BOSHException on parse error
34 BodyParserResults parse(String xml) throws BOSHException; method in interface:BodyParser
/external/chromium_org/third_party/flot/
H A Djquery.colorhelpers.min.js11 * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString()
21 */(function(e){e.color={},e.color.make=function(t,n,r,i){var s={};return s.r=t||0,s.g=n||0,s.b=r||0,s.a=i!=null?i:1,s.add=function(e,t){for(var n=0;n<e.length;++n)s[e.charAt(n)]+=t;return s.normalize()},s.scale=function(e,t){for(var n=0;n<e.length;++n)s[e.charAt(n)]*=t;return s.normalize()},s.toString=function(){return s.a>=1?"rgb("+[s.r,s.g,s.b].join(",")+")":"rgba("+[s.r,s.g,s.b,s.a].join(",")+")"},s.normalize=function(){function e(e,t,n){return t<e?e:t>n?n:t}return s.r=e(0,parseInt(s.r),255),s.g=e(0,parseInt(s.g),255),s.b=e(0,parseInt(s.b),255),s.a=e(0,s.a,1),s},s.clone=function(){return e.color.make(s.r,s.b,s.g,s.a)},s.normalize()},e.color.extract=function(t,n){var r;do{r=t.css(n).toLowerCase();if(r!=""&&r!="transparent")break;t=t.parent()}while(!e.nodeName(t.get(0),"body"));return r=="rgba(0, 0, 0, 0)"&&(r="transparent"),e.color.parse(r)},e.color.parse=function(n){var r,i=e.color.make;if(r=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\ (…)
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/
H A DMain.java46 // Recursively parse each directory, and each file on the
51 parse(new File(args[i]));
66 public static void parse(File source) throws Exception method in class:Main
83 parse(new File(source, files[i]));
87 // Else find out if it is an ASP.Net file and parse it if it is
237 // The file we tried to parse does not exist
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBasicCommentHandler.java48 public void parse(final SetCookie cookie, final String value) method in class:BasicCommentHandler
H A DBasicExpiresHandler.java55 public void parse(final SetCookie cookie, final String value) method in class:BasicExpiresHandler
66 throw new MalformedCookieException("Unable to parse expires attribute: "
H A DBasicMaxAgeHandler.java50 public void parse(final SetCookie cookie, final String value) method in class:BasicMaxAgeHandler
/external/bison/examples/calc++/
H A Dcalc++-driver.cc17 calcxx_driver::parse (const std::string &f) function in class:calcxx_driver
23 int res = parser.parse ();
/external/chromium_org/third_party/mesa/src/scons/
H A Dsource_list.py112 def parse(self, filename): member in class:SourceListParser
/external/chromium_org/third_party/ots/src/
H A Dlayout.h19 bool (*parse)(const OpenTypeFile *file, const uint8_t *data, member in struct:ots::LookupSubtableParser::TypeParser
/external/chromium_org/third_party/tlslite/tlslite/
H A Dx509.py33 def parse(self, s): member in class:X509
/external/chromium_org/v8/test/webkit/resources/
H A Djson2-es5-compat.js16 and parse.
99 JSON.parse(text, reviver)
114 myData = JSON.parse(text, function (key, value) {
127 myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
158 lastIndex, length, parse, prototype, push, replace, slice, stringify,
400 // If the JSON object does not yet have a parse method, give it one.
402 if (typeof JSON.parse !== 'function') {
403 JSON.parse = function (text, reviver) {
405 // The parse method takes a text and an optional reviver function, and returns
478 throw new SyntaxError('JSON.parse');
[all...]

Completed in 787 milliseconds

1234567891011>>