Lines Matching refs:SetExtension
51 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil {
90 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil {
101 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil {
112 if err := proto.SetExtension(msg, extdesc3, ext3); err != nil {
177 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil {
188 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil {
235 if err := proto.SetExtension(msg, pb.E_Ext_More, ext0); err != nil {
374 if err := proto.SetExtension(msg, test.ext, setTo(test)); err != nil {
422 if err := proto.SetExtension(nilMsg, desc, nil); !isNotExtendable(err) {
442 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil {
445 if err := proto.SetExtension(msg, pb.E_Ext_More, ext2); err != nil {
465 if err := proto.SetExtension(msg, pb.E_X215, 12); err == nil {
468 if err := proto.SetExtension(msg, pb.E_Ext_More, 12); err == nil {
477 if err := proto.SetExtension(msg, pb.E_Ext_Text, proto.String("hello")); err != nil {
480 if err := proto.SetExtension(msg, pb.E_Ext_More, (*pb.Ext)(nil)); err == nil {
522 err := proto.SetExtension(msg1, pb.E_RComplex, test.ext)
600 err := proto.SetExtension(msg, pb.E_Complex, e)
644 if err := proto.SetExtension(m, desc, proto.Bool(true)); err != nil {
659 if err := proto.SetExtension(m, pb.E_Ext_More, ext); err != nil {