/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 179 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) 181 CHECK(!strcmp("codec", atts[0]) && 182 !strcmp("bitRate", atts[2]) && 183 !strcmp("width", atts[4]) && 184 !strcmp("height", atts[6]) && 185 !strcmp("frameRate", atts[8])); 188 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); 193 atoi(atts[3]), atoi(atts[5]), atoi(atts[7]), atoi(atts[9])) [all...] |
/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...] |
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlbuilder.cc | 53 const char * name, const char ** atts) { 60 if (!*atts) 65 while (*atts) { 66 QName attName(pctx->ResolveQName(*atts, true)); 81 pelNew->AddAttr(attName, std::string(*(atts + 1))); 82 atts += 2; 90 const char * name, const char ** atts) { 91 XmlElement * pelNew = BuildElement(pctx, name, atts);
|
xmlbuilder.h | 53 const char * name, const char ** atts); 55 const char * name, const char ** atts);
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url_parser.cc | 134 const xmlChar** atts); 150 void ParseURL(const xmlChar** atts); 151 void ParseImage(const xmlChar** atts); 152 void ParseParam(const xmlChar** atts); 209 const xmlChar** atts) { 224 context->ParseURL(atts); 227 context->ParseImage(atts); 230 context->ParseParam(atts); 332 void TemplateURLParsingContext::ParseURL(const xmlChar** atts) { 333 if (!atts) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 229 Attributes atts) throws SAXException { 246 // Check atts. 247 assertEquals(1, atts.getLength()); 249 assertSame("", atts.getURI(0)); 250 assertSame("a", atts.getLocalName(0)); 251 assertEquals("b", atts.getValue(0)); 252 assertEquals(0, atts.getIndex("", "a")); 253 assertEquals("b", atts.getValue("", "a")); 271 // Check atts. 272 assertEquals(2, atts.getLength()) [all...] |
SimpleParserTest.java | 106 public void startElement(String uri, String localName, String qName, Attributes atts) { 118 for (int i = 0; i < atts.getLength(); i++) { 119 attributes1.put(atts.getLocalName(i), atts.getValue(i)); 132 for (int i = 0; i < atts.getLength(); i++) { 133 attributes2.put(atts.getQName(i), atts.getValue(i));
|
/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...] |
/libcore/luni/src/main/java/org/xml/sax/ext/ |
Attributes2Impl.java | 65 * @param atts The existing Attributes object. 67 public Attributes2Impl (Attributes atts) 69 super (atts); 192 * @param atts The attributes to copy. 196 public void setAttributes (Attributes atts) 198 int length = atts.getLength (); 200 super.setAttributes (atts); 204 if (atts instanceof Attributes2) { 205 Attributes2 a2 = (Attributes2) atts; 212 declared [i] = !"CDATA".equals (atts.getType (i)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
xmppstanzaparser.cc | 58 XmlParseContext * pctx, const char * name, const char ** atts) { 60 XmlElement * pelStream = XmlBuilder::BuildElement(pctx, name, atts); 70 builder_.StartElement(pctx, name, atts);
|
xmppstanzaparser.h | 60 const char * name, const char ** atts) 61 { outer_->IncomingStartElement(pctx, name, atts); } 78 const char * name, const char ** atts);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/ |
TestVersionTracker.java | 75 Attributes atts) { 77 String element = atts.getValue("id"); 78 String version = atts.getValue("version");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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);
|
/libcore/luni/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");
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 131 ArrayList<Attachment> atts = new ArrayList<Attachment>(); local 133 atts.add(att1); 135 atts.add(att2); 136 msg1.mAttachments = atts; 140 atts.clear(); 142 atts.add(att3); 144 atts.add(att4); 145 msg2.mAttachments = atts;
|
/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);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
AttributesTest.java | 150 Attributes atts = new Attributes(); local 151 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); 152 assertNull("Assert 1: ", atts.put(Attributes.Name.MANIFEST_VERSION, "1")); 154 atts2.putAll(atts); 158 atts.putAll(Collections.EMPTY_MAP); 227 Attributes atts = new Attributes(); local 228 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); 229 assertEquals("Assert 1: ", "tools.jar", atts.getValue(Attributes.Name.CLASS_PATH)); 232 atts.put("not a name", "value"); 238 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE) [all...] |
/frameworks/av/include/media/ |
MediaProfiles.h | 411 static output_format createEncoderOutputFileFormat(const char **atts); 412 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles); 413 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles); 414 static AudioDecoderCap* createAudioDecoderCap(const char **atts); 415 static VideoDecoderCap* createVideoDecoderCap(const char **atts); 416 static VideoEncoderCap* createVideoEncoderCap(const char **atts); 417 static AudioEncoderCap* createAudioEncoderCap(const char **atts); 419 const char **atts, MediaProfiles *profiles); 420 static ExportVideoProfile* createExportVideoProfile(const char **atts); 423 int cameraId, const char **atts, Vector<int>& cameraIds) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
VersionTrackerTask.java | 104 Attributes atts) { 106 String element = atts.getValue("id"); 127 Attributes atts) { 130 String element = atts.getValue("id"); 131 String version = atts.getValue("version");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
ParserAdapterTest.java | 262 AttributeListImpl atts = new AttributeListImpl(); local 263 atts.addAttribute("john:doe", "int", "42"); 267 adapter.startElement("foo:bar", atts); 280 AttributeListImpl atts = new AttributeListImpl(); local 281 atts.addAttribute("john:doe", "int", "42"); 285 adapter.startElement("foo:bar", atts);
|
/external/expat/examples/ |
elements.c | 26 startElement(void *userData, const char *name, const char **atts)
|
/external/eyes-free/AccessCheck/src/com/android/accessibility/ |
AccessibilityValidationContentHandler.java | 115 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));
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
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);
|