HomeSort by relevance Sort by last modified time
    Searched full:atts (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /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...]
  /packages/apps/IM/src/com/android/im/imps/
WbxmlPrimitiveSerializer.java 51 String[] atts = null; local
54 atts = new String[attrMap.size() * 2];
57 atts[index++] = entry.getKey();
58 atts[index++] = entry.getValue();
62 mWbxmlSerializer.startElement(name, atts);
WbxmlParser.java 36 private AttributesImpl atts; field in class:WbxmlParser
39 atts = new AttributesImpl();
61 atts.names = null;
62 atts.values = null;
85 atts.names = attrNames;
86 atts.values = attrValues;
88 mContentHandler.startElement("", name, name, atts);
WbxmlSerializer.java 70 public void startElement(String name, String[] atts) throws IOException,
73 nativeStartElement(mNativeHandle, name, atts);
115 native void nativeStartElement(int nativeHandle, String name, String[] atts)
  /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/libdrm/mobile2/src/util/xml/
DomExpatAgent.cpp 60 void DomExpatAgent::pushTag(const DOMString *name, const XML_Char **atts)
69 if (NULL != atts)
71 while (NULL != *atts)
74 DOMString key(atts[0]), value(atts[1]);
76 atts += 2;
135 void DomExpatAgent::startElement(const XML_Char *name, const XML_Char **atts)
141 pushTag(&tagName, atts);
ExpatWrapper.cpp 47 const XML_Char **atts)
49 ((ExpatWrapper *)userData)->startElement(name, atts);
65 void ExpatWrapper::startElement(const XML_Char *name, const XML_Char **atts)
  /dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
AttributeListImpl.java 38 * public void startElement (String name, AttributeList atts)
42 * 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...]
  /frameworks/base/include/media/
MediaProfiles.h 263 static output_format createEncoderOutputFileFormat(const char **atts);
264 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
265 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
266 static AudioDecoderCap* createAudioDecoderCap(const char **atts);
267 static VideoDecoderCap* createVideoDecoderCap(const char **atts);
268 static VideoEncoderCap* createVideoEncoderCap(const char **atts);
269 static AudioEncoderCap* createAudioEncoderCap(const char **atts);
270 static CamcorderProfile* createCamcorderProfile(const char **atts);
271 static int getImageEncodingQualityLevel(const char **atts);
272 static int getImageDecodingMaxMemory(const char **atts);
    [all...]
  /packages/apps/IM/libwbxml/src/
xml2wbxml.cpp 83 void Xml2WbxmlEncoder::startElement(const char *name, const char **atts)
90 for (int i = 0; atts[i]; i += 2) {
92 if (strcmp(atts[i], "xmlns") == 0) {
93 if (detectPublicIdByXmlns(atts[i + 1]))
111 setError(mEncoder->startElement(name, atts));
expat_parser.cpp 39 void ExpatParser::startElementWrapper(void *userData, const char *name, const char **atts)
43 self->mHandler->startElement(name, atts);
imps_encoder.cpp 59 EncoderError ImpsWbxmlEncoder::startElement(const char *name, const char **atts)
83 if (atts && atts[0]) {
93 for (size_t i = 0; atts[i]; i += 2) {
94 EncoderError err = encodeAttrib(atts[i], atts[i + 1]);
  /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...]
  /frameworks/base/media/libdrm/mobile2/include/util/xml/
DomExpatAgent.h 59 const XML_Char **atts);
75 * @param atts The attributes of related tag.
77 void pushTag(const DOMString *name, const XML_Char **atts);
ExpatWrapper.h 49 virtual void startElement(const XML_Char *name, const XML_Char **atts);
65 static void startElementCallback(void *userData, const XML_Char *name, const XML_Char **atts);
  /dalvik/libcore/xml/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);
  /dalvik/libcore/xml/src/main/java/org/xml/sax/
AttributeList.java 39 * public void startElement (String name, AttributeList atts) {
40 * for (int i = 0; i < atts.getLength(); i++) {
41 * String name = atts.getName(i);
42 * String type = atts.getType(i);
43 * String value = atts.getValue(i);
56 * public void startElement (String name, AttributeList atts) {
57 * String identifier = atts.getValue("id");
58 * String label = atts.getValue("label");
  /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];
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
PYXWriter.java 177 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));
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);
  /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...]
  /dalvik/libcore/xml/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...]
  /dalvik/libcore/xml/src/test/java/org/apache/harmony/xml/
ExpatParserTest.java 372 Attributes atts) throws SAXException {
389 // Check atts.
390 assertEquals(1, atts.getLength());
392 assertSame("", atts.getURI(0));
393 assertSame("a", atts.getLocalName(0));
394 assertEquals("b", atts.getValue(0));
395 assertEquals(0, atts.getIndex("", "a"));
396 assertEquals("b", atts.getValue("", "a"));
414 // Check atts.
415 assertEquals(2, atts.getLength())
    [all...]
  /dalvik/libcore/xml/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));

Completed in 1823 milliseconds

1 2 3 4