Searched refs:size_left (Results 1 – 7 of 7) sorted by relevance
48 for (uint32_t size_left = payload_size; size_left > 0;) { in GetSimpleFrame() local49 PERFETTO_CHECK(size_left >= 2); // We cannot produce frames < 2 bytes. in GetSimpleFrame()51 if (size_left <= 127) { in GetSimpleFrame()52 padding_size = size_left - 2; in GetSimpleFrame()53 size_left = 0; in GetSimpleFrame()56 size_left -= padding_size + 2; in GetSimpleFrame()
204 size_t size_left = size; in ParsePartitions() local215 size_left -= last_part * 3; in ParsePartitions()218 if (psize > size_left) psize = size_left; in ParsePartitions()221 size_left -= psize; in ParsePartitions()224 VP8InitBitReader(dec->parts_ + last_part, part_start, size_left); in ParsePartitions()
72 static_assert(size_left == size_right, "same field both ways");93 return list_left.*size_right + list_right.*size_left;
22 constexpr unsigned List<int>::*size_left = &List<int>::size; variable
2083 int size_left = static_cast<int>(sizeof(sync_marker_packet_)); in SnapshotSyncMarker() local2088 PERFETTO_CHECK(packet.SerializeToArray(dst, size_left)); in SnapshotSyncMarker()2089 size_left -= packet.ByteSize(); in SnapshotSyncMarker()2095 PERFETTO_CHECK(packet.SerializeToArray(dst, size_left)); in SnapshotSyncMarker()
2819 const int64_t size_left = total_size - (writer->Position() - start_pos_); in Finalize() local2821 const uint64_t bytes_written = WriteVoidElement(writer, size_left); in Finalize()