• Home
  • Raw
  • Download

Lines Matching defs:enc

133 isNever(const ENCODING *enc, const char *p) {  in isNever()
140 utf8_isName2(const ENCODING *enc, const char *p) { in utf8_isName2()
146 utf8_isName3(const ENCODING *enc, const char *p) { in utf8_isName3()
154 utf8_isNmstrt2(const ENCODING *enc, const char *p) { in utf8_isNmstrt2()
160 utf8_isNmstrt3(const ENCODING *enc, const char *p) { in utf8_isNmstrt3()
168 utf8_isInvalid2(const ENCODING *enc, const char *p) { in utf8_isInvalid2()
174 utf8_isInvalid3(const ENCODING *enc, const char *p) { in utf8_isInvalid3()
180 utf8_isInvalid4(const ENCODING *enc, const char *p) { in utf8_isInvalid4()
186 ENCODING enc; member
206 #define AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *)(enc)) argument
239 # define MINBPC(enc) ((enc)->minBytesPerChar) argument
242 # define MINBPC(enc) 1 argument
245 #define SB_BYTE_TYPE(enc, p) \ argument
250 sb_byteType(const ENCODING *enc, const char *p) { in sb_byteType()
253 # define BYTE_TYPE(enc, p) (AS_NORMAL_ENCODING(enc)->byteType(enc, p)) argument
255 # define BYTE_TYPE(enc, p) SB_BYTE_TYPE(enc, p) argument
259 # define BYTE_TO_ASCII(enc, p) (AS_NORMAL_ENCODING(enc)->byteToAscii(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) (AS_NORMAL_ENCODING(enc)->isName##n(enc, p)) argument
270 #define IS_NMSTRT_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isNmstrt##n(enc, p)) argument
272 # define IS_INVALID_CHAR(enc, p, n) \ argument
276 # define IS_INVALID_CHAR(enc, p, n) \ argument
281 # define IS_NAME_CHAR_MINBPC(enc, p) \ argument
283 # define IS_NMSTRT_CHAR_MINBPC(enc, p) \ argument
286 # define IS_NAME_CHAR_MINBPC(enc, p) (0) argument
287 # define IS_NMSTRT_CHAR_MINBPC(enc, p) (0) argument
291 # define CHAR_MATCHES(enc, p, c) \ argument
294 sb_charMatches(const ENCODING *enc, const char *p, int c) { in sb_charMatches()
300 # define CHAR_MATCHES(enc, p, c) (*(p) == c) argument
365 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8()
404 utf8_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf16()
502 latin1_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in latin1_toUtf8()
525 latin1_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in latin1_toUtf16()
560 ascii_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in ascii_toUtf8()
740 #define LITTLE2_BYTE_TYPE(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
758 little2_byteToAscii(const ENCODING *enc, const char *p) { in little2_byteToAscii()
764 little2_charMatches(const ENCODING *enc, const char *p, int c) { in little2_charMatches()
770 little2_isNameMin(const ENCODING *enc, const char *p) { in little2_isNameMin()
776 little2_isNmstrtMin(const ENCODING *enc, const char *p) { in little2_isNmstrtMin()
874 #define BIG2_BYTE_TYPE(enc, p) \ argument
888 big2_byteType(const ENCODING *enc, const char *p) { in big2_byteType()
893 big2_byteToAscii(const ENCODING *enc, const char *p) { in big2_byteToAscii()
899 big2_charMatches(const ENCODING *enc, const char *p, int c) { in big2_charMatches()
905 big2_isNameMin(const ENCODING *enc, const char *p) { in big2_isNameMin()
911 big2_isNmstrtMin(const ENCODING *enc, const char *p) { in big2_isNmstrtMin()
923 # define MINBPC(enc) 2 argument
925 # define BYTE_TYPE(enc, p) BIG2_BYTE_TYPE(enc, p) argument
926 # define BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(p) argument
927 # define CHAR_MATCHES(enc, p, c) BIG2_CHAR_MATCHES(p, c) argument
928 # define IS_NAME_CHAR(enc, p, n) 0 argument
929 # define IS_NAME_CHAR_MINBPC(enc, p) BIG2_IS_NAME_CHAR_MINBPC(p) argument
930 # define IS_NMSTRT_CHAR(enc, p, n) (0) argument
931 # define IS_NMSTRT_CHAR_MINBPC(enc, p) BIG2_IS_NMSTRT_CHAR_MINBPC(p) argument
1033 initUpdatePosition(const ENCODING *enc, const char *ptr, const char *end, in initUpdatePosition()
1040 toAscii(const ENCODING *enc, const char *ptr, const char *end) { in toAscii()
1066 parsePseudoAttribute(const ENCODING *enc, const char *ptr, const char *end, in parsePseudoAttribute()
1159 int isGeneralTextEntity, const ENCODING *enc, const char *ptr, in doParseXmlDecl()
1322 #define AS_UNKNOWN_ENCODING(enc) ((const struct unknown_encoding *)(enc)) argument
1330 unknown_isName(const ENCODING *enc, const char *p) { in unknown_isName()
1339 unknown_isNmstrt(const ENCODING *enc, const char *p) { in unknown_isNmstrt()
1348 unknown_isInvalid(const ENCODING *enc, const char *p) { in unknown_isInvalid()
1355 unknown_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in unknown_toUtf8()
1385 unknown_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in unknown_toUtf16()
1526 #define INIT_ENC_INDEX(enc) ((int)(enc)->initEnc.isUtf16) argument
1527 #define SET_INIT_ENC_INDEX(enc, i) ((enc)->initEnc.isUtf16 = (char)i) argument
1537 initScan(const ENCODING *const *encodingTable, const INIT_ENCODING *enc, in initScan()
1671 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); in XmlInitUnknownEncodingNS() local