Home
last modified time | relevance | path

Searched defs:SOLMsg (Results 1 – 1 of 1) sorted by relevance

/external/perfetto/src/protozero/test/
Dprotozero_benchmark.cc67 struct SOLMsg { struct
69 void Append(T x) { in Append()
75 void set_field_int32(int32_t x) { Append(x); } in set_field_int32()
76 void set_field_uint32(uint32_t x) { Append(x); } in set_field_uint32()
77 void set_field_int64(int64_t x) { Append(x); } in set_field_int64()
78 void set_field_uint64(uint64_t x) { Append(x); } in set_field_uint64()
79 void set_field_string(const char* str) { ptr_ = strcpy(ptr_, str); } in set_field_string()
81 SOLMsg* add_field_nested() { return new (this + 1) SOLMsg(); } in add_field_nested()
83 char storage_[sizeof(g_fake_input_simple)];
84 char* ptr_ = &storage_[0];