• Home
  • Raw
  • Download

Lines Matching defs:enc

134 isNever(const ENCODING *enc, const char *p) {  in isNever()
141 utf8_isName2(const ENCODING *enc, const char *p) { in utf8_isName2()
147 utf8_isName3(const ENCODING *enc, const char *p) { in utf8_isName3()
155 utf8_isNmstrt2(const ENCODING *enc, const char *p) { in utf8_isNmstrt2()
161 utf8_isNmstrt3(const ENCODING *enc, const char *p) { in utf8_isNmstrt3()
169 utf8_isInvalid2(const ENCODING *enc, const char *p) { in utf8_isInvalid2()
175 utf8_isInvalid3(const ENCODING *enc, const char *p) { in utf8_isInvalid3()
181 utf8_isInvalid4(const ENCODING *enc, const char *p) { in utf8_isInvalid4()
187 ENCODING enc; member
207 #define AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *)(enc)) argument
240 # define MINBPC(enc) ((enc)->minBytesPerChar) argument
243 # define MINBPC(enc) 1 argument
246 #define SB_BYTE_TYPE(enc, p) \ argument
251 sb_byteType(const ENCODING *enc, const char *p) { in sb_byteType()
254 # define BYTE_TYPE(enc, p) (AS_NORMAL_ENCODING(enc)->byteType(enc, p)) argument
256 # define BYTE_TYPE(enc, p) SB_BYTE_TYPE(enc, p) argument
260 # define BYTE_TO_ASCII(enc, p) (AS_NORMAL_ENCODING(enc)->byteToAscii(enc, p)) argument
262 sb_byteToAscii(const ENCODING *enc, const char *p) { in sb_byteToAscii()
267 # define BYTE_TO_ASCII(enc, p) (*(p)) argument
270 #define IS_NAME_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isName##n(enc, p)) argument
271 #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_NAME_CHAR_MINBPC(enc, p) \ argument
278 # define IS_NMSTRT_CHAR_MINBPC(enc, p) \ argument
281 # define IS_NAME_CHAR_MINBPC(enc, p) (0) argument
282 # define IS_NMSTRT_CHAR_MINBPC(enc, p) (0) argument
286 # define CHAR_MATCHES(enc, p, c) \ argument
289 sb_charMatches(const ENCODING *enc, const char *p, int c) { in sb_charMatches()
295 # define CHAR_MATCHES(enc, p, c) (*(p) == c) argument
360 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8()
399 utf8_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf16()
497 latin1_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in latin1_toUtf8()
520 latin1_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in latin1_toUtf16()
555 ascii_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in ascii_toUtf8()
735 #define LITTLE2_BYTE_TYPE(enc, p) \ in DEFINE_UTF16_TO_UTF16() argument
753 little2_byteToAscii(const ENCODING *enc, const char *p) { in little2_byteToAscii()
759 little2_charMatches(const ENCODING *enc, const char *p, int c) { in little2_charMatches()
765 little2_isNameMin(const ENCODING *enc, const char *p) { in little2_isNameMin()
771 little2_isNmstrtMin(const ENCODING *enc, const char *p) { in little2_isNmstrtMin()
869 #define BIG2_BYTE_TYPE(enc, p) \ argument
883 big2_byteType(const ENCODING *enc, const char *p) { in big2_byteType()
888 big2_byteToAscii(const ENCODING *enc, const char *p) { in big2_byteToAscii()
894 big2_charMatches(const ENCODING *enc, const char *p, int c) { in big2_charMatches()
900 big2_isNameMin(const ENCODING *enc, const char *p) { in big2_isNameMin()
906 big2_isNmstrtMin(const ENCODING *enc, const char *p) { in big2_isNmstrtMin()
918 # define MINBPC(enc) 2 argument
920 # define BYTE_TYPE(enc, p) BIG2_BYTE_TYPE(enc, p) argument
921 # define BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(p) argument
922 # define CHAR_MATCHES(enc, p, c) BIG2_CHAR_MATCHES(p, c) argument
923 # define IS_NAME_CHAR(enc, p, n) 0 argument
924 # define IS_NAME_CHAR_MINBPC(enc, p) BIG2_IS_NAME_CHAR_MINBPC(p) argument
925 # define IS_NMSTRT_CHAR(enc, p, n) (0) argument
926 # define IS_NMSTRT_CHAR_MINBPC(enc, p) BIG2_IS_NMSTRT_CHAR_MINBPC(p) argument
1028 initUpdatePosition(const ENCODING *enc, const char *ptr, const char *end, in initUpdatePosition()
1035 toAscii(const ENCODING *enc, const char *ptr, const char *end) { in toAscii()
1061 parsePseudoAttribute(const ENCODING *enc, const char *ptr, const char *end, in parsePseudoAttribute()
1154 int isGeneralTextEntity, const ENCODING *enc, const char *ptr, in doParseXmlDecl()
1317 #define AS_UNKNOWN_ENCODING(enc) ((const struct unknown_encoding *)(enc)) argument
1325 unknown_isName(const ENCODING *enc, const char *p) { in unknown_isName()
1334 unknown_isNmstrt(const ENCODING *enc, const char *p) { in unknown_isNmstrt()
1343 unknown_isInvalid(const ENCODING *enc, const char *p) { in unknown_isInvalid()
1350 unknown_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in unknown_toUtf8()
1380 unknown_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in unknown_toUtf16()
1521 #define INIT_ENC_INDEX(enc) ((int)(enc)->initEnc.isUtf16) argument
1522 #define SET_INIT_ENC_INDEX(enc, i) ((enc)->initEnc.isUtf16 = (char)i) argument
1532 initScan(const ENCODING *const *encodingTable, const INIT_ENCODING *enc, in initScan()
1666 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); in XmlInitUnknownEncodingNS() local