Home
last modified time | relevance | path

Searched refs:inputString (Results 1 – 6 of 6) 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.java769 String inputString = "blahblahblah??"; in test_getBytesRead() local
770 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesRead()
795 String inputString = "blahblahblah??"; in test_getBytesWritten() local
796 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesWritten()
852 String inputString = "blah string contains blahblahblahblah and blah"; in testSetDictionary$B() local
866 defDictNo.setInput(inputString.getBytes()); in testSetDictionary$B()
867 defDict1.setInput(inputString.getBytes()); in testSetDictionary$B()
868 defDict2.setInput(inputString.getBytes()); in testSetDictionary$B()
923 assertEquals(inputString, new String(result, 0, decLen)); in testSetDictionary$B()
932 assertEquals(inputString, new String(result, 0, decLen)); in testSetDictionary$B()
[all …]
DDeflaterTest.java1079 String inputString = "blahblahblah??"; in test_getBytesRead() local
1080 byte[] input = inputString.getBytes("UTF-8"); in test_getBytesRead()
1105 String inputString = "blahblahblah??"; in test_getBytesWritten() local
1106 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/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()