/external/icu/icu4c/source/i18n/ |
D | collationdatawriter.cpp | 224 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/ |
D | fx_basic_array.cpp | 30 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()
|
D | cfx_string_data_template.h | 34 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/ |
D | AbstractMapBasedMultimap.java | 110 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/ |
D | DictionaryData.java | 65 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/ |
D | DictionaryData.java | 64 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/ |
D | AbstractMapBasedMultimap.java | 113 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/ |
D | MultidimensionalCounter.java | 61 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/icu/icu4c/source/common/ |
D | ucnvsel.cpp | 185 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 …]
|
D | rbbirb.cpp | 167 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()
|
D | rbbidata.cpp | 367 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/freetype/src/cff/ |
D | cf2arrst.c | 70 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/lzma/CPP/Windows/ |
D | FileSystem.cpp | 86 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()
|
D | FileIO.cpp | 27 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()
|
D | FileFind.cpp | 51 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize); 331 UInt64 clusterSize, totalSize, freeSize; in Find() local 332 if (NSystem::MyGetDiskFreeSpace(drive, clusterSize, totalSize, freeSize)) in Find() 334 Size = totalSize; in Find()
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cf2arrst.c | 70 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/lzma/C/ |
D | XzIn.c | 62 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3); in Xz_GetPackSize() 105 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); in Xz_ReadIndex2() 107 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/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | Allocation.java | 43 long totalSize = 0; in getTotalSize() local 45 totalSize += allocation.size; in getTotalSize() 47 return totalSize; in getTotalSize()
|
/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 175 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/core/ |
D | SkArenaAlloc.cpp | 143 uint32_t totalSize = sizeIncludingFooter + skipOverhead; in allocObjectWithFooter() local 145 if ((ptrdiff_t)totalSize > fEnd - objStart) { in allocObjectWithFooter() 146 this->ensureSpace(totalSize, alignment); in allocObjectWithFooter() 150 SkASSERT((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 58 size_t totalSize(0); in init() local 60 totalSize += yuvInfo->fSizeInfo.fWidthBytes[i] * yuvInfo->fSizeInfo.fSizes[i].fHeight; in init() 63 fCachedData.reset(SkResourceCache::NewCachedData(totalSize)); in init() 66 fStorage.reset(totalSize); in init()
|
D | GrMemoryPool.cpp | 159 size_t totalSize = ptrOffset + block->fFreeSize; in validate() local 163 SkASSERT(!(totalSize % kAlignment)); in validate() 167 SkASSERT(totalSize >= fMinAllocSize); in validate() 169 SkASSERT(totalSize == block->fSize); in validate()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | collationinfo.cpp | 31 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/ |
D | parseConst.cpp | 185 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/ |
D | ABIInfo.h | 137 virtual bool shouldPassIndirectlyForSwift(CharUnits totalSize, 141 virtual bool isLegalVectorTypeForSwift(CharUnits totalSize,
|