Home
last modified time | relevance | path

Searched refs:getEncoding (Results 1 – 25 of 37) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DInputStreamReaderTest.java186 assertEquals(cs, Charset.forName(reader.getEncoding())); in test_close()
243 assertEquals(Charset.forName(reader2.getEncoding()), Charset in test_ConstructorLjava_io_InputStreamLjava_lang_String()
247 assertEquals(Charset.forName(reader2.getEncoding()), Charset in test_ConstructorLjava_io_InputStreamLjava_lang_String()
272 assertEquals(Charset.forName(reader2.getEncoding()), cs); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_Charset()
296 assertEquals(Charset.forName(reader2.getEncoding()), decoder.charset()); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_CharsetDecoder()
306 "ISO8859_1", isr.getEncoding()); in test_getEncoding()
310 "ISO8859_1", isr.getEncoding()); in test_getEncoding()
315 assertNull(isr.getEncoding()); in test_getEncoding()
322 assertEquals("UnicodeBigUnmarked", isr.getEncoding()); in test_getEncoding()
DOutputStreamWriterTest.java344 .getEncoding())); in testOutputStreamWriterOutputStreamString()
366 assertEquals(cs, Charset.forName(writer2.getEncoding())); in testOutputStreamWriterOutputStreamCharset()
390 assertEquals(cs, Charset.forName(writer2.getEncoding())); in testOutputStreamWriterOutputStreamCharsetEncoder()
396 assertEquals(cs, Charset.forName(writer.getEncoding())); in testGetEncoding()
640 .getEncoding()); in test_getEncoding()
647 String result = out.getEncoding(); in test_getEncoding()
657 result = out.getEncoding(); in test_getEncoding()
/external/apache-http/src/org/apache/commons/codec/net/
DRFC1522Codec.java75 buffer.append(getEncoding()); in encodeText()
120 if (!getEncoding().equalsIgnoreCase(encoding)) { in decodeText()
136 protected abstract String getEncoding(); in getEncoding() method in RFC1522Codec
DBCodec.java72 protected String getEncoding() { in getEncoding() method in BCodec
DQCodec.java128 protected String getEncoding() { in getEncoding() method in QCodec
DURLCodec.java351 public String getEncoding() { in getEncoding() method in URLCodec
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DStreamHandlerTest.java106 assertNull(h.getEncoding()); in testConstructor_NoParameter_NoProperties()
132 assertEquals("iso-8859-1", h.getEncoding()); in testConstructor_NoParameter_ValidProperties()
157 assertNull(h.getEncoding()); in testConstructor_NoParameter_InvalidProperties()
160 assertNull(h.getEncoding()); in testConstructor_NoParameter_InvalidProperties()
182 assertNull(h.getEncoding()); in testConstructor_HasParameters_NoProperties()
210 assertEquals("iso-8859-1", h.getEncoding()); in testConstructor_HasParameters_ValidProperties()
236 assertNull(h.getEncoding()); in testConstructor_HasParameters_InvalidProperties()
619 assertEquals("iso-8859-1", h.getEncoding()); in testSetEncoding_Normal()
638 assertEquals("iso-8859-1", h.getEncoding()); in testSetEncoding_AfterPublish()
647 assertEquals("iso8859-1", h.getEncoding()); in testSetEncoding_AfterPublish()
[all …]
DHandlerTest.java78 assertNull(h.getEncoding()); in testConstructor()
105 assertNull(h.getEncoding()); in testConstructor_Properties()
140 assertEquals("iso-8859-1", h.getEncoding()); in testGetSetEncoding_Normal()
149 assertNull(h.getEncoding()); in testGetSetEncoding_Null()
162 assertNull(h.getEncoding()); in testGetSetEncoding_Unsupported()
DSocketHandlerTest.java178 assertNull(h.getEncoding()); in testConstructor_NoProperties()
212 assertNull(h.getEncoding()); in testConstructor_NoBasicProperties()
249 assertEquals(h.getEncoding(), "iso-8859-1"); in testConstructor_ValidProperties()
263 assertEquals(h.getEncoding(), "iso-8859-1"); in testConstructor_ValidProperties()
293 assertNull(h.getEncoding()); in testConstructor_InvalidBasicProperties()
295 assertNull(h.getEncoding()); in testConstructor_InvalidBasicProperties()
309 assertNull(h.getEncoding()); in testConstructor_InvalidBasicProperties()
311 assertNull(h.getEncoding()); in testConstructor_InvalidBasicProperties()
DMemoryHandlerTest.java109 assertNull(handler.getEncoding()); in testClose()
124 assertNull(handler.getEncoding()); in testFlush()
161 assertNull(handler.getEncoding()); in testMemoryHandler()
245 assertNull(handler.getEncoding()); in testMemoryHandlerDefaultValue()
258 assertNull(handler.getEncoding()); in testMemoryHandlerHandlerintLevel()
DConsoleHandlerTest.java92 assertSame(h.getEncoding(), null); in testConstructor_NoProperties()
117 assertEquals(h.getEncoding(), "iso-8859-1"); in testConstructor_ValidProperties()
141 assertNull(h.getEncoding()); in testConstructor_InvalidProperties()
143 assertNull(h.getEncoding()); in testConstructor_InvalidProperties()
DXMLFormatterTest.java136 assertNull(handler.getEncoding());
154 assertNull(handler.getEncoding());
DFileHandlerTest.java194 assertEquals(handler.getEncoding(), "iso-8859-1"); in testFileHandler()
220 assertNull(handler.getEncoding()); in testDefaultValue()
427 assertNull(handler.getEncoding()); in testInvalidProperty()
/external/oauth/core/src/main/java/net/oauth/http/
DHttpMessageDecoder.java40 String encoding = getEncoding(message); in decode()
52 private static String getEncoding(HttpMessage message) { in getEncoding() method in HttpMessageDecoder
/external/llvm/include/llvm/Bitcode/
DBitCodes.h109 Encoding getEncoding() const { assert(isEncoding()); return (Encoding)Enc; } in getEncoding() function
115 bool hasEncodingData() const { return hasEncodingData(getEncoding()); } in hasEncodingData()
DBitstreamWriter.h291 switch (Op.getEncoding()) { in EmitAbbreviatedField()
330 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) { in EmitRecordWithAbbrevImpl()
357 } else if (Op.getEncoding() == BitCodeAbbrevOp::Blob) { in EmitRecordWithAbbrevImpl()
479 Emit(Op.getEncoding(), 3); in EncodeAbbrev()
DBitstreamReader.h482 switch (Op.getEncoding()) { in ReadAbbreviatedField()
520 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) {
531 } else if (Op.getEncoding() == BitCodeAbbrevOp::Blob) {
/external/nist-sip/java/javax/sip/header/
DEncoding.java6 String getEncoding(); in getEncoding() method
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToXMLStream.java78 String encoding = xmlListener.getEncoding(); in CopyFrom()
128 String encoding = Encodings.getMimeEncoding(getEncoding()); in startDocumentInternal()
410 writeAttrString(writer, value, this.getEncoding()); in addUniqueAttribute()
DXSLOutputAttributes.java75 public String getEncoding(); in getEncoding() method
DToUnknownStream.java565 public String getEncoding() in getEncoding() method in ToUnknownStream
567 return m_handler.getEncoding(); in getEncoding()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentEncoding.java121 public String getEncoding() { in getEncoding() method in ContentEncoding
DAcceptEncoding.java121 public String getEncoding() { in getEncoding() method in AcceptEncoding
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOMOutputImpl.java158 public String getEncoding(){ in getEncoding() method in DOMOutputImpl
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DDERExternal.java207 public int getEncoding() in getEncoding() method in DERExternal

12