Home
last modified time | relevance | path

Searched refs:nested_msg (Results 1 – 9 of 9) sorted by relevance

/external/perfetto/src/tracing/core/
Dtrace_writer_impl.cc236 for (auto* nested_msg = cur_packet_->nested_message(); nested_msg; in GetNewBuffer() local
237 nested_msg = nested_msg->nested_message()) { in GetNewBuffer()
238 uint8_t* const cur_hdr = nested_msg->size_field(); in GetNewBuffer()
247 nested_msg->set_size_field(nullptr); in GetNewBuffer()
307 for (auto* nested_msg = cur_packet_->nested_message(); nested_msg; in GetNewBuffer() local
308 nested_msg = nested_msg->nested_message()) { in GetNewBuffer()
309 uint8_t* const cur_hdr = nested_msg->size_field(); in GetNewBuffer()
323 nested_msg->set_size_field(&patch->size_field[0]); in GetNewBuffer()
/external/libchrome/ipc/
Dipc_message_utils_unittest.cc30 Message nested_msg(nested_routing, nested_type, nested_priority); in TEST() local
31 nested_msg.set_sync(); in TEST()
32 ParamTraits<int>::Write(&nested_msg, nested_content); in TEST()
39 ParamTraits<Message>::Write(&outer_msg, nested_msg); in TEST()
47 EXPECT_EQ(nested_msg.routing_id(), result_msg.routing_id()); in TEST()
48 EXPECT_EQ(nested_msg.type(), result_msg.type()); in TEST()
49 EXPECT_EQ(nested_msg.priority(), result_msg.priority()); in TEST()
50 EXPECT_EQ(nested_msg.flags(), result_msg.flags()); in TEST()
53 base::PickleIterator nested_iter(nested_msg); in TEST()
55 ASSERT_TRUE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
[all …]
/external/perfetto/src/protozero/
Dmessage_unittest.cc115 auto* nested_msg = in BuildNestedMessages() local
117 BuildNestedMessages(nested_msg, max_depth, depth + 1); in BuildNestedMessages()
181 FakeChildMessage* nested_msg = in TEST_F() local
183 ASSERT_EQ(0u, reinterpret_cast<uintptr_t>(nested_msg) % sizeof(void*)); in TEST_F()
184 nested_msg->AppendVarInt(2 /* field_id */, 2); in TEST_F()
186 nested_msg = in TEST_F()
188 nested_msg->AppendVarInt(4 /* field_id */, 2); in TEST_F()
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc632 NestedTestAllTypes nested_msg; in TEST()
633 nested_msg.mutable_child()->mutable_payload()->set_optional_int32(1234); in TEST()
634 nested_msg.mutable_child() in TEST()
638 NestedTestAllTypes trimmed_msg(nested_msg); in TEST()
645 trimmed_msg = nested_msg; in TEST()
651 trimmed_msg = nested_msg; in TEST()
657 trimmed_msg = nested_msg; in TEST()
/external/protobuf/src/google/protobuf/
Darena_unittest.cc575 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() local
582 nested_msg = arena_message->release_optional_nested_message(); in TEST()
585 EXPECT_EQ(42, nested_msg->bb()); in TEST()
587 delete nested_msg; in TEST()
593 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() local
602 nested_msg = static_cast<TestAllTypes::NestedMessage*>( in TEST()
605 EXPECT_EQ(42, nested_msg->bb()); in TEST()
606 delete nested_msg; in TEST()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_simple_nano.proto52 optional NestedMessage nested_msg = 2; field
/external/python/apitools/apitools/base/py/
Dencoding_test.py457 nested_msg = AdditionalPropertiesMessage()
458 nested_msg.additionalProperties = [
464 msg = HasNestedMessage(nested=nested_msg)
/external/perfetto/src/protozero/protoc_plugin/
Dcppgen_plugin.cc543 const Descriptor* nested_msg = msg->nested_type(i); in GenClassDecl() local
544 p->Print("using $n$ = $f$;\n", "n", nested_msg->name(), "f", in GenClassDecl()
545 GetFullName(nested_msg)); in GenClassDecl()
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb.cc391 auto* nested_msg = msg()->BeginNestedMessage<protozero::Message>(field_id); in BeginNestedMessage() local
392 ctx_.push(ParserDelegateContext{nested_descriptor, nested_msg, {}}); in BeginNestedMessage()