Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 5 of 5) sorted by relevance

/fs/nls/
A Dnls_ucs2_utils.h69 static inline wchar_t *UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument
71 while ((*ucs != uc) && *ucs) in UniStrchr()
74 if (*ucs == uc) in UniStrchr()
249 static inline wchar_t UniToupper(register wchar_t uc) in UniToupper() argument
253 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 …]
/fs/jfs/
A Djfs_unicode.h101 static inline wchar_t UniToupper(wchar_t uc) in UniToupper() argument
105 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()
/fs/hfsplus/
A Dunicode.c264 wchar_t *uc) in asc2unichar() argument
268 *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 …]
/fs/unicode/
A Dutf8-norm.c87 unsigned int uc; in utf8decode3() local
89 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()
/fs/fat/
A Dnamei_vfat.c531 u8 uc[2]; in xlate_to_uni() local
536 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