Home
last modified time | relevance | path

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

12345

/external/icu/icu4c/source/i18n/
Dcollationdatawriter.cpp205 int32_t totalSize = indexesLength * 4; in write() local
213 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize; in write()
214 totalSize += settings.reorderCodesLength * 4; in write()
216 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize; in write()
218 totalSize += 256; in write()
221 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize; in write()
225 if(totalSize < capacity) { in write()
226 length = utrie2_serialize(data.trie, dest + totalSize, in write()
227 capacity - totalSize, &errorCode2); in write()
238 totalSize += length; in write()
[all …]
/external/chromium_org/third_party/angle/src/compiler/translator/
DTypes.cpp172 size_t totalSize; in getObjectSize() local
175 totalSize = structure->objectSize(); in getObjectSize()
177 totalSize = primarySize * secondarySize; in getObjectSize()
182 if (arraySize > INT_MAX / totalSize) in getObjectSize()
183 totalSize = INT_MAX; in getObjectSize()
185 totalSize *= arraySize; in getObjectSize()
188 return totalSize; in getObjectSize()
/external/guava/guava/src/com/google/common/collect/
DAbstractMultimap.java109 private transient int totalSize; field in AbstractMultimap
126 totalSize = 0; in setMap()
129 totalSize += values.size(); in setMap()
167 return totalSize; in size()
172 return totalSize == 0; in isEmpty()
204 totalSize++; in put()
229 totalSize--; in remove()
257 totalSize += (collection.size() - oldSize); in putAll()
287 totalSize -= collection.size(); in replaceValues()
292 totalSize++; in replaceValues()
[all …]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dscrollbar.js161 var totalSize = this.getTotalHeight();
163 var buttonSize = Math.max(50, clientSize / totalSize * clientSize);
171 scrollPosition = Math.max(totalSize - clientSize, 0) *
208 var totalSize = this.getTotalHeight();
209 var hidden = totalSize <= clientSize;
211 var buttonSize = Math.max(50, clientSize / totalSize * clientSize);
214 buttonPosition = scrollPosition / (totalSize - clientSize) *
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DStatistics.java119 private int totalSize; field in Statistics.Data
138 this.totalSize = size; in Data()
152 totalSize += size; in add()
182 totalSize + " bytes total\n"); in toHuman()
187 int average = totalSize / count; in toHuman()
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/
Dprofiler.js187 var totalSize = 0;
214 totalSize += size;
274 if (size > retVal.totalSize) {
277 size: size - retVal.totalSize
279 } else if (size < retVal.totalSize) {
295 totalSize: totalSize,
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DBitmapImageTest.cpp133 size_t totalSize = decodedSize(); in TEST_F() local
139 EXPECT_GE(m_imageObserver.m_lastDecodedSizeChangedDelta, -static_cast<int>(totalSize - size)); in TEST_F()
150 size_t totalSize = decodedSize(); in TEST_F() local
151 EXPECT_GT(totalSize, 0u); in TEST_F()
153 EXPECT_EQ(-static_cast<int>(totalSize), m_imageObserver.m_lastDecodedSizeChangedDelta); in TEST_F()
/external/chromium_org/third_party/icu/source/common/
Ducnvsel.cpp183 int32_t totalSize = 0; in ucnvsel_open() local
186 totalSize += in ucnvsel_open()
190 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open()
194 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open()
195 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open()
315 int32_t totalSize = in ucnvsel_serialize() local
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
322 if (totalSize > bufferCapacity) { in ucnvsel_serialize()
324 return totalSize; in ucnvsel_serialize()
346 return totalSize; in ucnvsel_serialize()
[all …]
Drbbirb.cpp165 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize in flattenData() local
169 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
174 uprv_memset(data, 0, totalSize); in flattenData()
182 data->fLength = totalSize; in flattenData()
/external/icu/icu4c/source/common/
Ducnvsel.cpp183 int32_t totalSize = 0; in ucnvsel_open() local
186 totalSize += in ucnvsel_open()
190 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open()
194 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open()
195 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open()
315 int32_t totalSize = in ucnvsel_serialize() local
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
322 if (totalSize > bufferCapacity) { in ucnvsel_serialize()
324 return totalSize; in ucnvsel_serialize()
346 return totalSize; in ucnvsel_serialize()
[all …]
Drbbirb.cpp165 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize in flattenData() local
169 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
174 uprv_memset(data, 0, totalSize); in flattenData()
182 data->fLength = totalSize; in flattenData()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcf2arrst.c70 arrstack->totalSize = 0; in cf2_arrstack_init()
85 arrstack->totalSize = 0; in cf2_arrstack_finalize()
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements()
116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
/external/freetype/src/cff/
Dcf2arrst.c70 arrstack->totalSize = 0; in cf2_arrstack_init()
85 arrstack->totalSize = 0; in cf2_arrstack_finalize()
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements()
116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
/external/chromium_org/third_party/freetype/src/cff/
Dcf2arrst.c70 arrstack->totalSize = 0; in cf2_arrstack_init()
85 arrstack->totalSize = 0; in cf2_arrstack_finalize()
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements()
116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeOverlay.cpp72 if (!scrollbar->totalSize()) in thumbPosition()
76 float proportion = static_cast<float>(scrollbar->currentPos()) / scrollbar->totalSize(); in thumbPosition()
84 if (!scrollbar->totalSize()) in thumbLength()
87 float proportion = static_cast<float>(scrollbar->visibleSize()) / scrollbar->totalSize(); in thumbLength()
DScrollbarTheme.cpp243 … float overhangAtEnd = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize(); in usedTotalSize()
245 return scrollbar->totalSize() + overhang; in usedTotalSize()
269 else if (scrollbar->visibleSize() + scrollbar->currentPos() > scrollbar->totalSize()) in thumbLength()
270 overhang = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize(); in thumbLength()
272 float totalSize = usedTotalSize(scrollbar); in thumbLength() local
273 if (totalSize > 0.0f) { in thumbLength()
274 proportion = (scrollbar->visibleSize() - overhang) / totalSize; in thumbLength()
/external/lzma/C/
DXzIn.c60 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3); in Xz_GetPackSize()
104 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); in Xz_ReadIndex2()
106 if (block->totalSize == 0) in Xz_ReadIndex2()
206 UInt64 totalSize = Xz_GetPackSize(p); in Xz_ReadBackward() local
207 UInt64 sum = XZ_STREAM_HEADER_SIZE + totalSize + indexSize; in Xz_ReadBackward()
208 if (totalSize == XZ_SIZE_OVERFLOW || in Xz_ReadBackward()
210 totalSize >= ((UInt64)1 << 63)) in Xz_ReadBackward()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DShowMoreDataGridNode.js83 var totalSize = this._endPosition - this._startPosition;
84 if (totalSize > this._chunkSize) {
91 this.showAll.textContent = WebInspector.UIString("Show all %d", totalSize);
/external/chromium_org/third_party/skia/src/utils/
DSkFrontBufferedStream.cpp160 SkDEBUGCODE(const size_t totalSize = size;) in read()
170 SkASSERT(size + (fOffset - start) == totalSize); in read()
184 SkASSERT(size + (fOffset - start) == totalSize); in read()
193 SkASSERT(size + (fOffset - start) == totalSize); in read()
/external/icu/icu4c/source/tools/toolutil/
Dcollationinfo.cpp27 int32_t totalSize = indexes[CollationDataReader::IX_TOTAL_SIZE]; in printSizes() local
28 if(sizeWithHeader > totalSize) { in printSizes()
29 printf(" header size: %6ld\n", (long)(sizeWithHeader - totalSize)); in printSizes()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp160 SkDEBUGCODE(const size_t totalSize = size;) in read()
170 SkASSERT(size + (fOffset - start) == totalSize); in read()
184 SkASSERT(size + (fOffset - start) == totalSize); in read()
193 SkASSERT(size + (fOffset - start) == totalSize); in read()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
Dexif_parser.js314 var totalSize = tag.componentCount * size;
315 if (totalSize < 1) {
322 if (totalSize > 4) {
337 if (totalSize > 4) {
340 } else if (totalSize < 4) {
343 br.seek(4 - totalSize, ByteReader.SEEK_CUR);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebScrollbarThemeClientImpl.cpp172 return totalSize() - maximum(); in visibleSize()
175 int WebScrollbarThemeClientImpl::totalSize() const in totalSize() function in blink::WebScrollbarThemeClientImpl
177 return m_scrollbar->totalSize(); in totalSize()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DHeapSnapshotCommon.js292 WebInspector.HeapSnapshotCommon.StaticData = function(nodeCount, rootNodeIndex, totalSize, maxJSObj… argument
299 this.totalSize = totalSize;
/external/chromium_org/third_party/WebKit/public/platform/
DWebApplicationCacheHost.h112 long long totalSize; member
113 CacheInfo() : creationTime(0), updateTime(0), totalSize(0) { } in CacheInfo()

12345