/external/python/apitools/apitools/base/protorpclite/ |
D | protojson_test.py | 41 class MyMessage(messages.Message): class 163 message = protojson.decode_message(MyMessage, '{"a_float": 10}') 170 message = protojson.decode_message(MyMessage, 177 self.assertEquals(MyMessage(an_integer=10, 187 MyMessage, '{"a_string": 10}') 190 MyMessage, '{"an_integer": 10.2}') 193 MyMessage, '{"an_integer": "10.2"}') 197 message = protojson.decode_message(MyMessage, '{"an_enum": 2}') 199 expected_message = MyMessage() 200 expected_message.an_enum = MyMessage.Color.GREEN [all …]
|
D | messages_test.py | 286 class MyMessage(messages.Message): class 300 MyMessage.NestedEnum.definition_name()) 302 MyMessage.NestedEnum.outer_definition_name()) 304 MyMessage.NestedEnum.definition_package()) 308 MyMessage.NestedMessage.NestedEnum.definition_name()) 311 MyMessage.NestedMessage.NestedEnum.outer_definition_name()) 314 MyMessage.NestedMessage.NestedEnum.definition_package()) 893 class MyMessage(messages.Message): class 896 field = messages.MessageField(MyMessage, 10) 897 self.assertEquals(MyMessage, field.type) [all …]
|
D | test_util.py | 596 class MyMessage(messages.Message): class 600 message = MyMessage(value=value) 602 MyMessage, self.PROTOLIB.encode_message(message)) 608 class MyMessage(messages.Message): class 613 message = MyMessage(value=value) 615 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 | 49 msg := &pb.MyMessage{} 72 msg := &pb.MyMessage{} 81 msg := &pb.MyMessage{Count: proto.Int32(0)} 83 ExtendedType: (*pb.MyMessage)(nil), 94 ExtendedType: (*pb.MyMessage)(nil), 105 ExtendedType: (*pb.MyMessage)(nil), 170 msg := &pb.MyMessage{Count: proto.Int32(0)} 181 ExtendedType: (*pb.MyMessage)(nil), 222 check := func(m *pb.MyMessage) bool { 233 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 | 372 msg := &MyMessage{Count: Int32(1), Others: []*OtherMessage{value}} 1183 m := new(MyMessage) 1195 …want := &MyMessage{Count: Int32(11), Name: String("aaa"), Pet: []string{"bbb", "ccc"}, Bigfloat: F… 1435 m := &MyMessage{ 1438 expected := &MyMessage{ 1450 m := &MyMessage{ 1478 m := &MyMessage{ 1497 received := new(MyMessage) 1529 Unmarshal(b, new(MyMessage)) 1535 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 | 70 const proto3_preserve_unknown_enum_unittest::MyMessage& message) { in CheckMessage() 96 proto3_preserve_unknown_enum_unittest::MyMessage message; in TEST() 117 proto3_preserve_unknown_enum_unittest::MyMessage::descriptor()) in TEST() 135 proto2_preserve_unknown_enum_unittest::MyMessage message; in TEST() 138 proto2_preserve_unknown_enum_unittest::MyMessage message2 = message; in TEST() 161 proto2_preserve_unknown_enum_unittest::MyMessage::descriptor()) in TEST() 165 proto2_preserve_unknown_enum_unittest::MyMessage message2; in TEST() 184 proto3_preserve_unknown_enum_unittest::MyMessage message; in TEST() 219 proto3_preserve_unknown_enum_unittest::MyMessage message; in TEST() 281 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/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/protobuf/js/ |
D | README.md | 94 goog.require('proto.my.package.MyMessage'); 96 var message = proto.my.package.MyMessage(); 126 var message = new messages.MyMessage(); 155 var message = new MyMessage(); 164 var message2 = MyMessage.deserializeBinary(bytes);
|
/external/nanopb-c/tests/regression/issue_118/ |
D | enumuse.proto | 5 message MyMessage { message
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_118/ |
D | enumuse.proto | 5 message MyMessage { message
|
/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/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 {
|