Home
last modified time | relevance | path

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

/external/golang-protobuf/proto/
Dproperties.go100 type StructProperties struct { struct
101 Prop []*Properties // properties for each field
102 reqCount int // required count
103 decoderTags tagMap // map from proto tag to struct field number
104 decoderOrigNames map[string]int // map from original name to struct field number
105 order []int // list of struct field numbers in tag order
109 OneofTypes map[string]*OneofProperties
122 func (sp *StructProperties) Len() int { return len(sp.order) }
123 func (sp *StructProperties) Less(i, j int) bool {
126 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) {