Lines Matching defs:enc
157 isNever(const ENCODING *UNUSED_P(enc), const char *UNUSED_P(p)) in isNever()
163 utf8_isName2(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isName2()
169 utf8_isName3(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isName3()
177 utf8_isNmstrt2(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isNmstrt2()
183 utf8_isNmstrt3(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isNmstrt3()
191 utf8_isInvalid2(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isInvalid2()
197 utf8_isInvalid3(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isInvalid3()
203 utf8_isInvalid4(const ENCODING *UNUSED_P(enc), const char *p) in utf8_isInvalid4()
209 ENCODING enc; member
229 #define AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *) (enc)) argument
279 #define MINBPC(enc) ((enc)->minBytesPerChar) argument
282 #define MINBPC(enc) 1 argument
285 #define SB_BYTE_TYPE(enc, p) \ argument
290 sb_byteType(const ENCODING *enc, const char *p) in sb_byteType()
294 #define BYTE_TYPE(enc, p) \ argument
297 #define BYTE_TYPE(enc, p) SB_BYTE_TYPE(enc, p) argument
301 #define BYTE_TO_ASCII(enc, p) \ argument
304 sb_byteToAscii(const ENCODING *enc, const char *p) in sb_byteToAscii()
309 #define BYTE_TO_ASCII(enc, p) (*(p)) argument
312 #define IS_NAME_CHAR(enc, p, n) \ argument
314 #define IS_NMSTRT_CHAR(enc, p, n) \ argument
316 #define IS_INVALID_CHAR(enc, p, n) \ argument
320 #define IS_NAME_CHAR_MINBPC(enc, p) \ argument
322 #define IS_NMSTRT_CHAR_MINBPC(enc, p) \ argument
325 #define IS_NAME_CHAR_MINBPC(enc, p) (0) argument
326 #define IS_NMSTRT_CHAR_MINBPC(enc, p) (0) argument
330 #define CHAR_MATCHES(enc, p, c) \ argument
333 sb_charMatches(const ENCODING *enc, const char *p, int c) in sb_charMatches()
339 #define CHAR_MATCHES(enc, p, c) (*(p) == c) argument
400 utf8_toUtf8(const ENCODING *UNUSED_P(enc), in utf8_toUtf8()
440 utf8_toUtf16(const ENCODING *enc, in utf8_toUtf16()
546 latin1_toUtf8(const ENCODING *UNUSED_P(enc), in latin1_toUtf8()
571 latin1_toUtf16(const ENCODING *UNUSED_P(enc), in latin1_toUtf16()
609 ascii_toUtf8(const ENCODING *UNUSED_P(enc), in ascii_toUtf8()
783 #define LITTLE2_BYTE_TYPE(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
787 #define LITTLE2_BYTE_TO_ASCII(enc, p) ((p)[1] == 0 ? (p)[0] : -1) in DEFINE_UTF16_TO_UTF16() argument
788 #define LITTLE2_CHAR_MATCHES(enc, p, c) ((p)[1] == 0 && (p)[0] == c) in DEFINE_UTF16_TO_UTF16() argument
789 #define LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
791 #define LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
803 little2_byteToAscii(const ENCODING *enc, const char *p) in little2_byteToAscii()
809 little2_charMatches(const ENCODING *enc, const char *p, int c) in little2_charMatches()
815 little2_isNameMin(const ENCODING *enc, const char *p) in little2_isNameMin()
821 little2_isNmstrtMin(const ENCODING *enc, const char *p) in little2_isNmstrtMin()
924 #define BIG2_BYTE_TYPE(enc, p) \ argument
928 #define BIG2_BYTE_TO_ASCII(enc, p) ((p)[0] == 0 ? (p)[1] : -1) argument
929 #define BIG2_CHAR_MATCHES(enc, p, c) ((p)[0] == 0 && (p)[1] == c) argument
930 #define BIG2_IS_NAME_CHAR_MINBPC(enc, p) \ argument
932 #define BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) \ argument
938 big2_byteType(const ENCODING *enc, const char *p) in big2_byteType()
944 big2_byteToAscii(const ENCODING *enc, const char *p) in big2_byteToAscii()
950 big2_charMatches(const ENCODING *enc, const char *p, int c) in big2_charMatches()
956 big2_isNameMin(const ENCODING *enc, const char *p) in big2_isNameMin()
962 big2_isNmstrtMin(const ENCODING *enc, const char *p) in big2_isNmstrtMin()
974 #define MINBPC(enc) 2 argument
976 #define BYTE_TYPE(enc, p) BIG2_BYTE_TYPE(enc, p) argument
977 #define BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(enc, p) argument
978 #define CHAR_MATCHES(enc, p, c) BIG2_CHAR_MATCHES(enc, p, c) argument
979 #define IS_NAME_CHAR(enc, p, n) 0 argument
980 #define IS_NAME_CHAR_MINBPC(enc, p) BIG2_IS_NAME_CHAR_MINBPC(enc, p) argument
981 #define IS_NMSTRT_CHAR(enc, p, n) (0) argument
982 #define IS_NMSTRT_CHAR_MINBPC(enc, p) BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) argument
1089 initUpdatePosition(const ENCODING *UNUSED_P(enc), const char *ptr, in initUpdatePosition()
1096 toAscii(const ENCODING *enc, const char *ptr, const char *end) in toAscii()
1124 parsePseudoAttribute(const ENCODING *enc, in parsePseudoAttribute()
1234 const ENCODING *enc, in doParseXmlDecl()
1403 #define AS_UNKNOWN_ENCODING(enc) ((const struct unknown_encoding *) (enc)) argument
1412 unknown_isName(const ENCODING *enc, const char *p) in unknown_isName()
1422 unknown_isNmstrt(const ENCODING *enc, const char *p) in unknown_isNmstrt()
1432 unknown_isInvalid(const ENCODING *enc, const char *p) in unknown_isInvalid()
1440 unknown_toUtf8(const ENCODING *enc, in unknown_toUtf8()
1473 unknown_toUtf16(const ENCODING *enc, in unknown_toUtf16()
1640 #define INIT_ENC_INDEX(enc) ((int)(enc)->initEnc.isUtf16) argument
1641 #define SET_INIT_ENC_INDEX(enc, i) ((enc)->initEnc.isUtf16 = (char)i) argument
1653 const INIT_ENCODING *enc, in initScan()
1800 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); in XmlInitUnknownEncodingNS() local