Home
last modified time | relevance | path

Searched refs:sizeOf (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java140 unrefSize += sizeOf(value); in poll()
165 protected int sizeOf(V value) { in sizeOf() method in UnrefedPooledCache
186 size += sizeOf(val); in toDebugString()
197 size += sizeOf(val); in toDebugString()
207 size += sizeOf(val); in toDebugString()
227 protected int sizeOf(K key, V value) { in sizeOf() method in UnrefedPooledCache.NonPooledCache
228 return UnrefedPooledCache.this.sizeOf(value); in sizeOf()
DUnrefedBitmapCache.java72 protected int sizeOf(final ReusableBitmap value) { in sizeOf() method in UnrefedBitmapCache
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java201 @Override protected int sizeOf(String key, String value) { in testCustomSizesImpactsSize()
217 @Override protected int sizeOf(String key, String value) { in testEvictionWithCustomSizes()
246 @Override protected int sizeOf(String key, int[] value) { in testEvictionThrowsWhenSizesAreInconsistent()
268 @Override protected int sizeOf(String key, String value) { in testEvictionThrowsWhenSizesAreNegative()
287 @Override protected int sizeOf(String key, String value) { in testDifferentElementSizes()
315 @Override protected int sizeOf(String key, String value) { in testEvictAllEvictsSizeZeroElements()
328 @Override protected int sizeOf(String key, String value) { in testRemoveWithCustomSizes()
/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp94 int sizeOf(uint64_t u) { in sizeOf() function
102 int unsignedLength = sizeOf(u); in serializeCodedUnsigned()
DWebmWriter.cpp394 ::lseek(mFd, mSegmentOffset + sizeOf(kMkvSegment), SEEK_SET); in reset()
395 uint64_t segmentSizeCoded = encodeUnsigned(segmentSize, sizeOf(kMkvUnknownLength)); in reset()
397 ::write(mFd, bary, sizeOf(kMkvUnknownLength)); in reset()
399 uint64_t durationOffset = mInfoOffset + sizeOf(kMkvInfo) + sizeOf(mInfoSize) in reset()
400 + sizeOf(kMkvSegmentDuration) + sizeOf(sizeof(double)); in reset()
DEbmlUtil.h46 int sizeOf(uint64_t u);
DWebmElement.cpp103 return sizeOf(mId) + serializePayloadSize(buf) + mSize; in totalSize()
138 : WebmElement(id, sizeOf(value)), mValue(value) { in WebmUnsigned()
218 mSizeWidth(totalSize - sizeOf(kMkvVoid) - voidSize(totalSize)) { in EbmlVoid()
/frameworks/base/core/java/android/util/
DLruCache.java289 int result = sizeOf(key, value); in safeSizeOf()
303 protected int sizeOf(K key, V value) { in sizeOf() method in LruCache
/frameworks/layoutlib/bridge/src/android/util/
DLruCache.java297 int result = sizeOf(key, value); in safeSizeOf()
311 protected int sizeOf(K key, V value) { in sizeOf() method in LruCache
/frameworks/rs/driver/runtime/
Drs_allocation.c65 rsOffset(rs_allocation a, uint32_t sizeOf, uint32_t x, uint32_t y, in rsOffset() argument
71 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffset()
82 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;; in rsOffsetNs() local
83 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffsetNs()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DBitmapLoader.java68 protected int sizeOf(Long key, Bitmap value) { in getLruCache()
/frameworks/base/services/core/java/com/android/server/accounts/
DTokenCache.java116 protected int sizeOf(Key k, Value v) { in sizeOf() method in TokenCache.TokenLruCache
/frameworks/av/media/codec2/core/include/
DC2Param.h912 size_t inline sizeOf() const { in sizeOf() function
/frameworks/rs/driver/runtime/ll32/
Dallocation.ll4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll6 declare i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i3…
/frameworks/base/services/
Dart-profile2444 PLcom/android/server/accounts/TokenCache$TokenLruCache;->sizeOf(Lcom/android/server/accounts/TokenC…
2445 PLcom/android/server/accounts/TokenCache$TokenLruCache;->sizeOf(Ljava/lang/Object;Ljava/lang/Object…
/frameworks/base/config/
Dboot-image-profile.txt15580 HSPLandroid/util/LruCache;->sizeOf(Ljava/lang/Object;Ljava/lang/Object;)I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31627 method protected int sizeOf(K, V);
/frameworks/base/non-updatable-api/
Dcurrent.txt49401 method protected int sizeOf(K, V);
/frameworks/base/api/
Dcurrent.txt49545 method protected int sizeOf(K, V);