Searched refs:FileExtension (Results 1 – 4 of 4) sorted by relevance
/external/lottie/lottie/src/main/java/com/airbnb/lottie/network/ |
D | NetworkCache.java | 39 Pair<FileExtension, InputStream> fetch() { in fetch() 57 FileExtension extension; in fetch() 59 extension = FileExtension.ZIP; in fetch() 61 extension = FileExtension.JSON; in fetch() 73 File writeTempCacheFile(InputStream stream, FileExtension extension) throws IOException { in writeTempCacheFile() 101 void renameTempFile(FileExtension extension) { in renameTempFile() 119 …File jsonFile = new File(appContext.getCacheDir(), filenameForUrl(url, FileExtension.JSON, false)); in getCachedFile() 123 … File zipFile = new File(appContext.getCacheDir(), filenameForUrl(url, FileExtension.ZIP, false)); in getCachedFile() 130 private static String filenameForUrl(String url, FileExtension extension, boolean isTemp) { in filenameForUrl()
|
D | FileExtension.java | 8 public enum FileExtension { enum 14 FileExtension(String extension) { in FileExtension() method in FileExtension 26 public static FileExtension forFile(String filename) { in forFile() 27 for (FileExtension e : values()) { in forFile()
|
D | NetworkFetcher.java | 57 Pair<FileExtension, InputStream> cacheResult = networkCache.fetch(); in fetchFromCache() 62 FileExtension extension = cacheResult.first; in fetchFromCache() 65 if (extension == FileExtension.ZIP) { in fetchFromCache() 136 FileExtension extension; in getResultFromConnection() 146 extension = FileExtension.ZIP; in getResultFromConnection() 151 extension = FileExtension.JSON; in getResultFromConnection()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | GlobalCompilationDatabase.cpp | 52 auto FileExtension = llvm::sys::path::extension(File); in getFallbackCommand() local 53 if (FileExtension.empty() || FileExtension == ".h") in getFallbackCommand()
|