Lines Matching defs:unmarshalInfo
67 type unmarshalInfo struct { struct
68 typ reflect.Type // type of the protobuf struct
72 initialized int32
73 lock sync.Mutex // prevents double initialization
74 dense []unmarshalFieldInfo // fields indexed by tag #
75 sparse map[uint64]unmarshalFieldInfo // fields indexed by tag #
76 reqFields []string // names of required fields
77 reqMask uint64 // 1<<len(reqFields)-1
78 … // offset of []byte to put unrecognized data (or invalidField if we should throw it away)
79 …et of extensions field (of type proto.XXX_InternalExtensions), or invalidField if it does not exist
80 … field // offset of old-form extensions field (of type map[int]Extension)
81 extensionRanges []ExtensionRange // if non-nil, implies extensions field is valid
82 isMessageSet bool // if true, implies extensions field is valid
134 func (u *unmarshalInfo) unmarshal(m pointer, b []byte) error {
267 func (u *unmarshalInfo) computeUnmarshalInfo() {
433 … *unmarshalInfo) setTag(tag int, field field, unmarshal unmarshaler, reqMask uint64, name string) {
1624 func makeUnmarshalMessagePtr(sub *unmarshalInfo, name string) unmarshaler {
1658 func makeUnmarshalMessageSlicePtr(sub *unmarshalInfo, name string) unmarshaler {
1685 func makeUnmarshalGroupPtr(sub *unmarshalInfo, name string) unmarshaler {
1711 func makeUnmarshalGroupSlicePtr(sub *unmarshalInfo, name string) unmarshaler {