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.ts72 if (copiedCallsite.totalSize <= minSizeDisplayed && i + 1 < data.length) {
78 nextCallsite.totalSize <= minSizeDisplayed) {
79 copiedCallsite.totalSize += nextCallsite.totalSize;
102 totalSize: callsite.totalSize,
116 let totalSize = 0;
119 totalSize += data[i].totalSize;
122 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/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/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/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/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/swiftshader/src/Vulkan/
DVkQueue.cpp36 size_t totalSize = submitSize; in DeepCopySubmitInfo() local
39 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo()
40 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkPipelineStageFlags); in DeepCopySubmitInfo()
41 totalSize += pSubmits[i].signalSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo()
42 totalSize += pSubmits[i].commandBufferCount * sizeof(VkCommandBuffer); in DeepCopySubmitInfo()
52 totalSize += sizeof(VkTimelineSemaphoreSubmitInfo); in DeepCopySubmitInfo()
53 totalSize += tlsSubmitInfo->waitSemaphoreValueCount * sizeof(uint64_t); in DeepCopySubmitInfo()
54 totalSize += tlsSubmitInfo->signalSemaphoreValueCount * sizeof(uint64_t); in DeepCopySubmitInfo()
65 …vk::allocate(totalSize, vk::REQUIRED_MEMORY_ALIGNMENT, vk::DEVICE_MEMORY, vk::Fence::GetAllocation… in DeepCopySubmitInfo()
DVkDescriptorPool.cpp123 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_MEMO… in allocateSets()
/external/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultimap.java108 private transient int totalSize; field in AbstractMapBasedMultimap
124 totalSize = 0; in setMap()
127 totalSize += values.size(); in setMap()
172 return totalSize; in size()
188 totalSize++; in put()
195 totalSize++; in put()
230 totalSize -= collection.size(); in replaceValues()
235 totalSize++; in replaceValues()
257 totalSize -= collection.size(); in removeAll()
274 totalSize = 0; in clear()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DAbstractMapBasedMultimap.java106 private transient int totalSize; field in AbstractMapBasedMultimap
122 totalSize = 0; in setMap()
125 totalSize += values.size(); in setMap()
170 return totalSize; in size()
186 totalSize++; in put()
193 totalSize++; in put()
228 totalSize -= collection.size(); in replaceValues()
233 totalSize++; in replaceValues()
255 totalSize -= collection.size(); in removeAll()
272 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/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/mtools/
Dmcat.c47 static size_t bufLen(size_t blocksize, mt_size_t totalSize, mt_off_t address) in bufLen() argument
49 if(totalSize == 0) in bufLen()
51 if(address + blocksize > totalSize) in bufLen()
52 return totalSize - address; in bufLen()
/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/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/freetype/src/psaux/
Dpsarrst.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/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/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/skqp/include/private/
DSkArenaAlloc.h162 uintptr_t totalSize = size + alignedOffset; in allocObject() local
163 AssertRelease(totalSize >= size); in allocObject()
164 if (totalSize > static_cast<uintptr_t>(fEnd - fCursor)) { in allocObject()
186 uint32_t totalSize = arraySize + overhead; in commonArrayAlloc() local
187 objStart = this->allocObjectWithFooter(totalSize, alignment); in commonArrayAlloc()
/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()

1234567