Home
last modified time | relevance | path

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

123

/external/chromium/third_party/libjingle/source/talk/xmllite/
Dxmlbuilder.cc56 const char * name, const char ** atts) { in BuildElement() argument
63 if (!*atts) in BuildElement()
68 while (*atts) { in BuildElement()
69 QName attName(pctx->ResolveQName(*atts, true)); in BuildElement()
84 pelNew->AddAttr(attName, std::string(*(atts + 1))); in BuildElement()
85 atts += 2; in BuildElement()
93 const char * name, const char ** atts) { in StartElement() argument
94 XmlElement * pelNew = BuildElement(pctx, name, atts); in StartElement()
Dxmlparser.cc48 StartElementCallback(void * userData, const char *name, const char **atts) { in StartElementCallback() argument
49 (static_cast<XmlParser *>(userData))->ExpatStartElement(name, atts); in StartElementCallback()
100 XmlParser::ExpatStartElement(const char *name, const char **atts) { in ExpatStartElement() argument
105 for (att = atts; *att; att += 2) { in ExpatStartElement()
123 pxph_->StartElement(&context_, name, atts); in ExpatStartElement()
Dxmlbuilder.h53 const char * name, const char ** atts);
55 const char * name, const char ** atts);
/external/expat/xmlwf/
Dxmlwf.c121 startElement(void *userData, const XML_Char *name, const XML_Char **atts) in startElement() argument
129 p = atts; in startElement()
132 nAtts = (int)((p - atts) >> 1); in startElement()
134 qsort((void *)atts, nAtts, sizeof(XML_Char *) * 2, attcmp); in startElement()
135 while (*atts) { in startElement()
137 fputts(*atts++, fp); in startElement()
138 attributeValue(fp, *atts); in startElement()
139 atts++; in startElement()
167 startElementNS(void *userData, const XML_Char *name, const XML_Char **atts) in startElementNS() argument
189 p = atts; in startElementNS()
[all …]
/external/webkit/Source/WebCore/dom/
Dxml_expat_tokenizer.cpp75 void appendStartElementNSCallback(const XML_Char* name, const XML_Char** atts) { in appendStartElementNSCallback() argument
80 while (atts[callback->count]) in appendStartElementNSCallback()
82 callback->atts = (XML_Char**)malloc(sizeof(XML_Char*) * (callback->count+1)); in appendStartElementNSCallback()
84 callback->atts[i] = strdup(atts[i]); in appendStartElementNSCallback()
85 callback->atts[callback->count] = NULL; in appendStartElementNSCallback()
166 free(atts[i]); in ~PendingStartElementNSCallback()
167 free(atts); in ~PendingStartElementNSCallback()
171 tokenizer->startElementNs(name, (const XML_Char**)(atts)); in call()
176 XML_Char** atts; member
405 static inline void handleElementAttributes(Element *newElement, const XML_Char **atts, ExceptionCod… in handleElementAttributes() argument
[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.java741 Attributes atts = theStack.atts(); in pop() local
742 for (int i = atts.getLength() - 1; i >= 0; i--) { in pop()
743 String attNamespace = atts.getURI(i); in pop()
744 String attPrefix = prefixOf(atts.getQName(i)); in pop()
784 Attributes atts = e.atts(); in push() local
785 int len = atts.getLength(); in push()
787 String attNamespace = atts.getURI(i); in push()
788 String attPrefix = prefixOf(atts.getQName(i)); in push()
794 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/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DAttributesTest.java150 Attributes atts = new Attributes(); in test_putAllLjava_util_Map() local
151 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); in test_putAllLjava_util_Map()
152 assertNull("Assert 1: ", atts.put(Attributes.Name.MANIFEST_VERSION, "1")); in test_putAllLjava_util_Map()
154 atts2.putAll(atts); in test_putAllLjava_util_Map()
158 atts.putAll(Collections.EMPTY_MAP); in test_putAllLjava_util_Map()
251 Attributes atts = new Attributes(); in test_putLjava_lang_ObjectLjava_lang_Object() local
252 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); in test_putLjava_lang_ObjectLjava_lang_Object()
253 assertEquals("Assert 1: ", "tools.jar", atts.getValue(Attributes.Name.CLASS_PATH)); in test_putLjava_lang_ObjectLjava_lang_Object()
256 atts.put("not a name", "value"); in test_putLjava_lang_ObjectLjava_lang_Object()
262 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE); in test_putLjava_lang_ObjectLjava_lang_Object()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_parser.cc290 void ParseURL(const xmlChar** atts, ParsingContext* context) { in ParseURL() argument
291 if (!atts) in ParseURL()
295 const xmlChar** attributes = atts; in ParseURL()
336 void ParseImage(const xmlChar** atts, ParsingContext* context) { in ParseImage() argument
337 if (!atts) in ParseImage()
340 const xmlChar** attributes = atts; in ParseImage()
362 void ParseParam(const xmlChar** atts, ParsingContext* context) { in ParseParam() argument
363 if (!atts) in ParseParam()
366 const xmlChar** attributes = atts; in ParseParam()
453 void StartElementImpl(void *ctx, const xmlChar *name, const xmlChar **atts) { in StartElementImpl() argument
[all …]
/external/chromium/third_party/libjingle/source/talk/xmpp/
Dxmppstanzaparser.cc57 XmlParseContext * pctx, const char * name, const char ** atts) { in IncomingStartElement() argument
59 XmlElement * pelStream = XmlBuilder::BuildElement(pctx, name, atts); in IncomingStartElement()
69 builder_.StartElement(pctx, name, atts); in IncomingStartElement()
Dxmppstanzaparser.h60 const char * name, const char ** atts) in StartElement() argument
61 { outer_->IncomingStartElement(pctx, name, atts); } in StartElement()
78 const char * name, const char ** atts);
/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/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()
/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/expat/tests/
Druntests.c147 const XML_Char *name, const XML_Char **atts) in dummy_start_element() argument
213 const XML_Char **atts) in accumulate_attribute() argument
216 if (storage->count < 0 && atts != NULL && atts[0] != NULL) { in accumulate_attribute()
218 CharData_AppendXMLChars(storage, atts[1], -1); in accumulate_attribute()
683 const XML_Char **atts) in check_attr_contains_normalized_whitespace() argument
686 for (i = 0; atts[i] != NULL; i += 2) { in check_attr_contains_normalized_whitespace()
687 const XML_Char *attrname = atts[i]; in check_attr_contains_normalized_whitespace()
688 const XML_Char *value = atts[i + 1]; in check_attr_contains_normalized_whitespace()
1089 const XML_Char **atts) in triplet_start_checker() argument
1097 if (strcmp(elemstr[1], atts[0]) != 0) { in triplet_start_checker()
[all …]
/external/dbus/bus/
Dconfig-loader-expat.c64 const XML_Char **atts) in expat_StartElementHandler() argument
81 for (i = 0; atts[i] != NULL; ++i) in expat_StartElementHandler()
98 while (atts[i] != NULL) in expat_StartElementHandler()
101 names [i / 2] = (char*) atts[i]; in expat_StartElementHandler()
102 values[i / 2] = (char*) atts[i+1]; in expat_StartElementHandler()
/external/skia/src/ports/
DFontHostConfiguration_android.cpp79 void startElementHandler(void *data, const char *tag, const char **atts) { in startElementHandler() argument
87 for (int i = 0; atts[i] != NULL; i += 2) { in startElementHandler()
88 const char* attribute = atts[i]; in startElementHandler()
89 const char* valueString = atts[i+1]; in startElementHandler()
/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()

123