Searched refs:submessage (Results 1 – 12 of 12) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | any_test.cc | 39 protobuf_unittest::TestAny submessage; in TEST() local 40 submessage.set_int32_value(12345); in TEST() 42 message.mutable_any_value()->PackFrom(submessage); in TEST() 48 ASSERT_TRUE(message.any_value().UnpackTo(&submessage)); in TEST() 49 EXPECT_EQ(12345, submessage.int32_value()); in TEST() 54 protobuf_unittest::TestAny submessage; in TEST() local 55 submessage.set_int32_value(12345); in TEST() 57 any.PackFrom(submessage); in TEST() 66 ASSERT_TRUE(any.UnpackTo(&submessage)); in TEST() 67 EXPECT_EQ(12345, submessage.int32_value()); in TEST() [all …]
|
D | arena_unittest.cc | 1088 TestAllTypes::NestedMessage* submessage = in TEST() local 1094 EXPECT_EQ(submessage_expected, submessage); in TEST() 1095 EXPECT_EQ(&arena, submessage->GetArena()); in TEST() 1098 submessage = static_cast<TestAllTypes::NestedMessage*>( in TEST() 1102 EXPECT_EQ(submessage_expected, submessage); in TEST() 1103 EXPECT_EQ(&arena, submessage->GetArena()); in TEST()
|
/external/protobuf/python/google/protobuf/internal/ |
D | well_known_types_test.py | 615 submessage = any_test_pb2.TestAny() 616 submessage.int_value = 12345 618 msg.Pack(submessage) 622 submessage = any_test_pb2.TestAny() 623 submessage.int_value = 12345 626 msg.Pack(submessage, 'type.myservice.com') 628 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name) 630 msg.Pack(submessage, 'type.myservice.com/') 632 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name) 634 msg.Pack(submessage, '') [all …]
|
D | more_extensions.proto | 39 optional ExtendedMessage submessage = 1; field
|
D | reflection_test.py | 1200 self.assertEqual(0, toplevel.submessage.Extensions[ 1203 toplevel.submessage.Extensions[ 1205 self.assertEqual(23, toplevel.submessage.Extensions[ 1212 self.assertEqual([], toplevel.submessage.Extensions[ 1215 toplevel.submessage.Extensions[ 1217 self.assertEqual([23], toplevel.submessage.Extensions[ 1224 self.assertEqual(0, toplevel.submessage.Extensions[ 1227 toplevel.submessage.Extensions[ 1229 self.assertEqual(23, toplevel.submessage.Extensions[ 1236 self.assertEqual(0, len(toplevel.submessage.Extensions[ [all …]
|
/external/nanopb-c/examples/using_union_messages/ |
D | README.txt | 15 top level message, so that we only need to allocate the one submessage that 17 the top level message, and only then allocate the memory for the submessage
|
/external/nanopb-c/docs/ |
D | reference.rst | 262 :ptr: Pointer to default value for optional fields, or to submessage description for PB_L… 525 Encodes a submessage field, including the size header for it. Works for fields of any message type:: 530 :fields: Pointer to the autogenerated field description array for the submessage type, e.g. … 531 :src: Pointer to the structure where submessage data is. 532 :returns: True on success, false on IO errors, pb_encode errors or if submessage size changes… 534 …ffers format, the submessage size must be written before the submessage contents. Therefore, this … 536 If the submessage contains callback fields, the callback function might misbehave and write out a d…
|
D | concepts.rst | 193 If the callback is used in a submessage, it will be called multiple times during a single call to `… 241 For example this submessage in the Person.proto file::
|
/external/protobuf/objectivec/Tests/ |
D | GPBMessageTests.m | 641 // submessage is mutated. 736 // Call clear on an intermediate submessage should cause it to get recreated 751 // Should be able to retain autocreated submessage while the creator is 781 // Setting submessage to nil should cause it to lose its creator. 793 // Clearing submessage (set has == NO) should NOT cause it to lose its 804 // Setting a value should cause the submessage to appear to its creator. 817 // Clearing an unset field should not cause the submessage to appear to its 838 // Test skipping over an autocreated submessage and ensure it gets unset. 894 // Setting autocreated submessage to another value should cause the old one to 910 // submessage to become visible. [all …]
|
/external/bison/ |
D | TODO | 329 * Complaint submessage indentation. 333 submessage or the list of correct values for a %define variable might 338 locations printed on the submessage lines that follow. That assumption
|
/external/nanopb-c/ |
D | CHANGELOG.txt | 110 Improve performance in submessage decoding (issue 28)
|
/external/protobuf/docs/swift/ |
D | DesignDoc.md | 150 or a type that eventually includes a submessage of the same type.)
|