Lines Matching refs:ucs1
41 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument
43 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy()
45 while ((*ucs1++ = *ucs2++)); in UniStrcpy()
54 static inline wchar_t *UniStrncpy(wchar_t * ucs1, const wchar_t * ucs2, in UniStrncpy() argument
57 wchar_t *anchor = ucs1; in UniStrncpy()
60 *ucs1++ = *ucs2++; in UniStrncpy()
64 *ucs1++ = 0; in UniStrncpy()
71 static inline int UniStrncmp_le(const wchar_t * ucs1, const wchar_t * ucs2, in UniStrncmp_le() argument
76 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
77 ucs1++; in UniStrncmp_le()
80 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
86 static inline wchar_t *UniStrncpy_le(wchar_t * ucs1, const wchar_t * ucs2, in UniStrncpy_le() argument
89 wchar_t *anchor = ucs1; in UniStrncpy_le()
92 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
96 *ucs1++ = 0; in UniStrncpy_le()