Home | History | Annotate | Download | only in util

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
52 * Taken from the JB source code, can be found in:
61 * 0} and {@code Integer.MAX_VALUE} bytes in length.
63 * <p>The cache stores its data in a directory on the filesystem. This
70 * remove entries in the background until the limit is satisfied. The limit is
135 * Each of the subsequent lines in the file is a record of the state of a
215 public static String readAsciiLine(InputStream in) throws IOException {
220 int c = in.read();
251 * Recursively delete everything in {@code dir}.
298 * Opens the cache in {@code directory}, creating a cache if none exists
340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE);
342 String magic = readAsciiLine(in);
343 String version = readAsciiLine(in);
344 String appVersionString = readAsciiLine(in);
345 String valueCountString = readAsciiLine(in);
346 String blank = readAsciiLine(in);
358 readJournalLine(readAsciiLine(in));
364 closeQuietly(in);
511 * edit is in progress.
529 return null; // another edit is in progress
557 * Returns the number of bytes currently being used to store the values in
708 * all files in the cache directory including files that weren't created by
723 private static String inputStreamToString(InputStream in) throws IOException {
724 return readFully(new InputStreamReader(in, UTF_8));
744 * is in progress.
765 for (InputStream in : ins) {
766 closeQuietly(in);
803 InputStream in = newInputStream(index);
804 return in != null ? inputStreamToString(in) : null;