Lines Matching refs:om
1008 om := new(OldMessage)
1009 if err := Unmarshal(b, om); err != nil {
1019 if !Equal(om, exp) {
1020 t.Errorf("om = %v, want %v", om, exp)
1024 om = Clone(om).(*OldMessage)
1025 if !Equal(om, exp) {
1026 t.Errorf("Clone(om) = %v, want %v", om, exp)
1030 if b, err = Marshal(om); err != nil {
1033 t.Logf("Marshal(%v) -> %q", om, b)
1045 om := &OldMessage{
1048 b, err := Marshal(om)
1056 t.Errorf("%v marshaled as %q, wanted 11 bytes", om, b)