HomeSort by relevance Sort by last modified time
    Searched refs:parser (Results 501 - 525 of 2171) sorted by null

<<21222324252627282930>>

  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
properties.rb 12 @parser::members {
42 parser = RuleProperties::Parser.new lexer
43 start, stop, text = parser.a.bla
59 @parser::members {
88 parser = Labels::Parser.new lexer
89 ids, w = parser.a
114 @parser::members {
163 parser = TokenLabels::Parser.new lexe
    [all...]
rule-methods.rb 14 @parser::members {
47 parser = Parameters::Parser.new lexer
48 r = parser.a( 'foo', 'bar' )
60 @parser::members {
101 parser = MultipleReturnValues::Parser.new lexer
102 ret = parser.a
128 RuleVisibility::Parser.public_instance_methods.should include( mname[ 'a' ] )
129 RuleVisibility::Parser.protected_instance_methods.should include( mname[ 'c' ]
    [all...]
  /external/chromium_org/chrome/tools/build/
repack_locales.py 157 parser = optparse.OptionParser("usage: %prog [options] locales")
158 parser.add_option("-i", action="store_true", dest="inputs", default=False,
160 parser.add_option("-o", action="store_true", dest="outputs", default=False,
162 parser.add_option("-g", action="store", dest="grit_dir",
164 parser.add_option("-x", action="store", dest="int_dir",
166 parser.add_option("-s", action="store", dest="share_int_dir",
168 parser.add_option("-b", action="store", dest="branding",
170 parser.add_option("-e", action="append", dest="extra_input", default=[],
173 parser.add_option("-p", action="store", dest="os",
175 options, locales = parser.parse_args(argv
    [all...]
  /frameworks/base/core/java/android/content/res/
ColorStateList.java 115 public static ColorStateList createFromXml(Resources r, XmlPullParser parser)
118 AttributeSet attrs = Xml.asAttributeSet(parser);
121 while ((type=parser.next()) != XmlPullParser.START_TAG
129 return createFromXmlInner(r, parser, attrs);
132 /* Create from inside an XML document. Called on a parser positioned at
136 private static ColorStateList createFromXmlInner(Resources r, XmlPullParser parser,
141 final String name = parser.getName();
147 parser.getPositionDescription() + ": invalid drawable tag " + name);
150 colorStateList.inflate(r, parser, attrs);
173 private void inflate(Resources r, XmlPullParser parser, AttributeSet attrs
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
SimpleParserTest.java 39 private SAXParser parser; field in class:SimpleParserTest
60 parser = factory.newSAXParser();
61 parser.getXMLReader().setContentHandler(contentHandler);
76 parser = null;
152 SAXParser parser = factory.newSAXParser(); local
153 parser.getXMLReader().setContentHandler(contentHandler);
155 parser.parse(getClass().getResourceAsStream("/SimpleParserTest.xml"),
179 SAXParser parser = factory.newSAXParser(); local
180 parser.getXMLReader().setContentHandler(contentHandler);
181 parser.parse(getClass().getResourceAsStream("/SimpleParserTest.xml")
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
Builder.java 26 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
27 import org.apache.james.mime4j.field.address.parser.ASTaddress;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
29 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
30 import org.apache.james.mime4j.field.address.parser.ASTdomain;
31 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
32 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
33 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
34 import org.apache.james.mime4j.field.address.parser.ASTname_addr;
35 import org.apache.james.mime4j.field.address.parser.ASTphrase;
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
main.py 144 # Set up option parser
145 parser = optparse.OptionParser(usage="2to3 [options] file|dir ...")
146 parser.add_option("-d", "--doctests_only", action="store_true",
148 parser.add_option("-f", "--fix", action="append", default=[],
150 parser.add_option("-j", "--processes", action="store", default=1,
152 parser.add_option("-x", "--nofix", action="append", default=[],
154 parser.add_option("-l", "--list-fixes", action="store_true",
156 parser.add_option("-p", "--print-function", action="store_true",
158 parser.add_option("-v", "--verbose", action="store_true",
160 parser.add_option("--no-diffs", action="store_true"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
main.py 144 # Set up option parser
145 parser = optparse.OptionParser(usage="2to3 [options] file|dir ...")
146 parser.add_option("-d", "--doctests_only", action="store_true",
148 parser.add_option("-f", "--fix", action="append", default=[],
150 parser.add_option("-j", "--processes", action="store", default=1,
152 parser.add_option("-x", "--nofix", action="append", default=[],
154 parser.add_option("-l", "--list-fixes", action="store_true",
156 parser.add_option("-p", "--print-function", action="store_true",
158 parser.add_option("-v", "--verbose", action="store_true",
160 parser.add_option("--no-diffs", action="store_true"
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHeaderElementIterator.java 54 private final HeaderValueParser parser; field in class:BasicHeaderElementIterator
65 final HeaderValueParser parser) {
69 if (parser == null) {
70 throw new IllegalArgumentException("Parser may not be null");
73 this.parser = parser;
115 HeaderElement e = this.parser.parseHeaderElement(this.buffer, this.cursor);
  /external/chromium_org/build/android/buildbot/
bb_utils.py 67 def ConvertJson(option, _, value, parser):
68 setattr(parser.values, option.dest, json.loads(value))
69 parser = optparse.OptionParser()
70 parser.add_option('--build-properties', action='callback',
73 parser.add_option('--factory-properties', action='callback',
76 return parser
  /external/chromium_org/build/android/gyp/
apk_install.py 56 parser = optparse.OptionParser()
57 parser.add_option('--apk-path',
59 parser.add_option('--install-record',
61 parser.add_option('--build-device-configuration',
63 parser.add_option('--stamp',
65 options, _ = parser.parse_args()
  /external/chromium_org/build/android/
surface_stats.py 74 parser = optparse.OptionParser(usage='Usage: %prog [options]',
76 parser.add_option('-v',
82 parser.add_option('--device',
84 parser.add_option('-f',
90 parser.add_option('-d',
97 options, args = parser.parse_args(argv)
  /external/chromium_org/build/
copy_test_data_ios.py 68 parser = optparse.OptionParser()
70 parser.set_usage(usage)
71 parser.add_option('-o', dest='output_dir')
72 parser.add_option('--inputs', action='store_true', dest='list_inputs')
73 parser.add_option('--outputs', action='store_true', dest='list_outputs')
74 options, arglist = parser.parse_args(argv)
  /external/chromium_org/native_client_sdk/src/tools/
fix_deps.py 86 parser = optparse.OptionParser(usage=usage, description=__doc__)
87 parser.add_option('-o', '--output', help='Output filename (defaults to '
89 parser.add_option('-c', '--clean', action='store_true',
91 options, args = parser.parse_args(argv)
93 raise parser.error('No input file specified')
95 raise parser.error('Only one argument supported')
  /external/chromium_org/third_party/mesa/src/src/glsl/glcpp/
glcpp-lex.l 45 if (parser->has_new_line_number) \
46 yylineno = parser->new_line_number; \
47 if (parser->has_new_source_number) \
48 yylloc->source = parser->new_source_number; \
52 parser->has_new_line_number = 0; \
53 parser->has_new_source_number = 0; \
81 parser just doesn't care about. Since flex regular expressions that
98 glcpp_parser_t *parser = yyextra;
100 if (parser->lexing_if || parser->skip_stack == NULL || parser->skip_stack->type == SKIP_NO_SKIP)
    [all...]
  /external/chromium_org/tools/export_tarball/
export_tarball.py 117 parser = optparse.OptionParser()
118 parser.add_option("--basename")
119 parser.add_option("--remove-nonessential-files",
122 parser.add_option("--test-data", action="store_true")
124 parser.add_option("--xz", action="store_true")
126 options, args = parser.parse_args(argv)
  /external/mesa3d/src/glsl/glcpp/
glcpp-lex.l 45 if (parser->has_new_line_number) \
46 yylineno = parser->new_line_number; \
47 if (parser->has_new_source_number) \
48 yylloc->source = parser->new_source_number; \
52 parser->has_new_line_number = 0; \
53 parser->has_new_source_number = 0; \
81 parser just doesn't care about. Since flex regular expressions that
98 glcpp_parser_t *parser = yyextra;
100 if (parser->lexing_if || parser->skip_stack == NULL || parser->skip_stack->type == SKIP_NO_SKIP)
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
parser.hpp 12 // Description : defines parser - public interface for CLA parsing and accessing
40 // ************** runtime::cla::parser ************** //
48 global_mod_parser( parser& p, Modifier const& m )
66 parser& m_parser;
73 // ************** runtime::cla::parser ************** //
76 class parser { class in namespace:boost::BOOST_RT_PARAM_NAMESPACE::cla
81 explicit parser( cstring program_name = cstring() );
84 parser& operator<<( parameter_ptr param );
86 // parser and global parameters modifiers
149 # include <boost/test/utils/runtime/cla/parser.ipp
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_argparse.py 142 """Adds parser tests using the class attributes.
148 failures -- a list of args lists that should cause the parser
161 # default parser signature is empty
170 def no_groups(parser, argument_signatures):
171 """Add all arguments directly to the parser"""
173 parser.add_argument(*sig.args, **sig.kwargs)
175 def one_group(parser, argument_signatures):
176 """Add all arguments under a single group in the parser"""
177 group = parser.add_argument_group('foo')
181 def many_groups(parser, argument_signatures)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_argparse.py 142 """Adds parser tests using the class attributes.
148 failures -- a list of args lists that should cause the parser
161 # default parser signature is empty
170 def no_groups(parser, argument_signatures):
171 """Add all arguments directly to the parser"""
173 parser.add_argument(*sig.args, **sig.kwargs)
175 def one_group(parser, argument_signatures):
176 """Add all arguments under a single group in the parser"""
177 group = parser.add_argument_group('foo')
181 def many_groups(parser, argument_signatures)
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
protocol_parser_unittest.cc 18 SafeBrowsingProtocolParser parser; local
20 bool result = parser.ParseChunk(
69 SafeBrowsingProtocolParser parser; local
71 bool result = parser.ParseChunk(
98 SafeBrowsingProtocolParser parser; local
100 bool result = parser.ParseChunk(
158 SafeBrowsingProtocolParser parser; local
160 bool result = parser.ParseChunk(
184 SafeBrowsingProtocolParser parser; local
186 bool result = parser.ParseChunk(safe_browsing_util::kBinHashList
198 SafeBrowsingProtocolParser parser; local
231 SafeBrowsingProtocolParser parser; local
249 SafeBrowsingProtocolParser parser; local
308 SafeBrowsingProtocolParser parser; local
336 SafeBrowsingProtocolParser parser; local
381 SafeBrowsingProtocolParser parser; local
408 SafeBrowsingProtocolParser parser; local
430 SafeBrowsingProtocolParser parser; local
480 SafeBrowsingProtocolParser parser; local
510 SafeBrowsingProtocolParser parser; local
523 SafeBrowsingProtocolParser parser; local
541 SafeBrowsingProtocolParser parser; local
587 SafeBrowsingProtocolParser parser; local
638 SafeBrowsingProtocolParser parser; local
674 SafeBrowsingProtocolParser parser; local
697 SafeBrowsingProtocolParser parser; local
725 SafeBrowsingProtocolParser parser; local
763 SafeBrowsingProtocolParser parser; local
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
Settings.java 890 final XmlPullParser parser = Xml.newPullParser(); local
1199 final XmlPullParser parser = Xml.newPullParser(); local
1687 XmlPullParser parser = Xml.newPullParser(); local
1905 XmlPullParser parser = Xml.newPullParser(); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimationDrawableTest.java 285 XmlResourceParser parser = getResourceParser(R.xml.anim_list_correct); local
286 mAnimationDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
298 parser = getResourceParser(R.xml.anim_list_missing_list_attrs);
299 mAnimationDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
315 parser = getResourceParser(R.xml.anim_list_missing_item_drawable);
317 mAnimationDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
325 XmlResourceParser parser = getResourceParser(R.drawable.animationdrawable) local
358 XmlResourceParser parser = mResources.getXml(resId); local
    [all...]
StateListDrawableTest.java 157 XmlResourceParser parser = getResourceParser(R.xml.selector_correct); local
160 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
180 parser = getResourceParser(R.xml.selector_missing_selector_attrs);
181 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
197 parser = getResourceParser(R.xml.selector_missing_item_drawable);
199 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
206 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct) local
248 XmlResourceParser parser = getInstrumentation().getTargetContext().getResources().getXml( local
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
XmlDocumentProvider.java 176 XmlPullParser parser = null; local
181 parser = getUriXmlPullParser(url);
187 parser = getResourceXmlPullParser(resourceUri);
191 if (parser != null) {
194 xmlCursor.parseWith(parser);
211 * Creates an XmlPullParser for the provided URL. Can be overloaded to provide your own parser.
216 XmlPullParser parser = null; local
220 parser = factory.newPullParser();
243 parser.setInput(inputStream, null);
249 return parser;
    [all...]

Completed in 1870 milliseconds

<<21222324252627282930>>