Searched refs:cacheFile (Results 1 – 7 of 7) sorted by relevance
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | RsaKeyCache.c | 155 FILE *cacheFile; in InitializeKeyCache() local 159 if(fopen_s(&cacheFile, fn, "w+b") != 0) in InitializeKeyCache() 161 cacheFile = fopen(fn, "w+b"); in InitializeKeyCache() 162 if(NULL == cacheFile) in InitializeKeyCache() 169 fseek(cacheFile, 0, SEEK_SET); in InitializeKeyCache() 170 if(fwrite(s_rsaKeyCache, 1, sizeof(s_rsaKeyCache), cacheFile) in InitializeKeyCache() 176 if(cacheFile) in InitializeKeyCache() 177 fclose(cacheFile); in InitializeKeyCache() 199 FILE *cacheFile; in KeyCacheLoaded() local 202 if(fopen_s(&cacheFile, fn, "r+b") == 0) in KeyCacheLoaded() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/ |
D | SimpleCacheSpanTest.java | 56 public void cacheFile() throws Exception { in cacheFile() method in SimpleCacheSpanTest 124 File cacheFile = SimpleCacheSpan.getCacheFile(cacheDir, id, offset, lastTouchTimestamp); in assertCacheSpan() local 125 createTestFile(cacheFile, /* length= */ 1); in assertCacheSpan() 126 SimpleCacheSpan cacheSpan = SimpleCacheSpan.createCacheEntry(cacheFile, /* length= */ 1, index); in assertCacheSpan() 127 String message = cacheFile.toString(); in assertCacheSpan() 129 assertWithMessage(message).that(cacheFile.getParentFile()).isEqualTo(cacheDir); in assertCacheSpan() 134 assertWithMessage(message).that(cacheSpan.file).isEqualTo(cacheFile); in assertCacheSpan() 140 File cacheFile = in assertNullCacheSpan() local 142 CacheSpan cacheSpan = SimpleCacheSpan.createCacheEntry(cacheFile, cacheFileLength, index); in assertNullCacheSpan() 143 assertWithMessage(cacheFile.toString()).that(cacheSpan).isNull(); in assertNullCacheSpan()
|
D | CachedRegionTrackerTest.java | 132 File cacheFile = createCacheSpanFile(cacheDir, id, position, length, 0); in newCacheSpan() local 133 return SimpleCacheSpan.createCacheEntry(cacheFile, length, index); in newCacheSpan() 138 File cacheFile = SimpleCacheSpan.getCacheFile(cacheDir, id, offset, lastTouchTimestamp); in createCacheSpanFile() local 139 createTestFile(cacheFile, length); in createCacheSpanFile() 140 return cacheFile; in createCacheSpanFile()
|
D | CachedContentIndexTest.java | 288 File cacheFile = in cantRemoveNotEmptyCachedContent() local 291 createTestFile(cacheFile, cacheFileLength); in cantRemoveNotEmptyCachedContent() 292 SimpleCacheSpan span = SimpleCacheSpan.createCacheEntry(cacheFile, cacheFileLength, index); in cantRemoveNotEmptyCachedContent()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | FileClientSessionCache.java | 284 for (CacheFile cacheFile : diskOnly) { in indexFiles() 285 newOrder.put(cacheFile.name, cacheFile); in indexFiles()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | FileClientSessionCache.java | 288 for (CacheFile cacheFile : diskOnly) { in indexFiles() 289 newOrder.put(cacheFile.name, cacheFile); in indexFiles()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
D | DecodeJob.java | 214 File cacheFile = diskCache.get(key); in loadFromCache() local 215 if (cacheFile == null) { in loadFromCache() 221 result = loadProvider.getCacheDecoder().decode(cacheFile, width, height); in loadFromCache()
|