Home | History | Annotate | Download | only in strconv

Lines Matching refs:rang

66 	// First, find first i such that rang[i] >= x.
68 // The start is even (rang[i&^1]) and the end is odd (rang[i|1]).
72 rr, rang, except := uint16(r), range16, except16
73 i := bsearch16(rang, rr)
74 if i >= len(rang) || rr < rang[i&^1] || rang[i|1] < rr {
81 rr, rang, except := uint32(r), range32, except32
82 i := bsearch32(rang, rr)
83 if i >= len(rang) || rr < rang[i&^1] || rang[i|1] < rr {
90 func scan(min, max rune) (rang, except []uint32) {
99 rang = append(rang, uint32(lo), uint32(i-1))
126 rang, except := scan(0, 0xFFFF)
127 range16 = to16(rang)