Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/obj/
Dobjects.go521 type nidSorter struct { struct
522 nids []int
523 objs *objects
524 cmp func(a, b object) bool
527 func (a nidSorter) obj(i int) object { return a.objs.byNID[a.nids[i]] }
528 func (a nidSorter) Len() int { return len(a.nids) }
529 func (a nidSorter) Swap(i, j int) { a.nids[i], a.nids[j] = a.nids[j], a.nids[i] }
530 func (a nidSorter) Less(i, j int) bool { return a.cmp(a.obj(i), a.obj(j)) }