/prebuilts/clang/host/linux-x86/clang-3016494/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/linux-x86/clang-3217047/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/linux-x86/clang-3289846/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/linux-x86/clang-3362437/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/linux-x86/clang-3688880/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/linux-x86/clang-3859424/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/ |
Element.java | 184 * Builds the child elements from the given Parser. By overwriting 188 public void parse(XmlPullParser parser) 191 for (int i = parser.getNamespaceCount(parser.getDepth() - 1); i < parser 192 .getNamespaceCount(parser.getDepth()); i++) { 193 setPrefix(parser.getNamespacePrefix(i), parser.getNamespaceUri(i)); 196 for (int i = 0; i < parser.getAttributeCount(); i++) 197 setAttribute(parser.getAttributeNamespace(i) [all...] |
/frameworks/base/core/java/android/content/pm/ |
IntentFilterVerificationInfo.java | 75 public IntentFilterVerificationInfo(XmlPullParser parser) 77 readFromXml(parser); 124 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { 125 String value = parser.getAttributeValue(null, attribute); 128 parser.getPositionDescription(); 136 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { 137 String value = parser.getAttributeValue(null, attribute); 140 parser.getPositionDescription(); 149 public void readFromXml(XmlPullParser parser) throws XmlPullParserException, 151 mPackageName = getStringFromXml(parser, ATTR_PACKAGE_NAME, null) [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
PersistentDataStore.java | 168 XmlPullParser parser; local 170 parser = Xml.newPullParser(); 171 parser.setInput(new BufferedInputStream(is), StandardCharsets.UTF_8.name()); 172 loadFromXml(parser); 241 private void loadFromXml(XmlPullParser parser) 243 XmlUtils.beginDocument(parser, TAG_TV_INPUT_MANAGER_STATE); 244 final int outerDepth = parser.getDepth(); 245 while (XmlUtils.nextElementWithin(parser, outerDepth)) { 246 if (parser.getName().equals(TAG_BLOCKED_RATINGS)) { 247 loadBlockedRatingsFromXml(parser); [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
EventResultPersister.java | 97 * Progress parser to the next element. 99 * @param parser The parser to progress 101 private static void nextElement(@NonNull XmlPullParser parser) 105 type = parser.next(); 112 * @param parser The parser to read from 117 private static int readIntAttribute(@NonNull XmlPullParser parser, @NonNull String name) { 118 return Integer.parseInt(parser.getAttributeValue(null, name)); 124 * @param parser The parser to read fro 143 XmlPullParser parser = Xml.newPullParser(); local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/ |
import.rb | 18 parser grammar DIDRSlave; 41 parser = DIDRMaster::Parser.new( tokens ) 42 parser.s 43 parser.output.should == 'S.a' 48 parser grammar Slave2; 72 parser = Master2::Parser.new( tokens ) 73 parser.s 74 parser.output.should == 'S.a1000 [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
PersistentDataStore.java | 243 XmlPullParser parser; local 245 parser = Xml.newPullParser(); 246 parser.setInput(new BufferedInputStream(is), StandardCharsets.UTF_8.name()); 247 loadFromXml(parser); 282 private void loadFromXml(XmlPullParser parser) 284 XmlUtils.beginDocument(parser, "display-manager-state"); 285 final int outerDepth = parser.getDepth(); 286 while (XmlUtils.nextElementWithin(parser, outerDepth)) { 287 if (parser.getName().equals("remembered-wifi-displays")) { 288 loadRememberedWifiDisplaysFromXml(parser); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
DocumentBuilderFactoryTest.java | 322 // Expected, since Android doesn't have a validating parser. 377 DocumentBuilder parser = null; local 380 parser = dbf.newDocumentBuilder(); 382 parser.setErrorHandler(errorHandler); 384 Document document = parser.parse(getClass().getResourceAsStream( 395 parser.setErrorHandler(null); 408 parser = dbf.newDocumentBuilder(); 410 parser.setErrorHandler(errorHandler); 412 Document document = parser.parse(getClass().getResourceAsStream( 425 parser.setErrorHandler(null) 440 DocumentBuilder parser = null; local 543 DocumentBuilder parser = dbf.newDocumentBuilder(); local 566 DocumentBuilder parser = dbf.newDocumentBuilder(); local 592 DocumentBuilder parser = dbf.newDocumentBuilder(); local 611 DocumentBuilder parser = dbf.newDocumentBuilder(); local 635 DocumentBuilder parser = dbf.newDocumentBuilder(); local 654 DocumentBuilder parser = dbf.newDocumentBuilder(); local [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
PhoneAccountRegistrar.java | 1139 XmlPullParser parser; local [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveCommandLine.cpp | 749 const CParser &parser,
771 if (parser[NKey::kUpdate].ThereIs)
772 ParseUpdateCommandString(options, parser[NKey::kUpdate].PostStrings,
774 if (parser[NKey::kWorkingDir].ThereIs)
776 const UString &postString = parser[NKey::kWorkingDir].PostStrings[0];
782 options.SfxMode = parser[NKey::kSfx].ThereIs;
784 options.SfxModule = us2fs(parser[NKey::kSfx].PostStrings[0]);
786 if (parser[NKey::kVolume].ThereIs)
788 const UStringVector &sv = parser[NKey::kVolume].PostStrings;
799 static void SetMethodOptions(const CParser &parser, CObjectVector<CProperty> &properties) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_parser.py | 1 import parser 11 # of the parser module. 20 st2 = parser.sequence2st(t) 21 except parser.ParserError, why: 28 self.roundtrip(parser.expr, s) 33 suite = parser.suite("from __future__ import unicode_literals; x = ''") 40 self.roundtrip(parser.suite, s) 264 st1 = parser.suite(code) 307 parser.sequence2st(tree) 308 except parser.ParserError [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_parser.py | 1 import parser 11 # of the parser module. 20 st2 = parser.sequence2st(t) 21 except parser.ParserError, why: 28 self.roundtrip(parser.expr, s) 33 suite = parser.suite("from __future__ import unicode_literals; x = ''") 40 self.roundtrip(parser.suite, s) 264 st1 = parser.suite(code) 307 parser.sequence2st(tree) 308 except parser.ParserError [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_parser.py | 1 import parser 11 # of the parser module. 20 st2 = parser.sequence2st(t) 21 except parser.ParserError, why: 28 self.roundtrip(parser.expr, s) 33 suite = parser.suite("from __future__ import unicode_literals; x = ''") 40 self.roundtrip(parser.suite, s) 264 st1 = parser.suite(code) 307 parser.sequence2st(tree) 308 except parser.ParserError [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_parser.py | 1 import parser 11 # of the parser module. 20 st2 = parser.sequence2st(t) 21 except parser.ParserError, why: 28 self.roundtrip(parser.expr, s) 33 suite = parser.suite("from __future__ import unicode_literals; x = ''") 40 self.roundtrip(parser.suite, s) 264 st1 = parser.suite(code) 307 parser.sequence2st(tree) 308 except parser.ParserError [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
ReportLog.java | 140 static Metric parse(XmlPullParser parser) 142 parser.require(XmlPullParser.START_TAG, null, METRIC_TAG); 143 String source = parser.getAttributeValue(null, SOURCE_ATTR); 144 String message = parser.getAttributeValue(null, MESSAGE_ATTR); 146 parser.getAttributeValue(null, SCORETYPE_ATTR)); 148 parser.getAttributeValue(null, SCOREUNIT_ATTR)); 150 while (parser.nextTag() == XmlPullParser.START_TAG) { 151 parser.require(XmlPullParser.START_TAG, null, VALUE_TAG); 152 valuesList.add(parser.nextText()); 153 parser.require(XmlPullParser.END_TAG, null, VALUE_TAG) 348 XmlPullParser parser = factory.newPullParser(); local [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 90 * Parses elements with the given parser. 93 * @param parser the parser to use, or <code>null</code> for default 99 HeaderValueParser parser) 107 if (parser == null) 108 parser = BasicHeaderValueParser.DEFAULT; 113 return parser.parseElements(buffer, cursor); 125 throw new IllegalArgumentException("Parser cursor may not be null"); 141 * Parses an element with the given parser. 144 * @param parser the parser to use, or <code>null</code> for defaul [all...] |
/external/autotest/site_utils/ |
abort_suite.py | 48 parser = argparse.ArgumentParser() 49 parser.add_argument('-s', '--suite_name', dest='name') 50 parser.add_argument('-i', '--build', dest='build') 51 return parser.parse_args()
|
/external/chromium-trace/catapult/telemetry/ |
cloud_storage | 70 def AddCommandLineArgs(cls, parser): 71 parser.add_argument('-r', '--recursive', action='store_true') 72 parser.add_argument('paths', nargs='+') 75 def ProcessCommandLineArgs(cls, parser, args): 78 parser.error('Path not found: %s' % path) 115 def AddCommandLineArgs(cls, parser): 116 parser.add_argument('files', nargs='+') 117 parser.add_argument('bucket', choices=cloud_storage.BUCKET_ALIASES) 120 def ProcessCommandLineArgs(cls, parser, args): 150 def AddCommandLineArgs(cls, parser) [all...] |
json_format | 44 parser = argparse.ArgumentParser( 46 parser.add_argument('file_path', type=str, help='The path to JSON file.') 47 parser.add_argument('--format', action='store_true', default=False, 49 options = parser.parse_args(args)
|
list_telemetry_unittests | 50 parser = argparse.ArgumentParser( 53 parser.add_argument( 55 parser.add_argument( 58 options = parser.parse_args(args)
|