Searched refs:GoEnum (Results 1 – 4 of 4) sorted by relevance
/external/golang-protobuf/proto/ |
D | equal_test.go | 110 {"different types", &pb.GoEnum{}, &pb.GoTestField{}, false}, 111 {"equal empty", &pb.GoEnum{}, &pb.GoEnum{}, true}, 113 {"typed nil vs typed nil", (*pb.GoEnum)(nil), (*pb.GoEnum)(nil), true}, 114 {"typed nil vs empty", (*pb.GoEnum)(nil), &pb.GoEnum{}, false}, 115 {"different typed nil", (*pb.GoEnum)(nil), (*pb.GoTestField)(nil), false},
|
D | all_test.go | 1251 pb := new(GoEnum) 1257 pb1 := new(GoEnum) 1269 pb := new(GoEnum) 1316 var m *GoEnum 1908 if err := Unmarshal([]byte{0x08, 0x00}, new(GoEnum)); err != nil { 1912 if err := Unmarshal([]byte{0x0d, 0x00, 0x00, 0x00, 0x00}, new(GoEnum)); err == nil { 1916 m := new(GoEnum)
|
/external/golang-protobuf/proto/test_proto/ |
D | test.pb.go | 304 type GoEnum struct { struct 311 func (m *GoEnum) Reset() { *m = GoEnum{} } argument 312 func (m *GoEnum) String() string { return proto.CompactTextString(m) } argument 313 func (*GoEnum) ProtoMessage() {} argument 314 func (*GoEnum) Descriptor() ([]byte, []int) { argument 318 func (m *GoEnum) XXX_Unmarshal(b []byte) error { argument 321 func (m *GoEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument 324 func (m *GoEnum) XXX_Merge(src proto.Message) { argument 327 func (m *GoEnum) XXX_Size() int { argument 330 func (m *GoEnum) XXX_DiscardUnknown() { argument [all …]
|
D | test.proto | 42 message GoEnum { message
|