Searched refs:nested_msg (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/ipc/ |
D | ipc_message_utils_unittest.cc | 30 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/tracing/core/ |
D | trace_writer_impl.cc | 149 for (auto* nested_msg = cur_packet_->nested_message(); nested_msg; in GetNewBuffer() local 150 nested_msg = nested_msg->nested_message()) { in GetNewBuffer() 151 uint8_t* const cur_hdr = nested_msg->size_field(); in GetNewBuffer() 165 nested_msg->set_size_field(&patch->size_field[0]); in GetNewBuffer()
|
/external/perfetto/src/protozero/ |
D | message_unittest.cc | 109 auto* nested_msg = in BuildNestedMessages() local 111 BuildNestedMessages(nested_msg, depth + 1); in BuildNestedMessages() 175 FakeChildMessage* nested_msg = in TEST_F() local 177 ASSERT_EQ(0u, reinterpret_cast<uintptr_t>(nested_msg) % sizeof(void*)); in TEST_F() 178 nested_msg->AppendVarInt(2 /* field_id */, 2); in TEST_F() 180 nested_msg = in TEST_F() 182 nested_msg->AppendVarInt(4 /* field_id */, 2); in TEST_F()
|
/external/protobuf/src/google/protobuf/ |
D | arena_unittest.cc | 520 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() local 527 nested_msg = arena_message->release_optional_nested_message(); in TEST() 530 EXPECT_EQ(42, nested_msg->bb()); in TEST() 532 delete nested_msg; in TEST() 538 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() local 547 nested_msg = static_cast<TestAllTypes::NestedMessage*>( in TEST() 550 EXPECT_EQ(42, nested_msg->bb()); in TEST() 551 delete nested_msg; in TEST() 558 TestAllTypes::NestedMessage* nested_msg = NULL; in TEST() local 566 nested_msg = arena_message->unsafe_arena_release_optional_nested_message(); in TEST() [all …]
|
/external/python/apitools/apitools/base/py/ |
D | encoding_test.py | 271 nested_msg = AdditionalPropertiesMessage() 272 nested_msg.additional_properties = [ 278 msg = HasNestedMessage(nested=nested_msg)
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_simple_nano.proto | 52 optional NestedMessage nested_msg = 2; field
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 329 auto* nested_msg = msg()->BeginNestedMessage<protozero::Message>(field_id); in BeginNestedMessage() local 330 ctx_.push(ParserDelegateContext{nested_descriptor, nested_msg, {}}); in BeginNestedMessage()
|