Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/i18n/
Dcollationdatawriter.cpp224 int32_t totalSize = indexesLength * 4; in write() local
232 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize; in write()
233 totalSize += reorderCodesLength * 4; in write()
235 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize; in write()
237 totalSize += 256; in write()
240 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize; in write()
244 if(totalSize < capacity) { in write()
245 length = utrie2_serialize(data.trie, dest + totalSize, in write()
246 capacity - totalSize, &errorCode2); in write()
257 totalSize += length; in write()
[all …]
/external/pdfium/core/fxcrt/
Dfx_basic_array.cpp30 pdfium::base::CheckedNumeric<int> totalSize = nNewSize; in SetSize() local
31 totalSize *= m_nUnitSize; in SetSize()
32 if (!totalSize.IsValid()) { in SetSize()
37 FX_Alloc(uint8_t, pdfium::base::ValueOrDieForType<size_t>(totalSize)); in SetSize()
47 pdfium::base::CheckedNumeric<int> totalSize = nNewMax; in SetSize() local
48 totalSize *= m_nUnitSize; in SetSize()
49 if (!totalSize.IsValid() || nNewMax < m_nSize) { in SetSize()
53 uint8_t, m_pData, pdfium::base::ValueOrDieForType<size_t>(totalSize)); in SetSize()
Dcfx_string_data_template.h34 int totalSize = nSize.ValueOrDie(); in Create() local
35 int usableLen = (totalSize - overhead) / sizeof(CharType); in Create()
38 void* pData = FX_Alloc(uint8_t, totalSize); in Create()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractMapBasedMultimap.java110 private transient int totalSize; field in AbstractMapBasedMultimap
127 totalSize = 0; in setMap()
130 totalSize += values.size(); in setMap()
177 return totalSize; in size()
193 totalSize++; in put()
200 totalSize++; in put()
235 totalSize -= collection.size(); in replaceValues()
240 totalSize++; in replaceValues()
262 totalSize -= collection.size(); in removeAll()
289 totalSize = 0; in clear()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDictionaryData.java65 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor() local
69 byte[] data = new byte[totalSize]; in loadDictionaryFor()
73 Assert.assrt(totalSize % 2 == 0); in loadDictionaryFor()
74 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1); in loadDictionaryFor()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryData.java64 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor() local
68 byte[] data = new byte[totalSize]; in loadDictionaryFor()
72 Assert.assrt(totalSize % 2 == 0); in loadDictionaryFor()
73 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1); in loadDictionaryFor()
/external/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultimap.java113 private transient int totalSize; field in AbstractMapBasedMultimap
130 totalSize = 0; in setMap()
133 totalSize += values.size(); in setMap()
180 return totalSize; in size()
196 totalSize++; in put()
203 totalSize++; in put()
238 totalSize -= collection.size(); in replaceValues()
243 totalSize++; in replaceValues()
265 totalSize -= collection.size(); in removeAll()
292 totalSize = 0; in clear()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMultidimensionalCounter.java61 private final int totalSize; field in MultidimensionalCounter
186 totalSize = tS; in MultidimensionalCounter()
217 index >= totalSize) { in getCounts()
218 throw new OutOfRangeException(index, 0, totalSize); in getCounts()
280 return totalSize; in getSize()
/external/lzma/C/
DXzIn.c62 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3); in Xz_GetPackSize()
106 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); in Xz_ReadIndex2()
108 if (block->totalSize == 0) in Xz_ReadIndex2()
212 UInt64 totalSize = Xz_GetPackSize(p); in Xz_ReadBackward() local
213 if (totalSize == XZ_SIZE_OVERFLOW in Xz_ReadBackward()
214 || totalSize >= ((UInt64)1 << 63) in Xz_ReadBackward()
215 || pos < totalSize + XZ_STREAM_HEADER_SIZE) in Xz_ReadBackward()
217 pos -= (totalSize + XZ_STREAM_HEADER_SIZE); in Xz_ReadBackward()
/external/brotli/java/org/brotli/dec/
DHuffman.java97 int totalSize = tableSize; in buildHuffmanTable() local
101 for (key = 0; key < totalSize; key++) { in buildHuffmanTable()
118 int mask = totalSize - 1; in buildHuffmanTable()
127 totalSize += tableSize; in buildHuffmanTable()
/external/icu/icu4c/source/common/
Ducnvsel.cpp185 int32_t totalSize = 0; in ucnvsel_open() local
188 totalSize += in ucnvsel_open()
192 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open()
196 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open()
197 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open()
317 int32_t totalSize = in ucnvsel_serialize() local
323 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
324 if (totalSize > bufferCapacity) { in ucnvsel_serialize()
326 return totalSize; in ucnvsel_serialize()
348 return totalSize; in ucnvsel_serialize()
[all …]
Drbbirb.cpp167 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize in flattenData() local
171 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
176 uprv_memset(data, 0, totalSize); in flattenData()
184 data->fLength = totalSize; in flattenData()
Drbbidata.cpp367 int32_t totalSize = headerSize + breakDataLength; in ubrk_swap() local
369 return totalSize; in ubrk_swap()
375 if (length < totalSize) { in ubrk_swap()
472 return totalSize; in ubrk_swap()
/external/lzma/CPP/Windows/
DFileSystem.cpp86 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize) in MyGetDiskFreeSpace() argument
99 totalSize = totalSize2.QuadPart; in MyGetDiskFreeSpace()
114 totalSize = totalSize2.QuadPart; in MyGetDiskFreeSpace()
123 totalSize = clusterSize * (UInt64)numClusters; in MyGetDiskFreeSpace()
DFileIO.cpp27 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
267 UInt64 clusterSize, totalSize, freeSize; in CalcDeviceSize() local
268 if (NSystem::MyGetDiskFreeSpace(path, clusterSize, totalSize, freeSize)) in CalcDeviceSize()
269 Size = totalSize; in CalcDeviceSize()
/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/pdfium/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/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllocation.java43 long totalSize = 0; in getTotalSize() local
45 totalSize += allocation.size; in getTotalSize()
47 return totalSize; in getTotalSize()
/external/skia/src/core/
DSkArenaAlloc.cpp152 uint32_t totalSize = sizeIncludingFooter + skipOverhead; in allocObjectWithFooter() local
154 if ((ptrdiff_t)totalSize > fEnd - objStart) { in allocObjectWithFooter()
155 this->ensureSpace(totalSize, alignment); in allocObjectWithFooter()
159 SkASSERT((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp175 SkDEBUGCODE(const size_t totalSize = size;) in read()
185 SkASSERT(size + (fOffset - start) == totalSize); in read()
199 SkASSERT(size + (fOffset - start) == totalSize); in read()
208 SkASSERT(size + (fOffset - start) == totalSize); in read()
/external/skia/src/gpu/
DGrYUVProvider.cpp59 size_t totalSize(0); in init() local
61 totalSize += yuvInfo->fSizeInfo.fWidthBytes[i] * yuvInfo->fSizeInfo.fSizes[i].fHeight; in init()
64 fCachedData.reset(SkResourceCache::NewCachedData(totalSize)); in init()
67 fStorage.reset(totalSize); in init()
DGrMemoryPool.cpp177 size_t totalSize = ptrOffset + block->fFreeSize; in validate() local
181 SkASSERT(!(totalSize % kAlignment)); in validate()
185 SkASSERT(totalSize >= fMinAllocSize); in validate()
187 SkASSERT(totalSize == block->fSize); in validate()
/external/icu/icu4c/source/tools/toolutil/
Dcollationinfo.cpp31 int32_t totalSize = indexes[CollationDataReader::IX_TOTAL_SIZE]; in printSizes() local
32 if(sizeWithHeader > totalSize) { in printSizes()
33 printf(" header size: %6ld\n", (long)(sizeWithHeader - totalSize)); in printSizes()
/external/swiftshader/src/OpenGL/compiler/
DparseConst.cpp185 size_t totalSize = index + size; in visitConstantUnion() local
189 for(size_t i = index; i < totalSize; i++) { in visitConstantUnion()
203 for(size_t i = index; i < totalSize; i++) { in visitConstantUnion()
/external/clang/lib/CodeGen/
DABIInfo.h137 virtual bool shouldPassIndirectlyForSwift(CharUnits totalSize,
141 virtual bool isLegalVectorTypeForSwift(CharUnits totalSize,

1234