Searched refs:uc (Results 1 – 4 of 4) sorted by relevance
91 UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument93 while ((*ucs != uc) && *ucs) in UniStrchr()96 if (*ucs == uc) in UniStrchr()279 UniToupper(register wchar_t uc) in UniToupper() argument283 if (uc < sizeof(CifsUniUpperTable)) { in UniToupper()285 return uc + CifsUniUpperTable[uc]; /* Use base tables */ in UniToupper()289 if (uc < rp->start) /* Before start of range */ in UniToupper()290 return uc; /* Uppercase = input */ in UniToupper()291 if (uc <= rp->end) /* In range */ in UniToupper()292 return uc + rp->table[uc - rp->start]; in UniToupper()[all …]
69 ntfschar *uc; in generate_default_upcase() local71 uc = ntfs_malloc_nofs(default_upcase_len * sizeof(ntfschar)); in generate_default_upcase()72 if (!uc) in generate_default_upcase()73 return uc; in generate_default_upcase()74 memset(uc, 0, default_upcase_len * sizeof(ntfschar)); in generate_default_upcase()77 uc[i] = cpu_to_le16(i); in generate_default_upcase()80 le16_add_cpu(&uc[i], uc_run_table[r][2]); in generate_default_upcase()83 le16_add_cpu(&uc[i + 1], -1); in generate_default_upcase()85 uc[uc_word_table[r][0]] = cpu_to_le16(uc_word_table[r][1]); in generate_default_upcase()86 return uc; in generate_default_upcase()
120 static inline wchar_t UniToupper(wchar_t uc) in UniToupper() argument124 if (uc < sizeof(UniUpperTable)) { /* Latin characters */ in UniToupper()125 return uc + UniUpperTable[uc]; /* Use base tables */ in UniToupper()129 if (uc < rp->start) /* Before start of range */ in UniToupper()130 return uc; /* Uppercase = input */ in UniToupper()131 if (uc <= rp->end) /* In range */ in UniToupper()132 return uc + rp->table[uc - rp->start]; in UniToupper()136 return uc; /* Past last range */ in UniToupper()
247 wchar_t *uc) in asc2unichar() argument249 int size = HFSPLUS_SB(sb).nls->char2uni(astr, len, uc); in asc2unichar()251 *uc = '?'; in asc2unichar()254 switch (*uc) { in asc2unichar()256 *uc = 0; in asc2unichar()259 *uc = '/'; in asc2unichar()266 static inline u16 *decompose_unichar(wchar_t uc, int *size) in decompose_unichar() argument270 off = hfsplus_decompose_table[(uc >> 12) & 0xf]; in decompose_unichar()274 off = hfsplus_decompose_table[off + ((uc >> 8) & 0xf)]; in decompose_unichar()278 off = hfsplus_decompose_table[off + ((uc >> 4) & 0xf)]; in decompose_unichar()[all …]