Lines Matching refs:ExtensionDesc
54 exts, err := proto.GetExtensions(msg, []*proto.ExtensionDesc{
82 extdesc1 := &proto.ExtensionDesc{
93 extdesc2 := &proto.ExtensionDesc{
104 extdesc3 := &proto.ExtensionDesc{
132 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc1.Field}); err != nil {
146 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc2.Field}); err != nil {
162 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc3.Field}); err != nil {
180 extdesc2 := &proto.ExtensionDesc{
205 wantDescs := []*proto.ExtensionDesc{extdesc1, {Field: extdesc2.Field}}
211 type ExtensionDescSlice []*proto.ExtensionDesc
217 func sortExtDescs(s []*proto.ExtensionDesc) { argument
269 ext *proto.ExtensionDesc // Extension we are testing.
414 if _, err := proto.GetExtensions(nilMsg, []*proto.ExtensionDesc{desc}); !isNotExtendable(err) {
633 desc := &proto.ExtensionDesc{