Searched refs:kMessageLengthFieldSize (Results 1 – 8 of 8) sorted by relevance
237 uint8_t root_msg_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()308 uint8_t msg1_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()309 uint8_t msg2_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()310 uint8_t msg3_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()370 memset(size_msg_1, 0, proto_utils::kMessageLengthFieldSize); in TEST_F()375 memset(size_msg_2, 0, proto_utils::kMessageLengthFieldSize); in TEST_F()393 uint8_t msg_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
158 stream_writer_->ReserveBytes(proto_utils::kMessageLengthFieldSize)); in BeginNestedMessageInternal()159 size_ += proto_utils::kMessageLengthFieldSize; in BeginNestedMessageInternal()
156 uint8_t buf[kMessageLengthFieldSize]; in TEST()
112 constexpr size_t kMessageLengthFieldSize = 4; variable113 constexpr size_t kMaxMessageLength = (1u << (kMessageLengthFieldSize * 7)) - 1;185 for (size_t i = 0; i < kMessageLengthFieldSize; ++i) { in WriteRedundantVarInt()186 const uint8_t msb = (i < kMessageLengthFieldSize - 1) ? 0x80 : 0; in WriteRedundantVarInt()
31 using protozero::proto_utils::kMessageLengthFieldSize;90 static_assert(kPacketHeaderSize == kMessageLengthFieldSize, in NewTracePacket()157 cur_hdr + kMessageLengthFieldSize <= cur_chunk_.end(); in GetNewBuffer()
93 stream_.ReserveBytes(protozero::proto_utils::kMessageLengthFieldSize)); in NewTracePacket()
838 std::min(packet_begin + protozero::proto_utils::kMessageLengthFieldSize, in ReadNextPacketInChunk()
36 using protozero::proto_utils::kMessageLengthFieldSize;