• Home
  • Raw
  • Download

Lines Matching refs:ucs2

118 UniStrcat(__le16 *ucs1, const __le16 *ucs2)  in UniStrcat()  argument
124 while ((*ucs1++ = *ucs2++)) ; /* copy string 2 over */ in UniStrcat()
155 UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrcmp() argument
157 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp()
159 ucs2++; in UniStrcmp()
161 return (int) *ucs1 - (int) *ucs2; in UniStrcmp()
168 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcpy() argument
172 while ((*ucs1++ = *ucs2++)) ; in UniStrcpy()
210 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncat() argument
216 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat()
218 ucs2++; in UniStrncat()
228 UniStrncmp(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncmp() argument
232 while ((*ucs1 == *ucs2) && *ucs1 && --n) { in UniStrncmp()
234 ucs2++; in UniStrncmp()
236 return (int) *ucs1 - (int) *ucs2; in UniStrncmp()
243 UniStrncmp_le(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncmp_le() argument
247 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
249 ucs2++; in UniStrncmp_le()
251 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
258 UniStrncpy(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncpy() argument
262 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy()
263 *ucs1++ = *ucs2++; in UniStrncpy()
275 UniStrncpy_le(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncpy_le() argument
279 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
280 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
296 UniStrstr(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrstr() argument
299 const wchar_t *anchor2 = ucs2; in UniStrstr()
302 if (*ucs1 == *ucs2) { in UniStrstr()
305 ucs2++; in UniStrstr()
307 if (!*ucs2) /* Match found */ in UniStrstr()
310 ucs2 = anchor2; in UniStrstr()
314 if (!*ucs2) /* Both end together */ in UniStrstr()