/external/chromium_org/chrome/test/chromedriver/ |
embed_user_data_dir_in_cpp.py | 16 parser = optparse.OptionParser() 17 parser.add_option( 20 options, args = parser.parse_args()
|
embed_version_in_cpp.py | 20 parser = optparse.OptionParser() 21 parser.add_option('', '--version-file') 22 parser.add_option( 25 options, args = parser.parse_args()
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketExtensionParser.h | 54 ParserStateBackup(WebSocketExtensionParser* parser) 55 : m_parser(parser) 56 , m_current(parser->m_current)
|
WebSocketExtensionParserTest.cpp | 48 WebSocketExtensionParser parser(input.data(), input.data() + input.length()); 50 ASSERT_TRUE(parser.parseExtension(extension, parameters)); 60 WebSocketExtensionParser parser(input.data(), input.data() + input.length()); 62 ASSERT_TRUE(parser.parseExtension(extension, parameters)); 76 WebSocketExtensionParser parser(input.data(), input.data() + input.length()); 78 ASSERT_TRUE(parser.parseExtension(extension, parameters)); 90 WebSocketExtensionParser parser(input.data(), input.data() + input.length()); 92 ASSERT_FALSE(parser.parseExtension(extension, parameters)); 100 WebSocketExtensionParser parser(input.data(), input.data() + input.length()); 102 ASSERT_FALSE(parser.parseExtension(extension, parameters)) [all...] |
/external/chromium_org/tools/generate_shim_headers/ |
generate_shim_headers.py | 28 parser = optparse.OptionParser() 29 parser.add_option('--headers-root', action='append') 30 parser.add_option('--define', action='append') 31 parser.add_option('--output-directory') 32 parser.add_option('--prefix', default='') 33 parser.add_option('--use-include-next', action='store_true') 34 parser.add_option('--outputs', action='store_true') 35 parser.add_option('--generate', action='store_true') 37 options, args = parser.parse_args(argv) 40 parser.error('Missing --headers-root parameter.' [all...] |
/external/chromium_org/v8/tools/generate_shim_headers/ |
generate_shim_headers.py | 45 parser = optparse.OptionParser() 46 parser.add_option('--headers-root', action='append') 47 parser.add_option('--define', action='append') 48 parser.add_option('--output-directory') 49 parser.add_option('--prefix', default='') 50 parser.add_option('--use-include-next', action='store_true') 51 parser.add_option('--outputs', action='store_true') 52 parser.add_option('--generate', action='store_true') 54 options, args = parser.parse_args(argv) 57 parser.error('Missing --headers-root parameter.' [all...] |
/external/clang/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/external/smack/src/org/jivesoftware/smackx/provider/ |
StreamInitiationProvider.java | 41 public IQ parseIQ(final XmlPullParser parser) throws Exception { 45 String id = parser.getAttributeValue("", "id"); 46 String mimeType = parser.getAttributeValue("", "mime-type"); 66 eventType = parser.next(); 67 elementName = parser.getName(); 68 namespace = parser.getNamespace(); 71 name = parser.getAttributeValue("", "name"); 72 size = parser.getAttributeValue("", "size"); 73 hash = parser.getAttributeValue("", "hash"); 74 date = parser.getAttributeValue("", "date") [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/ |
OfflineSettings.java | 115 public IQ parseIQ(XmlPullParser parser) throws Exception {
116 if (parser.getEventType() != XmlPullParser.START_TAG) {
117 throw new IllegalStateException("Parser not in proper position, or bad XML.");
129 int eventType = parser.next();
130 if ((eventType == XmlPullParser.START_TAG) && ("redirectPage".equals(parser.getName()))) {
131 redirectPage = parser.nextText();
133 else if ((eventType == XmlPullParser.START_TAG) && ("subject".equals(parser.getName()))) {
134 subject = parser.nextText();
136 else if ((eventType == XmlPullParser.START_TAG) && ("offlineText".equals(parser.getName()))) {
137 offlineText = parser.nextText(); [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
SELinuxMMAC.java | 113 XmlPullParser parser = Xml.newPullParser(); local 114 parser.setInput(policyFile); 116 XmlUtils.beginDocument(parser, "policy"); 118 XmlUtils.nextElement(parser); 119 if (parser.getEventType() == XmlPullParser.END_DOCUMENT) { 123 String tagName = parser.getName(); 125 String cert = parser.getAttributeValue(null, "signature"); 128 + parser.getPositionDescription()); 129 XmlUtils.skipCurrentTag(parser); 137 + parser.getPositionDescription(), e) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPathUtilities.cpp | 118 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 119 bool ok = parser->parsePathDataFromSource(NormalizedParsing); 120 parser->cleanup(); 134 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 135 bool ok = parser->parsePathDataFromSource(parsingMode); 136 parser->cleanup(); 152 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 153 bool ok = parser->parsePathDataFromSource(parsingMode, false); 154 parser->cleanup(); 171 SVGPathParser* parser = globalSVGPathParser(source.get(), builder) local 186 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 201 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 217 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 234 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 291 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 308 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local 325 SVGPathParser* parser = globalSVGPathParser(source.get(), builder); local [all...] |
/frameworks/base/core/java/android/transition/ |
TransitionInflater.java | 66 XmlResourceParser parser = mContext.getResources().getXml(resource); local 68 return createTransitionFromXml(parser, Xml.asAttributeSet(parser), null); 75 parser.getPositionDescription() 80 parser.close(); 95 XmlResourceParser parser = mContext.getResources().getXml(resource); local 97 return createTransitionManagerFromXml(parser, Xml.asAttributeSet(parser), sceneRoot); 104 parser.getPositionDescription() 109 parser.close() [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardBuilder.java | 166 final XmlResourceParser parser = mResources.getXml(xmlId); local 168 parseKeyboard(parser); 176 parser.close(); 214 private void parseKeyboard(final XmlPullParser parser) 217 while (parser.getEventType() != XmlPullParser.END_DOCUMENT) { 218 final int event = parser.next(); 220 final String tag = parser.getName(); 222 parseKeyboardAttributes(parser); 224 parseKeyboardContent(parser, false); 227 throw new XmlParseUtils.IllegalStartTag(parser, tag, TAG_KEYBOARD) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
expr.pl | 23 my $parser = ExprParser->new({ input => $tokens }); 24 $parser->prog();
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
mexpr.pl | 18 my $parser = MExprParser->new($tokens); 19 $parser->prog();
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
tweak.pl | 14 my $parser = TParser->new({ input => $tokens }); 15 $parser->program();
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t015calc.py | 14 parser = self.getParser(tStream) 15 result = parser.evaluate() 17 assert len(parser.reportedErrors) == len(errors), parser.reportedErrors
|
t032subrulePredict.py | 27 parser = self.getParser(tStream) 28 events = parser.a() 39 parser = self.getParser(tStream) 40 events = parser.b()
|
/external/chromium/build/ |
apply_locales.py | 13 parser = optparse.OptionParser() 15 parser.set_usage(usage.replace('%s', '%prog')) 16 parser.add_option('-d', dest='dash_to_underscore', action="store_true", 20 (options, arglist) = parser.parse_args(argv)
|
/external/chromium_org/build/ |
apply_locales.py | 13 parser = optparse.OptionParser() 15 parser.set_usage(usage.replace('%s', '%prog')) 16 parser.add_option('-d', dest='dash_to_underscore', action="store_true", 20 (options, arglist) = parser.parse_args(argv)
|
get_landmines.py | 52 parser = optparse.OptionParser() 53 parser.add_option('-t', '--target', 56 options, args = parser.parse_args() 59 parser.error('Unknown arguments %s' % args)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
print_layout_test_types.py | 39 parser = optparse.OptionParser() 40 parser.add_option('--test-list', action='append') 41 parser.add_option('--type', action='append', 44 options, args = parser.parse_args(argv)
|
/external/chromium_org/third_party/skia/include/svg/ |
SkSVGBase.h | 20 virtual void addAttribute(SkSVGParser& parser, int attrIndex,
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVGFilter.cpp | 23 void SkSVGFilter::translate(SkSVGParser& parser, bool defState) { 24 // INHERITED::translate(parser, defState);
|
/external/chromium_org/tools/cr/cr/commands/ |
info.py | 18 parser = super(InfoCommand, self).AddArguments(subparsers) 19 parser.add_argument( 24 self.ConsumeArgs(parser, 'the environment') 25 return parser
|