Lines Matching refs:SetExtension
55 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil {
94 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil {
105 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil {
116 if err := proto.SetExtension(msg, extdesc3, ext3); err != nil {
181 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil {
192 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil {
239 if err := proto.SetExtension(msg, pb.E_Ext_More, ext0); err != nil {
378 if err := proto.SetExtension(msg, test.ext, setTo(test)); err != nil {
426 if err := proto.SetExtension(nilMsg, desc, nil); !isNotExtendable(err) {
446 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil {
449 if err := proto.SetExtension(msg, pb.E_Ext_More, ext2); err != nil {
469 if err := proto.SetExtension(msg, pb.E_X215, 12); err == nil {
472 if err := proto.SetExtension(msg, pb.E_Ext_More, 12); err == nil {
481 if err := proto.SetExtension(msg, pb.E_Ext_Text, proto.String("hello")); err != nil {
484 if err := proto.SetExtension(msg, pb.E_Ext_More, (*pb.Ext)(nil)); err == nil {
526 err := proto.SetExtension(msg1, pb.E_RComplex, test.ext)
604 err := proto.SetExtension(msg, pb.E_Complex, e)
648 if err := proto.SetExtension(m, desc, proto.Bool(true)); err != nil {
663 if err := proto.SetExtension(m, pb.E_Ext_More, ext); err != nil {