Searched defs:contents (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/util/
H A DResources.java35 private static final Object[][] contents = { field in class:Resources
161 * Returns the contents of this <code>ResourceBundle</code>.
165 * @return the contents of this <code>ResourceBundle</code>.
169 return contents;
/libcore/luni/src/test/java/libcore/xml/
H A DDeclarationTest.java60 private String stringToSystemId(String contents) throws IOException { argument
64 out.write(contents.getBytes("UTF-8"));
/libcore/ojluni/src/main/java/sun/misc/
H A DMetaIndex.java89 * as a precise index of the contents of the jar.
96 * chosen as the principal contents.
133 // List of contents of this meta-index
134 private String[] contents; field in class:MetaIndex
169 List<String> contents = new ArrayList<String>();
188 // Store away current contents, if any
189 if ((curJarName != null) && (contents.size() > 0)) {
191 new MetaIndex(contents,
194 contents.clear();
209 contents
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DReaderTest.java162 private char[] contents; field in class:ReaderTest.MockReader
173 contents = data;
174 length = contents.length;
180 contents = null;
186 if (null == contents) {
198 buf[offset + i] = contents[current_offset + i];
H A DWriterTest.java100 private char[] contents; field in class:WriterTest.MockWriter
107 contents = new char[capacity];
114 contents = null;
123 if (null == contents) {
132 contents[this.offset + i] = buffer[offset + i];
141 result[i] = contents[i];
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DAsynchronousFileChannelTest.java154 private static File createTemporaryFile(byte[] contents) throws IOException { argument
158 fos.write(contents);
191 byte[] contents = new byte[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' };
192 File temp = createTemporaryFile(contents);
280 byte[] contents = new byte[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' };
281 File temp = createTemporaryFile(contents);
361 byte[] contents = new byte[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' };
362 File temp = createTemporaryFile(contents);
451 byte[] contents = new byte[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' };
452 File temp = createTemporaryFile(contents);
[all...]
/libcore/luni/src/test/java/libcore/libcore/io/
H A DOsTest.java192 final byte[] contents = new String("goodbye, cruel world").getBytes(StandardCharsets.US_ASCII);
193 ByteBuffer byteBuffer = ByteBuffer.wrap(contents);
921 private static File createTempFile(String namePart, String contents) throws IOException { argument
924 writer.write(contents);

Completed in 349 milliseconds