Home
last modified time | relevance | path

Searched refs:AppendVarInt (Results 1 – 13 of 13) sorted by relevance

/external/perfetto/src/protozero/filtering/
Dmessage_tokenizer_unittest.cc57 msg->AppendVarInt(/*field_id*/ 1, 42u); in TEST()
58 msg->AppendVarInt(/*field_id*/ 1, 1000u); in TEST()
59 msg->AppendVarInt(/*field_id*/ 2, 1000000000ull); in TEST()
60 msg->AppendVarInt(/*field_id*/ 3, 0xFF001234DEADBEEFull); in TEST()
65 msg->AppendVarInt(/*field_id*/ 1000, 1001ull); in TEST()
66 msg->AppendVarInt(/*field_id*/ 1000000, 1000001ull); in TEST()
67 msg->AppendVarInt(/*field_id*/ 1 << 28, uint64_t(1ull << 63)); in TEST()
105 msg->AppendVarInt(/*field_id*/ 1, 101u); in TEST()
108 nested->AppendVarInt(/*field_id*/ 3, 103u); in TEST()
112 nested2->AppendVarInt(/*field_id*/ 6, 106u); in TEST()
Dmessage_filter_unittest.cc69 msg->AppendVarInt(/*field_id=*/1, -1000000000ll); in TEST()
70 msg->AppendVarInt(/*field_id=*/2, 42); in TEST()
73 msg->AppendVarInt(/*field_id=*/11, INT32_MIN); in TEST()
74 msg->AppendVarInt(/*field_id=*/12, INT64_MIN); in TEST()
157 msg->AppendVarInt(/*field_id=*/1, 101); in TEST()
158 msg->AppendVarInt(/*field_id=*/3, 103); in TEST()
159 msg->AppendVarInt(/*field_id=*/5, 105); in TEST()
161 nest->AppendVarInt(/*field_id=*/5, 205); in TEST()
Dmessage_filter.cc34 inline void AppendVarInt(uint32_t field_id, uint64_t value, uint8_t** out) { in AppendVarInt() function
167 AppendVarInt(token.field_id, token.value, &out_); in FilterOneByte()
/external/perfetto/src/protozero/
Dmessage_unittest.cc121 msg->AppendVarInt(i, 42); in BuildNestedMessages()
149 msg->AppendVarInt(1 /* field_id */, 0); in TEST_F()
150 msg->AppendVarInt(2 /* field_id */, std::numeric_limits<uint32_t>::max()); in TEST_F()
151 msg->AppendVarInt(3 /* field_id */, 42); in TEST_F()
152 msg->AppendVarInt(4 /* field_id */, std::numeric_limits<uint64_t>::max()); in TEST_F()
179 root_msg->AppendVarInt(1 /* field_id */, 1); in TEST_F()
184 nested_msg->AppendVarInt(2 /* field_id */, 2); in TEST_F()
188 nested_msg->AppendVarInt(4 /* field_id */, 2); in TEST_F()
190 root_msg->AppendVarInt(5 /* field_id */, 3); in TEST_F()
245 root_msg->AppendVarInt(1, 0x42); in TEST_F()
[all …]
Dproto_decoder_unittest.cc67 message->AppendVarInt(/*field_id=*/1, 11); in TEST()
80 message->AppendVarInt(/*field_id=*/3, 13); in TEST()
97 message->AppendVarInt(/*field_id=*/2, 10); in TEST()
132 message->AppendVarInt(/*field_id=*/2, i); in TEST()
156 message->AppendVarInt(1, 10); in TEST()
157 message->AppendVarInt(2, 20); in TEST()
158 message->AppendVarInt(3, 30); in TEST()
160 message->AppendVarInt(1, 11); in TEST()
161 message->AppendVarInt(2, 21); in TEST()
162 message->AppendVarInt(2, 22); in TEST()
[all …]
/external/perfetto/include/perfetto/protozero/
Dfield_writer.h58 message.AppendVarInt(field_id, value);
67 message.AppendVarInt(field_id, value);
76 message.AppendVarInt(field_id, value);
85 message.AppendVarInt(field_id, value);
149 message.AppendVarInt(field_id, value);
Dmessage.h93 void AppendVarInt(uint32_t field_id, T value) { in AppendVarInt() function
109 AppendVarInt(field_id, proto_utils::ZigZagEncode(value)); in AppendSignedVarInt()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.h99 out->AppendVarInt<T>(field_id, t); in ReadIntoVarInt()
120 out->AppendVarInt<BlockDeviceID>(field_id, dev_id); in ReadDevId()
137 out->AppendVarInt(field_id, interned_index); in ReadSymbolAddr()
/external/perfetto/tools/compact_reencode/
Dmain.cc59 out->AppendVarInt(field.id(), field.as_uint64()); in CopyField()
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb.cc375 msg()->AppendVarInt<int32_t>(field_id, enum_value_number); in IdentifierField()
426 msg()->AppendVarInt<T>(field_id, static_cast<T>(n)); in VarIntField()
/external/perfetto/docs/design-docs/
Dprotozero.md166 AppendVarInt(/*field_id=*/2, value);
204 inline expansion calls directly into the corresponding `AppendVarInt()` /
283 M->>SSR: AppendVarInt(...)
/external/perfetto/src/trace_processor/metrics/
Dmetrics.cc121 message_->AppendVarInt(field->number(), value); in AppendLong()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc3093 service_event->AppendVarInt(event.field_id, 1); in EmitLifecycleEvents()
3119 service_event->AppendVarInt( in EmitSeizedForBugreportLifecycleEvent()