/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 41 class MyMessage(messages.Message): class 158 message = protojson.decode_message(MyMessage, '{"a_float": 10}') 165 message = protojson.decode_message(MyMessage, 172 self.assertEquals(MyMessage(an_integer=10, 182 MyMessage, '{"a_string": 10}') 185 MyMessage, '{"an_integer": 10.2}') 188 MyMessage, '{"an_integer": "10.2"}') 192 message = protojson.decode_message(MyMessage, '{"an_enum": 2}') 194 expected_message = MyMessage() 195 expected_message.an_enum = MyMessage.Color.GREEN [all …]
|
D | messages_test.py | 281 class MyMessage(messages.Message): class 295 MyMessage.NestedEnum.definition_name()) 297 MyMessage.NestedEnum.outer_definition_name()) 299 MyMessage.NestedEnum.definition_package()) 303 MyMessage.NestedMessage.NestedEnum.definition_name()) 306 MyMessage.NestedMessage.NestedEnum.outer_definition_name()) 309 MyMessage.NestedMessage.NestedEnum.definition_package()) 888 class MyMessage(messages.Message): class 891 field = messages.MessageField(MyMessage, 10) 892 self.assertEquals(MyMessage, field.type) [all …]
|
D | test_util.py | 591 class MyMessage(messages.Message): class 595 message = MyMessage(value=value) 597 MyMessage, self.PROTOLIB.encode_message(message)) 603 class MyMessage(messages.Message): class 608 message = MyMessage(value=value) 610 MyMessage, self.PROTOLIB.encode_message(message))
|
/external/golang-protobuf/proto/ |
D | text_parser_test.go | 47 out *MyMessage 51 msg := &MyMessage{ 61 msg := &MyMessage{ 70 msg := &MyMessage{ 83 out: &MyMessage{ 92 out: &MyMessage{ 101 out: &MyMessage{ 110 out: &MyMessage{ 119 out: &MyMessage{ 126 out: &MyMessage{ [all …]
|
D | equal_test.go | 44 var messageWithoutExtension = &pb.MyMessage{Count: Int32(7)} 45 var messageWithExtension1a = &pb.MyMessage{Count: Int32(7)} 46 var messageWithExtension1b = &pb.MyMessage{Count: Int32(7)} 47 var messageWithExtension2 = &pb.MyMessage{Count: Int32(7)} 48 var messageWithExtension3a = &pb.MyMessage{Count: Int32(7)} 49 var messageWithExtension3b = &pb.MyMessage{Count: Int32(7)} 50 var messageWithExtension3c = &pb.MyMessage{Count: Int32(7)} 53 var messageWithInt32Extension1 = &pb.MyMessage{Count: Int32(8)} 54 var messageWithInt32Extension2 = &pb.MyMessage{Count: Int32(8)} 148 &pb.MyMessage{RepBytes: [][]byte{[]byte("sham"), []byte("wow")}}, [all …]
|
D | clone_test.go | 43 var cloneTestMessage = &pb.MyMessage{ 80 vanilla := new(pb.MyMessage) 90 m := proto.Clone(cloneTestMessage).(*pb.MyMessage) 118 var m *pb.MyMessage 128 src: &pb.MyMessage{ 131 dst: &pb.MyMessage{ 134 want: &pb.MyMessage{ 140 src: &pb.MyMessage{ 152 dst: &pb.MyMessage{ 168 want: &pb.MyMessage{ [all …]
|
D | discard_test.go | 107 m := &pb.MyMessage{ 122 m := &pb.MyMessage{ 143 m.MyMessage, _ = in.(*pb.MyMessage) 165 MyMessage *pb.MyMessage member
|
D | extensions_test.go | 53 msg := &pb.MyMessage{} 76 msg := &pb.MyMessage{} 85 msg := &pb.MyMessage{Count: proto.Int32(0)} 87 ExtendedType: (*pb.MyMessage)(nil), 98 ExtendedType: (*pb.MyMessage)(nil), 109 ExtendedType: (*pb.MyMessage)(nil), 174 msg := &pb.MyMessage{Count: proto.Int32(0)} 185 ExtendedType: (*pb.MyMessage)(nil), 226 check := func(m *pb.MyMessage) bool { 237 msg := &pb.MyMessage{Count: proto.Int32(4)} [all …]
|
D | text_test.go | 70 func newTestMessage() *pb.MyMessage { 71 msg := &pb.MyMessage{ 191 tests := []proto.Message{nil, (*pb.MyMessage)(nil)} 205 m := &pb.MyMessage{Bikeshed: pb.MyMessage_Color(3).Enum()} 481 any := &pb.MyMessage{Count: proto.Int32(47), Name: proto.String("David")}
|
D | any_test.go | 169 [type.googleapis.com/test_proto.MyMessage]: < 179 [type.googleapis.com/test_proto.MyMessage]: < 189 [type.googleapis.com/test_proto.MyMessage]: <
|
D | all_test.go | 370 msg := &MyMessage{Count: Int32(1), Others: []*OtherMessage{value}} 1181 m := new(MyMessage) 1193 …want := &MyMessage{Count: Int32(11), Name: String("aaa"), Pet: []string{"bbb", "ccc"}, Bigfloat: F… 1433 m := &MyMessage{ 1436 expected := &MyMessage{ 1448 m := &MyMessage{ 1476 m := &MyMessage{ 1495 received := new(MyMessage) 1527 Unmarshal(b, new(MyMessage)) 1533 Unmarshal(b, new(MyMessage)) [all …]
|
D | size_test.go | 44 var messageWithExtension1 = &pb.MyMessage{Count: Int32(7)} 47 var messageWithExtension3 = &pb.MyMessage{Count: Int32(8)}
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_parser.py | 11 class MyMessage(Message): class in TestCustomMessage 20 self.MyMessage, 22 self.assertIsInstance(msg, self.MyMessage) 28 self.MyMessage, 30 self.assertIsInstance(msg, self.MyMessage) 70 class MyMessage(EmailMessage): class in TestParserBase 76 MyPolicy = default.clone(message_factory=self.MyMessage) 78 self.assertIsInstance(msg, self.MyMessage) 83 MyPolicy = default.clone(message_factory=self.MyMessage) 85 self.assertNotIsInstance(msg, self.MyMessage)
|
/external/protobuf/src/google/protobuf/ |
D | preserve_unknown_enum_test.cc | 74 const proto3_preserve_unknown_enum_unittest::MyMessage& message) { in CheckMessage() 105 proto3_preserve_unknown_enum_unittest::MyMessage message; in TEST() 124 proto3_preserve_unknown_enum_unittest::MyMessage::descriptor())->New()); in TEST() 141 proto2_preserve_unknown_enum_unittest::MyMessage message; in TEST() 144 proto2_preserve_unknown_enum_unittest::MyMessage message2 = message; in TEST() 165 proto2_preserve_unknown_enum_unittest::MyMessage::descriptor())->New()); in TEST() 168 proto2_preserve_unknown_enum_unittest::MyMessage message2; in TEST() 187 proto3_preserve_unknown_enum_unittest::MyMessage message; in TEST() 224 proto3_preserve_unknown_enum_unittest::MyMessage message; in TEST() 280 proto3_preserve_unknown_enum_unittest::MyMessage new_message; in TEST()
|
/external/nanopb-c/tests/map/ |
D | map.options | 1 MyMessage.numbers max_count:10 2 MyMessage.NumbersEntry.key max_size:16
|
D | decode_map.c | 13 MyMessage_NumbersEntry *find_entry(MyMessage *msg, const char *key) in find_entry() 42 MyMessage msg = MyMessage_init_zero; in main()
|
D | map.proto | 3 message MyMessage { message
|
D | encode_map.c | 12 MyMessage msg = MyMessage_init_zero; in main()
|
/external/protobuf/js/ |
D | README.md | 92 goog.require('proto.my.package.MyMessage'); 94 var message = proto.my.package.MyMessage(); 118 var message = new messages.MyMessage(); 146 var message = new MyMessage(); 155 var message2 = new MyMessage();
|
/external/golang-protobuf/proto/test_proto/ |
D | test.pb.go | 1891 type MyMessage struct { struct 1911 func (m *MyMessage) Reset() { *m = MyMessage{} } argument 1912 func (m *MyMessage) String() string { return proto.CompactTextString(m) } argument 1913 func (*MyMessage) ProtoMessage() {} argument 1914 func (*MyMessage) Descriptor() ([]byte, []int) { argument 1922 func (*MyMessage) ExtensionRangeArray() []proto.ExtensionRange { argument 1926 func (m *MyMessage) XXX_Unmarshal(b []byte) error { argument 1929 func (m *MyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument 1932 func (m *MyMessage) XXX_Merge(src proto.Message) { argument 1935 func (m *MyMessage) XXX_Size() int { argument [all …]
|
D | test.proto | 263 message MyMessage { message 293 extend MyMessage { 303 extend MyMessage { 537 MyMessage.Color F_Enum = 14; 559 MyMessage.Color col = 9;
|
/external/nanopb-c/docs/ |
D | concepts.rst | 283 message MyMessage { 307 /* @@protoc_insertion_point(struct:MyMessage) */ 308 } MyMessage; 313 MyMessage msg = MyMessage_init_zero; 331 message MyMessage { 345 extend MyMessage { 370 message MyMessage { 379 MyMessage msg = MyMessage_init_default;
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_118/ |
D | enumuse.proto | 5 message MyMessage { message
|
/external/nanopb-c/tests/regression/issue_118/ |
D | enumuse.proto | 5 message MyMessage { message
|
/external/grpc-grpc/third_party/nanopb/docs/ |
D | concepts.rst | 277 message MyMessage { 301 /* @@protoc_insertion_point(struct:MyMessage) */ 302 } MyMessage; 307 MyMessage msg = MyMessage_init_zero; 325 message MyMessage { 339 extend MyMessage {
|