Searched refs:ReserveBytes (Results 1 – 6 of 6) sorted by relevance
58 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()
60 uint8_t* ScatteredStreamWriter::ReserveBytes(size_t size) { in ReserveBytes() function in protozero::ScatteredStreamWriter
158 stream_writer_->ReserveBytes(proto_utils::kMessageLengthFieldSize)); in BeginNestedMessageInternal()
85 uint8_t* ReserveBytes(size_t size);
87 stream_.ReserveBytes(protozero::proto_utils::kMessageLengthFieldSize)); in NewTracePacket()
138 uint8_t* header = protobuf_stream_writer_.ReserveBytes(kPacketHeaderSize); in NewTracePacket()