Home
last modified time | relevance | path

Searched refs:currentSize (Results 1 – 10 of 10) 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/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/xfa/fxbarcode/datamatrix/
DBC_Base256Encoder.cpp55 int32_t currentSize = in Encode() local
57 context.updateSymbolInfo(currentSize, e); in Encode()
61 bool mustPad = (context.m_symbolInfo->m_dataCapacity - currentSize) > 0; in Encode()
/external/webrtc/talk/app/webrtc/objc/
DRTCVideoRendererAdapter.mm46 CGSize currentSize = CGSizeMake(frame->GetWidth(), frame->GetHeight());
47 if (!CGSizeEqualToSize(_size, currentSize)) {
48 _size = currentSize;
/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/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp198 const size_t currentSize = m_indirectBufferContents.size(); in addCommand() local
200 m_indirectBufferContents.resize(currentSize + sizeof(command)); in addCommand()
202 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command)); in addCommand()
210 const size_t currentSize = m_indirectBufferContents.size(); in addCommand() local
212 m_indirectBufferContents.resize(currentSize + sizeof(command)); in addCommand()
214 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command)); in addCommand()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp823 vk::VkDeviceSize currentSize = memorySize / 2; in findMaxBufferSize() local
833 for (vk::VkDeviceSize stepSize = memorySize / 4; currentSize > 0; stepSize /= 2) in findMaxBufferSize()
835 …const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, currentSize, usage, sharingMode… in findMaxBufferSize()
840 lastSuccess = currentSize; in findMaxBufferSize()
841 currentSize += stepSize; in findMaxBufferSize()
844 currentSize -= stepSize; in findMaxBufferSize()
909 IVec2 currentSize; in findMaxRGBA8ImageSize() local
916 currentSize[0] = deMaxu32(width, height); in findMaxRGBA8ImageSize()
917 currentSize[1] = deMinu32(width, height); in findMaxRGBA8ImageSize()
920 for (deInt32 stepSize = currentSize[0] / 2; currentSize[0] > 0; stepSize /= 2) in findMaxRGBA8ImageSize()
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c49683 i64 currentSize, newSize;
49687 rc = sqlite3OsFileSize(pPager->fd, &currentSize);
49689 if( rc==SQLITE_OK && currentSize!=newSize ){
49690 if( currentSize>newSize ){
49692 }else if( (currentSize+szPage)<=newSize ){
49695 testcase( (newSize-szPage) == currentSize );
49696 testcase( (newSize-szPage) > currentSize );
/external/sqlite/dist/
Dsqlite3.c49683 i64 currentSize, newSize;
49687 rc = sqlite3OsFileSize(pPager->fd, &currentSize);
49689 if( rc==SQLITE_OK && currentSize!=newSize ){
49690 if( currentSize>newSize ){
49692 }else if( (currentSize+szPage)<=newSize ){
49695 testcase( (newSize-szPage) == currentSize );
49696 testcase( (newSize-szPage) > currentSize );