Searched refs:cups_utf8_t (Results 1 – 6 of 6) sorted by relevance
/external/libcups/cups/ |
D | transcode.c | 75 cups_utf8_t *dest, /* O - Target string */ in cupsCharsetToUTF8() 80 cups_utf8_t *destptr; /* Pointer into UTF-8 buffer */ in cupsCharsetToUTF8() 122 cups_utf8_t *destend; /* End of UTF-8 buffer */ in cupsCharsetToUTF8() 133 *destptr++ = (cups_utf8_t)(0xc0 | (ch >> 6)); in cupsCharsetToUTF8() 134 *destptr++ = (cups_utf8_t)(0x80 | (ch & 0x3f)); in cupsCharsetToUTF8() 137 *destptr++ = (cups_utf8_t)ch; in cupsCharsetToUTF8() 200 const cups_utf8_t *src, /* I - Source string */ in cupsUTF8ToCharset() 341 const cups_utf8_t *src, /* I - Source string */ in cupsUTF8ToUTF32() 345 cups_utf8_t ch; /* Character value */ in cupsUTF8ToUTF32() 346 cups_utf8_t next; /* Next character value */ in cupsUTF8ToUTF32() [all …]
|
D | transcode.h | 41 typedef unsigned char cups_utf8_t; /* UTF-8 Unicode/ISO-10646 unit */ typedef 55 extern int cupsCharsetToUTF8(cups_utf8_t *dest, 60 const cups_utf8_t *src, 64 const cups_utf8_t *src, 66 extern int cupsUTF32ToUTF8(cups_utf8_t *dest,
|
D | testi18n.c | 107 static void print_utf8(const char *msg, const cups_utf8_t *src); 127 cups_utf8_t utf8latin[] = /* UTF-8 Latin-1 source */ in main() 130 cups_utf8_t utf8repla[] = /* UTF-8 Latin-1 replacement */ in main() 133 cups_utf8_t utf8greek[] = /* UTF-8 Greek source string */ in main() 136 cups_utf8_t utf8japan[] = /* UTF-8 Japanese source */ in main() 139 cups_utf8_t utf8taiwan[] = /* UTF-8 Chinese source */ in main() 142 cups_utf8_t utf8dest[1024]; /* UTF-8 destination string */ in main() 216 if (cupsUTF8ToUTF32(utf32dest, (cups_utf8_t *)line, 1024) < 0) in main() 240 len = cupsUTF8ToCharset(legdest, (cups_utf8_t *)line, 1024, CUPS_EUC_JP); in main() 588 const cups_utf8_t *src) /* I - UTF-8 Source String */ in print_utf8()
|
D | langprintf.c | 83 bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output), in _cupsLangPrintError() 136 bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output), in _cupsLangPrintFilter() 193 bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output), in _cupsLangPrintf() 237 (cups_utf8_t *)_cupsLangString(cg->lang_default, in _cupsLangPuts() 240 …bytes += cupsUTF8ToCharset(output + bytes, (cups_utf8_t *)"\n", (int)(sizeof(output) - (size_t)byt… in _cupsLangPuts() 322 if (cupsCharsetToUTF8((cups_utf8_t *)buffer, argv[i], sizeof(buffer), in _cupsSetLocale()
|
D | ppd.c | 871 cups_utf8_t utf8[256]; /* UTF-8 version of NickName */ in _ppdOpen() 1393 cupsCharsetToUTF8((cups_utf8_t *)option->text, text, in _ppdOpen() 1512 cupsCharsetToUTF8((cups_utf8_t *)option->text, text, in _ppdOpen() 2005 cupsCharsetToUTF8((cups_utf8_t *)choice->text, text, in _ppdOpen() 2776 cupsCharsetToUTF8((cups_utf8_t *)group->text, text, in ppd_get_group()
|
D | string.c | 166 cupsCharsetToUTF8((cups_utf8_t *)buf, temp, (int)bufsize, cg->lang_default->encoding); in _cupsStrDate()
|