Lines Matching refs:sizer
49 type sizer func(pointer, int) int type
75 sizer sizer member
87 sizer sizer member
183 n += f.sizer(ptr.offset(f.field), f.tagsize)
417 sizer, marshaler := typeMarshaler(t, tags, false, false)
426 sizer: sizer,
466 fi.sizer, fi.marshaler = makeOneOfMarshaler(fi, f)
482 …sizer, marshaler := typeMarshaler(sf.Type, tags, false, true) // oneof should not omit any zero va…
486 sizer: sizer,
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) {
2373 return e.sizer(p, e.tagsize)
2412 n += ei.sizer(p, ei.tagsize)
2523 n += ei.sizer(p, 1) // message, tag = 3 (size=1)
2634 n += ei.sizer(p, ei.tagsize)