• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/

Lines Matching defs:encoding

34 is_utf8_encoding (const char *encoding)
36 if (STREQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0 ,0))
138 u8_possible_linebreaks (const unsigned char *s, size_t n, const char *encoding, char *p)
140 int LBP_AI_REPLACEMENT = (is_cjk_encoding (encoding) ? LBP_ID : LBP_AL);
252 u16_possible_linebreaks (const unsigned short *s, size_t n, const char *encoding, char *p)
254 int LBP_AI_REPLACEMENT = (is_cjk_encoding (encoding) ? LBP_ID : LBP_AL);
364 u32_possible_linebreaks (const unsigned int *s, size_t n, const char *encoding, char *p)
366 int LBP_AI_REPLACEMENT = (is_cjk_encoding (encoding) ? LBP_ID : LBP_AL);
480 const char *o, const char *encoding,
488 u8_possible_linebreaks (s, n, encoding, p);
539 w = uc_width (uc, encoding);
566 const char *o, const char *encoding,
574 u16_possible_linebreaks (s, n, encoding, p);
625 w = uc_width (uc, encoding);
650 const char *o, const char *encoding,
658 u32_possible_linebreaks (s, n, encoding, p);
708 w = uc_width (uc, encoding);
803 /* U+2027 in UTF-8 encoding */
807 /* U+21B2 (or U+21B5) in UTF-8 encoding */
861 /* Now the same thing with an arbitrary encoding.
879 /* Luckily, the encoding's name is platform independent. */
981 Returns 0 if the string is in an 8-bit encoding or an ISO-2022 encoding. */
1000 mbs_possible_linebreaks (const char *s, size_t n, const char *encoding,
1005 if (is_utf8_encoding (encoding))
1006 u8_possible_linebreaks ((const unsigned char *) s, n, encoding, p);
1013 if (STREQ (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0))
1020 if ( STREQ (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0)
1021 || STREQ (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0)
1022 || STREQ (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0)
1023 || STREQ (encoding, "BIG5-HKSCS", 'B', 'I', 'G', '5', '-', 'H', 'K', 'S', 'C')
1024 || STREQ (encoding, "GBK", 'G', 'B', 'K', 0, 0, 0, 0, 0, 0)
1025 || STREQ (encoding, "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0))
1029 to_utf8 = iconv_open (UTF8_NAME, encoding);
1051 u8_possible_linebreaks ((const unsigned char *) t, m, encoding, q);
1072 u8_possible_linebreaks ((const unsigned char *) s, n, encoding, p);
1078 input string. All we assume here is that the encoding is
1097 const char *o, const char *encoding,
1102 if (is_utf8_encoding (encoding))
1103 return u8_width_linebreaks ((const unsigned char *) s, n, width, start_column, at_end_columns, o, encoding, p);
1110 if (STREQ (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0))
1117 if ( STREQ (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0)
1118 || STREQ (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0)
1119 || STREQ (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0)
1120 || STREQ (encoding, "BIG5-HKSCS", 'B', 'I', 'G', '5', '-', 'H', 'K', 'S', 'C')
1121 || STREQ (encoding, "GBK", 'G', 'B', 'K', 0, 0, 0, 0, 0, 0)
1122 || STREQ (encoding, "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0))
1126 to_utf8 = iconv_open (UTF8_NAME, encoding);
1163 u8_width_linebreaks ((const unsigned char *) t, m, width, start_column, at_end_columns, o8, encoding, q);
1184 return u8_width_linebreaks ((const unsigned char *) s, n, width, start_column, at_end_columns, o, encoding, p);
1189 input string. All we assume here is that the encoding is