Home
last modified time | relevance | path

Searched refs:currentSize (Results 1 – 25 of 32) sorted by relevance

12

/external/proguard/src/proguard/evaluation/
DStack.java39 protected int currentSize; field in Stack
108 System.arraycopy(other.values, 0, this.values, 0, other.currentSize); in copy()
111 currentSize = other.currentSize; in copy()
123 if (this.currentSize != other.currentSize) in generalize()
125 …ntException("Stacks have different current sizes ["+this.currentSize+"] and ["+other.currentSize+"… in generalize()
131 for (int index = 0; index < currentSize; index++) in generalize()
168 Arrays.fill(values, 0, currentSize, null); in clear()
170 currentSize = 0; in clear()
180 return currentSize; in size()
216 return values[currentSize - index - 1]; in getTop()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/util/
DLruCache.java17 private int currentSize = 0; field in LruCache
75 return currentSize; in getCurrentSize()
118 currentSize += getSize(item); in put()
122 currentSize -= getSize(result); in put()
137 currentSize -= getSize(value); in remove()
156 while (currentSize > size) { in trimToSize()
159 currentSize -= getSize(toRemove); in trimToSize()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/datasource/src/main/java/com/google/android/exoplayer2/upstream/cache/
DLeastRecentlyUsedCacheEvictor.java27 private long currentSize; field in LeastRecentlyUsedCacheEvictor
54 currentSize += span.length; in onSpanAdded()
61 currentSize -= span.length; in onSpanRemoved()
71 while (currentSize + requiredSpace > maxBytes && !leastRecentlyUsed.isEmpty()) { in evictCache()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/datasource/src/main/java/com/google/android/exoplayer2/upstream/cache/
DLeastRecentlyUsedCacheEvictor.java27 private long currentSize; field in LeastRecentlyUsedCacheEvictor
54 currentSize += span.length; in onSpanAdded()
61 currentSize -= span.length; in onSpanRemoved()
71 while (currentSize + requiredSpace > maxBytes && !leastRecentlyUsed.isEmpty()) { in evictCache()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java29 private int currentSize; field in LruBitmapPool
78 currentSize += size; in put()
119 currentSize -= strategy.getSize(result); in getDirty()
149 while (currentSize > size) { in trimToSize()
152 currentSize -= strategy.getSize(removed); in trimToSize()
165 … + " currentSize=" + currentSize + " maxSize=" + maxSize + "\nStrategy=" + strategy); in dump()
/external/pdfium/fxbarcode/datamatrix/
DBC_Base256Encoder.cpp71 int32_t currentSize = in Encode() local
73 if (!context->UpdateSymbolInfo(currentSize)) in Encode()
76 bool mustPad = (context->m_symbolInfo->data_capacity() - currentSize) > 0; in Encode()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DAbstractNettyHandler.java97 int currentSize = connection().local().flowController().windowSize(connectionStream); in sendInitialConnectionWindow() local
98 int delta = initialConnectionWindow - currentSize; in sendInitialConnectionWindow()
190 int currentSize = getDataSincePing(); in incrementDataSincePing() local
191 setDataSizeSincePing(currentSize + increase); in incrementDataSincePing()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/
DDownloadFileGroupAndroidSharingIntegrationTest.java202 public void onProgress(long currentSize) { in oneAndroidSharedFile_blobStoreBackendNotRegistered_fileDownloadedAndStoredLocally()
203 Log.i(TAG, "onProgress " + currentSize); in oneAndroidSharedFile_blobStoreBackendNotRegistered_fileDownloadedAndStoredLocally()
317 public void onProgress(long currentSize) { in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
318 Log.i(TAG, "onProgress " + currentSize); in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
356 public void onProgress(long currentSize) { in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
357 Log.i(TAG, "onProgress " + currentSize); in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
452 public void onProgress(long currentSize) { in fileAvailableInSharedStorage_neverDownloaded()
453 Log.i(TAG, "onProgress " + currentSize); in fileAvailableInSharedStorage_neverDownloaded()
560 public void onProgress(long currentSize) { in fileDownloadedForFirstFileGroup_thenSharedForSecondFileGroup()
561 Log.i(TAG, "onProgress " + currentSize); in fileDownloadedForFirstFileGroup_thenSharedForSecondFileGroup()
[all …]
DMddGarbageCollectionWithAndroidSharingIntegrationTest.java169 public void onProgress(long currentSize) { in downloadFileGroup()
170 Log.i(TAG, "onProgress " + currentSize); in downloadFileGroup()
DDownloadFileGroupIntegrationTest.java182 public void onProgress(long currentSize) { in downloadAndRead()
183 Log.i(TAG, "onProgress " + currentSize); in downloadAndRead()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/
DNamedDispatchers.kt52 val currentSize = elements.size in ensureCapacity() constant
53 val newCapacity = currentSize shl 1 in ensureCapacity()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DMddLiteConversionUtil.java81 public void onProgress(long currentSize) { in onProgress() argument
82 sourceListener.onProgress(currentSize); in onProgress()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDataStore.java67 protected int getNewBufferSize(int currentSize, int newMinSize) { in getNewBufferSize() argument
69 return Math.max(newMinSize + (newMinSize >> 2), currentSize + MIN_GROWTH_STEP); in getNewBufferSize()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/io/
DMemoryDataStore.java97 protected int getNewBufferSize(int currentSize, int newMinSize) { in getNewBufferSize() argument
99 return Math.max(newMinSize + (newMinSize >> 2), currentSize + MIN_GROWTH_STEP); in getNewBufferSize()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java143 long currentSize = b.getSize(); in initIsoFile() local
148 mdatEndCache.put((MediaDataBox) b, contentOffset + currentSize); in initIsoFile() local
154 currentOffset += currentSize; in initIsoFile()
/external/skia/tests/
DSkBlockAllocatorTest.cpp66 size_t currentSize = total_size(pool); in add_block() local
71 return total_size(pool) - currentSize; in add_block()
172 size_t currentSize = total_size(pool); in DEF_TEST() local
176 REPORTER_ASSERT(r, total_size(pool) > currentSize); in DEF_TEST()
179 REPORTER_ASSERT(r, total_size(pool) - currentSize < 4096); in DEF_TEST()
180 currentSize = total_size(pool); in DEF_TEST()
183 REPORTER_ASSERT(r, total_size(pool) >= currentSize + 4096); in DEF_TEST()
/external/OpenCL-CTS/test_conformance/api/
Dtest_api_min_max.cpp1573 cl_ulong maxSize, stepSize, currentSize, maxGlobalSize, maxAllocSize; in test_min_max_constant_buffer_size() local
1617 currentSize = maxSize; in test_min_max_constant_buffer_size()
1620 while (!allocPassed && currentSize >= maxSize / PASSING_FRACTION) in test_min_max_constant_buffer_size()
1627 ((size_t)currentSize / sizeof(cl_int)) * sizeof(cl_int); in test_min_max_constant_buffer_size()
1672 currentSize); in test_min_max_constant_buffer_size()
1673 currentSize -= stepSize; in test_min_max_constant_buffer_size()
1698 currentSize); in test_min_max_constant_buffer_size()
1699 currentSize -= stepSize; in test_min_max_constant_buffer_size()
1746 if (currentSize < maxSize / PASSING_FRACTION) in test_min_max_constant_buffer_size()
1752 else if (currentSize != maxSize) in test_min_max_constant_buffer_size()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/
DSingleFileDownloadListener.java31 void onProgress(long currentSize); in onProgress() argument
DDownloadListener.java37 void onProgress(long currentSize); in onProgress() argument
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/lite/
DDownloadListener.java31 void onProgress(long currentSize); in onProgress() argument
DDownloaderImpl.java333 public void onProgress(long currentSize) {
349 (int) currentSize,
354 downloadRequest.listenerOptional().get().onProgress(currentSize);
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/monitor/
DDownloadProgressMonitor.java211 public void notifyCurrentFileSize(String groupName, long currentSize) { in notifyCurrentFileSize() argument
218 .bufferCounter((int) currentSize); in notifyCurrentFileSize()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/
Dbufferize.cc197 Value currentSize = in matchAndRewrite() local
213 l, arith::CmpIPredicate::ne, currentSize, one); in matchAndRewrite()
216 l, currentSizeIsNotOne, currentSize, sameSize); in matchAndRewrite()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp361 const size_t currentSize = m_indirectBufferContents.size(); in addCommand() local
363 m_indirectBufferContents.resize(currentSize + sizeof(command)); in addCommand()
365 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command)); in addCommand()
373 const size_t currentSize = m_indirectBufferContents.size(); in addCommand() local
375 m_indirectBufferContents.resize(currentSize + sizeof(command)); in addCommand()
377 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command)); in addCommand()
/external/zstd/lib/dictBuilder/
Dzdict.c1123 U32 currentSize = 0; in ZDICT_trainFromBuffer_unsafe_legacy() local
1125 currentSize += dictList[n].length; in ZDICT_trainFromBuffer_unsafe_legacy()
1126 if (currentSize > targetDictSize) { currentSize -= dictList[n].length; break; } in ZDICT_trainFromBuffer_unsafe_legacy()
1129 dictContentSize = currentSize; in ZDICT_trainFromBuffer_unsafe_legacy()

12