Lines Matching refs:ucs4
2 static char *rcsid = "$Id: ucs4.c,v 1.1 2003/06/04 00:26:14 marka Exp $";
57 #include <idn/ucs4.h>
83 idn_ucs4_ucs4toutf16(const unsigned long *ucs4, unsigned short *utf16,
89 TRACE(("idn_ucs4_ucs4toutf16(ucs4=\"%s\", tolen=%d)\n",
90 idn__debug_ucs4xstring(ucs4, 50), (int)tolen));
92 while (*ucs4 != '\0') {
93 v = *ucs4++;
142 idn_ucs4_utf16toucs4(const unsigned short *utf16, unsigned long *ucs4,
144 unsigned long *ucs4p = ucs4;
188 TRACE(("idn_ucs4_utf16toucs4(): success (ucs4=\"%s\")\n",
189 idn__debug_ucs4xstring(ucs4, 50)));
198 idn_ucs4_utf8toucs4(const char *utf8, unsigned long *ucs4, size_t tolen) {
200 unsigned long *ucs4p = ucs4;
285 TRACE(("idn_ucs4_utf8toucs4(): success (ucs4=\"%s\")\n",
286 idn__debug_ucs4xstring(ucs4, 50)));
295 idn_ucs4_ucs4toutf8(const unsigned long *ucs4, char *utf8, size_t tolen) {
303 TRACE(("idn_ucs4_ucs4toutf8(ucs4=\"%s\", tolen=%d)\n",
304 idn__debug_ucs4xstring(ucs4, 50), (int)tolen));
306 while (*ucs4 != '\0') {
307 v = *ucs4++;
371 idn_ucs4_strlen(const unsigned long *ucs4) {
374 for (len = 0; *ucs4 != '\0'; ucs4++, len++)