Home
last modified time | relevance | path

Searched refs:CONTENT (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerParseLargeFileBenchmarkTest.java43 private static final char[] CONTENT = "large file!\n".toCharArray(); field in ScannerParseLargeFileBenchmarkTest.FakeLargeFile
60 int contentIndex = count % CONTENT.length; in read()
63 buffer[bufferIndex++] = CONTENT[contentIndex++]; in read()
64 if (contentIndex == CONTENT.length) { in read()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelLockingTest.java44 …private final String CONTENT = "The best things in life are nearest: Breath in your nostrils, ligh… field in FileChannelLockingTest
58 writer.write(CONTENT); in setUp()
DFileChannelTest.java59 private static final String CONTENT = "MYTESTSTRING needs to be a little long"; field in FileChannelTest
70 CONTENT_AS_BYTES = CONTENT.getBytes("iso8859-1");
77 private static final int CONTENT_LENGTH = CONTENT.length();
1859 mapped = readWriteFileChannel.map(MapMode.READ_ONLY, 0, CONTENT in test_map_ReadOnly()
1896 assertEquals(CONTENT, new String(checkBuffer.array(), "iso8859-1")); in test_map_Private()
1900 mapped.put(("test" + CONTENT).getBytes("iso8859-1")); in test_map_Private()
1924 mapped = readWriteFileChannel.map(MapMode.READ_WRITE, 0, CONTENT in test_map_ReadWrite()
1930 String checkString = "test" + CONTENT.substring(4); in test_map_ReadWrite()
1938 mapped.put(("test" + CONTENT).getBytes("iso8859-1")); in test_map_ReadWrite()
1954 assertEquals(CONTENT.length() - 10, mapped.capacity()); in test_map_ReadWrite_NonZeroPosition()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldFileChannelTest.java43 private static final String CONTENT = "MYTESTSTRING needs to be a little long"; field in OldFileChannelTest
55 private static final int CONTENT_LENGTH = CONTENT.length();
57 private static final byte[] CONTENT_AS_BYTES = CONTENT.getBytes();
778 String test = CONTENT.substring(pos); in test_writeLByteBufferJ_NonZeroPosition()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java413 private static final byte[] CONTENT = hexToBytes( field in SignatureTest
458 sig.update(CONTENT); in test18566_AlgorithmOid_MissingNull_Failure()