Searched defs:totalSize (Results 1 - 25 of 75) sorted by relevance

123

/external/pdfium/core/fxcrt/
H A Dfx_basic_array.cpp30 pdfium::base::CheckedNumeric<int> totalSize = nNewSize; local
31 totalSize *= m_nUnitSize;
32 if (!totalSize.IsValid()) {
37 FX_Alloc(uint8_t, pdfium::base::ValueOrDieForType<size_t>(totalSize));
47 pdfium::base::CheckedNumeric<int> totalSize = nNewMax;
48 totalSize *= m_nUnitSize;
49 if (!totalSize.IsValid() || nNewMax < m_nSize) {
53 uint8_t, m_pData, pdfium::base::ValueOrDieForType<size_t>(totalSize));
H A Dcfx_string_data_template.h34 int totalSize = nSize.ValueOrDie(); local
35 int usableLen = (totalSize - overhead) / sizeof(CharType);
38 void* pData = FX_Alloc(uint8_t, totalSize);
/external/freetype/src/cff/
H A Dcf2arrst.h60 size_t totalSize; /* total bytes allocated */ member in struct:CF2_ArrStackRec_
/external/icu/icu4c/source/tools/toolutil/
H A Dcollationinfo.cpp31 int32_t totalSize = indexes[CollationDataReader::IX_TOTAL_SIZE]; local
32 if(sizeWithHeader > totalSize) {
33 printf(" header size: %6ld\n", (long)(sizeWithHeader - totalSize));
H A Dswapimpl.cpp118 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]); local
120 if(length<totalSize) {
123 (int)length, (int)totalSize);
138 totalSize-numBytesIndexesAndValueMaps);
154 return headerSize+totalSize;
/external/pdfium/third_party/freetype/src/cff/
H A Dcf2arrst.h60 size_t totalSize; /* total bytes allocated */ member in struct:CF2_ArrStackRec_
/external/icu/icu4c/source/common/
H A Drbbirb.cpp167 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize local
171 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize);
176 uprv_memset(data, 0, totalSize);
184 data->fLength = totalSize;
H A Drbbidata.cpp367 int32_t totalSize = headerSize + breakDataLength; local
369 return totalSize;
375 if (length < totalSize) {
472 return totalSize;
H A Ducnvsel.cpp185 int32_t totalSize = 0; local
188 totalSize +=
191 // 4-align the totalSize to 4-align the size of the serialized form
192 int32_t encodingStrPadding = totalSize & 3;
196 newSelector->encodingStrLength = totalSize += encodingStrPadding;
197 char* allStrings = (char*) uprv_malloc(totalSize);
317 int32_t totalSize = local
323 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize;
324 if (totalSize > bufferCapacity) {
326 return totalSize;
508 int32_t totalSize = ucnvsel_swap(ds, p, -1, NULL, status); local
[all...]
/external/skia/src/core/
H A DSkArenaAlloc.cpp152 uint32_t totalSize = sizeIncludingFooter + skipOverhead; local
154 if ((ptrdiff_t)totalSize > fEnd - objStart) {
155 this->ensureSpace(totalSize, alignment);
159 SkASSERT((ptrdiff_t)totalSize <= fEnd - objStart);
H A DSkArenaAlloc.h179 uint32_t totalSize = arraySize + sizeof(Footer) + sizeof(uint32_t); local
180 objStart = this->allocObjectWithFooter(totalSize, alignment);
/external/skia/src/gpu/
H A DGrMemoryPool.cpp177 size_t totalSize = ptrOffset + block->fFreeSize; local
181 SkASSERT(!(totalSize % kAlignment));
185 SkASSERT(totalSize >= fMinAllocSize);
187 SkASSERT(totalSize == block->fSize);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMultidimensionalCounter.java61 private final int totalSize; field in class:MultidimensionalCounter
186 totalSize = tS;
217 index >= totalSize) {
218 throw new OutOfRangeException(index, 0, totalSize);
280 return totalSize;
/external/icu/icu4c/source/i18n/
H A Dcollationdatawriter.cpp224 int32_t totalSize = indexesLength * 4; local
232 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize;
233 totalSize += reorderCodesLength * 4;
235 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize;
237 totalSize += 256;
240 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize;
244 if(totalSize < capacity) {
245 length = utrie2_serialize(data.trie, dest + totalSize,
246 capacity - totalSize, &errorCode2);
257 totalSize
[all...]
H A Duspoof_impl.cpp872 int32_t totalSize = headerSize + spoofDataLength; local
874 return totalSize;
880 if (length < totalSize) {
937 return totalSize;
/external/lzma/CPP/Windows/
H A DFileSystem.cpp86 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize) argument
99 totalSize = totalSize2.QuadPart;
114 totalSize = totalSize2.QuadPart;
123 totalSize = clusterSize * (UInt64)numClusters;
H A DFileFind.cpp52 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
431 UInt64 clusterSize, totalSize, freeSize; local
432 if (NSystem::MyGetDiskFreeSpace(drive, clusterSize, totalSize, freeSize))
434 Size = totalSize;
/external/swiftshader/src/OpenGL/compiler/
H A DparseConst.cpp185 size_t totalSize = index + size; local
189 for(size_t i = index; i < totalSize; i++) {
203 for(size_t i = index; i < totalSize; i++) {
/external/lzma/C/
H A DXzIn.c62 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3);
106 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize);
108 if (block->totalSize == 0)
212 UInt64 totalSize = Xz_GetPackSize(p); local
213 if (totalSize == XZ_SIZE_OVERFLOW
214 || totalSize >= ((UInt64)1 << 63)
215 || pos < totalSize + XZ_STREAM_HEADER_SIZE)
217 pos -= (totalSize + XZ_STREAM_HEADER_SIZE);
H A DXz.h102 UInt64 totalSize; member in struct:__anon14166
H A DXzEnc.c97 pos = Xz_WriteVarInt(buf, block->totalSize);
130 static SRes Xz_AddIndexRecord(CXzStream *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc *alloc) argument
153 block->totalSize = totalSize;
/external/deqp/executor/
H A DxeTcpIpLink.cpp59 int totalSize = xs::MESSAGE_HEADER_SIZE + nameSize + paramsSize + workDirSize + caseListSize; local
61 writeMessageHeader(dst, xs::MESSAGETYPE_EXECUTE_BINARY, totalSize);
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultisetNavigationTester.java456 private int totalSize(Iterable<? extends Entry<?>> entries) { method in class:MultisetNavigationTester
533 assertEquals(totalSize(expected), subMultiset.size());
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp170 int totalSize = 0; local
172 totalSize += sym->varType.getScalarSize();
173 return totalSize;
/external/deqp/modules/gles31/functional/
H A Des31fShaderIntegerFunctionTests.cpp230 int totalSize = 0; local
232 totalSize += sym->varType.getScalarSize();
233 return totalSize;

Completed in 1388 milliseconds

123