/external/volley/src/main/java/com/android/volley/ |
D | Response.java | 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { in success() argument 43 return new Response<>(result, cacheEntry); in success() 58 public final Cache.Entry cacheEntry; field in Response 71 private Response(T result, Cache.Entry cacheEntry) { in Response() argument 73 this.cacheEntry = cacheEntry; in Response() 79 this.cacheEntry = null; in Response()
|
D | NetworkDispatcher.java | 149 if (request.shouldCache() && response.cacheEntry != null) { in processRequest() 150 mCache.put(request.getCacheKey(), response.cacheEntry); in processRequest()
|
D | CacheDispatcher.java | 225 if (response.cacheEntry == null || response.cacheEntry.isExpired()) { in onResponseReceived()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | MediaDataBox.java | 156 ByteBuffer cacheEntry = cache.get(chacheEntryOffset).get(); in getContent() local 157 … if ((cacheEntry != null) && ((chacheEntryOffset + cacheEntry.limit()) >= (offset + length))) { in getContent() 159 cacheEntry.position((int) (offset - chacheEntryOffset)); in getContent() 160 ByteBuffer cachedSample = cacheEntry.slice(); in getContent() 167 ByteBuffer cacheEntry; in getContent() local 170 …cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent() 177 cache.put(offset, new SoftReference<ByteBuffer>(cacheEntry)); in getContent() 178 cacheEntry.position(0); in getContent() 179 ByteBuffer cachedSample = cacheEntry.slice(); in getContent()
|
/external/icu/icu4c/source/i18n/ |
D | tznames.cpp | 152 TimeZoneNamesCacheEntry *cacheEntry = NULL; in TimeZoneNamesDelegate() local 155 cacheEntry = (TimeZoneNamesCacheEntry *)uhash_get(gTimeZoneNamesCache, key); in TimeZoneNamesDelegate() 156 if (cacheEntry == NULL) { in TimeZoneNamesDelegate() 173 cacheEntry = (TimeZoneNamesCacheEntry *)uprv_malloc(sizeof(TimeZoneNamesCacheEntry)); in TimeZoneNamesDelegate() 174 if (cacheEntry == NULL) { in TimeZoneNamesDelegate() 177 cacheEntry->names = tznames; in TimeZoneNamesDelegate() 178 cacheEntry->refCount = 1; in TimeZoneNamesDelegate() 179 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in TimeZoneNamesDelegate() 181 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate() 191 if (cacheEntry != NULL) { in TimeZoneNamesDelegate() [all …]
|
D | tzgnames.cpp | 1201 TZGNCoreRef *cacheEntry = NULL; in createInstance() local 1221 cacheEntry = (TZGNCoreRef *)uhash_get(gTZGNCoreCache, key); in createInstance() 1222 if (cacheEntry == NULL) { in createInstance() 1239 cacheEntry = (TZGNCoreRef *)uprv_malloc(sizeof(TZGNCoreRef)); in createInstance() 1240 if (cacheEntry == NULL) { in createInstance() 1243 cacheEntry->obj = tzgnCore; in createInstance() 1244 cacheEntry->refCount = 1; in createInstance() 1245 cacheEntry->lastAccess = (double)uprv_getUTCtime(); in createInstance() 1247 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance() 1257 if (cacheEntry != NULL) { in createInstance() [all …]
|
D | rulebasedcollator.cpp | 145 cacheEntry(other.cacheEntry), in RuleBasedCollator() 150 cacheEntry->addRef(); in RuleBasedCollator() 158 cacheEntry(NULL), in RuleBasedCollator() 188 cacheEntry(entry), in RuleBasedCollator() 193 cacheEntry->addRef(); in RuleBasedCollator() 198 SharedObject::clearPtr(cacheEntry); in ~RuleBasedCollator() 207 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL); in adoptTailoring() 208 cacheEntry = new CollationCacheEntry(t->actualLocale, t); in adoptTailoring() 209 if(cacheEntry == NULL) { in adoptTailoring() 218 cacheEntry->addRef(); in adoptTailoring() [all …]
|
D | collationbuilder.cpp | 89 cacheEntry(NULL), in RuleBasedCollator() 99 cacheEntry(NULL), in RuleBasedCollator() 111 cacheEntry(NULL), in RuleBasedCollator() 124 cacheEntry(NULL), in RuleBasedCollator() 138 cacheEntry(NULL), in RuleBasedCollator() 151 cacheEntry(NULL), in RuleBasedCollator()
|
/external/icu/icu4c/source/common/ |
D | ucurr.cpp | 1447 CurrencyNameCacheEntry* cacheEntry = NULL; in getCacheEntry() local 1461 cacheEntry = currCache[found]; in getCacheEntry() 1462 ++(cacheEntry->refCount); in getCacheEntry() 1485 cacheEntry = currCache[currentCacheEntryIndex]; in getCacheEntry() 1486 if (cacheEntry) { in getCacheEntry() 1487 --(cacheEntry->refCount); in getCacheEntry() 1489 if (cacheEntry->refCount == 0) { in getCacheEntry() 1490 deleteCacheEntry(cacheEntry); in getCacheEntry() 1493 cacheEntry = (CurrencyNameCacheEntry*)uprv_malloc(sizeof(CurrencyNameCacheEntry)); in getCacheEntry() 1494 currCache[currentCacheEntryIndex] = cacheEntry; in getCacheEntry() [all …]
|
/external/volley/src/test/java/com/android/volley/ |
D | ResponseDeliveryTest.java | 44 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data); in setUp() local 45 mSuccessResponse = Response.success(data, cacheEntry); in setUp()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tblcoll.h | 867 const CollationCacheEntry *cacheEntry; // reference-counted variable
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTable.java | 2754 TypeCacheEntry cacheEntry = grp.typeCacheEntries.editItemAt(t); in getBagLocked() local 2755 bag_set[] typeSet = cacheEntry.cachedBags; in getBagLocked()
|