Searched refs:ucs2 (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jfs/
H A Djfs_unicode.h42 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) argument
46 while ((*ucs1++ = *ucs2++));
55 static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, argument
60 while (n-- && *ucs2) /* Copy the strings */
61 *ucs1++ = *ucs2++;
72 static inline int UniStrncmp_le(const wchar_t * ucs1, const __le16 * ucs2, argument
77 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) {
79 ucs2++;
81 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2);
87 static inline __le16 *UniStrncpy_to_le(__le16 * ucs1, const wchar_t * ucs2, argument
104 UniStrncpy_from_le(wchar_t * ucs1, const __le16 * ucs2, size_t n) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/
H A Dcifs_unicode.h94 UniStrcat(wchar_t *ucs1, const wchar_t *ucs2) argument
100 while ((*ucs1++ = *ucs2++)) ; /* copy string 2 over */
131 UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) argument
133 while ((*ucs1 == *ucs2) && *ucs1) {
135 ucs2++;
137 return (int) *ucs1 - (int) *ucs2;
144 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) argument
148 while ((*ucs1++ = *ucs2++)) ;
186 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) argument
192 while (n-- && (*ucs1 = *ucs2)) { /* cop
204 UniStrncmp(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) argument
219 UniStrncmp_le(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) argument
234 UniStrncpy(wchar_t *ucs1, const wchar_t *ucs2, size_t n) argument
251 UniStrncpy_le(wchar_t *ucs1, const wchar_t *ucs2, size_t n) argument
272 UniStrstr(const wchar_t *ucs1, const wchar_t *ucs2) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_common/
H A Dtags.c93 static FLaC__INLINE size_t local__utf8_to_ucs2(const FLAC__byte *utf8, FLAC__uint16 *ucs2) argument
97 FLAC__ASSERT(0 != ucs2);
100 *ucs2 = *utf8;
102 *ucs2 = (*utf8 & 0x3F)<<6 | (*(utf8+1) & 0x3F);
104 *ucs2 = (*utf8 & 0x1F)<<12 | (*(utf8+1) & 0x3F)<<6 | (*(utf8+2) & 0x3F);
106 *ucs2 = '?';
148 static FLaC__INLINE size_t local__ucs2len(FLAC__uint16 ucs2) argument
150 if (ucs2 < 0x0080)
152 else if (ucs2 < 0x0800)
158 static FLaC__INLINE size_t local__ucs2_to_utf8(FLAC__uint16 ucs2, FLAC__byt argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_winamp2/
H A Dinfobox.c200 #define SetText(x,y) ucs2 = FLAC_plugin__tags_get_tag_ucs2(data->tags, y); \
201 WideCharToMultiByte(CP_ACP, WC_COMPOSITECHECK, ucs2, -1, buffer, sizeof(buffer), NULL, NULL); \
202 if(ucs2) free(ucs2); \
206 if (*buffer) { ucs2 = AnsiToWide(buffer); FLAC_plugin__tags_set_tag_ucs2(data->tags, y, ucs2, /*replace_all=*/false); free(ucs2); } \
209 #define SetTextW(x,y) ucs2 = FLAC_plugin__tags_get_tag_ucs2(data->tags, y); \
210 SetDlgItemTextW(hwnd, x, ucs2); \
211 free(ucs2)
221 wchar_t *ucs2; local
291 wchar_t *ucs2; local
428 wchar_t *ucs2; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gperf-3.0.4/tests/
H A DMakefile.in63 check : check-link-c check-link-c++ check-c check-ada check-modula3 check-pascal check-lang-utf8 check-lang-ucs2 check-smtp check-test
118 check-lang-ucs2:
120 $(GPERF) -k4 -t -l -I -K foreign_name < $(srcdir)/lang-ucs2.gperf > lu2inset.c
123 ./lu2out -v < $(srcdir)/lang-ucs2.in | LC_ALL=C tr -d '\r' > lang-ucs2.out
124 diff $(srcdir)/lang-ucs2.exp lang-ucs2.out
H A DMakefile63 check : check-link-c check-link-c++ check-c check-ada check-modula3 check-pascal check-lang-utf8 check-lang-ucs2 check-smtp check-test
118 check-lang-ucs2:
120 $(GPERF) -k4 -t -l -I -K foreign_name < $(srcdir)/lang-ucs2.gperf > lu2inset.c
123 ./lu2out -v < $(srcdir)/lang-ucs2.in | LC_ALL=C tr -d '\r' > lang-ucs2.out
124 diff $(srcdir)/lang-ucs2.exp lang-ucs2.out

Completed in 74 milliseconds