Home
last modified time | relevance | path

Searched refs:atts (Results 1 – 25 of 77) sorted by relevance

1234

/external/libxml2/test/relaxng/
DtutorA.rng18 <ref name="common-atts"/>
22 <ref name="common-atts"/>
37 <ref name="common-atts"/>
41 <ref name="common-atts"/>
45 <ref name="common-atts"/>
49 <ref name="common-atts"/>
53 <ref name="common-atts"/>
57 <ref name="common-atts"/>
61 <ref name="common-atts"/>
65 <ref name="common-atts"/>
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DAttributesImpl.java81 public AttributesImpl (Attributes atts) in AttributesImpl() argument
83 setAttributes(atts); in AttributesImpl()
353 public void setAttributes (Attributes atts) in setAttributes() argument
356 length = atts.getLength(); in setAttributes()
360 data[i*5] = atts.getURI(i); in setAttributes()
361 data[i*5+1] = atts.getLocalName(i); in setAttributes()
362 data[i*5+2] = atts.getQName(i); in setAttributes()
363 data[i*5+3] = atts.getType(i); in setAttributes()
364 data[i*5+4] = atts.getValue(i); in setAttributes()
DXMLWriter.java574 String qName, Attributes atts) in startElement() argument
582 writeAttributes(atts); in startElement()
593 super.startElement(uri, localName, qName, atts); in startElement()
749 String qName, Attributes atts) in emptyElement() argument
755 writeAttributes(atts); in emptyElement()
761 super.startElement(uri, localName, qName, atts); in emptyElement()
930 String qName, Attributes atts, in dataElement() argument
934 startElement(uri, localName, qName, atts); in dataElement()
1157 private void writeAttributes (Attributes atts) in writeAttributes() argument
1160 int len = atts.getLength(); in writeAttributes()
[all …]
DElementType.java150 public AttributesImpl atts() {return theAtts;} in atts() method in ElementType
189 public void setAttribute(AttributesImpl atts, String name, String type, String value) { in setAttribute() argument
196 int i = atts.getIndex(name); in setAttribute()
201 atts.addAttribute(namespace, localName, name, type, value); in setAttribute()
204 if (type == null) type = atts.getType(i); in setAttribute()
206 atts.setAttribute(i, namespace, localName, name, type, value); in setAttribute()
DPYXWriter.java177 Attributes atts) throws SAXException { in startElement() argument
181 int length = atts.getLength(); in startElement()
183 qname = atts.getQName(i); in startElement()
184 if (qname.length() == 0) qname = atts.getLocalName(i); in startElement()
189 theWriter.println(atts.getValue(i)); in startElement()
DParser.java742 Attributes atts = theStack.atts(); in pop() local
743 for (int i = atts.getLength() - 1; i >= 0; i--) { in pop()
744 String attNamespace = atts.getURI(i); in pop()
745 String attPrefix = prefixOf(atts.getQName(i)); in pop()
785 Attributes atts = e.atts(); in push() local
786 int len = atts.getLength(); in push()
788 String attNamespace = atts.getURI(i); in push()
789 String attPrefix = prefixOf(atts.getQName(i)); in push()
795 theContentHandler.startElement(namespace, localName, name, e.atts()); in push()
DElement.java39 if (defaultAttributes) theAtts = new AttributesImpl(type.atts()); in Element()
58 public AttributesImpl atts() { return theAtts; } in atts() method in Element
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
DVersionTrackerTask.java104 Attributes atts) { in startElement() argument
106 String element = atts.getValue("id"); in startElement()
127 Attributes atts) { in startElement() argument
130 String element = atts.getValue("id"); in startElement()
131 String version = atts.getValue("version"); in startElement()
/external/eyes-free/AccessCheck/src/com/android/accessibility/
DAccessibilityValidationContentHandler.java115 Attributes atts) { in startElement() argument
136 for (int i = 0; i < atts.getLength(); i++) { in startElement()
137 String currentAttribute = atts.getLocalName(i).toLowerCase(); in startElement()
144 extendedOutput.append("|src=" + atts.getValue(i)); in startElement()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DTreeWalker.java333 NamedNodeMap atts = ((Element) node).getAttributes(); in startNode() local
334 int nAttrs = atts.getLength(); in startNode()
339 Node attr = atts.item(i); in startNode()
367 new AttList(atts, m_dh)); in startNode()
469 NamedNodeMap atts = ((Element) node).getAttributes();
470 int nAttrs = atts.getLength();
474 Node attr = atts.item(i);
DDOMBuilder.java319 String ns, String localName, String name, Attributes atts) in startElement() argument
336 int nAtts = atts.getLength(); in startElement()
345 if (atts.getType(i).equalsIgnoreCase("ID")) in startElement()
346 setIDAttribute(atts.getValue(i), elem); in startElement()
348 String attrNS = atts.getURI(i); in startElement()
356 String attrQName = atts.getQName(i); in startElement()
365 elem.setAttributeNS(attrNS,attrQName, atts.getValue(i)); in startElement()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DTreeWalker.java320 NamedNodeMap atts = elem_node.getAttributes(); in startNode() local
321 int nAttrs = atts.getLength(); in startNode()
329 final Node attr = atts.item(i); in startNode()
362 new AttList(atts, m_dh)); in startNode()
469 NamedNodeMap atts = elem_node.getAttributes(); in endNode() local
470 int nAttrs = atts.getLength(); in endNode()
476 final Node attr = atts.item(i); in endNode()
DAttributesImplSerializer.java192 public final void setAttributes(Attributes atts) in setAttributes() argument
195 super.setAttributes(atts); in setAttributes()
200 int numAtts = atts.getLength(); in setAttributes()
DToUnknownStream.java460 Attributes atts) throws SAXException in startElement() argument
473 m_handler.startElement(namespaceURI, localName, elementName, atts); in startElement()
504 if (atts != null) in startElement()
505 super.addAttributes(atts); in startElement()
510 if (atts != null) in startElement()
519 m_handler.startElement(namespaceURI, localName, elementName, atts); in startElement()
1174 public void addAttributes(Attributes atts) throws SAXException in addAttributes() argument
1176 m_handler.addAttributes(atts); in addAttributes()
DToXMLSAXHandler.java643 Attributes atts) in startElement() argument
647 super.startElement(namespaceURI, localName, name, atts); in startElement()
672 if (atts != null) in startElement()
673 addAttributes(atts); in startElement()
DSerializerBase.java481 public void addAttributes(Attributes atts) throws SAXException in addAttributes() argument
484 int nAtts = atts.getLength(); in addAttributes()
488 String uri = atts.getURI(i); in addAttributes()
495 atts.getLocalName(i), in addAttributes()
496 atts.getQName(i), in addAttributes()
497 atts.getType(i), in addAttributes()
498 atts.getValue(i), in addAttributes()
/external/expat/tests/
Druntests.c148 const XML_Char *name, const XML_Char **atts) in dummy_start_element() argument
214 const XML_Char **atts) in accumulate_attribute() argument
217 if (storage->count < 0 && atts != NULL && atts[0] != NULL) { in accumulate_attribute()
219 CharData_AppendXMLChars(storage, atts[1], -1); in accumulate_attribute()
684 const XML_Char **atts) in check_attr_contains_normalized_whitespace() argument
687 for (i = 0; atts[i] != NULL; i += 2) { in check_attr_contains_normalized_whitespace()
688 const XML_Char *attrname = atts[i]; in check_attr_contains_normalized_whitespace()
689 const XML_Char *value = atts[i + 1]; in check_attr_contains_normalized_whitespace()
1090 const XML_Char **atts) in triplet_start_checker() argument
1098 if (strcmp(elemstr[1], atts[0]) != 0) { in triplet_start_checker()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/
DTestVersionTracker.java75 Attributes atts) { in startElement() argument
77 String element = atts.getValue("id"); in startElement()
78 String version = atts.getValue("version"); in startElement()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
DElementParser.java92 String qName, Attributes atts) { in startElement() argument
94 add(atts.getValue("id"), plugins); in startElement()
96 add(atts.getValue("id")+"-feature", features); in startElement()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDocumentImpl.java475 java.lang.String qName, Attributes atts) in startElement() argument
495 int nAtts=(atts==null) ? 0 : atts.getLength(); in startElement()
499 qName=atts.getQName(i); in startElement()
517 m_nsNames.stringToIndex(atts.getValue(i)), in startElement()
518 atts.getType(i).equalsIgnoreCase("ID")); in startElement()
524 qName=atts.getQName(i); in startElement()
544 m_char.append(atts.getValue(i)); // Single-string value in startElement()
548 appendAttribute(m_nsNames.stringToIndex(atts.getURI(i)), in startElement()
551 atts.getType(i).equalsIgnoreCase("ID"), in startElement()
/external/libxml2/
DtestHTML.c369 startElementDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, const xmlChar **atts) in startElementDebug() argument
374 if (atts != NULL) { in startElementDebug()
375 for (i = 0;(atts[i] != NULL);i++) { in startElementDebug()
376 fprintf(stdout, ", %s", atts[i++]); in startElementDebug()
377 if (atts[i] != NULL) { in startElementDebug()
379 const unsigned char *att = atts[i]; in startElementDebug()
DtestSAX.c609 startElementDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, const xmlChar **atts) in startElementDebug() argument
617 if (atts != NULL) { in startElementDebug()
618 for (i = 0;(atts[i] != NULL);i++) { in startElementDebug()
619 fprintf(stdout, ", %s='", atts[i++]); in startElementDebug()
620 if (atts[i] != NULL) in startElementDebug()
621 fprintf(stdout, "%s'", atts[i]); in startElementDebug()
DSAX2.c1430 const xmlChar *prefix, const xmlChar **atts) { in xmlCheckDefaultedAttributes() argument
1480 if (atts != NULL) { in xmlCheckDefaultedAttributes()
1482 att = atts[i]; in xmlCheckDefaultedAttributes()
1487 att = atts[i]; in xmlCheckDefaultedAttributes()
1546 if (atts != NULL) { in xmlCheckDefaultedAttributes()
1548 att = atts[i]; in xmlCheckDefaultedAttributes()
1553 att = atts[i]; in xmlCheckDefaultedAttributes()
1585 xmlSAX2StartElement(void *ctx, const xmlChar *fullname, const xmlChar **atts) in xmlSAX2StartElement() argument
1689 xmlCheckDefaultedAttributes(ctxt, name, prefix, atts); in xmlSAX2StartElement()
1695 if (atts != NULL) { in xmlSAX2StartElement()
[all …]
/external/expat/lib/
Dxmltok.h148 ATTRIBUTE *atts);
240 #define XmlGetAttributes(enc, ptr, attsMax, atts) \ argument
241 (((enc)->getAtts)(enc, ptr, attsMax, atts))
Dxmltok_impl.c1432 int attsMax, ATTRIBUTE *atts) in PREFIX()
1444 atts[nAtts].name = ptr; \ in PREFIX()
1445 atts[nAtts].normalized = 1; \ in PREFIX()
1462 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1469 atts[nAtts].valueEnd = ptr; in PREFIX()
1476 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1483 atts[nAtts].valueEnd = ptr; in PREFIX()
1489 atts[nAtts].normalized = 0; in PREFIX()
1496 && atts[nAtts].normalized in PREFIX()
1497 && (ptr == atts[nAtts].valuePtr in PREFIX()
[all …]

1234