Searched refs:utf8_string (Results 1 – 6 of 6) sorted by relevance
247 unsigned char *utf8_string = (unsigned char *) xmalloc (2 * length + 1); in conv_from_iso_8859_1() local248 unsigned char *q = utf8_string; in conv_from_iso_8859_1()260 assert (q - utf8_string <= 2 * length); in conv_from_iso_8859_1()262 return (char *) utf8_string; in conv_from_iso_8859_1()423 unsigned char *utf8_string; in read_escaped_string() local427 utf8_string = (unsigned char *) xmalloc (3 * buflen + 1); in read_escaped_string()428 for (pos = 0, q = utf8_string; pos < buflen; ) in read_escaped_string()439 assert (q - utf8_string <= 3 * buflen); in read_escaped_string()441 return (char *) utf8_string; in read_escaped_string()
334 unsigned char *utf8_string; in conv_from_ucs4() local339 utf8_string = (unsigned char *) xmalloc (6 * buflen + 1); in conv_from_ucs4()341 for (pos = 0, q = utf8_string; pos < buflen; ) in conv_from_ucs4()352 assert (q - utf8_string <= 6 * buflen); in conv_from_ucs4()354 return (char *) utf8_string; in conv_from_ucs4()
429 char *utf8_string; in phase2_getc() local468 utf8_string = in phase2_getc()471 savable_comment_add (utf8_string); in phase2_getc()734 char *utf8_string = in extract_quotelike_pass1_utf8() local736 if (utf8_string != string) in extract_quotelike_pass1_utf8()738 return utf8_string; in extract_quotelike_pass1_utf8()
25 static int utf8_to_ucs2(const u8 *utf8_string, size_t utf8_string_len, in utf8_to_ucs2() argument32 u8 c = utf8_string[i]; in utf8_to_ucs2()45 u8 c2 = utf8_string[++i]; in utf8_to_ucs2()57 u8 c3 = utf8_string[++i]; in utf8_to_ucs2()
199 value->utf8_string == NULL) in match_string() 204 return strncasecmp(value->utf8_string, str, value->data_size) == 0; in match_string()
206 value->utf8_string == NULL) in match_string()211 return (strncasecmp(value->utf8_string, str, value->data_size) == 0); in match_string()