Home
last modified time | relevance | path

Searched refs:ReserveBytes (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/protozero/
Dscattered_stream_writer_unittest.cc58 uint8_t* reserved_range_1 = ssw.ReserveBytes(4); in TEST()
67 uint8_t* reserved_range_2 = ssw.ReserveBytes(4); in TEST()
82 memcpy(ssw.ReserveBytes(4), kFourByteBuf, sizeof(kFourByteBuf)); in TEST()
84 memcpy(ssw.ReserveBytes(3), kThreeByteBuf, sizeof(kThreeByteBuf)); in TEST()
86 memcpy(ssw.ReserveBytes(1), kOneByteBuf, sizeof(kOneByteBuf)); in TEST()
Dscattered_stream_writer.cc60 uint8_t* ScatteredStreamWriter::ReserveBytes(size_t size) { in ReserveBytes() function in protozero::ScatteredStreamWriter
Dmessage.cc158 stream_writer_->ReserveBytes(proto_utils::kMessageLengthFieldSize)); in BeginNestedMessageInternal()
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_writer.h85 uint8_t* ReserveBytes(size_t size);
/external/perfetto/src/tracing/core/
Dtrace_writer_for_testing.cc87 stream_.ReserveBytes(protozero::proto_utils::kMessageLengthFieldSize)); in NewTracePacket()
Dtrace_writer_impl.cc138 uint8_t* header = protobuf_stream_writer_.ReserveBytes(kPacketHeaderSize); in NewTracePacket()