Searched refs:uc (Results 1 – 5 of 5) sorted by relevance
69 static inline wchar_t *UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument71 while ((*ucs != uc) && *ucs) in UniStrchr()74 if (*ucs == uc) in UniStrchr()249 static inline wchar_t UniToupper(register wchar_t uc) in UniToupper() argument253 if (uc < sizeof(NlsUniUpperTable)) { in UniToupper()255 return uc + NlsUniUpperTable[uc]; /* Use base tables */ in UniToupper()260 if (uc < rp->start) /* Before start of range */ in UniToupper()261 return uc; /* Uppercase = input */ in UniToupper()262 if (uc <= rp->end) /* In range */ in UniToupper()263 return uc + rp->table[uc - rp->start]; in UniToupper()[all …]
101 static inline wchar_t UniToupper(wchar_t uc) in UniToupper() argument105 if (uc < sizeof(NlsUniUpperTable)) { /* Latin characters */ in UniToupper()106 return uc + NlsUniUpperTable[uc]; /* Use base tables */ in UniToupper()110 if (uc < rp->start) /* Before start of range */ in UniToupper()111 return uc; /* Uppercase = input */ in UniToupper()112 if (uc <= rp->end) /* In range */ in UniToupper()113 return uc + rp->table[uc - rp->start]; in UniToupper()117 return uc; /* Past last range */ in UniToupper()
264 wchar_t *uc) in asc2unichar() argument268 *uc = '?'; in asc2unichar()271 switch (*uc) { in asc2unichar()273 *uc = 0; in asc2unichar()276 *uc = '/'; in asc2unichar()287 off = hfsplus_decompose_table[(uc >> 12) & 0xf]; in hfsplus_decompose_nonhangul()291 off = hfsplus_decompose_table[off + ((uc >> 8) & 0xf)]; in hfsplus_decompose_nonhangul()299 off = hfsplus_decompose_table[off + (uc & 0xf)]; in hfsplus_decompose_nonhangul()321 index = uc - Hangul_SBase; in hfsplus_try_decompose_hangul()345 *size = hfsplus_try_decompose_hangul(uc, result); in decompose_unichar()[all …]
87 unsigned int uc; in utf8decode3() local89 uc = *str++ & 0x0F; in utf8decode3()90 uc <<= 6; in utf8decode3()91 uc |= *str++ & 0x3F; in utf8decode3()92 uc <<= 6; in utf8decode3()93 uc |= *str++ & 0x3F; in utf8decode3()95 return uc; in utf8decode3()
531 u8 uc[2]; in xlate_to_uni() local536 if (hex2bin(uc, ip + 1, 2) < 0) in xlate_to_uni()539 *(wchar_t *)op = uc[0] << 8 | uc[1]; in xlate_to_uni()
Completed in 15 milliseconds