/external/chromium_org/third_party/skia/src/svg/ |
SkSVGMask.cpp | 31 void SkSVGMask::translate(SkSVGParser& parser, bool defState) { 32 INHERITED::translate(parser, defState);
|
SkSVGPolyline.cpp | 36 void SkSVGPolyline::translate(SkSVGParser& parser, bool defState) { 37 parser._startElement("polyline"); 38 INHERITED::translate(parser, defState); 41 parser._addAttribute("fillType", f_fillRule.equals("evenodd") ? "evenOdd" : "winding"); 42 parser._endElement();
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
TokenNamesIms.java | 31 package gov.nist.javax.sip.parser.ims; 40 extends gov.nist.javax.sip.parser.TokenNames
|
/external/skia/src/ports/ |
SkXMLParser_tinyxml.cpp | 15 static void walk_elem(SkXMLParser* parser, const TiXmlElement* elem) 19 parser->startElement(elem->Value()); 26 parser->addAttribute(attr->Name(), attr->Value()); 35 walk_elem(parser, node->ToElement()); 37 parser->text(node->Value(), strlen(node->Value())); 41 parser->endElement(elem->Value()); 44 static bool load_buf(SkXMLParser* parser, const char buf[]) 55 walk_elem(parser, doc.RootElement());
|
/external/skia/src/svg/ |
SkSVGCircle.cpp | 23 void SkSVGCircle::translate(SkSVGParser& parser, bool defState) { 24 parser._startElement("oval"); 25 INHERITED::translate(parser, defState); 37 parser._addAttribute("left", scratch); 39 parser._addAttribute("top", scratch); 41 parser._addAttribute("right", scratch); 43 parser._addAttribute("bottom", scratch); 44 parser._endElement();
|
SkSVGEllipse.cpp | 24 void SkSVGEllipse::translate(SkSVGParser& parser, bool defState) { 25 parser._startElement("oval"); 26 INHERITED::translate(parser, defState); 39 parser._addAttribute("left", scratch); 41 parser._addAttribute("top", scratch); 43 parser._addAttribute("right", scratch); 45 parser._addAttribute("bottom", scratch); 46 parser._endElement();
|
SkSVGFeColorMatrix.cpp | 22 void SkSVGFeColorMatrix::translate(SkSVGParser& parser, bool defState) { 23 INHERITED::translate(parser, defState);
|
SkSVGMask.cpp | 31 void SkSVGMask::translate(SkSVGParser& parser, bool defState) { 32 INHERITED::translate(parser, defState);
|
SkSVGPolyline.cpp | 36 void SkSVGPolyline::translate(SkSVGParser& parser, bool defState) { 37 parser._startElement("polyline"); 38 INHERITED::translate(parser, defState); 41 parser._addAttribute("fillType", f_fillRule.equals("evenodd") ? "evenOdd" : "winding"); 42 parser._endElement();
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
QueueUpdate.java | 94 public PacketExtension parseExtension(XmlPullParser parser) throws Exception {
99 parser.next();
100 String elementName = parser.getName();
101 if (parser.getEventType() == XmlPullParser.START_TAG && "position".equals(elementName)) {
103 position = Integer.parseInt(parser.nextText());
108 else if (parser.getEventType() == XmlPullParser.START_TAG && "time".equals(elementName)) {
110 timeRemaining = Integer.parseInt(parser.nextText());
115 else if (parser.getEventType() == XmlPullParser.END_TAG && "queue-status".equals(elementName)) {
|
TranscriptProvider.java | 42 public IQ parseIQ(XmlPullParser parser) throws Exception {
43 String sessionID = parser.getAttributeValue("", "sessionID");
48 int eventType = parser.next();
50 if (parser.getName().equals("message")) {
51 packets.add(PacketParserUtils.parseMessage(parser));
53 else if (parser.getName().equals("presence")) {
54 packets.add(PacketParserUtils.parsePresence(parser));
58 if (parser.getName().equals("transcript")) {
|
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/ |
SoundSettings.java | 76 public IQ parseIQ(XmlPullParser parser) throws Exception { 77 if (parser.getEventType() != XmlPullParser.START_TAG) { 78 throw new IllegalStateException("Parser not in proper position, or bad XML."); 87 int eventType = parser.next(); 88 if ((eventType == XmlPullParser.START_TAG) && ("outgoingSound".equals(parser.getName()))) { 89 soundSettings.setOutgoingSound(parser.nextText()); 91 else if ((eventType == XmlPullParser.START_TAG) && ("incomingSound".equals(parser.getName()))) { 92 soundSettings.setIncomingSound(parser.nextText()); 94 else if (eventType == XmlPullParser.END_TAG && "sound-settings".equals(parser.getName())) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1) 35 parser.feed( 40 parser.close() 41 self.assertEqual(parser.get_anchor_info(), 49 parser = DeclCollector(formatter.NullFormatter(), verbose=1) 50 parser.feed( 58 parser.close() 59 self.assertEqual(parser.get_decl_info(),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1) 35 parser.feed( 40 parser.close() 41 self.assertEqual(parser.get_anchor_info(), 49 parser = DeclCollector(formatter.NullFormatter(), verbose=1) 50 parser.feed( 58 parser.close() 59 self.assertEqual(parser.get_decl_info(),
|
/external/chromium_org/chromeos/system/ |
name_value_pairs_parser_unittest.cc | 15 NameValuePairsParser parser(&map); 17 EXPECT_TRUE(parser.GetSingleValueFromTool(arraysize(command), command, 25 NameValuePairsParser parser(&map); 27 EXPECT_TRUE(parser.ParseNameValuePairs(contents1, "=", " \n")); 35 EXPECT_TRUE(parser.ParseNameValuePairs(contents2, "=", ",\n")); 42 EXPECT_TRUE(parser.ParseNameValuePairs(contents3, "=", ",\n")); 49 EXPECT_FALSE(parser.ParseNameValuePairs(contents4, "=", ",\n")); 58 EXPECT_TRUE(parser.ParseNameValuePairs(contents5, "=", "\n")); 67 NameValuePairsParser parser(&map); 70 EXPECT_TRUE(parser.ParseNameValuePairsWithComments [all...] |
/external/chromium_org/media/tools/constrained_network_server/ |
cn.py | 51 parser = optparse.OptionParser() 53 indent_first = parser.formatter.indent_increment 54 opt_width = parser.formatter.help_position - indent_first 61 parser.usage = ('usage: %%prog {%s} [options]\n\n%s' % 64 parser.add_option('--port', type='int', 66 parser.add_option('--server-port', type='int', 68 parser.add_option('--bandwidth', type='int', 70 parser.add_option('--latency', type='int', 73 parser.add_option('--loss', type='int', 75 parser.add_option('--interface', type='string' [all...] |
/external/chromium_org/build/android/gyp/ |
create_native_libraries_header.py | 22 parser = optparse.OptionParser() 24 parser.add_option('--output', help='Path to generated .java file') 25 parser.add_option('--ordered-libraries', 27 parser.add_option('--stamp', help='Path to touch on success') 30 options, _ = parser.parse_args()
|
/external/chromium_org/chrome/tools/build/ |
appid.py | 36 parser = optparse.OptionParser() 37 parser.add_option('-a', '--appid', 39 parser.add_option('-o', '--output_file', 42 (opts, args) = parser.parse_args() 45 parser.print_help()
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
chrome_mock.py | 16 parser = optparse.OptionParser(usage='%prog [options] <URL to load>') 17 parser.add_option('--post', help='POST to URL.', dest='post', 19 parser.add_option('--get', help='GET to URL.', dest='get', 21 parser.add_option('--sleep', 24 parser.add_option('--expect-to-be-killed', help='If set, the script will warn' 27 options, args = parser.parse_args(args) 29 parser.error('Expected URL to load.')
|
/external/chromium_org/third_party/freetype/src/psaux/ |
afmparse.h | 5 /* AFM parser (specification). */ 31 afm_parser_init( AFM_Parser parser, 38 afm_parser_done( AFM_Parser parser ); variable 42 afm_parser_parse( AFM_Parser parser ); variable 73 afm_parser_read_vals( AFM_Parser parser, 79 afm_parser_next_key( AFM_Parser parser,
|
/external/clang/bindings/python/examples/cindex/ |
cindex-includes.py | 23 parser = OptionParser("usage: %prog [options] {filename} [clang-args*]") 24 parser.disable_interspersed_args() 25 (opts, args) = parser.parse_args() 27 parser.error('invalid number arguments') 35 parser.error("unable to load input")
|
/external/freetype/src/psaux/ |
afmparse.h | 5 /* AFM parser (specification). */ 31 afm_parser_init( AFM_Parser parser, 38 afm_parser_done( AFM_Parser parser ); variable 42 afm_parser_parse( AFM_Parser parser ); variable 73 afm_parser_read_vals( AFM_Parser parser, 79 afm_parser_next_key( AFM_Parser parser,
|
/external/chromium_org/chrome/tools/build/win/ |
make_policy_zip.py | 54 parser = optparse.OptionParser() 55 parser.add_option("--output", dest="output") 56 parser.add_option("--basedir", dest="basedir") 57 parser.add_option("--grit_info", dest="grit_info") 58 parser.add_option("--grd_input", dest="grd_input") 59 parser.add_option("--grd_strip_path_prefix", dest="grd_strip_path_prefix") 60 parser.add_option("--extra_input", action="append", dest="extra_input", 62 parser.add_option("-D", action="append", dest="grit_defines", default=[]) 63 parser.add_option("-E", action="append", dest="grit_build_env", default=[]) 64 options, args = parser.parse_args(argv[1:] [all...] |
/external/chromium_org/chrome_frame/ |
combine_libs.py | 72 parser = optparse.OptionParser(USAGE) 73 parser.add_option('-o', '--output', dest = 'output', 75 parser.add_option('-r', '--remove', dest = 'remove', 78 return parser 83 parser = GetOptionParser() 84 (opt, args) = parser.parse_args() 88 parser.error('You must specify an output file') 91 parser.error('You must specify at least one object or library') 100 parser.error('%s is not a valid regular expression' % opt.remove) 105 parser.error('this script only works on Windows for now' [all...] |
/external/chromium_org/content/renderer/ |
renderer_date_time_picker.cc | 33 DateTimeFormatter parser(chooser_params_); 35 message.dialog_type = parser.GetType(); 37 message.year = parser.GetWeekYear(); 38 message.week = parser.GetWeek(); 40 message.year = parser.GetYear(); 41 message.month = parser.GetMonth(); 42 message.day = parser.GetDay(); 43 message.hour = parser.GetHour(); 44 message.minute = parser.GetMinute(); 45 message.second = parser.GetSecond() [all...] |