Home
last modified time | relevance | path

Searched defs:StructProperties (Results 1 – 4 of 4) sorted by relevance

/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dproperties.go101 type StructProperties struct { struct
102 Prop []*Properties // properties for each field
103 reqCount int // required count
104 decoderTags tagMap // map from proto tag to struct field number
105 decoderOrigNames map[string]int // map from original name to struct field number
106 order []int // list of struct field numbers in tag order
110 OneofTypes map[string]*OneofProperties
123 func (sp *StructProperties) Len() int { return len(sp.order) }
124 func (sp *StructProperties) Less(i, j int) bool {
127 func (sp *StructProperties) Swap(i, j int) { sp.order[i], sp.order[j] = sp.order[j], sp.order[i] }
Dtext_parser.go385 func structFieldByName(sprops *StructProperties, name string) (int, *Properties, bool) {
/external/golang-protobuf/proto/
Dproperties.go101 type StructProperties struct { struct
102 Prop []*Properties // properties for each field
103 reqCount int // required count
104 decoderTags tagMap // map from proto tag to struct field number
105 decoderOrigNames map[string]int // map from original name to struct field number
106 order []int // list of struct field numbers in tag order
110 OneofTypes map[string]*OneofProperties
123 func (sp *StructProperties) Len() int { return len(sp.order) }
124 func (sp *StructProperties) Less(i, j int) bool {
127 func (sp *StructProperties) Swap(i, j int) { sp.order[i], sp.order[j] = sp.order[j], sp.order[i] }
Dtext_parser.go385 func structFieldByName(sprops *StructProperties, name string) (int, *Properties, bool) {