Home
last modified time | relevance | path

Searched refs:journalWriter (Results 1 – 3 of 3) sorted by relevance

/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java145 private Writer journalWriter; field in DiskLruCache
163 if (journalWriter == null) {
273 journalWriter = new BufferedWriter(new OutputStreamWriter( in readJournal()
348 if (journalWriter != null) { in rebuildJournal()
349 journalWriter.close(); in rebuildJournal()
382 journalWriter = new BufferedWriter( in rebuildJournal()
425 journalWriter.append(READ); in get()
426 journalWriter.append(' '); in get()
427 journalWriter.append(key); in get()
428 journalWriter.append('\n'); in get()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DDiskLruCache.java152 private BufferedSink journalWriter; field in DiskLruCache
295 journalWriter = newJournalWriter(); in readJournal()
380 if (journalWriter != null) { in rebuildJournal()
381 journalWriter.close(); in rebuildJournal()
414 journalWriter = newJournalWriter(); in rebuildJournal()
435 journalWriter.writeUtf8(READ).writeByte(' ').writeUtf8(key).writeByte('\n'); in get()
466 journalWriter.writeUtf8(DIRTY).writeByte(' ').writeUtf8(key).writeByte('\n'); in edit()
467 journalWriter.flush(); in edit()
556 journalWriter.writeUtf8(CLEAN).writeByte(' '); in completeEdit()
557 journalWriter.writeUtf8(entry.key); in completeEdit()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DDiskLruCache.java150 private BufferedSink journalWriter; field in DiskLruCache
293 journalWriter = newJournalWriter(); in readJournal()
378 if (journalWriter != null) { in rebuildJournal()
379 journalWriter.close(); in rebuildJournal()
412 journalWriter = newJournalWriter(); in rebuildJournal()
433 journalWriter.writeUtf8(READ).writeByte(' ').writeUtf8(key).writeByte('\n'); in get()
464 journalWriter.writeUtf8(DIRTY).writeByte(' ').writeUtf8(key).writeByte('\n'); in edit()
465 journalWriter.flush(); in edit()
554 journalWriter.writeUtf8(CLEAN).writeByte(' '); in completeEdit()
555 journalWriter.writeUtf8(entry.key); in completeEdit()
[all …]