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
455 "the policy contents to the persistent store).\n\n" +
661 * Returns the contents of this <code>ResourceBundle</code>.
665 * @return the contents of this <code>ResourceBundle</code>.
668 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.java90 * as a precise index of the contents of the jar.
97 * chosen as the principal contents.
134 // List of contents of this meta-index
135 private String[] contents; field in class:MetaIndex
170 List<String> contents = new ArrayList<String>();
189 // Store away current contents, if any
190 if ((curJarName != null) && (contents.size() > 0)) {
192 new MetaIndex(contents,
195 contents.clear();
210 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/tzdata/update/src/test/libcore/tzdata/update/
H A DFileUtilsTest.java251 private File createTextFile(String contents) throws IOException { argument
256 writer.write(contents);
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java49 * copy of the list's contents. It is always safe to iterate this list, but
70 * contents of an array after it has been assigned to this field.
232 public <T> T[] toArray(T[] contents) { argument
234 if (snapshot.length > contents.length) {
235 return (T[]) Arrays.copyOf(snapshot, snapshot.length, contents.getClass());
237 System.arraycopy(snapshot, 0, contents, 0, snapshot.length);
238 if (snapshot.length < contents.length) {
239 contents[snapshot.length] = null;
241 return contents;

Completed in 489 milliseconds