Home
last modified time | relevance | path

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

1234567

/external/perfetto/ui/src/common/
Dflamegraph_unittest.ts25 totalSize: 10,
36 totalSize: 8,
47 totalSize: 4,
58 totalSize: 4,
79 totalSize: 10,
90 totalSize: 8,
101 totalSize: 6,
112 totalSize: 4,
123 totalSize: 8,
144 totalSize: 10,
[all …]
Dflamegraph_util.ts73 if (copiedCallsite.totalSize <= minSizeDisplayed && i + 1 < data.length) {
79 nextCallsite.totalSize <= minSizeDisplayed) {
80 copiedCallsite.totalSize += nextCallsite.totalSize;
103 totalSize: callsite.totalSize,
118 let totalSize = 0;
121 totalSize += data[i].totalSize;
124 return totalSize;
/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/perfetto/ui/src/frontend/
Dflamegraph.ts39 let totalSize = 0;
42 totalSize += data[i].totalSize;
45 return totalSize;
49 totalSize?: string; property
58 private totalSize = -1; property in Flamegraph
128 this.totalSize = findRootSize(flamegraphData);
152 nodesMap.set(-1, {width, nextXForChildren: x, size: this.totalSize, x});
164 this.totalSize, unit, unit === 'B' ? 1024 : 1000)}`,
192 const parentSize = parent === -1 ? this.totalSize : parentNode.size;
195 (isFullWidth ? 1 : value.totalSize / parentSize) * parentNode.width;
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DObjectBuffer.java134 int totalSize = lastChunkEntries + _size; in completeAndClearBuffer() local
135 Object[] result = new Object[totalSize]; in completeAndClearBuffer()
136 _copyTo(result, totalSize, lastChunk, lastChunkEntries); in completeAndClearBuffer()
151 int totalSize = lastChunkEntries + _size; in completeAndClearBuffer() local
153 T[] result = (T[]) Array.newInstance(componentType, totalSize); in completeAndClearBuffer()
154 _copyTo(result, totalSize, lastChunk, lastChunkEntries); in completeAndClearBuffer()
207 protected final void _copyTo(Object resultArray, int totalSize, in _copyTo() argument
222 if (ptr != totalSize) { in _copyTo()
223 throw new IllegalStateException("Should have gotten "+totalSize+" entries, got "+ptr); in _copyTo()
DPrimitiveArrayBuilder.java87 int totalSize = lastChunkEntries + _bufferedEntryCount; in completeAndClearBuffer() local
88 T resultArray = _constructArray(totalSize); in completeAndClearBuffer()
99 if (ptr != totalSize) { in completeAndClearBuffer()
100 throw new IllegalStateException("Should have gotten "+totalSize+" entries, got "+ptr); in completeAndClearBuffer()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DBufferUtilsTest.java99 int totalSize = arraySum(sizes); in consume() local
102 assertEquals(totalSize, BufferUtils.remaining(buffers)); in consume()
104 BufferUtils.consume(buffers,totalSize / 2); in consume()
105 assertEquals(totalSize / 2, BufferUtils.remaining(buffers)); in consume()
107 BufferUtils.consume(buffers,totalSize / 2); in consume()
110 if (totalSize > 0) { in consume()
112 BufferUtils.consume(buffers, totalSize / 2); in consume()
126 int totalSize = arraySum(sizes); in copyNoConsume() local
128 ByteBuffer destination = destinationType.newBuffer(totalSize); in copyNoConsume()
129 BufferUtils.copyNoConsume(buffers, destination, totalSize); in copyNoConsume()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/
DBufferUtilsTest.java95 int totalSize = arraySum(sizes); in consume() local
98 assertEquals(totalSize, BufferUtils.remaining(buffers)); in consume()
100 BufferUtils.consume(buffers,totalSize / 2); in consume()
101 assertEquals(totalSize / 2, BufferUtils.remaining(buffers)); in consume()
103 BufferUtils.consume(buffers,totalSize / 2); in consume()
106 if (totalSize > 0) { in consume()
108 BufferUtils.consume(buffers, totalSize / 2); in consume()
122 int totalSize = arraySum(sizes); in copyNoConsume() local
124 ByteBuffer destination = destinationType.newBuffer(totalSize); in copyNoConsume()
125 BufferUtils.copyNoConsume(buffers, destination, totalSize); in copyNoConsume()
[all …]
/external/brotli/java/org/brotli/dec/
DHuffman.java94 int totalSize = tableSize; in buildHuffmanTable() local
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()
/external/icu/android_icu4j/src/main/java/android/icu/impl/breakiter/
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/impl/breakiter/
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/armnn/src/profiling/
DSendCounterPacket.cpp83 const uint32_t totalSize = headerSize + bodySize + payloadSize; in SendStreamMetaDataPacket() local
87 IPacketBufferPtr writeBuffer = m_BufferManager.Reserve(totalSize, reserved); in SendStreamMetaDataPacket()
89 if (writeBuffer == nullptr || reserved < totalSize) in SendStreamMetaDataPacket()
93 fmt::format("No space left in buffer. Unable to reserve ({}) bytes.", totalSize)); in SendStreamMetaDataPacket()
102 WriteUint32(writeBuffer, offset, totalSize - headerSize); in SendStreamMetaDataPacket()
170 m_BufferManager.Commit(writeBuffer, totalSize, false); in SendStreamMetaDataPacket()
802 uint32_t totalSize = armnn::numeric_cast<uint32_t>(counterDirectoryPacketSize * uint32_t_size); in SendCounterDirectoryPacket() local
806 IPacketBufferPtr writeBuffer = m_BufferManager.Reserve(totalSize, reserved); in SendCounterDirectoryPacket()
808 if (writeBuffer == nullptr || reserved < totalSize) in SendCounterDirectoryPacket()
812 fmt::format("No space left in buffer. Unable to reserve ({}) bytes.", totalSize)); in SendCounterDirectoryPacket()
[all …]
/external/swiftshader/src/Vulkan/
DVkStructConversion.hpp365 size_t totalSize = submitSize; in Allocate() local
368 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkSemaphore); in Allocate()
369 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkPipelineStageFlags); in Allocate()
370 totalSize += pSubmits[i].signalSemaphoreCount * sizeof(VkSemaphore); in Allocate()
371 totalSize += pSubmits[i].commandBufferCount * sizeof(VkCommandBuffer); in Allocate()
381 totalSize += tlsSubmitInfo->waitSemaphoreValueCount * sizeof(uint64_t); in Allocate()
382 totalSize += tlsSubmitInfo->signalSemaphoreValueCount * sizeof(uint64_t); in Allocate()
400 …vk::allocateHostMemory(totalSize, vk::REQUIRED_MEMORY_ALIGNMENT, vk::NULL_ALLOCATION_CALLBACKS, VK… in Allocate()
498 size_t totalSize = submitSize; in Allocate() local
501 totalSize += pSubmits[i].waitSemaphoreInfoCount * sizeof(VkSemaphore); in Allocate()
[all …]
DVkDescriptorPool.cpp132 size_t totalSize = 0; in allocateSets() local
135 totalSize += sizes[i]; in allocateSets()
138 if(totalSize > poolSize) in allocateSets()
145 uint8_t *memory = findAvailableMemory(totalSize); in allocateSets()
178 …return (computeTotalFreeSize() > totalSize) ? VK_ERROR_FRAGMENTED_POOL : VK_ERROR_OUT_OF_POOL_MEMO… in allocateSets()
/external/guava/android/guava/src/com/google/common/collect/
DAbstractMapBasedMultimap.java110 private transient int totalSize; field in AbstractMapBasedMultimap
126 totalSize = 0; in setMap()
129 totalSize += values.size(); in setMap()
174 return totalSize; in size()
190 totalSize++; in put()
197 totalSize++; in put()
232 totalSize -= collection.size(); in replaceValues()
237 totalSize++; in replaceValues()
259 totalSize -= collection.size(); in removeAll()
277 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/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultimap.java112 private transient int totalSize; field in AbstractMapBasedMultimap
128 totalSize = 0; in setMap()
131 totalSize += values.size(); in setMap()
176 return totalSize; in size()
192 totalSize++; in put()
199 totalSize++; in put()
234 totalSize -= collection.size(); in replaceValues()
239 totalSize++; in replaceValues()
261 totalSize -= collection.size(); in removeAll()
279 totalSize = 0; in clear()
[all …]
/external/skia/src/core/
DSkArenaAlloc.cpp110 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()
/external/lzma/C/
DXzIn.c69 ADD_SIZE_CHECK(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3); in Xz_GetPackSize()
112 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); in Xz_ReadIndex2()
114 if (block->totalSize == 0) in Xz_ReadIndex2()
218 UInt64 totalSize = Xz_GetPackSize(p); in Xz_ReadBackward() local
219 if (totalSize == XZ_SIZE_OVERFLOW in Xz_ReadBackward()
220 || totalSize >= ((UInt64)1 << 63) in Xz_ReadBackward()
221 || pos < totalSize + XZ_STREAM_HEADER_SIZE) in Xz_ReadBackward()
223 pos -= (totalSize + XZ_STREAM_HEADER_SIZE); in Xz_ReadBackward()
/external/brotli/csharp/org/brotli/dec/
DHuffman.cs105 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()
/external/mtools/
Dmcat.c44 static size_t bufLen(size_t blocksize, mt_off_t totalSize, mt_off_t address) in bufLen() argument
46 if(totalSize == 0) in bufLen()
48 if((mt_off_t) blocksize > totalSize - address) in bufLen()
49 return (size_t) (totalSize - address); in bufLen()
/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()
/external/freetype/src/psaux/
Dpsarrst.c69 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()
/external/icu/icu4c/source/common/
Ducnvsel.cpp186 int32_t totalSize = 0; in ucnvsel_open() local
189 totalSize += 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()
349 return totalSize; in ucnvsel_serialize()
[all …]
/external/pigweed/pw_transfer/ts/
Dtransfer.ts159 const totalSize = this.data.length; constant
160 this.updateProgress(totalSize, totalSize, totalSize);
358 const totalSize = constant
362 this.updateProgress(this.offset, this.offset, totalSize);

1234567