/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 164 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) 166 CHECK(!strcmp("codec", atts[0]) && 167 !strcmp("bitRate", atts[2]) && 168 !strcmp("width", atts[4]) && 169 !strcmp("height", atts[6]) && 170 !strcmp("frameRate", atts[8])); 173 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); 178 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/third_party/libjingle/source/talk/xmllite/ |
xmlbuilder.cc | 56 const char * name, const char ** atts) { 63 if (!*atts) 68 while (*atts) { 69 QName attName(pctx->ResolveQName(*atts, true)); 84 pelNew->AddAttr(attName, std::string(*(atts + 1))); 85 atts += 2; 93 const char * name, const char ** atts) { 94 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/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);
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url_parser.cc | 135 const xmlChar** atts); 151 void ParseURL(const xmlChar** atts); 152 void ParseImage(const xmlChar** atts); 153 void ParseParam(const xmlChar** atts); 210 const xmlChar** atts) { 225 context->ParseURL(atts); 228 context->ParseImage(atts); 231 context->ParseParam(atts); 334 void TemplateURLParsingContext::ParseURL(const xmlChar** atts) { 335 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...] |
/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/third_party/libjingle/source/talk/xmpp/ |
xmppstanzaparser.cc | 57 XmlParseContext * pctx, const char * name, const char ** atts) { 59 XmlElement * pelStream = XmlBuilder::BuildElement(pctx, name, atts); 69 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/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/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);
|
/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);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/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); 251 Attributes atts = new Attributes(); local 252 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); 253 assertEquals("Assert 1: ", "tools.jar", atts.getValue(Attributes.Name.CLASS_PATH)); 256 atts.put("not a name", "value"); 262 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE) [all...] |
/frameworks/av/include/media/ |
MediaProfiles.h | 400 static output_format createEncoderOutputFileFormat(const char **atts); 401 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles); 402 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles); 403 static AudioDecoderCap* createAudioDecoderCap(const char **atts); 404 static VideoDecoderCap* createVideoDecoderCap(const char **atts); 405 static VideoEncoderCap* createVideoEncoderCap(const char **atts); 406 static AudioEncoderCap* createAudioEncoderCap(const char **atts); 408 const char **atts, MediaProfiles *profiles); 409 static ExportVideoProfile* createExportVideoProfile(const char **atts); 412 int cameraId, const char **atts, Vector<int>& cameraIds) [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_parser.cc | 290 void ParseURL(const xmlChar** atts, ParsingContext* context) { 291 if (!atts) 295 const xmlChar** attributes = atts; 336 void ParseImage(const xmlChar** atts, ParsingContext* context) { 337 if (!atts) 340 const xmlChar** attributes = atts; 362 void ParseParam(const xmlChar** atts, ParsingContext* context) { 363 if (!atts) 366 const xmlChar** attributes = atts; 453 void StartElementImpl(void *ctx, const xmlChar *name, const xmlChar **atts) { [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/luni/src/test/java/tests/api/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);
|