/third_party/icu/icu4c/source/i18n/ |
H A 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 in write() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A 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 in write() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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 in write() [all...] |
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
H A D | Huffman.java | 94 int totalSize = tableSize; in buildHuffmanTable() 98 for (key = 0; key < totalSize; key++) { in buildHuffmanTable() 101 return totalSize; in buildHuffmanTable() 116 int mask = totalSize - 1; in buildHuffmanTable() 125 totalSize += tableSize; in buildHuffmanTable() 135 return totalSize; in buildHuffmanTable()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | DictionaryData.java | 64 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor() 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DictionaryData.java | 65 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor() 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()
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/ |
H A D | BufferConsumer_impl.h | 60 size_t totalSize = sizeof(T) * count; in NextN() local 61 if (totalSize > mSize) { in NextN() 66 mBuffer += totalSize; in NextN() 67 mSize -= totalSize; in NextN()
|
/third_party/lzma/C/ |
H A D | XzIn.c | 80 ADD_SIZE_CHECK(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3)
in Xz_GetPackSize() 124 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize)
in Xz_ReadIndex2() 126 if (block->totalSize == 0)
in Xz_ReadIndex2() 235 UInt64 totalSize = Xz_GetPackSize(p);
in Xz_ReadBackward() local 236 if (totalSize == XZ_SIZE_OVERFLOW
in Xz_ReadBackward() 237 || totalSize >= ((UInt64)1 << 63)
in Xz_ReadBackward() 238 || pos < totalSize + XZ_STREAM_HEADER_SIZE)
in Xz_ReadBackward() 240 pos -= (totalSize + XZ_STREAM_HEADER_SIZE);
in Xz_ReadBackward()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkQueue.cpp | 37 size_t totalSize = submitSize; in DeepCopySubmitInfo() local 40 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo() 41 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkPipelineStageFlags); in DeepCopySubmitInfo() 42 totalSize += pSubmits[i].signalSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo() 43 totalSize += pSubmits[i].commandBufferCount * sizeof(VkCommandBuffer); in DeepCopySubmitInfo() 53 totalSize += tlsSubmitInfo->waitSemaphoreValueCount * sizeof(uint64_t); in DeepCopySubmitInfo() 54 totalSize += tlsSubmitInfo->signalSemaphoreValueCount * sizeof(uint64_t); in DeepCopySubmitInfo() 72 vk::allocateHostMemory(totalSize, vk::REQUIRED_MEMORY_ALIGNMENT, vk::NULL_ALLOCATION_CALLBACKS, vk::Fence::GetAllocationScope())); in DeepCopySubmitInfo()
|
H A D | VkDescriptorPool.cpp | 123 size_t totalSize = 0; in allocateSets() local 126 totalSize += sizes[i]; in allocateSets() 129 if(totalSize > poolSize) in allocateSets() 136 uint8_t *memory = findAvailableMemory(totalSize); in allocateSets() 169 return (computeTotalFreeSize() > totalSize) ? VK_ERROR_FRAGMENTED_POOL : VK_ERROR_OUT_OF_POOL_MEMORY; in allocateSets()
|
/third_party/icu/icu4c/source/common/ |
H A D | ucnvsel.cpp | 186 int32_t totalSize = 0; in ucnvsel_open() local 189 totalSize += in ucnvsel_open() 192 // 4-align the totalSize to 4-align the size of the serialized form in ucnvsel_open() 193 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open() 197 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open() 198 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open() 318 int32_t totalSize = in ucnvsel_serialize() local 324 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize() 325 if (totalSize > bufferCapacity) { in ucnvsel_serialize() 327 return totalSize; in ucnvsel_serialize() 509 int32_t totalSize = ucnvsel_swap(ds, p, -1, NULL, status); ucnvsel_openFromSerialized() local [all...] |
H A D | rbbirb.cpp | 167 int32_t totalSize = headerSize in flattenData() local 181 RBBIDebugPrintf("Total Size: %8d\n", totalSize); in flattenData() 185 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData() 190 uprv_memset(data, 0, totalSize); in flattenData() 198 data->fLength = totalSize; in flattenData()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnvsel.cpp | 186 int32_t totalSize = 0; in ucnvsel_open() local 189 totalSize += in ucnvsel_open() 192 // 4-align the totalSize to 4-align the size of the serialized form in ucnvsel_open() 193 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open() 197 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open() 198 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open() 318 int32_t totalSize = in ucnvsel_serialize() local 324 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize() 325 if (totalSize > bufferCapacity) { in ucnvsel_serialize() 327 return totalSize; in ucnvsel_serialize() 509 int32_t totalSize = ucnvsel_swap(ds, p, -1, nullptr, status); ucnvsel_openFromSerialized() local [all...] |
H A D | rbbirb.cpp | 166 int32_t totalSize = headerSize in flattenData() local 180 RBBIDebugPrintf("Total Size: %8d\n", totalSize); in flattenData() 184 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData() 189 uprv_memset(data, 0, totalSize); in flattenData() 197 data->fLength = totalSize; in flattenData()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnvsel.cpp | 186 int32_t totalSize = 0; in ucnvsel_open() local 189 totalSize += in ucnvsel_open() 192 // 4-align the totalSize to 4-align the size of the serialized form in ucnvsel_open() 193 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open() 197 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open() 198 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open() 318 int32_t totalSize = in ucnvsel_serialize() local 324 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize() 325 if (totalSize > bufferCapacity) { in ucnvsel_serialize() 327 return totalSize; in ucnvsel_serialize() 509 int32_t totalSize = ucnvsel_swap(ds, p, -1, NULL, status); ucnvsel_openFromSerialized() local [all...] |
H A D | rbbirb.cpp | 167 int32_t totalSize = headerSize in flattenData() local 181 RBBIDebugPrintf("Total Size: %8d\n", totalSize); in flattenData() 185 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData() 190 uprv_memset(data, 0, totalSize); in flattenData() 198 data->fLength = totalSize; in flattenData()
|
/third_party/skia/src/core/ |
H A D | SkArenaAlloc.cpp | 110 const uint32_t totalSize = sizeIncludingFooter + skipOverhead; in allocObjectWithFooter() local 114 this->ensureSpace(totalSize, alignment); in allocObjectWithFooter() 121 if ((ptrdiff_t)totalSize > fEnd - objStart) { in allocObjectWithFooter() 122 this->ensureSpace(totalSize, alignment); in allocObjectWithFooter() 126 AssertRelease((ptrdiff_t)totalSize <= fEnd - objStart); in allocObjectWithFooter()
|
H A D | SkCompressedDataUtils.cpp | 258 size_t totalSize = 0; in SkCompressedDataSize() local 270 individualMipOffsets->push_back(totalSize); in SkCompressedDataSize() 274 totalSize += numBlocks * sizeof(ETC1Block); in SkCompressedDataSize() 283 totalSize = std::ceil(dimensions.width() / 4.0f) * std::ceil(dimensions.height() / 4.0f) * 16; in SkCompressedDataSize() 292 totalSize = std::ceil(dimensions.width() / 6.0f) * std::ceil(dimensions.height() / 6.0f) * 16; in SkCompressedDataSize() 301 totalSize = std::ceil(dimensions.width() / 8.0f) * std::ceil(dimensions.height() / 8.0f) * 16; in SkCompressedDataSize() 309 return totalSize; in SkCompressedDataSize()
|
/third_party/lzma/CPP/Windows/ |
H A D | FileSystem.cpp | 88 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize)
in MyGetDiskFreeSpace() argument 103 totalSize = totalSize2.QuadPart;
in MyGetDiskFreeSpace() 120 totalSize = totalSize2.QuadPart;
in MyGetDiskFreeSpace() 129 totalSize = clusterSize * (UInt64)numClusters;
in MyGetDiskFreeSpace()
|
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
H A D | Huffman.cs | 105 int totalSize = tableSize;
in BuildHuffmanTable() 109 for (key = 0; key < totalSize; key++)
in BuildHuffmanTable() 127 int mask = totalSize - 1;
in BuildHuffmanTable() 139 totalSize += tableSize;
in BuildHuffmanTable()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | psarrst.c | 69 arrstack->totalSize = 0; in cf2_arrstack_init() 84 arrstack->totalSize = 0; in cf2_arrstack_finalize() 112 if ( !FT_QREALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements() 115 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A 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()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A 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()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A 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()
|
/third_party/skia/client_utils/android/ |
H A D | FrontBufferedStream.cpp | 205 SkDEBUGCODE(const size_t totalSize = size;) in read() 215 SkASSERT(size + (fOffset - start) == totalSize); in read() 229 SkASSERT(size + (fOffset - start) == totalSize); in read() 238 SkASSERT(size + (fOffset - start) == totalSize); in read()
|