/external/proguard/src/proguard/evaluation/ |
D | Stack.java | 39 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/ |
D | LruCache.java | 17 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/ |
D | ArrayChannel.kt | 136 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/ |
D | LeastRecentlyUsedCacheEvictor.java | 28 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/ |
D | LruBitmapPool.java | 29 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/ |
D | ArrayQueue.kt | 36 val currentSize = elements.size in ensureCapacity() constant 37 val newCapacity = currentSize shl 1 in ensureCapacity() 50 tail = currentSize in ensureCapacity()
|
/external/pdfium/fxbarcode/datamatrix/ |
D | BC_Base256Encoder.cpp | 71 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/ |
D | AbstractNettyHandler.java | 97 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/ |
D | NamedDispatchers.kt | 54 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/ |
D | MemoryDataStore.java | 67 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/ |
D | SampleList.java | 143 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/ |
D | GrBlockAllocatorTest.cpp | 53 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/ |
D | test_api_min_max.cpp | 1299 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/ |
D | vktDrawIndirectTest.cpp | 290 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/ |
D | zdict.c | 1052 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/ |
D | vktMemoryPipelineBarrierTests.cpp | 793 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/rust/crates/libsqlite3-sys/sqlite3/ |
D | sqlite3.c | 54311 i64 currentSize, newSize; 54315 rc = sqlite3OsFileSize(pPager->fd, ¤tSize); 54317 if( rc==SQLITE_OK && currentSize!=newSize ){ 54318 if( currentSize>newSize ){ 54320 }else if( (currentSize+szPage)<=newSize ){ 54323 testcase( (newSize-szPage) == currentSize ); 54324 testcase( (newSize-szPage) > currentSize );
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 54227 i64 currentSize, newSize; 54231 rc = sqlite3OsFileSize(pPager->fd, ¤tSize); 54233 if( rc==SQLITE_OK && currentSize!=newSize ){ 54234 if( currentSize>newSize ){ 54236 }else if( (currentSize+szPage)<=newSize ){ 54239 testcase( (newSize-szPage) == currentSize ); 54240 testcase( (newSize-szPage) > currentSize );
|
/external/sqlite/dist/ |
D | sqlite3.c | 54243 i64 currentSize, newSize; 54247 rc = sqlite3OsFileSize(pPager->fd, ¤tSize); 54249 if( rc==SQLITE_OK && currentSize!=newSize ){ 54250 if( currentSize>newSize ){ 54252 }else if( (currentSize+szPage)<=newSize ){ 54255 testcase( (newSize-szPage) == currentSize ); 54256 testcase( (newSize-szPage) > currentSize );
|