Lines Matching refs:ccc
15 // 6..0: ccc (compressed CCC value).
23 // The byte sequence is followed by a trailing and leading CCC if the values
24 // for these are not zero. The value of v determines which ccc are appended
26 // the sequence is followed by a trailing ccc, and for v >= firstLeadingCC
27 // there is an additional leading ccc. The value of tccc itself is the
28 // trailing CCC shifted left 2 bits. The two least-significant bits of tccc
41 ccc uint8 // leading canonical combining class (ccc if not decomposition)
42 tccc uint8 // trailing canonical combining class (ccc if not decomposition)
91 if p.ccc == 0 && !p.combinesBackward() {
94 // We assume that the CCC of the first character in a decomposition
95 // is always non-zero if different from info.ccc and that we can return
125 return p.flags&qcInfoMask == 0 && p.ccc == 0
158 // CCC returns the canonical combining class of the underlying rune.
159 func (p Properties) CCC() uint8 {
163 return ccc[p.ccc]
166 // LeadCCC returns the CCC of the first rune in the decomposition.
167 // If there is no decomposition, LeadCCC equals CCC.
169 return ccc[p.ccc]
172 // TrailCCC returns the CCC of the last rune in the decomposition.
173 // If there is no decomposition, TrailCCC equals CCC.
175 return ccc[p.tccc]
226 ccc: uint8(v),
230 if p.ccc > 0 || p.combinesBackward() {
252 p.ccc = decomps[v+1]