/third_party/gettext/gettext-tools/src/ |
D | x-po.c | 76 const char *charsetstr = strstr (msgstr, "charset="); in extract_add_message() local 78 if (charsetstr != NULL) in extract_add_message() 83 charsetstr += strlen ("charset="); in extract_add_message() 84 len = strcspn (charsetstr, " \t\n"); in extract_add_message() 86 memcpy (charset, charsetstr, len); in extract_add_message() 182 const char *charsetstr = strstr (header, "charset="); in extract() local 184 if (charsetstr != NULL) in extract() 189 charsetstr += strlen ("charset="); in extract() 190 len = strcspn (charsetstr, " \t\n"); in extract() 192 len1 = charsetstr - header; in extract() [all …]
|
D | msgl-charset.c | 69 const char *charsetstr = c_strstr (header, "charset="); in compare_po_locale_charsets() local 71 if (charsetstr != NULL) in compare_po_locale_charsets() 77 charsetstr += strlen ("charset="); in compare_po_locale_charsets() 78 len = strcspn (charsetstr, " \t\n"); in compare_po_locale_charsets() 80 memcpy (charset, charsetstr, len); in compare_po_locale_charsets()
|
D | msgcmp.c | 419 const char *charsetstr = c_strstr (header, "charset="); in compare() local 421 if (charsetstr != NULL) in compare() 425 charsetstr += strlen ("charset="); in compare() 426 len = strcspn (charsetstr, " \t\n"); in compare() 428 && c_strncasecmp (charsetstr, "UTF-8", len) == 0) in compare() 459 const char *charsetstr = c_strstr (header, "charset="); in compare() local 461 if (charsetstr != NULL) in compare() 465 charsetstr += strlen ("charset="); in compare() 466 len = strcspn (charsetstr, " \t\n"); in compare() 468 memcpy (charset, charsetstr, len); in compare()
|
D | msgl-iconv.c | 211 const char *charsetstr = c_strstr (header, "charset="); in iconv_message_list_internal() local 213 if (charsetstr != NULL) in iconv_message_list_internal() 219 charsetstr += strlen ("charset="); in iconv_message_list_internal() 220 len = strcspn (charsetstr, " \t\n"); in iconv_message_list_internal() 222 memcpy (charset, charsetstr, len); in iconv_message_list_internal() 265 len1 = charsetstr - header; in iconv_message_list_internal() 267 len3 = (header + strlen (header)) - (charsetstr + len); in iconv_message_list_internal() 271 memcpy (new_header + len1 + len2, charsetstr + len, in iconv_message_list_internal() 499 const char *charsetstr = c_strstr (header, "charset="); in is_message_list_iconvable() local 501 if (charsetstr != NULL) in is_message_list_iconvable() [all …]
|
D | msgmerge.c | 1784 const char *charsetstr = c_strstr (header, "charset="); in merge() local 1786 if (charsetstr != NULL) in merge() 1790 charsetstr += strlen ("charset="); in merge() 1791 len = strcspn (charsetstr, " \t\n"); in merge() 1793 && c_strncasecmp (charsetstr, "UTF-8", len) == 0) in merge() 1830 const char *charsetstr = c_strstr (header, "charset="); in merge() local 1832 if (charsetstr != NULL) in merge() 1836 charsetstr += strlen ("charset="); in merge() 1837 len = strcspn (charsetstr, " \t\n"); in merge() 1839 memcpy (charset, charsetstr, len); in merge() [all …]
|
D | po-charset.c | 465 const char *charsetstr = c_strstr (header_entry, "charset="); in po_lex_charset_set() local 467 if (charsetstr != NULL) in po_lex_charset_set() 473 charsetstr += strlen ("charset="); in po_lex_charset_set() 474 len = strcspn (charsetstr, " \t\n"); in po_lex_charset_set() 476 memcpy (charset, charsetstr, len); in po_lex_charset_set()
|
D | msgl-cat.c | 148 const char *charsetstr = c_strstr (header, "charset="); in catenate_msgdomain_list() local 150 if (charsetstr != NULL) in catenate_msgdomain_list() 156 charsetstr += strlen ("charset="); in catenate_msgdomain_list() 157 len = strcspn (charsetstr, " \t\n"); in catenate_msgdomain_list() 159 memcpy (charset, charsetstr, len); in catenate_msgdomain_list()
|
D | write-po.c | 1608 const char *charsetstr = c_strstr (header, "charset="); in msgdomain_list_print_po() local 1610 if (charsetstr != NULL) in msgdomain_list_print_po() 1614 charsetstr += strlen ("charset="); in msgdomain_list_print_po() 1615 len = strcspn (charsetstr, " \t\n"); in msgdomain_list_print_po() 1617 memcpy (allocated_charset, charsetstr, len); in msgdomain_list_print_po()
|
D | msginit.c | 1394 const char *charsetstr = c_strstr (old_field, "charset="); in content_type() local 1396 if (charsetstr != NULL) in content_type() 1398 charsetstr += strlen ("charset="); in content_type() 1399 was_utf8 = (c_strcasecmp (charsetstr, "UTF-8") == 0); in content_type()
|
D | ChangeLog.1 | 3409 'charsetstr'.
|
/third_party/gettext/gettext-runtime/intl/ |
D | dcigettext.c | 1197 const char *charsetstr; in __libc_lock_define_initialized() local 1199 charsetstr = strstr (nullentry, "charset="); in __libc_lock_define_initialized() 1200 if (charsetstr != NULL) in __libc_lock_define_initialized() 1206 charsetstr += strlen ("charset="); in __libc_lock_define_initialized() 1207 len = strcspn (charsetstr, " \t\n"); in __libc_lock_define_initialized() 1211 *((char *) mempcpy (charset, charsetstr, len)) = '\0'; in __libc_lock_define_initialized() 1213 memcpy (charset, charsetstr, len); in __libc_lock_define_initialized()
|