Lines Matching refs:marshaler

53 type marshaler func(b []byte, ptr pointer, wiretag uint64, deterministic bool) ([]byte, error)  type
76 marshaler marshaler member
88 marshaler marshaler member
270 b, err = f.marshaler(b, ptr.offset(f.field), f.wiretag, deterministic)
417 sizer, marshaler := typeMarshaler(t, tags, false, false)
427 marshaler: marshaler,
466 fi.sizer, fi.marshaler = makeOneOfMarshaler(fi, f)
482 …sizer, marshaler := typeMarshaler(sf.Type, tags, false, true) // oneof should not omit any zero va…
487 marshaler: marshaler,
522 fi.sizer, fi.marshaler = makeMapMarshaler(f)
527 fi.sizer, fi.marshaler = typeMarshaler(f.Type, tags, true, false)
535 func typeMarshaler(t reflect.Type, tags []string, nozero, oneof bool) (sizer, marshaler) {
2158 func makeGroupMarshaler(u *marshalInfo) (sizer, marshaler) {
2181 func makeGroupSliceMarshaler(u *marshalInfo) (sizer, marshaler) {
2217 func makeMessageMarshaler(u *marshalInfo) (sizer, marshaler) {
2240 func makeMessageSliceMarshaler(u *marshalInfo) (sizer, marshaler) {
2279 func makeMapMarshaler(f *reflect.StructField) (sizer, marshaler) {
2362 func makeOneOfMarshaler(fi *marshalFieldInfo, f *reflect.StructField) (sizer, marshaler) {
2386 return e.marshaler(b, p, e.wiretag, deterministic)
2447 b, err = ei.marshaler(b, p, ei.wiretag, deterministic)
2478 b, err = ei.marshaler(b, p, ei.wiretag, deterministic)
2566 b, err = ei.marshaler(b, p, 3<<3|WireBytes, deterministic)
2604 b, err = ei.marshaler(b, p, 3<<3|WireBytes, deterministic)
2669 b, err = ei.marshaler(b, p, ei.wiretag, deterministic)