/frameworks/base/core/java/android/content/ |
DefaultDataHandler.java | 99 private void parseRow(Attributes atts) throws SAXException { 100 String uriStr = atts.getValue(URI_STR); 107 atts.getValue(URI_STR) + " parsing failure"); 112 String postfix = atts.getValue(POSTFIX); 134 Attributes atts) throws SAXException { 149 parseRow(atts); 152 int attrLen = atts.getLength(); 157 parseRow(atts); 161 int attrLen = atts.getLength(); 165 String key = atts.getValue(0) [all...] |
/frameworks/base/media/libmedia/ |
MediaProfiles.cpp | 136 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) 138 CHECK(!strcmp("codec", atts[0]) && 139 !strcmp("bitRate", atts[2]) && 140 !strcmp("width", atts[4]) && 141 !strcmp("height", atts[6]) && 142 !strcmp("frameRate", atts[8])); 145 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); 150 atoi(atts[3]), atoi(atts[5]), atoi(atts[7]), atoi(atts[9])) [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
AttributeListImpl.java | 37 * public void startElement (String name, AttributeList atts) 41 * myatts = new AttributeListImpl(atts); 91 * @param atts The attribute list to copy 94 public AttributeListImpl (AttributeList atts) 96 setAttributeList(atts); 113 * @param atts The attribute list to copy. 115 public void setAttributeList (AttributeList atts) 117 int count = atts.getLength(); 122 addAttribute(atts.getName(i), atts.getType(i), atts.getValue(i)) [all...] |
AttributesImpl.java | 72 * @param atts The existing Attributes object. 74 public AttributesImpl (Attributes atts) 76 setAttributes(atts); 346 * @param atts The attributes to copy. 348 public void setAttributes (Attributes atts) 351 length = atts.getLength(); 355 data[i*5] = atts.getURI(i); 356 data[i*5+1] = atts.getLocalName(i); 357 data[i*5+2] = atts.getQName(i); 358 data[i*5+3] = atts.getType(i) [all...] |
ParserAdapter.java | 142 atts = new AttributesImpl(); 537 atts.clear(); 564 atts.addAttribute (nsSupport.XMLNS, prefix, 567 atts.addAttribute ("", "", 577 atts.addAttribute(attName[0], attName[1], attName[2], 583 atts.addAttribute("", attQName, attQName, type, value); 597 contentHandler.startElement(name[0], name[1], name[2], atts); 828 private AttributesImpl atts = null; 986 int max = atts.getLength(); 824 private AttributesImpl atts = null; field in class:ParserAdapter
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
Attributes2Impl.java | 67 * @param atts The existing Attributes object. 69 public Attributes2Impl (Attributes atts) 71 super (atts); 194 * @param atts The attributes to copy. 198 public void setAttributes (Attributes atts) 200 int length = atts.getLength (); 202 super.setAttributes (atts); 206 if (atts instanceof Attributes2) { 207 Attributes2 a2 = (Attributes2) atts; 214 declared [i] = !"CDATA".equals (atts.getType (i)) [all...] |
/libcore/luni/src/main/java/org/xml/sax/ |
DocumentHandler.java | 125 * @param atts The attributes attached to the element, if any. 131 public abstract void startElement (String name, AttributeList atts)
|
ContentHandler.java | 247 * @param atts the attributes attached to the element. If 258 String qName, Attributes atts)
|
/frameworks/base/include/media/ |
MediaProfiles.h | 266 static output_format createEncoderOutputFileFormat(const char **atts); 267 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles); 268 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles); 269 static AudioDecoderCap* createAudioDecoderCap(const char **atts); 270 static VideoDecoderCap* createVideoDecoderCap(const char **atts); 271 static VideoEncoderCap* createVideoEncoderCap(const char **atts); 272 static AudioEncoderCap* createAudioEncoderCap(const char **atts); 273 static CamcorderProfile* createCamcorderProfile(int cameraId, const char **atts); 274 static int getCameraId(const char **atts); 277 void addImageEncodingQualityLevel(int cameraId, const char** atts); [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ElementType.java | 150 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) { 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);
|
AttributesImpl.java | 80 * @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.getType(i) [all...] |
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
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
SerializerTrace.java | 121 * @param atts The SAX attribute list. 123 public void fireGenerateEvent(int eventType, String name, Attributes atts);
|
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);
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
AttributesTest.java | 166 Attributes atts = new Attributes(); local 167 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, 169 assertNull("Assert 1: ", atts 172 atts2.putAll(atts); 178 atts.putAll(Collections.EMPTY_MAP); 269 Attributes atts = new Attributes(); local 270 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, 272 assertEquals("Assert 1: ", "tools.jar", atts 276 atts.put("not a name", "value"); 282 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE) [all...] |
/external/expat/xmlwf/ |
xmlwf.c | 121 startElement(void *userData, const XML_Char *name, const XML_Char **atts) 129 p = atts; 132 nAtts = (int)((p - atts) >> 1); 134 qsort((void *)atts, nAtts, sizeof(XML_Char *) * 2, attcmp); 135 while (*atts) { 137 fputts(*atts++, fp); 138 attributeValue(fp, *atts); 139 atts++; 167 startElementNS(void *userData, const XML_Char *name, const XML_Char **atts) 189 p = atts; [all...] |
/external/expat/examples/ |
elements.c | 26 startElement(void *userData, const char *name, const char **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);
|
/external/webkit/WebCore/dom/ |
xml_expat_tokenizer.cpp | 75 void appendStartElementNSCallback(const XML_Char* name, const XML_Char** atts) { 80 while (atts[callback->count]) 82 callback->atts = (XML_Char**)malloc(sizeof(XML_Char*) * (callback->count+1)); 84 callback->atts[i] = strdup(atts[i]); 85 callback->atts[callback->count] = NULL; 166 free(atts[i]); 167 free(atts); 171 tokenizer->startElementNs(name, (const XML_Char**)(atts)); 176 XML_Char** atts; member in struct:WebCore::PendingCallbacks::PendingStartElementNSCallback [all...] |
/libcore/luni/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);
|
/libcore/luni/src/test/java/tests/xml/ |
SimpleParserTest.java | 136 Attributes atts) { 148 for (int i = 0; i < atts.getLength(); i++) { 149 attributes1.put(atts.getLocalName(i), atts.getValue(i)); 162 for (int i = 0; i < atts.getLength(); i++) { 163 attributes2.put(atts.getQName(i), atts.getValue(i));
|
/external/dbus/bus/ |
config-loader-expat.c | 68 const XML_Char **atts) 84 /* "atts" is key, value, key, value, NULL */ 85 for (i = 0; atts[i] != NULL; ++i) 102 while (atts[i] != NULL) 105 names [i / 2] = (char*) atts[i]; 106 values[i / 2] = (char*) atts[i+1];
|