• Home
  • Raw
  • Download

Lines Matching defs:enc

125 isNever(const ENCODING *enc, const char *p)  in isNever()
131 utf8_isName2(const ENCODING *enc, const char *p) in utf8_isName2()
137 utf8_isName3(const ENCODING *enc, const char *p) in utf8_isName3()
145 utf8_isNmstrt2(const ENCODING *enc, const char *p) in utf8_isNmstrt2()
151 utf8_isNmstrt3(const ENCODING *enc, const char *p) in utf8_isNmstrt3()
159 utf8_isInvalid2(const ENCODING *enc, const char *p) in utf8_isInvalid2()
165 utf8_isInvalid3(const ENCODING *enc, const char *p) in utf8_isInvalid3()
171 utf8_isInvalid4(const ENCODING *enc, const char *p) in utf8_isInvalid4()
177 ENCODING enc; member
197 #define AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *) (enc)) argument
236 #define MINBPC(enc) ((enc)->minBytesPerChar) argument
239 #define MINBPC(enc) 1 argument
242 #define SB_BYTE_TYPE(enc, p) \ argument
247 sb_byteType(const ENCODING *enc, const char *p) in sb_byteType()
251 #define BYTE_TYPE(enc, p) \ argument
254 #define BYTE_TYPE(enc, p) SB_BYTE_TYPE(enc, p) argument
258 #define BYTE_TO_ASCII(enc, p) \ argument
261 sb_byteToAscii(const ENCODING *enc, const char *p) in sb_byteToAscii()
266 #define BYTE_TO_ASCII(enc, p) (*(p)) argument
269 #define IS_NAME_CHAR(enc, p, n) \ argument
271 #define IS_NMSTRT_CHAR(enc, p, n) \ argument
273 #define IS_INVALID_CHAR(enc, p, n) \ argument
277 #define IS_NAME_CHAR_MINBPC(enc, p) \ argument
279 #define IS_NMSTRT_CHAR_MINBPC(enc, p) \ argument
282 #define IS_NAME_CHAR_MINBPC(enc, p) (0) argument
283 #define IS_NMSTRT_CHAR_MINBPC(enc, p) (0) argument
287 #define CHAR_MATCHES(enc, p, c) \ argument
290 sb_charMatches(const ENCODING *enc, const char *p, int c) in sb_charMatches()
296 #define CHAR_MATCHES(enc, p, c) (*(p) == c) argument
322 utf8_toUtf8(const ENCODING *enc, in utf8_toUtf8()
341 utf8_toUtf16(const ENCODING *enc, in utf8_toUtf16()
429 latin1_toUtf8(const ENCODING *enc, in latin1_toUtf8()
454 latin1_toUtf16(const ENCODING *enc, in latin1_toUtf16()
487 ascii_toUtf8(const ENCODING *enc, in ascii_toUtf8()
639 #define LITTLE2_BYTE_TYPE(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
643 #define LITTLE2_BYTE_TO_ASCII(enc, p) ((p)[1] == 0 ? (p)[0] : -1) in DEFINE_UTF16_TO_UTF16() argument
644 #define LITTLE2_CHAR_MATCHES(enc, p, c) ((p)[1] == 0 && (p)[0] == c) in DEFINE_UTF16_TO_UTF16() argument
645 #define LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
647 #define LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
659 little2_byteToAscii(const ENCODING *enc, const char *p) in little2_byteToAscii()
665 little2_charMatches(const ENCODING *enc, const char *p, int c) in little2_charMatches()
671 little2_isNameMin(const ENCODING *enc, const char *p) in little2_isNameMin()
677 little2_isNmstrtMin(const ENCODING *enc, const char *p) in little2_isNmstrtMin()
780 #define BIG2_BYTE_TYPE(enc, p) \ argument
784 #define BIG2_BYTE_TO_ASCII(enc, p) ((p)[0] == 0 ? (p)[1] : -1) argument
785 #define BIG2_CHAR_MATCHES(enc, p, c) ((p)[0] == 0 && (p)[1] == c) argument
786 #define BIG2_IS_NAME_CHAR_MINBPC(enc, p) \ argument
788 #define BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) \ argument
794 big2_byteType(const ENCODING *enc, const char *p) in big2_byteType()
800 big2_byteToAscii(const ENCODING *enc, const char *p) in big2_byteToAscii()
806 big2_charMatches(const ENCODING *enc, const char *p, int c) in big2_charMatches()
812 big2_isNameMin(const ENCODING *enc, const char *p) in big2_isNameMin()
818 big2_isNmstrtMin(const ENCODING *enc, const char *p) in big2_isNmstrtMin()
830 #define MINBPC(enc) 2 argument
832 #define BYTE_TYPE(enc, p) BIG2_BYTE_TYPE(enc, p) argument
833 #define BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(enc, p) argument
834 #define CHAR_MATCHES(enc, p, c) BIG2_CHAR_MATCHES(enc, p, c) argument
835 #define IS_NAME_CHAR(enc, p, n) 0 argument
836 #define IS_NAME_CHAR_MINBPC(enc, p) BIG2_IS_NAME_CHAR_MINBPC(enc, p) argument
837 #define IS_NMSTRT_CHAR(enc, p, n) (0) argument
838 #define IS_NMSTRT_CHAR_MINBPC(enc, p) BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) argument
941 initUpdatePosition(const ENCODING *enc, const char *ptr, in initUpdatePosition()
948 toAscii(const ENCODING *enc, const char *ptr, const char *end) in toAscii()
976 parsePseudoAttribute(const ENCODING *enc, in parsePseudoAttribute()
1086 const ENCODING *enc, in doParseXmlDecl()
1255 #define AS_UNKNOWN_ENCODING(enc) ((const struct unknown_encoding *) (enc)) argument
1264 unknown_isName(const ENCODING *enc, const char *p) in unknown_isName()
1274 unknown_isNmstrt(const ENCODING *enc, const char *p) in unknown_isNmstrt()
1284 unknown_isInvalid(const ENCODING *enc, const char *p) in unknown_isInvalid()
1292 unknown_toUtf8(const ENCODING *enc, in unknown_toUtf8()
1326 unknown_toUtf16(const ENCODING *enc, in unknown_toUtf16()
1485 #define INIT_ENC_INDEX(enc) ((int)(enc)->initEnc.isUtf16) argument
1486 #define SET_INIT_ENC_INDEX(enc, i) ((enc)->initEnc.isUtf16 = (char)i) argument
1498 const INIT_ENCODING *enc, in initScan()
1645 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); in XmlInitUnknownEncodingNS() local