/libcore/luni/src/test/java/libcore/xml/ |
SimpleParserTest.java | 106 public void startElement(String uri, String localName, String qName, Attributes atts) { 118 for (int i = 0; i < atts.getLength(); i++) { 119 attributes1.put(atts.getLocalName(i), atts.getValue(i)); 132 for (int i = 0; i < atts.getLength(); i++) { 133 attributes2.put(atts.getQName(i), atts.getValue(i));
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
AttributesImplSerializer.java | 188 * @param atts the attributes to copy into these attributes. 192 public final void setAttributes(Attributes atts) 195 super.setAttributes(atts); 200 int numAtts = atts.getLength();
|
TreeWalker.java | 320 NamedNodeMap atts = elem_node.getAttributes(); local 321 int nAttrs = atts.getLength(); 329 final Node attr = atts.item(i); 362 new AttList(atts, m_dh)); 469 NamedNodeMap atts = elem_node.getAttributes(); local 470 int nAttrs = atts.getLength(); 476 final Node attr = atts.item(i);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/ |
TestVersionTracker.java | 75 Attributes atts) { 77 String element = atts.getValue("id"); 78 String version = atts.getValue("version");
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
ElementParser.java | 92 String qName, Attributes atts) { 94 add(atts.getValue("id"), plugins); 96 add(atts.getValue("id")+"-feature", features);
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
XMLWriter.java | 570 * @param atts The element's attribute list (must not be null). 577 String qName, Attributes atts) 585 writeAttributes(atts); 596 super.startElement(uri, localName, qName, atts); 745 * @param atts The element's attribute list. 753 String qName, Attributes atts) 759 writeAttributes(atts); 765 super.startElement(uri, localName, qName, atts); 925 * @param atts The element's attributes. 935 String qName, Attributes atts, [all...] |
Element.java | 39 if (defaultAttributes) theAtts = new AttributesImpl(type.atts()); 58 public AttributesImpl atts() { return theAtts; } method in class:Element
|
PYXWriter.java | 177 Attributes atts) throws SAXException { 181 int length = atts.getLength(); 183 qname = atts.getQName(i); 184 if (qname.length() == 0) qname = atts.getLocalName(i); 186 // theWriter.print(atts.getType(i)); // DEBUG 189 theWriter.println(atts.getValue(i));
|
/external/expat/examples/ |
elements.c | 26 startElement(void *userData, const char *name, const char **atts)
|
/libcore/luni/src/main/java/org/xml/sax/ |
ContentHandler.java | 247 * @param atts the attributes attached to the element. If 258 String qName, Attributes atts)
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
MockHandler.java | 97 public void startElement(String name, AttributeList atts) throws SAXException { 98 logger.add("startElement", name, atts); 101 public void startElement(String uri, String localName, String name, Attributes atts) 103 logger.add("startElement", uri, localName, name, atts);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 131 ArrayList<Attachment> atts = new ArrayList<Attachment>(); local 133 atts.add(att1); 135 atts.add(att2); 136 msg1.mAttachments = atts; 140 atts.clear(); 142 atts.add(att3); 144 atts.add(att4); 145 msg2.mAttachments = atts;
|
/external/chromium_org/third_party/libxml/src/ |
testHTML.c | 369 startElementDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, const xmlChar **atts) 374 if (atts != NULL) { 375 for (i = 0;(atts[i] != NULL);i++) { 376 fprintf(stdout, ", %s", atts[i++]); 377 if (atts[i] != NULL) { 379 const unsigned char *att = atts[i];
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DOMBuilder.java | 314 * @param atts The attributes attached to the element, if any. 319 String ns, String localName, String name, Attributes atts) 336 int nAtts = atts.getLength(); 343 //System.out.println("type " + atts.getType(i) + " name " + atts.getLocalName(i) ); 345 if (atts.getType(i).equalsIgnoreCase("ID")) 346 setIDAttribute(atts.getValue(i), elem); 348 String attrNS = atts.getURI(i); 353 // System.out.println("attrNS: "+attrNS+", localName: "+atts.getQName(i) 354 // +", qname: "+atts.getQName(i)+", value: "+atts.getValue(i)) [all...] |
TreeWalker.java | 333 NamedNodeMap atts = ((Element) node).getAttributes(); local 334 int nAttrs = atts.getLength(); 339 Node attr = atts.item(i); 367 new AttList(atts, m_dh)); 469 NamedNodeMap atts = ((Element) node).getAttributes(); 470 int nAttrs = atts.getLength(); 474 Node attr = atts.item(i);
|
/external/chromium/chrome/browser/search_engines/ |
template_url_parser.cc | 290 void ParseURL(const xmlChar** atts, ParsingContext* context) { 291 if (!atts) 295 const xmlChar** attributes = atts; 336 void ParseImage(const xmlChar** atts, ParsingContext* context) { 337 if (!atts) 340 const xmlChar** attributes = atts; 362 void ParseParam(const xmlChar** atts, ParsingContext* context) { 363 if (!atts) 366 const xmlChar** attributes = atts; 453 void StartElementImpl(void *ctx, const xmlChar *name, const xmlChar **atts) { [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
ParserAdapter.java | 140 atts = new AttributesImpl(); 533 atts.clear(); 560 atts.addAttribute (nsSupport.XMLNS, prefix, 563 atts.addAttribute ("", "", 573 atts.addAttribute(attName[0], attName[1], attName[2], 580 atts.addAttribute("", attQName, attQName, type, value); 594 contentHandler.startElement(name[0], name[1], name[2], atts); 825 private AttributesImpl atts = null; 983 int max = atts.getLength(); 821 private AttributesImpl atts = null; field in class:ParserAdapter
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
xmlparser.cc | 48 StartElementCallback(void * userData, const char *name, const char **atts) { 49 (static_cast<XmlParser *>(userData))->ExpatStartElement(name, atts); 100 XmlParser::ExpatStartElement(const char *name, const char **atts) { 105 for (att = atts; *att; att += 2) { 123 pxph_->StartElement(&context_, name, atts);
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlparser.cc | 43 StartElementCallback(void * userData, const char *name, const char **atts) { 44 (static_cast<XmlParser *>(userData))->ExpatStartElement(name, atts); 95 XmlParser::ExpatStartElement(const char *name, const char **atts) { 100 for (att = atts; *att; att += 2) { 118 pxph_->StartElement(&context_, name, atts);
|
xmlparser_unittest.cc | 44 const char * name, const char ** atts) { 46 while (*atts) { 47 ss_ << ", " << pctx->ResolveQName(*atts, true).Merged() 48 << "='" << *(atts+1) << "'"; 49 atts += 2;
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
ParserAdapterTest.java | 262 AttributeListImpl atts = new AttributeListImpl(); local 263 atts.addAttribute("john:doe", "int", "42"); 267 adapter.startElement("foo:bar", atts); 280 AttributeListImpl atts = new AttributeListImpl(); local 281 atts.addAttribute("john:doe", "int", "42"); 285 adapter.startElement("foo:bar", atts);
|
/external/expat/tests/ |
runtests.c | 148 const XML_Char *name, const XML_Char **atts) 214 const XML_Char **atts) 217 if (storage->count < 0 && atts != NULL && atts[0] != NULL) { 219 CharData_AppendXMLChars(storage, atts[1], -1); 684 const XML_Char **atts) 687 for (i = 0; atts[i] != NULL; i += 2) { 688 const XML_Char *attrname = atts[i]; 689 const XML_Char *value = atts[i + 1]; [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontConfigParser_android.cpp | 111 static void startElementHandler(void *data, const char *tag, const char **atts) { 119 for (int i = 0; atts[i] != NULL; i += 2) { 120 const char* valueString = atts[i+1]; 136 fontFileElementHandler(familyData, atts);
|
/external/skia/src/ports/ |
SkFontConfigParser_android.cpp | 111 static void startElementHandler(void *data, const char *tag, const char **atts) { 119 for (int i = 0; atts[i] != NULL; i += 2) { 120 const char* valueString = atts[i+1]; 136 fontFileElementHandler(familyData, atts);
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserFactoryTest.java | 379 Attributes atts) { 384 for (int i = 0; i < atts.getLength(); i++) { 385 attr.put(atts.getQName(i), atts.getValue(i));
|