Lines Matching refs:cc

1944     int		cc;  in utfc_ptr2char()  local
1955 cc = utf_ptr2char(p + len); in utfc_ptr2char()
1958 pcc[i++] = cc; in utfc_ptr2char()
1962 if (p[len] < 0x80 || !utf_iscomposing(cc = utf_ptr2char(p + len))) in utfc_ptr2char()
1985 int cc; in utfc_ptr2char_len() local
1996 cc = utf_ptr2char(p + len); in utfc_ptr2char_len()
1999 pcc[i++] = cc; in utfc_ptr2char_len()
2005 || !utf_iscomposing(cc = utf_ptr2char(p + len))) in utfc_ptr2char_len()
3910 utf_eat_space(int cc) in utf_eat_space() argument
3912 return ((cc >= 0x2000 && cc <= 0x206F) // General punctuations in utf_eat_space()
3913 || (cc >= 0x2e00 && cc <= 0x2e7f) // Supplemental punctuations in utf_eat_space()
3914 || (cc >= 0x3000 && cc <= 0x303f) // CJK symbols and punctuations in utf_eat_space()
3915 || (cc >= 0xff01 && cc <= 0xff0f) // Full width ASCII punctuations in utf_eat_space()
3916 || (cc >= 0xff1a && cc <= 0xff20) // .. in utf_eat_space()
3917 || (cc >= 0xff3b && cc <= 0xff40) // .. in utf_eat_space()
3918 || (cc >= 0xff5b && cc <= 0xff65)); // .. in utf_eat_space()
3925 utf_allow_break_before(int cc) in utf_allow_break_before() argument
3982 if (cc == BOL_prohibition_punct[mid]) in utf_allow_break_before()
3984 else if (cc > BOL_prohibition_punct[mid]) in utf_allow_break_before()
3990 return cc != BOL_prohibition_punct[first]; in utf_allow_break_before()
3997 utf_allow_break_after(int cc) in utf_allow_break_after() argument
4032 if (cc == EOL_prohibition_punct[mid]) in utf_allow_break_after()
4034 else if (cc > EOL_prohibition_punct[mid]) in utf_allow_break_after()
4040 return cc != EOL_prohibition_punct[first]; in utf_allow_break_after()
4047 utf_allow_break(int cc, int ncc) in utf_allow_break() argument
4050 if (cc == ncc in utf_allow_break()
4051 && (cc == 0x2014 // em dash in utf_allow_break()
4052 || cc == 0x2026)) // horizontal ellipsis in utf_allow_break()
4055 return utf_allow_break_after(cc) && utf_allow_break_before(ncc); in utf_allow_break()