/prebuilts/tools/common/m2/repository/nekohtml/xercesMinimal/1.9.6.2/ |
xercesMinimal-1.9.6.2.jar | |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 73 XmlResourceParser parser = mAssets.openXmlResourceParser("AndroidManifest.xml"); local 74 assertNotNull(parser); 75 XmlUtils.beginDocument(parser, "manifest"); 76 parser = mAssets.openXmlResourceParser(0, "AndroidManifest.xml"); 77 assertNotNull(parser); 78 beginDocument(parser, "manifest"); 196 private void beginDocument(final XmlPullParser parser,final String firstElementName) 199 while ((type = parser.next()) != XmlPullParser.START_TAG) { 204 assertEquals(firstElementName, parser.getName());
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
BPDG.py | 94 parser = OptionParser(version="%s - Version %s\n" % (PROJECT_NAME, VERSION),
99 parser.add_option('-d', '--debug', action='store', type="int", dest='debug_level',
101 parser.add_option('-v', '--verbose', action='store_true', dest='opt_verbose',
103 parser.add_option('-q', '--quiet', action='store_true', dest='opt_quiet', default=False,
105 parser.add_option('-o', '--vpd-filename', action='store', dest='bin_filename',
107 parser.add_option('-m', '--map-filename', action='store', dest='filename',
109 parser.add_option('-f', '--force', action='store_true', dest='opt_force',
112 (options, args) = parser.parse_args()
115 EdkLogger.info(parser.usage)
|
/external/autotest/cli/ |
label.py | 31 """Add to the parser the options common to all the 35 self.parser.add_option('-B', '--blist', 64 self.parser.add_option('-t', '--platform-only', 68 self.parser.add_option('-d', '--valid-only', 72 self.parser.add_option('-a', '--all', 77 self.parser.add_option('-m', '--machine', 143 self.parser.add_option('-t', '--platform', 147 self.parser.add_option('-o', '--only_if_needed', 173 self.parser.add_option('-m', '--machine', 178 self.parser.add_option('-M', '--mlist' [all...] |
/external/autotest/site_utils/ |
host_history.py | 218 parser = argparse.ArgumentParser() 219 parser.add_argument('-v', action='store_true', dest='verbose', 222 parser.add_argument('-l', type=float, dest='last', 225 parser.add_argument('--board', type=str, dest='board', 228 parser.add_argument('--pool', type=str, dest='pool', 231 parser.add_argument('--hosts', nargs='+', dest='hosts', 234 parser.add_argument('--start', type=str, dest='start', 239 parser.add_argument('--end', type=str, dest='end', 243 options = parser.parse_args()
|
/external/toolchain-utils/crosperf/ |
crosperf.py | 27 def SetupParserOptions(parser): 28 """Add all options to the parser.""" 29 parser.add_argument( 41 parser.add_argument( 74 parser = argparse.ArgumentParser() 76 parser.add_argument( 83 parser.add_argument( 90 SetupParserOptions(parser) 91 options, args = parser.parse_known_args(argv) 102 parser.error('Invalid number arguments.' [all...] |
/external/toolchain-utils/user_activity_benchmarks/ |
benchmark_metrics_experiment.py | 166 parser = argparse.ArgumentParser( 169 parser.add_argument( 175 parser.add_argument( 181 parser.add_argument( 187 parser.add_argument( 193 parser.add_argument( 200 parser.add_argument( 208 parser.add_argument( 217 options = parser.parse_args(arguments)
|
/prebuilts/misc/common/robolectric/lib/ |
maven-repository-metadata-2.2.1.jar | |
/prebuilts/tools/common/m2/repository/org/apache/maven/maven-repository-metadata/2.2.1/ |
maven-repository-metadata-2.2.1.jar | |
/cts/common/util/src/com/android/compatibility/common/util/ |
ResultHandler.java | 175 XmlPullParser parser = factory.newPullParser(); local 176 parser.setInput(new FileReader(resultFile)); 178 parser.nextTag(); 179 parser.require(XmlPullParser.START_TAG, NS, RESULT_TAG); 181 parser.getAttributeValue(NS, START_TIME_ATTR))); 182 invocation.setTestPlan(parser.getAttributeValue(NS, SUITE_PLAN_ATTR)); 183 invocation.setCommandLineArgs(parser.getAttributeValue(NS, COMMAND_LINE_ARGS)); 184 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR); 189 parser.nextTag(); 190 parser.require(XmlPullParser.START_TAG, NS, BUILD_TAG) [all...] |
/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-trace/catapult/telemetry/third_party/websocket-client/bin/ |
wsdump.py | 34 def __call__(self, parser, args, values, option_string=None): 45 parser = argparse.ArgumentParser(description="WebSocket Simple Dump Tool") 46 parser.add_argument("url", metavar="ws_url", 48 parser.add_argument("-p", "--proxy", 50 parser.add_argument("-v", "--verbose", default=0, nargs='?', action=VAction, 54 parser.add_argument("-n", "--nocert", action='store_true', 56 parser.add_argument("-r", "--raw", action="store_true", 58 parser.add_argument("-s", "--subprotocols", nargs='*', 60 parser.add_argument("-o", "--origin", 62 parser.add_argument("--eof-wait", default=0, type=int [all...] |
/external/vulkan-validation-layers/ |
lvl_genvk.py | 201 parser = argparse.ArgumentParser() variable 203 parser.add_argument('-extension', action='append', 206 parser.add_argument('-debug', action='store_true', 208 parser.add_argument('-dump', action='store_true', 210 parser.add_argument('-diagfile', action='store', 213 parser.add_argument('-errfile', action='store', 216 parser.add_argument('-noprotect', dest='protect', action='store_false', 218 parser.add_argument('-profile', action='store_true', 220 parser.add_argument('-registry', action='store', 223 parser.add_argument('-time', action='store_true' [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...] |
/system/sepolicy/tests/ |
treble_sepolicy_tests.py | 222 def take_action(self, action, dest, opt, value, values, parser): 226 Option.take_action(self, action, dest, opt, value, values, parser) 233 parser = OptionParser(option_class=MultipleOption, usage=usage) variable 234 parser.add_option("-f", "--file_contexts", dest="file_contexts", 236 parser.add_option("-p", "--policy", dest="policy", metavar="FILE") 237 parser.add_option("-l", "--library-path", dest="libpath", metavar="FILE") 238 parser.add_option("-t", "--test", dest="test", action="extend", 241 (options, args) = parser.parse_args() 244 sys.exit("Must specify path to host libraries\n" + parser.usage) 247 + parser.usage [all...] |
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/ |
Main.java | 68 ASTParser parser = ASTParser.newParser(AST.JLS8); local 69 parser.setKind(ASTParser.K_COMPILATION_UNIT); 78 new CompilationUnitHandler(inputFile, parser, source, new PrintWriter(reportWriter)); 136 private final ASTParser parser; field in class:Main.CompilationUnitHandler 147 public CompilationUnitHandler(File file, ASTParser parser, String source, 150 this.parser = parser; 155 compilationUnitBefore = parseDocument(file, parser, documentBefore); 188 compilationUnitAfter = applyRewrite(file + " after " + rule, parser, 210 file + " after document processor " + rule, parser, documentRequested) [all...] |
/external/ltp/ |
execltp.in | 230 parser = OptionParser(prog=os.path.basename(sys.argv[0]), 236 parser.add_option('-l', '--ltp-dir', dest='ltp_dir', 238 parser.add_option('-L', '--log-dir', dest='log_dir', 243 parser.add_option('-p', '--postprocess-only', dest='postprocess_only', 247 parser.add_option('-o', '--output-file', dest='output_file', 250 parser.add_option('-r', '--runltp-opts', dest='runltp_opts', 255 group = OptionGroup(parser, 'Logging', 270 parser.add_option('-s', '--summary-mode', dest='summary_mode', default=1, 274 parser.add_option('-v', '--verbose', dest='verbose', default=0, 278 parser.add_option_group(group [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/development/tools/bugreport/src/com/android/bugreport/ |
Main.java | 77 final BugreportParser parser = new BugreportParser(); local 78 bugreport = parser.parse(Lines.readLines(options.bugreport)); 85 // Also parse the monkey log if we have one. That parser will merge 89 final MonkeyLogParser parser = new MonkeyLogParser(); local 90 parser.parse(bugreport, Lines.readLines(options.monkey)); 98 // Also parse the logcat if we have one. That parser will merge 102 final LogcatParser parser = new LogcatParser(); local 103 bugreport.logcat = parser.parse(Lines.readLines(options.logcat));
|
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderElementIterator.java | 59 private final HeaderValueParser parser; field in class:BasicHeaderElementIterator 70 final HeaderValueParser parser) { 74 if (parser == null) { 75 throw new IllegalArgumentException("Parser may not be null"); 78 this.parser = parser; 120 HeaderElement e = this.parser.parseHeaderElement(this.buffer, this.cursor);
|