Home
last modified time | relevance | path

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

/aosp_15_r20/external/golang-protobuf/internal/filedesc/
H A Ddesc_list.go68 type EnumRanges struct { struct
69 List [][2]protoreflect.EnumNumber // start inclusive; end inclusive
70 once sync.Once
71 sorted [][2]protoreflect.EnumNumber // protected by once
74 func (p *EnumRanges) Len() int { return len(p.List) }
75 func (p *EnumRanges) Get(i int) [2]protoreflect.EnumNumber { return p.List[i] }
76 func (p *EnumRanges) Has(n protoreflect.EnumNumber) bool {
90 func (p *EnumRanges) Format(s fmt.State, r rune) { descfmt.FormatList(s, r, p) }
91 func (p *EnumRanges) ProtoInternal(pragma.DoNotImplement) {}
92 func (p *EnumRanges) lazyInit() *EnumRanges {
[all …]
/aosp_15_r20/external/golang-protobuf/reflect/protoreflect/
H A Dproto.go403 type EnumRanges interface { interface