Lines Matching refs:uc
136 UniStrchr(const wchar_t *ucs, wchar_t uc) in UniStrchr() argument
138 while ((*ucs != uc) && *ucs) in UniStrchr()
141 if (*ucs == uc) in UniStrchr()
324 UniToupper(register wchar_t uc) in UniToupper() argument
328 if (uc < sizeof(CifsUniUpperTable)) { in UniToupper()
330 return uc + CifsUniUpperTable[uc]; /* Use base tables */ in UniToupper()
334 if (uc < rp->start) /* Before start of range */ in UniToupper()
335 return uc; /* Uppercase = input */ in UniToupper()
336 if (uc <= rp->end) /* In range */ in UniToupper()
337 return uc + rp->table[uc - rp->start]; in UniToupper()
341 return uc; /* Past last range */ in UniToupper()
366 UniTolower(register wchar_t uc) in UniTolower() argument
370 if (uc < sizeof(CifsUniLowerTable)) { in UniTolower()
372 return uc + CifsUniLowerTable[uc]; /* Use base tables */ in UniTolower()
376 if (uc < rp->start) /* Before start of range */ in UniTolower()
377 return uc; /* Uppercase = input */ in UniTolower()
378 if (uc <= rp->end) /* In range */ in UniTolower()
379 return uc + rp->table[uc - rp->start]; in UniTolower()
383 return uc; /* Past last range */ in UniTolower()