Home
last modified time | relevance | path

Searched refs:inputString (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DCharacterDecoder.java186 public byte decodeBuffer(String inputString)[] throws IOException {
187 byte inputBuffer[] = new byte[inputString.length()];
191 inputString.getBytes(0, inputString.length(), inputBuffer, 0);
210 public ByteBuffer decodeBufferToByteBuffer(String inputString) in decodeBufferToByteBuffer() argument
212 return ByteBuffer.wrap(decodeBuffer(inputString)); in decodeBufferToByteBuffer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java794 String inputString = "blahblahblah??"; in test_getBytesRead() local
795 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesRead()
822 String inputString = "blahblahblah??"; in test_getBytesWritten() local
823 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesWritten()
884 String inputString = "blah string contains blahblahblahblah and blah"; in testSetDictionary$B() local
898 defDictNo.setInput(inputString.getBytes()); in testSetDictionary$B()
899 defDict1.setInput(inputString.getBytes()); in testSetDictionary$B()
900 defDict2.setInput(inputString.getBytes()); in testSetDictionary$B()
959 assertEquals(inputString, new String(result, 0, decLen)); in testSetDictionary$B()
968 assertEquals(inputString, new String(result, 0, decLen)); in testSetDictionary$B()
[all …]
DDeflaterTest.java1090 String inputString = "blahblahblah??"; in test_getBytesRead() local
1091 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesRead()
1117 String inputString = "blahblahblah??"; in test_getBytesWritten() local
1118 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesWritten()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidDeflateTest.java43 String inputString = "blahblahblah??"; in simpleTest() local
44 byte[] input = inputString.getBytes("UTF-8"); in simpleTest()
62 assertEquals(inputString, outputString); in simpleTest()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DCharacterDecoder.java82 public byte[] decodeBuffer(java.lang.String inputString) throws java.io.IOException { in decodeBuffer() argument
90 public java.nio.ByteBuffer decodeBufferToByteBuffer(java.lang.String inputString) in decodeBufferToByteBuffer() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java487 String inputString = "0x" + part + "." + part + "0123456789abcdefp" + part; in test_parseFloat_LString_NormalPositiveExponent() local
489 float actual = Float.parseFloat(inputString); in test_parseFloat_LString_NormalPositiveExponent()
494 String errorMsg = i + "th input string is:<" + inputString in test_parseFloat_LString_NormalPositiveExponent()
536 String inputString = "0x" + part + "." + part + "0123456789abcdefp-" + part; in test_parseFloat_LString_NormalNegativeExponent() local
538 float actual = Float.parseFloat(inputString); in test_parseFloat_LString_NormalNegativeExponent()
543 String errorMsg = i + "th input string is:<" + inputString in test_parseFloat_LString_NormalNegativeExponent()
DDoubleTest.java782 String inputString = "0x" + part + "." + part + "0123456789abcdefp" + part; in test_parseDouble_LString_NormalPositiveExponent() local
784 double actual = Double.parseDouble(inputString); in test_parseDouble_LString_NormalPositiveExponent()
789 String errorMsg = i + "th input string is:<" + inputString in test_parseDouble_LString_NormalPositiveExponent()
843 String inputString = "0x" + part + "." + part + "0123456789abcdefp-" + part; in test_parseDouble_LString_NormalNegativeExponent() local
845 double actual = Double.parseDouble(inputString); in test_parseDouble_LString_NormalNegativeExponent()
850 String errorMsg = i + "th input string is:<" + inputString in test_parseDouble_LString_NormalNegativeExponent()
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java386 String inputString = "YWJjZWZnaGk="; in testDecoder_decodeArrayToArray() local
387 byte[] input = inputString.getBytes(US_ASCII); in testDecoder_decodeArrayToArray()
391 assertRoundTrip(Base64.getEncoder(), decoder, inputString, decodedBytes); in testDecoder_decodeArrayToArray() local
426 String inputString = "YWJjZWZnaGk="; in testDecoder_decodeByteBuffer() local
427 byte[] input = inputString.getBytes(US_ASCII); in testDecoder_decodeByteBuffer()
462 String inputString = "AAAA AAAA"; in testDecoder_decodeByteBuffer_invalidData() local
463 byte[] input = inputString.getBytes(US_ASCII); in testDecoder_decodeByteBuffer_invalidData()