/external/skia/infra/bots/assets/linux_vulkan_intel_driver_release/ |
create_and_upload.py | 24 parser = argparse.ArgumentParser() 25 parser.add_argument('--gsutil') 26 parser.add_argument('--lib_path', '-l', required=True) 27 args = parser.parse_args()
|
/external/skia/infra/bots/assets/svg/ |
create_and_upload.py | 21 parser = argparse.ArgumentParser() 22 parser.add_argument( 25 parser.add_argument('--gsutil') 26 args = parser.parse_args()
|
/external/skia/tools/lua/ |
gradients.py | 41 parser = argparse.ArgumentParser( variable 43 parser.add_argument("inpath", help="Path to Lua script output file"); 44 parser.add_argument("outpath", help="Path to SQL DB"); 45 args = parser.parse_args();
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/ |
Parser.java | 16 package org.yaml.snakeyaml.parser; 23 * The parser and the scanner form together the 'Parse' step in the loading 30 public interface Parser {
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
ComplexColor_Accessor.java | 36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) 38 return GradientColor.createFromXmlInner(r, parser, attrs, theme); 42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) 44 return ColorStateList.createFromXmlInner(r, parser, attrs, theme);
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HtmlWhitelist.java | 17 package com.google.android.mail.common.html.parser;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
DelegatingFieldParser.java | 24 private FieldParser defaultParser = new UnstructuredField.Parser(); 27 * Sets the parser used for the field named <code>name</code>. 29 * @param parser the parser for fields named <code>name</code> 31 public void setFieldParser(final String name, final FieldParser parser) { 32 parsers.put(name.toLowerCase(), parser); local 44 final FieldParser parser = getParser(name); local 45 return parser.parse(name, body, raw);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_robotparser.py | 6 def __init__(self, index, parser, url, good, agent): 12 self.parser = parser 24 self.assertTrue(self.parser.can_fetch(agent, url)) 26 self.assertFalse(self.parser.can_fetch(agent, url)) 37 parser = robotparser.RobotFileParser() 38 parser.parse(lines) 40 tests.addTest(RobotTestCase(index, parser, url, 1, agent)) 42 tests.addTest(RobotTestCase(index, parser, url, 0, agent)) 252 parser = robotparser.RobotFileParser( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_robotparser.py | 6 def __init__(self, index, parser, url, good, agent): 12 self.parser = parser 24 self.assertTrue(self.parser.can_fetch(agent, url)) 26 self.assertFalse(self.parser.can_fetch(agent, url)) 37 parser = robotparser.RobotFileParser() 38 parser.parse(lines) 40 tests.addTest(RobotTestCase(index, parser, url, 1, agent)) 42 tests.addTest(RobotTestCase(index, parser, url, 0, agent)) 252 parser = robotparser.RobotFileParser( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_robotparser.py | 6 def __init__(self, index, parser, url, good, agent): 12 self.parser = parser 24 self.assertTrue(self.parser.can_fetch(agent, url)) 26 self.assertFalse(self.parser.can_fetch(agent, url)) 37 parser = robotparser.RobotFileParser() 38 parser.parse(lines) 40 tests.addTest(RobotTestCase(index, parser, url, 1, agent)) 42 tests.addTest(RobotTestCase(index, parser, url, 0, agent)) 252 parser = robotparser.RobotFileParser( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_robotparser.py | 6 def __init__(self, index, parser, url, good, agent): 12 self.parser = parser 24 self.assertTrue(self.parser.can_fetch(agent, url)) 26 self.assertFalse(self.parser.can_fetch(agent, url)) 37 parser = robotparser.RobotFileParser() 38 parser.parse(lines) 40 tests.addTest(RobotTestCase(index, parser, url, 1, agent)) 42 tests.addTest(RobotTestCase(index, parser, url, 0, agent)) 252 parser = robotparser.RobotFileParser( [all...] |
/test/vts-testcase/fuzz/script/ |
update_makefiles.py | 43 parser = argparse.ArgumentParser() variable 44 parser.add_argument( 51 parser.add_argument( 57 args = parser.parse_args()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
IParser.java | 16 package com.android.loganalysis.parser; 23 * An interface which defines the behavior for a parser. The parser will receive a block of data 25 * Furthermore, the parser should be robust against invalid input -- the input format may drift over
|
/tools/repohooks/tools/ |
pylint.py | 29 """Return a command line parser.""" 30 parser = argparse.ArgumentParser(description=__doc__) 31 parser.add_argument('--init-hook', help='Init hook commands to run.') 32 parser.add_argument('--executable-path', 35 parser.add_argument('--no-rcfile', 39 parser.add_argument('files', nargs='+') 40 return parser 45 parser = get_parser() 46 opts, unknown = parser.parse_known_args(argv)
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
MarshalHashtable.java | 49 public Object readInstance(XmlPullParser parser, String namespace, String name, 53 String elementName = parser.getName(); 54 while (parser.nextTag() != XmlPullParser.END_TAG) { 56 parser.require(XmlPullParser.START_TAG, null, "item"); 57 parser.nextTag(); 58 Object key = envelope.read(parser, item, 0, null, null, PropertyInfo.OBJECT_TYPE); 59 parser.nextTag(); 63 Object value = envelope.read(parser, item, 1, null, null, PropertyInfo.OBJECT_TYPE); 64 parser.nextTag(); 68 parser.require(XmlPullParser.END_TAG, null, "item") [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
GTestListTestParserTest.java | 32 * Tests the parser for a test run output with 1 class and 23 tests. 48 GTestListTestParser parser = new GTestListTestParser(TEST_MODULE_NAME, mockRunListener); local 49 parser.processNewLines(contents); 50 parser.flush(); 52 verifyTestIdentifiers(parser.mTests, 1); 56 * Tests the parser for a test run output with 29 classes and 127 tests. 72 GTestListTestParser parser = new GTestListTestParser(TEST_MODULE_NAME, mockRunListener); local 73 parser.processNewLines(contents); 74 parser.flush(); 76 verifyTestIdentifiers(parser.mTests, 29) 85 GTestListTestParser parser = new GTestListTestParser(TEST_MODULE_NAME, mockRunListener); local [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/ |
ArgsOptionParserTest.java | 204 ArgsOptionParser parser = new ArgsOptionParser(object); local 208 parser.parse(new String[] {"--default", big, "--first", big, "--last", big, 223 ArgsOptionParser parser = new ArgsOptionParser(object); local 227 parser.parse(new String[] {"--default", small, "--first", small, "--last", small, 242 ArgsOptionParser parser = new ArgsOptionParser(object); local 246 parser.parse(new String[] {"--immutable", update}); 253 parser.parse(new String[] {"--null-immutable", update}); 257 parser.parse(new String[] {"--null-immutable", update}); 269 ArgsOptionParser parser = new ArgsOptionParser(source); local 272 parser.parse(new String[] {"--ngos:option"}) 283 ArgsOptionParser parser = new ArgsOptionParser(source); local 297 ArgsOptionParser parser = new ArgsOptionParser(source); local 324 ArgsOptionParser parser = new ArgsOptionParser(object); local 334 ArgsOptionParser parser = new ArgsOptionParser(object); local 345 ArgsOptionParser parser = new ArgsOptionParser(object); local 360 ArgsOptionParser parser = new ArgsOptionParser(object); local 380 ArgsOptionParser parser = new ArgsOptionParser(object); local 400 ArgsOptionParser parser = new ArgsOptionParser(object); local 416 ArgsOptionParser parser = new ArgsOptionParser(object); local 434 ArgsOptionParser parser = new ArgsOptionParser(object); local 446 ArgsOptionParser parser = new ArgsOptionParser(object); local 457 ArgsOptionParser parser = new ArgsOptionParser(object); local 471 ArgsOptionParser parser = new ArgsOptionParser(object); local 481 ArgsOptionParser parser = new ArgsOptionParser(object); local 494 ArgsOptionParser parser = new ArgsOptionParser(object); local 506 ArgsOptionParser parser = new ArgsOptionParser(object); local 516 ArgsOptionParser parser = new ArgsOptionParser(object); local 526 ArgsOptionParser parser = new ArgsOptionParser(object); local 540 ArgsOptionParser parser = new ArgsOptionParser(object); local 583 ArgsOptionParser parser = new ArgsOptionParser(object); local 596 ArgsOptionParser parser = new ArgsOptionParser(object); local 608 ArgsOptionParser parser = new ArgsOptionParser(object); local 620 ArgsOptionParser parser = new ArgsOptionParser(object); local [all...] |
/build/kati/testcase/ |
equal_in_target.mk | 1 # TODO(c) fix parser. no rule to make target "test"?
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/ |
__init__.py | 19 expatreader -- Driver that allows use of the Expat parser with SAX.
30 parser = make_parser()
31 parser.setContentHandler(handler)
32 parser.setErrorHandler(errorHandler)
33 parser.parse(source)
43 parser = make_parser()
44 parser.setContentHandler(handler)
45 parser.setErrorHandler(errorHandler)
49 parser.parse(inpsrc)
51 # this is the parser list used by the make_parser function if no [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/ |
__init__.py | 19 expatreader -- Driver that allows use of the Expat parser with SAX.
30 parser = make_parser()
31 parser.setContentHandler(handler)
32 parser.setErrorHandler(errorHandler)
33 parser.parse(source)
43 parser = make_parser()
44 parser.setContentHandler(handler)
45 parser.setErrorHandler(errorHandler)
49 parser.parse(inpsrc)
51 # this is the parser list used by the make_parser function if no [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t016actions.py | 14 parser = self.getParser(tStream) 15 name = parser.declaration()
|
t023scopes.py | 15 parser = self.getParser(tStream) 16 parser.prog()
|
t031emptyAlt.py | 15 parser = self.getParser(tStream) 16 events = parser.r()
|
t045dfabug.py | 14 parser = self.getParser(tStream) 16 parser.r()
|
/external/autotest/site_utils/ |
suite_enumerator.py | 38 parser = optparse.OptionParser(usage=usage) 39 parser.add_option('-a', '--autotest_dir', dest='autotest_dir', 45 parser.add_option('-l', '--listall', 48 options, args = parser.parse_args() 49 return parser, options, args 54 parser, options, args = parse_options() 58 parser.print_help() 60 parser.print_help()
|