Home
last modified time | relevance | path

Searched refs:ucs1 (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/fs/cifs/
Dcifs_unicode.h97 UniStrcat(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcat() argument
99 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat()
101 while (*ucs1++) ; /* To end of first string */ in UniStrcat()
102 ucs1--; /* Return to the null */ in UniStrcat()
103 while ((*ucs1++ = *ucs2++)) ; /* copy string 2 over */ in UniStrcat()
134 UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrcmp() argument
136 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp()
137 ucs1++; in UniStrcmp()
140 return (int) *ucs1 - (int) *ucs2; in UniStrcmp()
147 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcpy() argument
[all …]
/linux-3.4.99/fs/jfs/
Djfs_unicode.h42 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument
44 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy()
46 while ((*ucs1++ = *ucs2++)); in UniStrcpy()
55 static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, in UniStrncpy_le() argument
58 __le16 *anchor = ucs1; in UniStrncpy_le()
61 *ucs1++ = *ucs2++; in UniStrncpy_le()
65 *ucs1++ = 0; in UniStrncpy_le()
72 static inline int UniStrncmp_le(const wchar_t * ucs1, const __le16 * ucs2, in UniStrncmp_le() argument
77 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
78 ucs1++; in UniStrncmp_le()
[all …]