Go to the source code of this file.
|
| enum | xml_encoding {
XmlEncoding_ISO_8859_1 = 0
, XmlEncoding_ISO_8859_13
, XmlEncoding_ISO_8859_15
, XmlEncoding_ISO_8859_2
,
XmlEncoding_ISO_8859_3
, XmlEncoding_ISO_8859_4
, XmlEncoding_ISO_8859_5
, XmlEncoding_ISO_8859_7
,
XmlEncoding_ISO_8859_9
, XmlEncoding_UTF16
, XmlEncoding_UTF8
, XmlEncoding_windows_1250
,
XmlEncoding_windows_1251
, XmlEncoding_windows_1252
, XmlEncoding_windows_1253
, XmlEncoding_windows_1254
,
XmlEncoding_windows_1255
, XmlEncoding_windows_1256
, XmlEncoding_windows_1257
, XmlEncoding_windows_1258
,
XmlEncoding_Unknown
, XmlEncoding_USASCII
, XmlEncoding_UTF16
, XmlEncoding_UTF8
,
XmlEncoding_Unknown
} |
| |
◆ xml_encoding
| Enumerator |
|---|
| XmlEncoding_ISO_8859_1 | |
| XmlEncoding_ISO_8859_13 | |
| XmlEncoding_ISO_8859_15 | |
| XmlEncoding_ISO_8859_2 | |
| XmlEncoding_ISO_8859_3 | |
| XmlEncoding_ISO_8859_4 | |
| XmlEncoding_ISO_8859_5 | |
| XmlEncoding_ISO_8859_7 | |
| XmlEncoding_ISO_8859_9 | |
| XmlEncoding_UTF16 | |
| XmlEncoding_UTF8 | |
| XmlEncoding_windows_1250 | |
| XmlEncoding_windows_1251 | |
| XmlEncoding_windows_1252 | |
| XmlEncoding_windows_1253 | |
| XmlEncoding_windows_1254 | |
| XmlEncoding_windows_1255 | |
| XmlEncoding_windows_1256 | |
| XmlEncoding_windows_1257 | |
| XmlEncoding_windows_1258 | |
| XmlEncoding_Unknown | |
| XmlEncoding_USASCII | |
| XmlEncoding_UTF16 | |
| XmlEncoding_UTF8 | |
| XmlEncoding_Unknown | |
Definition at line 48 of file xmllite_private.h.
◆ get_code_page()
Definition at line 724 of file reader.c.
725{
727 {
728 FIXME(
"unsupported encoding %d\n", encoding);
730 }
731
733
735}
static const struct xml_encoding_data xml_encoding_map[]
Referenced by readerinput_switchencoding().
◆ get_encoding_from_codepage()
Definition at line 160 of file reader.c.
161{
164 {
166 }
168}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by CreateXmlReaderInputWithEncodingCodePage(), and CreateXmlWriterOutputWithEncodingCodePage().
◆ get_encoding_name()
◆ is_char()
Definition at line 67 of file xmllite_private.h.
68{
69 return (
ch ==
'\t') || (
ch ==
'\r') || (
ch ==
'\n') ||
70 (
ch >= 0x20 &&
ch <= 0xd7ff) ||
71 (
ch >= 0xd800 &&
ch <= 0xdbff) ||
72 (
ch >= 0xdc00 &&
ch <= 0xdfff) ||
73 (
ch >= 0xe000 &&
ch <= 0xfffd);
74}
◆ is_namechar()
◆ is_namestartchar()
Definition at line 1486 of file reader.c.
1487{
1488 return (
ch ==
':') || (
ch >=
'A' &&
ch <=
'Z') ||
1489 (
ch ==
'_') || (
ch >=
'a' &&
ch <=
'z') ||
1490 (
ch >= 0xc0 &&
ch <= 0xd6) ||
1491 (
ch >= 0xd8 &&
ch <= 0xf6) ||
1492 (
ch >= 0xf8 &&
ch <= 0x2ff) ||
1493 (
ch >= 0x370 &&
ch <= 0x37d) ||
1494 (
ch >= 0x37f &&
ch <= 0x1fff) ||
1495 (
ch >= 0x200c &&
ch <= 0x200d) ||
1496 (
ch >= 0x2070 &&
ch <= 0x218f) ||
1497 (
ch >= 0x2c00 &&
ch <= 0x2fef) ||
1498 (
ch >= 0x3001 &&
ch <= 0xd7ff) ||
1499 (
ch >= 0xd800 &&
ch <= 0xdbff) ||
1500 (
ch >= 0xdc00 &&
ch <= 0xdfff) ||
1501 (
ch >= 0xf900 &&
ch <= 0xfdcf) ||
1502 (
ch >= 0xfdf0 &&
ch <= 0xfffd);
1503}
Referenced by is_valid_name(), reader_parse_name(), and readerinput_detectencoding().
◆ is_ncnamechar()
Definition at line 1506 of file reader.c.
1507{
1508 return (
ch >=
'A' &&
ch <=
'Z') ||
1509 (
ch ==
'_') || (
ch >=
'a' &&
ch <=
'z') ||
1510 (
ch ==
'-') || (
ch ==
'.') ||
1511 (
ch >=
'0' &&
ch <=
'9') ||
1513 (
ch >= 0xc0 &&
ch <= 0xd6) ||
1514 (
ch >= 0xd8 &&
ch <= 0xf6) ||
1515 (
ch >= 0xf8 &&
ch <= 0x2ff) ||
1516 (
ch >= 0x300 &&
ch <= 0x36f) ||
1517 (
ch >= 0x370 &&
ch <= 0x37d) ||
1518 (
ch >= 0x37f &&
ch <= 0x1fff) ||
1519 (
ch >= 0x200c &&
ch <= 0x200d) ||
1520 (
ch >= 0x203f &&
ch <= 0x2040) ||
1521 (
ch >= 0x2070 &&
ch <= 0x218f) ||
1522 (
ch >= 0x2c00 &&
ch <= 0x2fef) ||
1523 (
ch >= 0x3001 &&
ch <= 0xd7ff) ||
1524 (
ch >= 0xd800 &&
ch <= 0xdbff) ||
1525 (
ch >= 0xdc00 &&
ch <= 0xdfff) ||
1526 (
ch >= 0xf900 &&
ch <= 0xfdcf) ||
1527 (
ch >= 0xfdf0 &&
ch <= 0xfffd);
1528}
Referenced by is_namechar(), is_valid_ncname(), reader_parse_local(), and reader_parse_qname().
◆ is_pubchar()
◆ is_wchar_space()
◆ m_alloc()
◆ m_free()
◆ m_realloc()
◆ parse_encoding_name()