Home
last modified time | relevance | path

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

/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/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DArrayChannel.kt136 private fun updateBufferSize(currentSize: Int): Symbol? { in updateBufferSize()
137 if (currentSize < capacity) { in updateBufferSize()
138 size.value = currentSize + 1 // tentatively put it into the buffer in updateBufferSize()
150 private fun enqueueElement(currentSize: Int, element: E) { in enqueueElement()
151 if (currentSize < capacity) { in enqueueElement()
152 ensureCapacity(currentSize) in enqueueElement()
153 buffer[(head + currentSize) % buffer.size] = element // actually queue element in enqueueElement()
158 buffer[(head + currentSize) % buffer.size] = element // actually queue element in enqueueElement()
164 private fun ensureCapacity(currentSize: Int) { in ensureCapacity()
165 if (currentSize >= buffer.size) { in ensureCapacity()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DLeastRecentlyUsedCacheEvictor.java28 private long currentSize; field in LeastRecentlyUsedCacheEvictor
55 currentSize += span.length; in onSpanAdded()
62 currentSize -= span.length; in onSpanRemoved()
72 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/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DArrayQueue.kt36 val currentSize = elements.size in ensureCapacity() constant
37 val newCapacity = currentSize shl 1 in ensureCapacity()
50 tail = currentSize in ensureCapacity()
/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->dataCapacity() - 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/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/
DNamedDispatchers.kt54 val currentSize = elements.size in ensureCapacity() constant
55 val newCapacity = currentSize shl 1 in ensureCapacity()
/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/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/
DGrBlockAllocatorTest.cpp53 size_t currentSize = total_size(pool); in add_block() local
58 return total_size(pool) - currentSize; in add_block()
158 size_t currentSize = total_size(pool); in DEF_TEST() local
162 REPORTER_ASSERT(r, total_size(pool) > currentSize); in DEF_TEST()
165 REPORTER_ASSERT(r, total_size(pool) - currentSize < 4096); in DEF_TEST()
166 currentSize = total_size(pool); in DEF_TEST()
169 REPORTER_ASSERT(r, total_size(pool) >= currentSize + 4096); in DEF_TEST()
/external/OpenCL-CTS/test_conformance/api/
Dtest_api_min_max.cpp1299 cl_ulong maxSize, stepSize, currentSize, maxGlobalSize, maxAllocSize; in test_min_max_constant_buffer_size() local
1338 currentSize = maxSize; in test_min_max_constant_buffer_size()
1341 while (!allocPassed && currentSize >= maxSize/PASSING_FRACTION) { in test_min_max_constant_buffer_size()
1345 size_t sizeToAllocate = ((size_t)currentSize/sizeof( cl_int ))*sizeof(cl_int); in test_min_max_constant_buffer_size()
1382 … log_info("Kernel enqueue failed at size %lld, trying at a reduced size.\n", currentSize); in test_min_max_constant_buffer_size()
1383 currentSize -= stepSize; in test_min_max_constant_buffer_size()
1397 … log_info("Kernel event indicates failure at size %lld, trying at a reduced size.\n", currentSize); in test_min_max_constant_buffer_size()
1398 currentSize -= stepSize; in test_min_max_constant_buffer_size()
1437 if (currentSize < maxSize/PASSING_FRACTION) { in test_min_max_constant_buffer_size()
1440 } else if (currentSize != maxSize) { in test_min_max_constant_buffer_size()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp290 const size_t currentSize = m_indirectBufferContents.size(); in addCommand() local
292 m_indirectBufferContents.resize(currentSize + sizeof(command)); in addCommand()
294 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command)); in addCommand()
302 const size_t currentSize = m_indirectBufferContents.size(); in addCommand() local
304 m_indirectBufferContents.resize(currentSize + sizeof(command)); in addCommand()
306 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command)); in addCommand()
/external/zstd/lib/dictBuilder/
Dzdict.c1052 U32 currentSize = 0; in ZDICT_trainFromBuffer_unsafe_legacy() local
1054 currentSize += dictList[n].length; in ZDICT_trainFromBuffer_unsafe_legacy()
1055 if (currentSize > targetDictSize) { currentSize -= dictList[n].length; break; } in ZDICT_trainFromBuffer_unsafe_legacy()
1058 dictContentSize = currentSize; in ZDICT_trainFromBuffer_unsafe_legacy()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp793 vk::VkDeviceSize currentSize = memorySize / 2; in findMaxBufferSize() local
803 for (vk::VkDeviceSize stepSize = memorySize / 4; currentSize > 0; stepSize /= 2) in findMaxBufferSize()
805 …const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, currentSize, usage, sharingMode… in findMaxBufferSize()
810 lastSuccess = currentSize; in findMaxBufferSize()
811 currentSize += stepSize; in findMaxBufferSize()
814 currentSize -= stepSize; in findMaxBufferSize()
879 IVec2 currentSize; in findMaxRGBA8ImageSize() local
886 currentSize[0] = deMaxu32(width, height); in findMaxRGBA8ImageSize()
887 currentSize[1] = deMinu32(width, height); in findMaxRGBA8ImageSize()
890 for (deInt32 stepSize = currentSize[0] / 2; currentSize[0] > 0; stepSize /= 2) in findMaxRGBA8ImageSize()
[all …]
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.contenttype_3.7.0.v20180426-1644.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/extensions/struts2/lib/
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/proguard/lib/
Dproguard.jarMETA-INF/ META-INF/MANIFEST.MF proguard/ proguard/FileWordReader.class FileWordReader ...
/external/kotlinc/lib/
Dkotlinx-coroutines-core.jarMETA-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...
Dkotlin-main-kts.jarMETA-INF/ META-INF/MANIFEST.MF DebugProbesKt.bin META-INF/LICENSE ...
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...
/external/guice/extensions/persist/lib/
Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...