Home
last modified time | relevance | path

Searched refs:kVarInt (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/include/perfetto/protozero/
Dfield.h59 PERFETTO_DCHECK(res == proto_utils::ProtoWireType::kVarInt || in type()
67 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt); in as_bool()
72 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt || in as_uint32()
78 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt || in as_int32()
84 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt || in as_uint64()
91 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt || in as_int64()
Dproto_utils.h35 kVarInt = 0, enumerator
123 return (field_id << 3) | static_cast<uint32_t>(ProtoWireType::kVarInt); in MakeTagVarInt()
/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc180 {"\x08\x00", 2, 1, ProtoWireType::kVarInt, 0}, in TEST()
181 {"\x08\x01", 2, 1, ProtoWireType::kVarInt, 1}, in TEST()
182 {"\x08\x42", 2, 1, ProtoWireType::kVarInt, 0x42}, in TEST()
183 {"\xF8\x07\x42", 3, 127, ProtoWireType::kVarInt, 0x42}, in TEST()
184 {"\xB8\x3E\xFF\xFF\xFF\xFF\x0F", 7, 999, ProtoWireType::kVarInt, in TEST()
Dproto_decoder.cc75 case static_cast<uint8_t>(ProtoWireType::kVarInt): { in ParseOneField()