Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/obj/
Dobjects.go526 type nidSorter struct { struct
532 func (a nidSorter) obj(i int) object { return a.objs.byNID[a.nids[i]] } argument
533 func (a nidSorter) Len() int { return len(a.nids) } argument
534 func (a nidSorter) Swap(i, j int) { a.nids[i], a.nids[j] = a.nids[j], a.nids[i] } argument
535 func (a nidSorter) Less(i, j int) bool { return a.cmp(a.obj(i), a.obj(j)) } argument
538 sort.Sort(&nidSorter{nids, objs, cmp})