ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <stddef.h>
#include "expat_external.h"
#include "internal.h"
#include "xmltok.h"
#include "nametab.h"
#include "xmltok_impl.h"
#include "ascii.h"
#include "xmltok_impl.cc"
#include "asciitab.h"
#include "utf8tab.h"
#include "iasciitab.h"
#include "latin1tab.h"
#include "xmltok_ns.cc"
Go to the source code of this file.
Classes | |
struct | normal_encoding |
struct | unknown_encoding |
Macros | |
#define | IGNORE_SECTION_TOK_VTABLE /* as nothing */ |
#define | VTABLE1 |
#define | VTABLE VTABLE1, PREFIX(toUtf8), PREFIX(toUtf16) |
#define | UCS2_GET_NAMING(pages, hi, lo) (namingBitmap[(pages[hi] << 3) + ((lo) >> 5)] & (1 << ((lo) & 0x1F))) |
#define | UTF8_GET_NAMING2(pages, byte) |
#define | UTF8_GET_NAMING3(pages, byte) |
#define | UTF8_GET_NAMING(pages, p, n) |
#define | UTF8_INVALID2(p) ((*p) < 0xC2 || ((p)[1] & 0x80) == 0 || ((p)[1] & 0xC0) == 0xC0) |
#define | UTF8_INVALID3(p) |
#define | UTF8_INVALID4(p) |
#define | utf8_isName4 isNever |
#define | utf8_isNmstrt4 isNever |
#define | AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *) (enc)) |
#define | STANDARD_VTABLE(E) /* as nothing */ |
#define | NORMAL_VTABLE(E) |
#define | MINBPC(enc) 1 |
#define | SB_BYTE_TYPE(enc, p) (((struct normal_encoding *)(enc))->type[(unsigned char)*(p)]) |
#define | BYTE_TYPE(enc, p) SB_BYTE_TYPE(enc, p) |
#define | BYTE_TO_ASCII(enc, p) (*(p)) |
#define | IS_NAME_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isName ## n(enc, p)) |
#define | IS_NMSTRT_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isNmstrt ## n(enc, p)) |
#define | IS_INVALID_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isInvalid ## n(enc, p)) |
#define | IS_NAME_CHAR_MINBPC(enc, p) (0) |
#define | IS_NMSTRT_CHAR_MINBPC(enc, p) (0) |
#define | CHAR_MATCHES(enc, p, c) (*(p) == c) |
#define | PREFIX(ident) normal_ ## ident |
#define | XML_TOK_IMPL_C |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | DEFINE_UTF16_TO_UTF8(E) |
#define | DEFINE_UTF16_TO_UTF16(E) |
#define | SET2(ptr, ch) (((ptr)[0] = ((ch) & 0xff)), ((ptr)[1] = ((ch) >> 8))) |
#define | GET_LO(ptr) ((unsigned char)(ptr)[0]) |
#define | GET_HI(ptr) ((unsigned char)(ptr)[1]) |
#define | SET2(ptr, ch) (((ptr)[0] = ((ch) >> 8)), ((ptr)[1] = ((ch) & 0xFF))) |
#define | GET_LO(ptr) ((unsigned char)(ptr)[1]) |
#define | GET_HI(ptr) ((unsigned char)(ptr)[0]) |
#define | LITTLE2_BYTE_TYPE(enc, p) |
#define | LITTLE2_BYTE_TO_ASCII(enc, p) ((p)[1] == 0 ? (p)[0] : -1) |
#define | LITTLE2_CHAR_MATCHES(enc, p, c) ((p)[1] == 0 && (p)[0] == c) |
#define | LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) UCS2_GET_NAMING(namePages, (unsigned char)p[1], (unsigned char)p[0]) |
#define | LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p) UCS2_GET_NAMING(nmstrtPages, (unsigned char)p[1], (unsigned char)p[0]) |
#define | PREFIX(ident) little2_ ## ident |
#define | MINBPC(enc) 2 |
#define | BYTE_TYPE(enc, p) LITTLE2_BYTE_TYPE(enc, p) |
#define | BYTE_TO_ASCII(enc, p) LITTLE2_BYTE_TO_ASCII(enc, p) |
#define | CHAR_MATCHES(enc, p, c) LITTLE2_CHAR_MATCHES(enc, p, c) |
#define | IS_NAME_CHAR(enc, p, n) 0 |
#define | IS_NAME_CHAR_MINBPC(enc, p) LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) |
#define | IS_NMSTRT_CHAR(enc, p, n) (0) |
#define | IS_NMSTRT_CHAR_MINBPC(enc, p) LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | XML_TOK_IMPL_C |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | BIG2_BYTE_TYPE(enc, p) |
#define | BIG2_BYTE_TO_ASCII(enc, p) ((p)[0] == 0 ? (p)[1] : -1) |
#define | BIG2_CHAR_MATCHES(enc, p, c) ((p)[0] == 0 && (p)[1] == c) |
#define | BIG2_IS_NAME_CHAR_MINBPC(enc, p) UCS2_GET_NAMING(namePages, (unsigned char)p[0], (unsigned char)p[1]) |
#define | BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) UCS2_GET_NAMING(nmstrtPages, (unsigned char)p[0], (unsigned char)p[1]) |
#define | PREFIX(ident) big2_ ## ident |
#define | MINBPC(enc) 2 |
#define | BYTE_TYPE(enc, p) BIG2_BYTE_TYPE(enc, p) |
#define | BYTE_TO_ASCII(enc, p) BIG2_BYTE_TO_ASCII(enc, p) |
#define | CHAR_MATCHES(enc, p, c) BIG2_CHAR_MATCHES(enc, p, c) |
#define | IS_NAME_CHAR(enc, p, n) 0 |
#define | IS_NAME_CHAR_MINBPC(enc, p) BIG2_IS_NAME_CHAR_MINBPC(enc, p) |
#define | IS_NMSTRT_CHAR(enc, p, n) (0) |
#define | IS_NMSTRT_CHAR_MINBPC(enc, p) BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | XML_TOK_IMPL_C |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | AS_UNKNOWN_ENCODING(enc) ((const struct unknown_encoding *) (enc)) |
#define | INIT_ENC_INDEX(enc) ((int)(enc)->initEnc.isUtf16) |
#define | SET_INIT_ENC_INDEX(enc, i) ((enc)->initEnc.isUtf16 = (char)i) |
#define | NS(x) x |
#define | ns(x) x |
#define | XML_TOK_NS_C |
Enumerations | |
enum | { UTF8_cval1 = 0x00, UTF8_cval2 = 0xc0, UTF8_cval3 = 0xe0, UTF8_cval4 = 0xf0 } |
enum | { UNKNOWN_ENC = -1, ISO_8859_1_ENC = 0, US_ASCII_ENC, UTF_8_ENC, UTF_16_ENC, UTF_16BE_ENC, UTF_16LE_ENC, NO_ENC } |
Functions | |
static int PTRFASTCALL | isNever (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isName2 (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isName3 (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isNmstrt2 (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isNmstrt3 (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isInvalid2 (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isInvalid3 (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | utf8_isInvalid4 (const ENCODING *enc, const char *p) |
static int FASTCALL | checkCharRefNumber (int) |
static void PTRCALL | utf8_toUtf8 (const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) |
static void PTRCALL | utf8_toUtf16 (const ENCODING *enc, const char **fromP, const char *fromLim, unsigned short **toP, const unsigned short *toLim) |
static void PTRCALL | latin1_toUtf8 (const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) |
static void PTRCALL | latin1_toUtf16 (const ENCODING *enc, const char **fromP, const char *fromLim, unsigned short **toP, const unsigned short *toLim) |
static void PTRCALL | ascii_toUtf8 (const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) |
static int PTRFASTCALL | unicode_byte_type (char hi, char lo) |
static int FASTCALL | streqci (const char *s1, const char *s2) |
static void PTRCALL | initUpdatePosition (const ENCODING *enc, const char *ptr, const char *end, POSITION *pos) |
static int | toAscii (const ENCODING *enc, const char *ptr, const char *end) |
static int FASTCALL | isSpace (int c) |
static int | parsePseudoAttribute (const ENCODING *enc, const char *ptr, const char *end, const char **namePtr, const char **nameEndPtr, const char **valPtr, const char **nextTokPtr) |
static int | doParseXmlDecl (const ENCODING *(*encodingFinder)(const ENCODING *, const char *, const char *), int isGeneralTextEntity, const ENCODING *enc, const char *ptr, const char *end, const char **badPtr, const char **versionPtr, const char **versionEndPtr, const char **encodingName, const ENCODING **encoding, int *standalone) |
int FASTCALL | XmlUtf8Encode (int c, char *buf) |
int FASTCALL | XmlUtf16Encode (int charNum, unsigned short *buf) |
int | XmlSizeOfUnknownEncoding (void) |
static int PTRFASTCALL | unknown_isName (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | unknown_isNmstrt (const ENCODING *enc, const char *p) |
static int PTRFASTCALL | unknown_isInvalid (const ENCODING *enc, const char *p) |
static void PTRCALL | unknown_toUtf8 (const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) |
static void PTRCALL | unknown_toUtf16 (const ENCODING *enc, const char **fromP, const char *fromLim, unsigned short **toP, const unsigned short *toLim) |
ENCODING * | XmlInitUnknownEncoding (void *mem, int *table, CONVERTER convert, void *userData) |
static int FASTCALL | getEncodingIndex (const char *name) |
static int | initScan (const ENCODING *const *encodingTable, const INIT_ENCODING *enc, int state, const char *ptr, const char *end, const char **nextTokPtr) |
Variables | |
static struct normal_encoding | utf8_encoding |
static struct normal_encoding | internal_utf8_encoding |
static struct normal_encoding | latin1_encoding |
static struct normal_encoding | ascii_encoding |
static struct normal_encoding | little2_encoding |
static struct normal_encoding | internal_little2_encoding |
static struct normal_encoding | big2_encoding |
static struct normal_encoding | internal_big2_encoding |
static const char | KW_version [] |
static const char | KW_encoding [] |
static const char | KW_standalone [] |
static const char | KW_yes [] |
static const char | KW_no [] |
static const char | KW_ISO_8859_1 [] |
static const char | KW_US_ASCII [] |
static const char | KW_UTF_8 [] |
static const char | KW_UTF_16 [] |
static const char | KW_UTF_16BE [] |
static const char | KW_UTF_16LE [] |
#define AS_NORMAL_ENCODING | ( | enc | ) | ((const struct normal_encoding *) (enc)) |
Definition at line 202 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 202 of file xmltok.cc
Referenced by unknown_toUtf16(), and unknown_toUtf8().
#define AS_UNKNOWN_ENCODING | ( | enc | ) | ((const struct unknown_encoding *) (enc)) |
Definition at line 1260 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1260 of file xmltok.cc
Referenced by unknown_isInvalid(), unknown_isName(), unknown_isNmstrt(), unknown_toUtf16(), and unknown_toUtf8().
#define BIG2_BYTE_TYPE | ( | enc, | |
p | |||
) |
#define BIG2_IS_NAME_CHAR_MINBPC | ( | enc, | |
p | |||
) | UCS2_GET_NAMING(namePages, (unsigned char)p[0], (unsigned char)p[1]) |
#define BIG2_IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p | |||
) | UCS2_GET_NAMING(nmstrtPages, (unsigned char)p[0], (unsigned char)p[1]) |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BT_COLON BT_NMSTRT |
#define BYTE_TO_ASCII | ( | enc, | |
p | |||
) | LITTLE2_BYTE_TO_ASCII(enc, p) |
#define BYTE_TO_ASCII | ( | enc, | |
p | |||
) | BIG2_BYTE_TO_ASCII(enc, p) |
#define BYTE_TYPE | ( | enc, | |
p | |||
) | SB_BYTE_TYPE(enc, p) |
#define BYTE_TYPE | ( | enc, | |
p | |||
) | LITTLE2_BYTE_TYPE(enc, p) |
#define BYTE_TYPE | ( | enc, | |
p | |||
) | BIG2_BYTE_TYPE(enc, p) |
#define CHAR_MATCHES | ( | enc, | |
p, | |||
c | |||
) | LITTLE2_CHAR_MATCHES(enc, p, c) |
#define CHAR_MATCHES | ( | enc, | |
p, | |||
c | |||
) | BIG2_CHAR_MATCHES(enc, p, c) |
#define DEFINE_UTF16_TO_UTF16 | ( | E | ) |
Definition at line 606 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 606 of file xmltok.cc
#define DEFINE_UTF16_TO_UTF8 | ( | E | ) |
#define GET_HI | ( | ptr | ) | ((unsigned char)(ptr)[1]) |
#define GET_HI | ( | ptr | ) | ((unsigned char)(ptr)[0]) |
#define GET_LO | ( | ptr | ) | ((unsigned char)(ptr)[0]) |
#define GET_LO | ( | ptr | ) | ((unsigned char)(ptr)[1]) |
#define IGNORE_SECTION_TOK_VTABLE /* as nothing */ |
#define INIT_ENC_INDEX | ( | enc | ) | ((int)(enc)->initEnc.isUtf16) |
Definition at line 1490 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1490 of file xmltok.cc
Referenced by initScan().
#define IS_INVALID_CHAR | ( | enc, | |
p, | |||
n | |||
) | (AS_NORMAL_ENCODING(enc)->isInvalid ## n(enc, p)) |
#define IS_NAME_CHAR | ( | enc, | |
p, | |||
n | |||
) | (AS_NORMAL_ENCODING(enc)->isName ## n(enc, p)) |
#define IS_NAME_CHAR_MINBPC | ( | enc, | |
p | |||
) | (0) |
#define IS_NAME_CHAR_MINBPC | ( | enc, | |
p | |||
) | LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) |
#define IS_NAME_CHAR_MINBPC | ( | enc, | |
p | |||
) | BIG2_IS_NAME_CHAR_MINBPC(enc, p) |
#define IS_NMSTRT_CHAR | ( | enc, | |
p, | |||
n | |||
) | (AS_NORMAL_ENCODING(enc)->isNmstrt ## n(enc, p)) |
#define IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p | |||
) | (0) |
#define IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p | |||
) | LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p | |||
) | BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define LITTLE2_BYTE_TYPE | ( | enc, | |
p | |||
) |
#define LITTLE2_IS_NAME_CHAR_MINBPC | ( | enc, | |
p | |||
) | UCS2_GET_NAMING(namePages, (unsigned char)p[1], (unsigned char)p[0]) |
#define LITTLE2_IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p | |||
) | UCS2_GET_NAMING(nmstrtPages, (unsigned char)p[1], (unsigned char)p[0]) |
#define MINBPC | ( | enc | ) | 1 |
#define MINBPC | ( | enc | ) | 2 |
#define MINBPC | ( | enc | ) | 2 |
#define NORMAL_VTABLE | ( | E | ) |
Definition at line 1624 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1624 of file xmltok.cc
Referenced by G4NistElementBuilder::Initialise().
#define PREFIX | ( | ident | ) | normal_ ## ident |
#define PREFIX | ( | ident | ) | little2_ ## ident |
#define PREFIX | ( | ident | ) | big2_ ## ident |
#define SB_BYTE_TYPE | ( | enc, | |
p | |||
) | (((struct normal_encoding *)(enc))->type[(unsigned char)*(p)]) |
#define SET2 | ( | ptr, | |
ch | |||
) | (((ptr)[0] = ((ch) & 0xff)), ((ptr)[1] = ((ch) >> 8))) |
#define SET2 | ( | ptr, | |
ch | |||
) | (((ptr)[0] = ((ch) >> 8)), ((ptr)[1] = ((ch) & 0xFF))) |
#define SET_INIT_ENC_INDEX | ( | enc, | |
i | |||
) | ((enc)->initEnc.isUtf16 = (char)i) |
#define STANDARD_VTABLE | ( | E | ) | /* as nothing */ |
#define UCS2_GET_NAMING | ( | pages, | |
hi, | |||
lo | |||
) | (namingBitmap[(pages[hi] << 3) + ((lo) >> 5)] & (1 << ((lo) & 0x1F))) |
Definition at line 53 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 53 of file xmltok.cc
Referenced by unknown_isName(), unknown_isNmstrt(), and XmlInitUnknownEncoding().
#define UTF8_GET_NAMING2 | ( | pages, | |
byte | |||
) |
Definition at line 60 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 60 of file xmltok.cc
Referenced by utf8_isName2(), and utf8_isNmstrt2().
#define UTF8_GET_NAMING3 | ( | pages, | |
byte | |||
) |
Definition at line 71 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 71 of file xmltok.cc
Referenced by utf8_isName3(), and utf8_isNmstrt3().
Definition at line 96 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 96 of file xmltok.cc
Referenced by utf8_isInvalid2().
#define UTF8_INVALID3 | ( | p | ) |
Definition at line 99 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 99 of file xmltok.cc
Referenced by utf8_isInvalid3().
#define UTF8_INVALID4 | ( | p | ) |
#define utf8_isName4 isNever |
#define utf8_isNmstrt4 isNever |
#define VTABLE1 |
#define XML_TOK_IMPL_C |
#define XML_TOK_IMPL_C |
#define XML_TOK_IMPL_C |
#define XML_TOK_NS_C |
anonymous enum |
anonymous enum |
Definition at line 1179 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1179 of file xmltok.cc
References BT_NONXML, and normal_encoding::type.
Referenced by unknown_isInvalid(), and XmlInitUnknownEncoding().
|
static |
Definition at line 1087 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1087 of file xmltok.cc
References ASCII_A, ASCII_a, ASCII_Z, ASCII_z, c, isSpace(), encoding::minBytesPerChar, parsePseudoAttribute(), toAscii(), and XmlNameMatchesAscii.
Definition at line 1467 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1467 of file xmltok.cc
References int(), KW_ISO_8859_1, KW_US_ASCII, KW_UTF_16, KW_UTF_16BE, KW_UTF_16LE, KW_UTF_8, NO_ENC, streqci(), and UNKNOWN_ENC.
|
static |
Definition at line 1502 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1502 of file xmltok.cc
References e, INIT_ENCODING::encPtr, INIT_ENC_INDEX, ISO_8859_1_ENC, UTF_16_ENC, UTF_16BE_ENC, UTF_16LE_ENC, UTF_8_ENC, XML_CONTENT_STATE, XML_TOK_BOM, XML_TOK_NONE, XML_TOK_PARTIAL, and XmlTok.
|
static |
Definition at line 946 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 946 of file xmltok.cc
References normal_encoding::enc.
|
static |
Definition at line 965 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 965 of file xmltok.cc
Referenced by doParseXmlDecl(), and parsePseudoAttribute().
|
static |
Definition at line 981 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 981 of file xmltok.cc
References ASCII_0, ASCII_9, ASCII_A, ASCII_a, ASCII_APOS, ASCII_EQUALS, ASCII_MINUS, ASCII_PERIOD, ASCII_QUOT, ASCII_UNDERSCORE, ASCII_Z, ASCII_z, c, isSpace(), encoding::minBytesPerChar, Acts::open, and toAscii().
Referenced by doParseXmlDecl().
Definition at line 953 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 953 of file xmltok.cc
References XmlUtf8Convert.
Referenced by doParseXmlDecl(), and parsePseudoAttribute().
|
static |
|
static |
Definition at line 1289 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1289 of file xmltok.cc
References AS_UNKNOWN_ENCODING, c, checkCharRefNumber(), unknown_encoding::convert, and unknown_encoding::userData.
Referenced by XmlInitUnknownEncoding().
|
static |
Definition at line 1269 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1269 of file xmltok.cc
References AS_UNKNOWN_ENCODING, c, unknown_encoding::convert, namePages, UCS2_GET_NAMING, and unknown_encoding::userData.
Referenced by XmlInitUnknownEncoding().
|
static |
Definition at line 1279 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1279 of file xmltok.cc
References AS_UNKNOWN_ENCODING, c, unknown_encoding::convert, nmstrtPages, UCS2_GET_NAMING, and unknown_encoding::userData.
Referenced by XmlInitUnknownEncoding().
|
static |
Definition at line 1331 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1331 of file xmltok.cc
References AS_NORMAL_ENCODING, AS_UNKNOWN_ENCODING, BT_LEAD2, c, unknown_encoding::convert, unknown_encoding::userData, and unknown_encoding::utf16.
Referenced by XmlInitUnknownEncoding().
|
static |
Definition at line 1297 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1297 of file xmltok.cc
References AS_NORMAL_ENCODING, AS_UNKNOWN_ENCODING, BT_LEAD2, c, unknown_encoding::convert, n, unknown_encoding::userData, unknown_encoding::utf8, XML_UTF8_ENCODE_MAX, and XmlUtf8Encode().
Referenced by XmlInitUnknownEncoding().
|
static |
Definition at line 164 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 164 of file xmltok.cc
References UTF8_INVALID2.
|
static |
Definition at line 170 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 170 of file xmltok.cc
References UTF8_INVALID3.
|
static |
Definition at line 176 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 176 of file xmltok.cc
References UTF8_INVALID4.
|
static |
|
static |
|
static |
Definition at line 150 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 150 of file xmltok.cc
References nmstrtPages, and UTF8_GET_NAMING2.
|
static |
Definition at line 156 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 156 of file xmltok.cc
References nmstrtPages, and UTF8_GET_NAMING3.
Definition at line 1351 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1351 of file xmltok.cc
References BT_LEAD2, BT_MALFORM, BT_NAME, BT_NMSTRT, BT_NONXML, BT_OTHER, c, checkCharRefNumber(), unknown_encoding::convert, e, normal_encoding::enc, if(), int(), latin1_encoding, namePages, nmstrtPages, unknown_encoding::normal, normal_encoding::type, UCS2_GET_NAMING, unknown_isInvalid(), unknown_isName(), unknown_isNmstrt(), unknown_toUtf16(), unknown_toUtf8(), userData, unknown_encoding::userData, unknown_encoding::utf16, unknown_encoding::utf8, and XmlUtf8Encode().
Referenced by handleUnknownEncoding().
Definition at line 1263 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1263 of file xmltok.cc
Referenced by handleUnknownEncoding().
Definition at line 1198 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1198 of file xmltok.cc
References min3(), UTF8_cval1, UTF8_cval2, UTF8_cval3, and UTF8_cval4.
Referenced by unknown_toUtf8(), and XmlInitUnknownEncoding().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1443 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1443 of file xmltok.cc
Referenced by getEncodingIndex().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1451 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 1451 of file xmltok.cc
Referenced by getEncodingIndex().
|
static |
|
static |
|
static |
Definition at line 480 of file xmltok.cc.
View newest version in sPHENIX GitHub at line 480 of file xmltok.cc
Referenced by XmlInitUnknownEncoding().
|
static |
|
static |