Searched refs:atts (Results 1 - 25 of 91) sorted by relevance

1234

/external/webrtc/webrtc/libjingle/xmllite/
H A Dxmlbuilder.cc36 const char * name, const char ** atts) {
43 if (!*atts)
48 while (*atts) {
49 QName attName(pctx->ResolveQName(*atts, true));
64 pelNew->AddAttr(attName, std::string(*(atts + 1)));
65 atts += 2;
73 const char * name, const char ** atts) {
74 XmlElement * pelNew = BuildElement(pctx, name, atts);
35 BuildElement(XmlParseContext * pctx, const char * name, const char ** atts) argument
72 StartElement(XmlParseContext * pctx, const char * name, const char ** atts) argument
H A Dxmlbuilder.h36 const char * name, const char ** atts);
38 const char * name, const char ** atts);
H A Dxmlparser.h45 const char * name, const char ** atts) = 0;
64 void ExpatStartElement(const char * name, const char ** atts);
H A Dxmlparser.cc26 StartElementCallback(void * userData, const char *name, const char **atts) { argument
27 (static_cast<XmlParser *>(userData))->ExpatStartElement(name, atts);
78 XmlParser::ExpatStartElement(const char *name, const char **atts) { argument
83 for (att = atts; *att; att += 2) {
101 pxph_->StartElement(&context_, name, atts);
H A Dxmlparser_unittest.cc27 const char * name, const char ** atts) {
29 while (*atts) {
30 ss_ << ", " << pctx->ResolveQName(*atts, true).Merged()
31 << "='" << *(atts+1) << "'";
32 atts += 2;
26 StartElement(XmlParseContext * pctx, const char * name, const char ** atts) argument
/external/webrtc/webrtc/libjingle/xmpp/
H A Dxmppstanzaparser.cc41 XmlParseContext * pctx, const char * name, const char ** atts) {
43 XmlElement * pelStream = XmlBuilder::BuildElement(pctx, name, atts);
53 builder_.StartElement(pctx, name, atts);
40 IncomingStartElement( XmlParseContext * pctx, const char * name, const char ** atts) argument
H A Dxmppstanzaparser.h43 const char * name, const char ** atts)
44 { outer_->IncomingStartElement(pctx, name, atts); }
61 const char * name, const char ** atts);
42 StartElement(XmlParseContext * pctx, const char * name, const char ** atts) argument
/external/mesa3d/src/intel/tools/
H A Ddecoder.c174 create_group(struct parser_context *ctx, const char *name, const char **atts) argument
189 create_enum(struct parser_context *ctx, const char *name, const char **atts) argument
204 const char **atts, uint32_t *offset, uint32_t *count)
209 for (i = 0; atts[i]; i += 2) {
210 if (strcmp(atts[i], "count") == 0)
211 *count = strtoul(atts[i + 1], &p, 0);
212 else if (strcmp(atts[i], "start") == 0)
213 *offset = strtoul(atts[i + 1], &p, 0);
219 get_register_offset(const char **atts, uint32_t *offset) argument
224 for (i = 0; atts[
203 get_group_offset_count(struct parser_context *ctx, const char *name, const char **atts, uint32_t *offset, uint32_t *count) argument
310 create_field(struct parser_context *ctx, const char **atts) argument
340 create_value(struct parser_context *ctx, const char **atts) argument
355 start_element(void *data, const char *element_name, const char **atts) argument
[all...]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DElementType.java150 public AttributesImpl atts() {return theAtts;} method in class:ElementType
183 @param atts The AttributesImpl object
189 public void setAttribute(AttributesImpl atts, String name, String type, String value) { argument
196 int i = atts.getIndex(name);
201 atts.addAttribute(namespace, localName, name, type, value);
204 if (type == null) type = atts.getType(i);
206 atts.setAttribute(i, namespace, localName, name, type, value);
H A DAttributesImpl.java80 * @param atts The existing Attributes object.
82 public AttributesImpl (Attributes atts)
84 setAttributes(atts);
354 * @param atts The attributes to copy.
356 public void setAttributes (Attributes atts)
359 length = atts.getLength();
363 data[i*5] = atts.getURI(i);
364 data[i*5+1] = atts.getLocalName(i);
365 data[i*5+2] = atts.getQName(i);
366 data[i*5+3] = atts
81 AttributesImpl(Attributes atts) argument
353 setAttributes(Attributes atts) argument
[all...]
H A DXMLWriter.java570 * @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,
573 startElement(String uri, String localName, String qName, Attributes atts) argument
748 emptyElement(String uri, String localName, String qName, Attributes atts) argument
929 dataElement(String uri, String localName, String qName, Attributes atts, String content) argument
1157 writeAttributes(Attributes atts) argument
[all...]
H A DElement.java39 if (defaultAttributes) theAtts = new AttributesImpl(type.atts());
58 public AttributesImpl atts() { return theAtts; } method in class:Element
H A DPYXWriter.java177 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));
176 startElement(String uri, String localname, String qname, Attributes atts) argument
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DSerializerTrace.java121 * @param atts The SAX attribute list.
123 public void fireGenerateEvent(int eventType, String name, Attributes atts); argument
H A DAttributesImplSerializer.java188 * @param atts the attributes to copy into these attributes.
192 public final void setAttributes(Attributes atts) argument
195 super.setAttributes(atts);
200 int numAtts = atts.getLength();
H A DTreeWalker.java320 NamedNodeMap atts = elem_node.getAttributes();
321 int nAttrs = atts.getLength();
329 final Node attr = atts.item(i);
362 new AttList(atts, m_dh));
469 NamedNodeMap atts = elem_node.getAttributes();
470 int nAttrs = atts.getLength();
476 final Node attr = atts.item(i);
H A DToUnknownStream.java460 Attributes atts) throws SAXException
473 m_handler.startElement(namespaceURI, localName, elementName, atts);
504 if (atts != null)
505 super.addAttributes(atts);
510 if (atts != null)
519 m_handler.startElement(namespaceURI, localName, elementName, atts);
1174 public void addAttributes(Attributes atts) throws SAXException argument
1176 m_handler.addAttributes(atts);
456 startElement( String namespaceURI, String localName, String elementName, Attributes atts) argument
H A DExtendedContentHandler.java33 * startElement(namespaceURI,localName,qName,atts)
38 * addAttributes(atts)
69 * @param atts the attributes to add.
72 public void addAttributes(org.xml.sax.Attributes atts) argument
116 * startElement(uri,localName,qname,atts)
H A DToXMLSAXHandler.java643 Attributes atts)
647 super.startElement(namespaceURI, localName, name, atts);
672 if (atts != null)
673 addAttributes(atts);
639 startElement( String namespaceURI, String localName, String name, Attributes atts) argument
/external/eyes-free/AccessCheck/src/com/android/accessibility/
H A DAccessibilityValidationContentHandler.java115 Attributes atts) {
136 for (int i = 0; i < atts.getLength(); i++) {
137 String currentAttribute = atts.getLocalName(i).toLowerCase();
144 extendedOutput.append("|src=" + atts.getValue(i));
114 startElement(String uri, String localName, String qName, Attributes atts) argument
/external/expat/examples/
H A Delements.c26 startElement(void *userData, const char *name, const char **atts) argument
30 (void)atts;
/external/libxml2/
H A DtestHTML.c369 startElementDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, const xmlChar **atts) argument
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/
H A DDOMBuilder.java314 * @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
318 startElement( String ns, String localName, String name, Attributes atts) argument
[all...]
H A DTreeWalker.java333 NamedNodeMap atts = ((Element) node).getAttributes();
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/expat/tests/
H A Druntests.c174 const XML_Char *UNUSED_P(name), const XML_Char **UNUSED_P(atts))
240 const XML_Char **atts)
243 if (storage->count < 0 && atts != NULL && atts[0] != NULL) {
245 CharData_AppendXMLChars(storage, atts[1], -1);
772 const XML_Char **atts)
775 for (i = 0; atts[i] != NULL; i += 2) {
776 const XML_Char *attrname = atts[i];
777 const XML_Char *value = atts[i + 1];
1273 const XML_Char **atts)
239 accumulate_attribute(void *userData, const XML_Char *UNUSED_P(name), const XML_Char **atts) argument
770 check_attr_contains_normalized_whitespace(void *UNUSED_P(userData), const XML_Char *UNUSED_P(name), const XML_Char **atts) argument
1272 triplet_start_checker(void *userData, const XML_Char *name, const XML_Char **atts) argument
1320 overwrite_start_checker(void *userData, const XML_Char *name, const XML_Char **atts) argument
[all...]

Completed in 519 milliseconds

1234