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

12345

/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
/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.c58 startElement(void *userData, const XML_Char *name, const XML_Char **atts) argument
62 (void)atts;
/external/expat/xmlwf/
H A Dxmlwf.c167 startElement(void *userData, const XML_Char *name, const XML_Char **atts) argument
175 p = atts;
178 nAtts = (int)((p - atts) >> 1);
180 qsort((void *)atts, nAtts, sizeof(XML_Char *) * 2, attcmp);
181 while (*atts) {
183 fputts(*atts++, fp);
184 attributeValue(fp, *atts);
185 atts++;
213 startElementNS(void *userData, const XML_Char *name, const XML_Char **atts) argument
235 p = atts;
578 metaStartElement(void *userData, const XML_Char *name, const XML_Char **atts) argument
[all...]
/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/wayland/src/
H A Dscanner.c613 start_element(void *data, const char *element_name, const char **atts) argument
634 for (i = 0; atts[i]; i += 2) {
635 if (strcmp(atts[i], "name") == 0)
636 name = atts[i + 1];
637 if (strcmp(atts[i], "version") == 0) {
638 version = strtouint(atts[i + 1]);
640 fail(&ctx->loc, "wrong version (%s)", atts[i + 1]);
642 if (strcmp(atts[i], "type") == 0)
643 type = atts[i + 1];
644 if (strcmp(atts[
[all...]
/external/annotation-tools/asmx/src/org/objectweb/asm/xml/
H A DProcessor.java619 Attributes atts) throws SAXException
626 if (atts != null && atts.getLength() > 0)
627 writeAttributes(atts);
708 private final void writeAttributes(Attributes atts) throws IOException { argument
710 int len = atts.getLength();
713 .append(atts.getLocalName(i))
715 .append(esc(atts.getValue(i)))
615 startElement( String ns, String localName, String qName, Attributes atts) argument

Completed in 630 milliseconds

12345