Searched refs:GoTestField (Results 1 – 5 of 5) sorted by relevance
/external/golang-protobuf/proto/ |
D | equal_test.go | 110 {"different types", &pb.GoEnum{}, &pb.GoTestField{}, false}, 115 {"different typed nil", (*pb.GoEnum)(nil), (*pb.GoTestField)(nil), false}, 117 …{"one set field, one unset field", &pb.GoTestField{Label: String("foo")}, &pb.GoTestField{}, false… 119 …{"different set fields", &pb.GoTestField{Label: String("foo")}, &pb.GoTestField{Label: String("bar… 120 {"equal set", &pb.GoTestField{Label: String("foo")}, &pb.GoTestField{Label: String("foo")}, true}, 132 &pb.GoTest{RequiredField: &pb.GoTestField{Label: String("foo")}}, 133 &pb.GoTest{RequiredField: &pb.GoTestField{Label: String("bar")}}, 138 &pb.GoTest{RequiredField: &pb.GoTestField{Label: String("wow")}}, 139 &pb.GoTest{RequiredField: &pb.GoTestField{Label: String("wow")}},
|
D | size_test.go | 168 {"message for oneof", &pb.GoTestField{Label: String("k"), Type: String("v")}}, 169 …{"oneof message", &pb.Oneof{Union: &pb.Oneof_F_Message{&pb.GoTestField{Label: String("k"), Type: S…
|
D | all_test.go | 77 func initGoTestField() *GoTestField { 78 f := new(GoTestField) 732 pb.RepeatedField = []*GoTestField{initGoTestField(), initGoTestField()} 967 pbd := new(GoTestField) 1099 pb.RepeatedField = make([]*GoTestField, N) 1277 pb := new(GoTestField) 2483 pbd := new(GoTestField)
|
/external/golang-protobuf/proto/test_proto/ |
D | test.proto | 46 message GoTestField { message 83 required GoTestField RequiredField = 4; 84 repeated GoTestField RepeatedField = 5; 85 optional GoTestField OptionalField = 6; 192 // Numbers are all big, larger than tag numbers in GoTestField, 538 GoTestField F_Message = 15;
|
D | test.pb.go | 343 type GoTestField struct { struct 351 func (m *GoTestField) Reset() { *m = GoTestField{} } argument 352 func (m *GoTestField) String() string { return proto.CompactTextString(m) } argument 353 func (*GoTestField) ProtoMessage() {} argument 354 func (*GoTestField) Descriptor() ([]byte, []int) { argument 358 func (m *GoTestField) XXX_Unmarshal(b []byte) error { argument 361 func (m *GoTestField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument 364 func (m *GoTestField) XXX_Merge(src proto.Message) { argument 367 func (m *GoTestField) XXX_Size() int { argument 370 func (m *GoTestField) XXX_DiscardUnknown() { argument [all …]
|