Searched refs:AppendVarInt (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/src/protozero/ |
D | message_unittest.cc | 115 msg->AppendVarInt(i, 42); in BuildNestedMessages() 143 msg->AppendVarInt(1 /* field_id */, 0); in TEST_F() 144 msg->AppendVarInt(2 /* field_id */, std::numeric_limits<uint32_t>::max()); in TEST_F() 145 msg->AppendVarInt(3 /* field_id */, 42); in TEST_F() 146 msg->AppendVarInt(4 /* field_id */, std::numeric_limits<uint64_t>::max()); in TEST_F() 173 root_msg->AppendVarInt(1 /* field_id */, 1); in TEST_F() 178 nested_msg->AppendVarInt(2 /* field_id */, 2); in TEST_F() 182 nested_msg->AppendVarInt(4 /* field_id */, 2); in TEST_F() 184 root_msg->AppendVarInt(5 /* field_id */, 3); in TEST_F() 239 root_msg->AppendVarInt(1, 0x42); in TEST_F() [all …]
|
D | proto_decoder_unittest.cc | 76 message.AppendVarInt(/*field_id=*/2, 10); in TEST() 94 message.AppendVarInt(/*field_id=*/2, i); in TEST() 123 message.AppendVarInt(1, 10); in TEST() 124 message.AppendVarInt(2, 20); in TEST() 125 message.AppendVarInt(3, 30); in TEST() 127 message.AppendVarInt(1, 11); in TEST() 128 message.AppendVarInt(2, 21); in TEST() 129 message.AppendVarInt(2, 22); in TEST()
|
/external/perfetto/include/perfetto/protozero/ |
D | message.h | 96 void AppendVarInt(uint32_t field_id, T value) { in AppendVarInt() function 112 AppendVarInt(field_id, proto_utils::ZigZagEncode(value)); in AppendSignedVarInt()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_reader.h | 92 out->AppendVarInt<T>(field_id, t); in ReadIntoVarInt() 113 out->AppendVarInt<BlockDeviceID>(field_id, dev_id); in ReadDevId()
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 312 msg()->AppendVarInt<int32_t>(field_id, enum_value_number); in IdentifierField() 364 msg()->AppendVarInt<T>(field_id, static_cast<T>(n)); in VarIntField()
|