Lines Matching defs:marshalFieldInfo
71 type marshalFieldInfo struct { struct
72 field field
73 wiretag uint64 // tag in wire format
74 tagsize int // size of tag in wire format
75 sizer sizer
76 marshaler marshaler
77 isPointer bool
78 required bool // field is required
79 name string // name of the field, for error reporting
80 oneofElems map[reflect.Type]*marshalElemInfo // info of oneof elements
443 func (fi *marshalFieldInfo) computeMarshalFieldInfo(f *reflect.StructField) {
462 …*marshalFieldInfo) computeOneofFieldInfo(f *reflect.StructField, oneofImplementers []interface{}) {
510 func (fi *marshalFieldInfo) setTag(f *reflect.StructField, tag int, wt uint64) {
517 func (fi *marshalFieldInfo) setMarshaler(f *reflect.StructField, tags []string) {
2362 func makeOneOfMarshaler(fi *marshalFieldInfo, f *reflect.StructField) (sizer, marshaler) {