ucs2 118 fs/cifs/cifs_unicode.h UniStrcat(__le16 *ucs1, const __le16 *ucs2) ucs2 124 fs/cifs/cifs_unicode.h while ((*ucs1++ = *ucs2++)) ; /* copy string 2 over */ ucs2 155 fs/cifs/cifs_unicode.h UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) ucs2 157 fs/cifs/cifs_unicode.h while ((*ucs1 == *ucs2) && *ucs1) { ucs2 159 fs/cifs/cifs_unicode.h ucs2++; ucs2 161 fs/cifs/cifs_unicode.h return (int) *ucs1 - (int) *ucs2; ucs2 168 fs/cifs/cifs_unicode.h UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) ucs2 172 fs/cifs/cifs_unicode.h while ((*ucs1++ = *ucs2++)) ; ucs2 210 fs/cifs/cifs_unicode.h UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) ucs2 216 fs/cifs/cifs_unicode.h while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ ucs2 218 fs/cifs/cifs_unicode.h ucs2++; ucs2 228 fs/cifs/cifs_unicode.h UniStrncmp(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) ucs2 232 fs/cifs/cifs_unicode.h while ((*ucs1 == *ucs2) && *ucs1 && --n) { ucs2 234 fs/cifs/cifs_unicode.h ucs2++; ucs2 236 fs/cifs/cifs_unicode.h return (int) *ucs1 - (int) *ucs2; ucs2 243 fs/cifs/cifs_unicode.h UniStrncmp_le(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) ucs2 247 fs/cifs/cifs_unicode.h while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { ucs2 249 fs/cifs/cifs_unicode.h ucs2++; ucs2 251 fs/cifs/cifs_unicode.h return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); ucs2 258 fs/cifs/cifs_unicode.h UniStrncpy(wchar_t *ucs1, const wchar_t *ucs2, size_t n) ucs2 262 fs/cifs/cifs_unicode.h while (n-- && *ucs2) /* Copy the strings */ ucs2 263 fs/cifs/cifs_unicode.h *ucs1++ = *ucs2++; ucs2 275 fs/cifs/cifs_unicode.h UniStrncpy_le(wchar_t *ucs1, const wchar_t *ucs2, size_t n) ucs2 279 fs/cifs/cifs_unicode.h while (n-- && *ucs2) /* Copy the strings */ ucs2 280 fs/cifs/cifs_unicode.h *ucs1++ = __le16_to_cpu(*ucs2++); ucs2 296 fs/cifs/cifs_unicode.h UniStrstr(const wchar_t *ucs1, const wchar_t *ucs2) ucs2 299 fs/cifs/cifs_unicode.h const wchar_t *anchor2 = ucs2; ucs2 302 fs/cifs/cifs_unicode.h if (*ucs1 == *ucs2) { ucs2 305 fs/cifs/cifs_unicode.h ucs2++; ucs2 307 fs/cifs/cifs_unicode.h if (!*ucs2) /* Match found */ ucs2 310 fs/cifs/cifs_unicode.h ucs2 = anchor2; ucs2 314 fs/cifs/cifs_unicode.h if (!*ucs2) /* Both end together */ ucs2 29 fs/jfs/jfs_unicode.h static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) ucs2 33 fs/jfs/jfs_unicode.h while ((*ucs1++ = *ucs2++)); ucs2 42 fs/jfs/jfs_unicode.h static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, ucs2 47 fs/jfs/jfs_unicode.h while (n-- && *ucs2) /* Copy the strings */ ucs2 48 fs/jfs/jfs_unicode.h *ucs1++ = *ucs2++; ucs2 59 fs/jfs/jfs_unicode.h static inline int UniStrncmp_le(const wchar_t * ucs1, const __le16 * ucs2, ucs2 64 fs/jfs/jfs_unicode.h while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { ucs2 66 fs/jfs/jfs_unicode.h ucs2++; ucs2 68 fs/jfs/jfs_unicode.h return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); ucs2 74 fs/jfs/jfs_unicode.h static inline __le16 *UniStrncpy_to_le(__le16 * ucs1, const wchar_t * ucs2, ucs2 79 fs/jfs/jfs_unicode.h while (n-- && *ucs2) /* Copy the strings */ ucs2 80 fs/jfs/jfs_unicode.h *ucs1++ = cpu_to_le16(*ucs2++); ucs2 91 fs/jfs/jfs_unicode.h static inline wchar_t *UniStrncpy_from_le(wchar_t * ucs1, const __le16 * ucs2, ucs2 96 fs/jfs/jfs_unicode.h while (n-- && *ucs2) /* Copy the strings */ ucs2 97 fs/jfs/jfs_unicode.h *ucs1++ = __le16_to_cpu(*ucs2++);