BOSS 7.1.2
BESIII Offline Software System
|
#include "xmldef.h"
#include "xmltok.h"
#include "nametab.h"
#include "xmltok_impl.h"
#include "xmltok_impl.c"
#include "asciitab.h"
#include "utf8tab.h"
#include "iasciitab.h"
#include "latin1tab.h"
#include "xmltok_ns.c"
Go to the source code of this file.
Classes | |
struct | normal_encoding |
struct | unknown_encoding |
Macros | |
#define | VTABLE1 |
#define | VTABLE VTABLE1, PREFIX(toUtf8), PREFIX(toUtf16) |
#define | UCS2_GET_NAMING(pages, hi, lo) |
#define | UTF8_GET_NAMING2(pages, byte) |
#define | UTF8_GET_NAMING3(pages, byte) |
#define | UTF8_GET_NAMING(pages, p, n) |
#define | UTF8_INVALID3(p) |
#define | UTF8_INVALID4(p) |
#define | utf8_isName4 isNever |
#define | utf8_isNmstrt4 isNever |
#define | utf8_isInvalid2 isNever |
#define | STANDARD_VTABLE(E) |
#define | NORMAL_VTABLE(E) |
#define | MINBPC(enc) |
#define | SB_BYTE_TYPE(enc, p) |
#define | BYTE_TYPE(enc, p) |
#define | BYTE_TO_ASCII(enc, p) |
#define | IS_NAME_CHAR(enc, p, n) |
#define | IS_NMSTRT_CHAR(enc, p, n) |
#define | IS_INVALID_CHAR(enc, p, n) |
#define | IS_NAME_CHAR_MINBPC(enc, p) |
#define | IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | CHAR_MATCHES(enc, p, c) |
#define | PREFIX(ident) |
#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) |
#define | GET_LO(ptr) |
#define | GET_HI(ptr) |
#define | SET2(ptr, ch) |
#define | GET_LO(ptr) |
#define | GET_HI(ptr) |
#define | LITTLE2_BYTE_TYPE(enc, p) |
#define | LITTLE2_BYTE_TO_ASCII(enc, p) |
#define | LITTLE2_CHAR_MATCHES(enc, p, c) |
#define | LITTLE2_IS_NAME_CHAR_MINBPC(enc, p) |
#define | LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | PREFIX(ident) |
#define | MINBPC(enc) |
#define | BYTE_TYPE(enc, p) |
#define | BYTE_TO_ASCII(enc, p) |
#define | CHAR_MATCHES(enc, p, c) |
#define | IS_NAME_CHAR(enc, p, n) |
#define | IS_NAME_CHAR_MINBPC(enc, p) |
#define | IS_NMSTRT_CHAR(enc, p, n) |
#define | IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | BIG2_BYTE_TYPE(enc, p) |
#define | BIG2_BYTE_TO_ASCII(enc, p) |
#define | BIG2_CHAR_MATCHES(enc, p, c) |
#define | BIG2_IS_NAME_CHAR_MINBPC(enc, p) |
#define | BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | PREFIX(ident) |
#define | MINBPC(enc) |
#define | BYTE_TYPE(enc, p) |
#define | BYTE_TO_ASCII(enc, p) |
#define | CHAR_MATCHES(enc, p, c) |
#define | IS_NAME_CHAR(enc, p, n) |
#define | IS_NAME_CHAR_MINBPC(enc, p) |
#define | IS_NMSTRT_CHAR(enc, p, n) |
#define | IS_NMSTRT_CHAR_MINBPC(enc, p) |
#define | BT_COLON BT_NMSTRT |
#define | BT_COLON BT_NMSTRT |
#define | INIT_ENC_INDEX(enc) |
#define | NS(x) |
#define | ns(x) |
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 | |
int | XmlUtf8Encode (int c, char *buf) |
int | XmlUtf16Encode (int charNum, unsigned short *buf) |
int | XmlSizeOfUnknownEncoding () |
ENCODING * | XmlInitUnknownEncoding (void *mem, int *table, int(*convert)(void *userData, const char *p), void *userData) |
#define BIG2_BYTE_TO_ASCII | ( | enc, | |
p ) |
#define BIG2_BYTE_TYPE | ( | enc, | |
p ) |
Definition at line 736 of file xmltok.c.
#define BIG2_CHAR_MATCHES | ( | enc, | |
p, | |||
c ) |
#define BIG2_IS_NAME_CHAR_MINBPC | ( | enc, | |
p ) |
#define BIG2_IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p ) |
#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 ) |
#define BYTE_TO_ASCII | ( | enc, | |
p ) |
#define BYTE_TYPE | ( | enc, | |
p ) |
#define BYTE_TYPE | ( | enc, | |
p ) |
#define BYTE_TYPE | ( | enc, | |
p ) |
#define CHAR_MATCHES | ( | enc, | |
p, | |||
c ) |
#define CHAR_MATCHES | ( | enc, | |
p, | |||
c ) |
#define DEFINE_UTF16_TO_UTF16 | ( | E | ) |
Definition at line 559 of file xmltok.c.
#define DEFINE_UTF16_TO_UTF8 | ( | E | ) |
Definition at line 496 of file xmltok.c.
#define INIT_ENC_INDEX | ( | enc | ) |
Definition at line 1378 of file xmltok.c.
Referenced by XmlInitEncoding().
#define IS_INVALID_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NAME_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NAME_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NAME_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NAME_CHAR_MINBPC | ( | enc, | |
p ) |
#define IS_NAME_CHAR_MINBPC | ( | enc, | |
p ) |
#define IS_NMSTRT_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NMSTRT_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NMSTRT_CHAR | ( | enc, | |
p, | |||
n ) |
#define IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p ) |
#define IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p ) |
#define LITTLE2_BYTE_TO_ASCII | ( | enc, | |
p ) |
#define LITTLE2_BYTE_TYPE | ( | enc, | |
p ) |
#define LITTLE2_CHAR_MATCHES | ( | enc, | |
p, | |||
c ) |
#define LITTLE2_IS_NAME_CHAR_MINBPC | ( | enc, | |
p ) |
#define LITTLE2_IS_NMSTRT_CHAR_MINBPC | ( | enc, | |
p ) |
#define NORMAL_VTABLE | ( | E | ) |
Definition at line 179 of file xmltok.c.
#define NS | ( | x | ) |
Definition at line 1503 of file xmltok.c.
Referenced by XmlInitEncoding(), and XmlParseXmlDecl().
#define ns | ( | x | ) |
Definition at line 1504 of file xmltok.c.
Referenced by BesShortLivedConstructor::ConstructMesons(), MdcTrackCnv::DataObjectToTObject(), RecMdcTrackCnv::DataObjectToTObject(), BesTofDigitizerBrV2::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV4::Digitize(), BesPrimaryGeneratorAction::GeneratePrimaries(), G4HepMCInterface::HepMC2G4(), Minor< N >::Kay(), RecEmcShower::NearestSeed(), EvtPolInt::polynomial(), EvtPolInt::ratint(), BesRootIO::SaveTofHitRoot(), DstMdcKalTrack::setNster(), DstMdcTrack::setNster(), TMdcTrack::setNster(), TRecMdcTrack::setNster(), MdcTrackCnv::TObjectToDataObject(), RecMdcTrackCnv::TObjectToDataObject(), XmlGetUtf16InternalEncoding(), and XmlGetUtf8InternalEncoding().
#define SB_BYTE_TYPE | ( | enc, | |
p ) |
#define SET2 | ( | ptr, | |
ch ) |
#define SET2 | ( | ptr, | |
ch ) |
#define UCS2_GET_NAMING | ( | pages, | |
hi, | |||
lo ) |
Definition at line 54 of file xmltok.c.
Referenced by XmlInitUnknownEncoding().
#define UTF8_GET_NAMING | ( | pages, | |
p, | |||
n ) |
#define UTF8_GET_NAMING2 | ( | pages, | |
byte ) |
Definition at line 61 of file xmltok.c.
#define UTF8_GET_NAMING3 | ( | pages, | |
byte ) |
Definition at line 71 of file xmltok.c.
#define UTF8_INVALID3 | ( | p | ) |
Definition at line 86 of file xmltok.c.
#define UTF8_INVALID4 | ( | p | ) |
#define VTABLE1 |
Definition at line 39 of file xmltok.c.
anonymous enum |
Enumerator | |
---|---|
UTF8_cval1 | |
UTF8_cval2 | |
UTF8_cval3 | |
UTF8_cval4 |
Definition at line 276 of file xmltok.c.
anonymous enum |
Enumerator | |
---|---|
UNKNOWN_ENC | |
ISO_8859_1_ENC | |
US_ASCII_ENC | |
UTF_8_ENC | |
UTF_16_ENC | |
UTF_16BE_ENC | |
UTF_16LE_ENC | |
NO_ENC |
Definition at line 1343 of file xmltok.c.
ENCODING * XmlInitUnknownEncoding | ( | void * | mem, |
int * | table, | ||
int(* | convert )(void *userData, const char *p), | ||
void * | userData ) |
Definition at line 1263 of file xmltok.c.
int XmlSizeOfUnknownEncoding | ( | ) |
int XmlUtf16Encode | ( | int | charNum, |
unsigned short * | buf ) |
Definition at line 1150 of file xmltok.c.
int XmlUtf8Encode | ( | int | c, |
char * | buf ) |
Definition at line 1114 of file xmltok.c.
Referenced by XmlInitUnknownEncoding().