/prebuilts/clang/host/linux-x86/clang-2812033/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/clang/host/linux-x86/clang-3016494/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/clang/host/linux-x86/clang-3217047/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/clang/host/linux-x86/clang-3289846/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/clang/host/linux-x86/clang-3362437/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/clang/host/linux-x86/clang-3688880/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/clang/host/linux-x86/clang-3859424/tools/scan-build/bin/ |
set-xcode-analyzer | 64 parser = OptionParser('usage: %prog [options]') 65 parser.set_description(__doc__) 66 parser.add_option("--use-checker-build", dest="path", 68 parser.add_option("--use-xcode-clang", action="store_const", 71 (options, args) = parser.parse_args() 73 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
|
/prebuilts/go/darwin-x86/test/syntax/ |
semi4.go | 7 // TODO(mdempsky): Update error expectations for new parser. 8 // The new parser emits an extra "missing { after for clause" error. 9 // The old parser is supposed to emit this too, but it panics first
|
/prebuilts/go/linux-x86/test/syntax/ |
semi4.go | 7 // TODO(mdempsky): Update error expectations for new parser. 8 // The new parser emits an extra "missing { after for clause" error. 9 // The old parser is supposed to emit this too, but it panics first
|
/prebuilts/tools/common/m2/repository/org/apache/maven/maven-plugin-parameter-documenter/2.0.9/ |
maven-plugin-parameter-documenter-2.0.9.jar | |
/system/sepolicy/tools/ |
post_process_mac_perms | 92 parser = argparse.ArgumentParser(description=__doc__) 94 parser.add_argument('-s', '--seinfo', dest='seinfo', required=True, 96 parser.add_argument('-d', '--dir', dest='dir', required=True, 98 parser.add_argument('-f', '--file', dest='policy', required=True, 101 parser.set_defaults(func=add_leftover_certs) 102 args = parser.parse_args()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
EmmaXmlReporterParserTest.java | 78 EmmaXmlReportParser parser = new EmmaXmlReportParser(); local 79 parser.parseXmlFile(mXMLTestFile); 80 Map<String, String> expected = parser.getSummaryMetrics(); 92 EmmaXmlReportParser parser = new EmmaXmlReportParser(); local 93 parser.parseXmlFile(mXMLTestFile); 94 Map<String, String[]> expected = parser.getDataMetrics();
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobStore.java | 494 XmlPullParser parser = Xml.newPullParser(); local 495 parser.setInput(fis, StandardCharsets.UTF_8.name()); 497 int eventType = parser.getEventType(); 500 eventType = parser.next(); 501 Slog.d(TAG, "Start tag: " + parser.getName()); 510 String tagName = parser.getName(); 515 int version = Integer.parseInt(parser.getAttributeValue(null, "version")); 524 eventType = parser.next(); 528 tagName = parser.getName(); 531 JobStatus persistedJob = restoreJobFromXml(parser); [all...] |
/cts/tests/signature/src/android/signature/cts/ |
IntentTest.java | 153 XmlPullParser parser = factory.newPullParser(); local 154 parser.setInput(new FileInputStream(new File(CURRENT_API_FILE)), null); 155 intents.addAll(parse(parser)); 157 parser = factory.newPullParser(); 158 parser.setInput(new FileInputStream(new File(SYSTEM_CURRENT_API_FILE)), null); 159 intents.addAll(parse(parser)); 166 private static Set<String> parse(XmlPullParser parser) 179 while ((type=parser.next()) != XmlPullParser.START_TAG 186 if (!parser.getName().equals(TAG_ROOT)) { 188 "Unexpected start tag: found " + parser.getName() + ", expected " + TAG_ROOT) [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...] |
/frameworks/base/services/core/java/com/android/server/webkit/ |
SystemImpl.java | 81 XmlResourceParser parser = null; local 84 parser = AppGlobals.getInitialApplication().getResources().getXml( 86 XmlUtils.beginDocument(parser, TAG_START); 88 XmlUtils.nextElement(parser); 89 String element = parser.getName(); 94 String packageName = parser.getAttributeValue(null, TAG_PACKAGE_NAME); 99 String description = parser.getAttributeValue(null, TAG_DESCRIPTION); 105 parser.getAttributeValue(null, TAG_AVAILABILITY)); 107 parser.getAttributeValue(null, TAG_FALLBACK)); 110 readSignatures(parser)); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapFolderElement.java | 308 XmlPullParser parser = Xml.newPullParser(); local 310 parser.setInput(xmlDocument, "UTF-8"); 313 while((type=parser.next()) != XmlPullParser.END_TAG 316 if (parser.getEventType() != XmlPullParser.START_TAG) { 320 String name = parser.getName(); 323 XmlUtils.skipCurrentTag(parser); 325 readFolders(parser); 334 * @param parser the Xml Parser currently pointing to an folder-listing tag. 338 public void readFolders(XmlPullParser parser) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
main.py | 95 # Set up option parser
96 parser = optparse.OptionParser(usage="2to3 [options] file|dir ...")
97 parser.add_option("-d", "--doctests_only", action="store_true",
99 parser.add_option("-f", "--fix", action="append", default=[],
101 parser.add_option("-j", "--processes", action="store", default=1,
103 parser.add_option("-x", "--nofix", action="append", default=[],
105 parser.add_option("-l", "--list-fixes", action="store_true",
107 parser.add_option("-p", "--print-function", action="store_true",
109 parser.add_option("-v", "--verbose", action="store_true",
111 parser.add_option("--no-diffs", action="store_true", [all...] |
/external/flatbuffers/src/ |
idl_gen_grpc.cpp | 148 FlatBufFile(const Parser &parser, const std::string &file_name) 149 : parser_(parser), file_name_(file_name) {} 191 const Parser &parser_; 197 GoGRPCGenerator(const Parser &parser, const std::string &path, 199 : BaseGenerator(parser, path, file_name, "", "" /*Unused*/), 200 parser_(parser), path_(path), file_name_(file_name) {} 219 const Parser &parser_; 223 bool GenerateGoGRPC(const Parser &parser [all...] |
/external/selinux/prebuilts/bin/ |
sesearch.py | 26 parser = argparse.ArgumentParser( variable 29 parser.add_argument("--version", action="version", version=setools.__version__) 30 parser.add_argument("policy", help="Path to the SELinux policy to search.", nargs="?") 31 parser.add_argument("-v", "--verbose", action="store_true", 33 parser.add_argument("--debug", action="store_true", dest="debug", help="Enable debugging.") 35 rtypes = parser.add_argument_group("TE Rule Types") 70 rbacrtypes = parser.add_argument_group("RBAC Rule Types") 78 mlsrtypes = parser.add_argument_group("MLS Rule Types") 83 expr = parser.add_argument_group("Expressions") 99 opts = parser.add_argument_group("Search options" [all...] |