Home | History | Annotate | Download | only in unicode

Lines Matching defs:Is

2 // Use of this source code is governed by a BSD-style
38 // Range32 represents of a range of Unicode code points and is used when one or
52 // means the character is in the corresponding case. There is a special
67 // BUG(r): There is no mechanism for full case folding, that is, for
80 // If the Delta field of a CaseRange is UpperLower, it means
87 // linearMax is the maximum size table for linear search for non-Latin1 rune.
91 // is16 reports whether r is in the sorted slice of 16-bit ranges.
124 // is32 reports whether r is in the sorted slice of 32-bit ranges.
157 // Is reports whether the rune is in the specified table of ranges.
158 func Is(rangeTab *RangeTable, r rune) bool {
182 // IsUpper reports whether the rune is an upper case letter.
191 // IsLower reports whether the rune is a lower case letter.
200 // IsTitle reports whether the rune is a title case letter.
224 // {0, 1, 0} UpperCase (Lower is next)
231 // is odd so we take the low bit from _case.
275 if 'a' <= r && r <= 'z' { // title case is upper case for ASCII
310 // caseOrbit is defined in tables.go as []foldPair. Right now all the
323 // If r is not a valid Unicode code point, SimpleFold(r) returns r.
361 // No folding specified. This is a one- or two-element