ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xmltok.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  position
 
struct  ATTRIBUTE
 
struct  encoding
 
struct  INIT_ENCODING
 

Macros

#define XML_TOK_TRAILING_RSQB
 
#define XML_TOK_NONE   -4 /* The string to be scanned is empty */
 
#define XML_TOK_TRAILING_CR
 
#define XML_TOK_PARTIAL_CHAR   -2 /* only part of a multibyte sequence */
 
#define XML_TOK_PARTIAL   -1 /* only part of a token */
 
#define XML_TOK_INVALID   0
 
#define XML_TOK_START_TAG_WITH_ATTS   1
 
#define XML_TOK_START_TAG_NO_ATTS   2
 
#define XML_TOK_EMPTY_ELEMENT_WITH_ATTS   3 /* empty element tag <e/> */
 
#define XML_TOK_EMPTY_ELEMENT_NO_ATTS   4
 
#define XML_TOK_END_TAG   5
 
#define XML_TOK_DATA_CHARS   6
 
#define XML_TOK_DATA_NEWLINE   7
 
#define XML_TOK_CDATA_SECT_OPEN   8
 
#define XML_TOK_ENTITY_REF   9
 
#define XML_TOK_CHAR_REF   10 /* numeric character reference */
 
#define XML_TOK_PI   11 /* processing instruction */
 
#define XML_TOK_XML_DECL   12 /* XML decl or text decl */
 
#define XML_TOK_COMMENT   13
 
#define XML_TOK_BOM   14 /* Byte order mark */
 
#define XML_TOK_PROLOG_S   15
 
#define XML_TOK_DECL_OPEN   16 /* <!foo */
 
#define XML_TOK_DECL_CLOSE   17 /* > */
 
#define XML_TOK_NAME   18
 
#define XML_TOK_NMTOKEN   19
 
#define XML_TOK_POUND_NAME   20 /* #name */
 
#define XML_TOK_OR   21 /* | */
 
#define XML_TOK_PERCENT   22
 
#define XML_TOK_OPEN_PAREN   23
 
#define XML_TOK_CLOSE_PAREN   24
 
#define XML_TOK_OPEN_BRACKET   25
 
#define XML_TOK_CLOSE_BRACKET   26
 
#define XML_TOK_LITERAL   27
 
#define XML_TOK_PARAM_ENTITY_REF   28
 
#define XML_TOK_INSTANCE_START   29
 
#define XML_TOK_NAME_QUESTION   30 /* name? */
 
#define XML_TOK_NAME_ASTERISK   31 /* name* */
 
#define XML_TOK_NAME_PLUS   32 /* name+ */
 
#define XML_TOK_COND_SECT_OPEN   33 /* <![ */
 
#define XML_TOK_COND_SECT_CLOSE   34 /* ]]> */
 
#define XML_TOK_CLOSE_PAREN_QUESTION   35 /* )? */
 
#define XML_TOK_CLOSE_PAREN_ASTERISK   36 /* )* */
 
#define XML_TOK_CLOSE_PAREN_PLUS   37 /* )+ */
 
#define XML_TOK_COMMA   38
 
#define XML_TOK_ATTRIBUTE_VALUE_S   39
 
#define XML_TOK_CDATA_SECT_CLOSE   40
 
#define XML_TOK_PREFIXED_NAME   41
 
#define XML_N_STATES   3
 
#define XML_PROLOG_STATE   0
 
#define XML_CONTENT_STATE   1
 
#define XML_CDATA_SECTION_STATE   2
 
#define XML_N_LITERAL_TYPES   2
 
#define XML_ATTRIBUTE_VALUE_LITERAL   0
 
#define XML_ENTITY_VALUE_LITERAL   1
 
#define XML_UTF8_ENCODE_MAX   4
 
#define XML_UTF16_ENCODE_MAX   2
 
#define XmlTok(enc, state, ptr, end, nextTokPtr)   (((enc)->scanners[state])(enc, ptr, end, nextTokPtr))
 
#define XmlPrologTok(enc, ptr, end, nextTokPtr)   XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr)
 
#define XmlContentTok(enc, ptr, end, nextTokPtr)   XmlTok(enc, XML_CONTENT_STATE, ptr, end, nextTokPtr)
 
#define XmlCdataSectionTok(enc, ptr, end, nextTokPtr)   XmlTok(enc, XML_CDATA_SECTION_STATE, ptr, end, nextTokPtr)
 
#define XmlLiteralTok(enc, literalType, ptr, end, nextTokPtr)   (((enc)->literalScanners[literalType])(enc, ptr, end, nextTokPtr))
 
#define XmlAttributeValueTok(enc, ptr, end, nextTokPtr)   XmlLiteralTok(enc, XML_ATTRIBUTE_VALUE_LITERAL, ptr, end, nextTokPtr)
 
#define XmlEntityValueTok(enc, ptr, end, nextTokPtr)   XmlLiteralTok(enc, XML_ENTITY_VALUE_LITERAL, ptr, end, nextTokPtr)
 
#define XmlSameName(enc, ptr1, ptr2)   (((enc)->sameName)(enc, ptr1, ptr2))
 
#define XmlNameMatchesAscii(enc, ptr1, end1, ptr2)   (((enc)->nameMatchesAscii)(enc, ptr1, end1, ptr2))
 
#define XmlNameLength(enc, ptr)   (((enc)->nameLength)(enc, ptr))
 
#define XmlSkipS(enc, ptr)   (((enc)->skipS)(enc, ptr))
 
#define XmlGetAttributes(enc, ptr, attsMax, atts)   (((enc)->getAtts)(enc, ptr, attsMax, atts))
 
#define XmlCharRefNumber(enc, ptr)   (((enc)->charRefNumber)(enc, ptr))
 
#define XmlPredefinedEntityName(enc, ptr, end)   (((enc)->predefinedEntityName)(enc, ptr, end))
 
#define XmlUpdatePosition(enc, ptr, end, pos)   (((enc)->updatePosition)(enc, ptr, end, pos))
 
#define XmlIsPublicId(enc, ptr, end, badPtr)   (((enc)->isPublicId)(enc, ptr, end, badPtr))
 
#define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim)   (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
 
#define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim)   (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
 

Typedefs

typedef struct position POSITION
 
typedef struct encoding ENCODING
 
typedef int(PTRCALLSCANNER )(const ENCODING *, const char *, const char *, const char **)
 
typedef const char * p
 

Functions

int XmlParseXmlDecl (int isGeneralTextEntity, const ENCODING *enc, const char *ptr, const char *end, const char **badPtr, const char **versionPtr, const char **versionEndPtr, const char **encodingNamePtr, const ENCODING **namedEncodingPtr, int *standalonePtr)
 
int XmlInitEncoding (INIT_ENCODING *, const ENCODING **, const char *name)
 
const ENCODINGXmlGetUtf8InternalEncoding (void)
 
const ENCODINGXmlGetUtf16InternalEncoding (void)
 
int FASTCALL XmlUtf8Encode (int charNumber, char *buf)
 
int FASTCALL XmlUtf16Encode (int charNumber, unsigned short *buf)
 
int XmlSizeOfUnknownEncoding (void)
 
typedef int (XMLCALL *CONVERTER)(void *userData
 
ENCODINGXmlInitUnknownEncoding (void *mem, int *table, CONVERTER convert, void *userData)
 
int XmlParseXmlDeclNS (int isGeneralTextEntity, const ENCODING *enc, const char *ptr, const char *end, const char **badPtr, const char **versionPtr, const char **versionEndPtr, const char **encodingNamePtr, const ENCODING **namedEncodingPtr, int *standalonePtr)
 
int XmlInitEncodingNS (INIT_ENCODING *, const ENCODING **, const char *name)
 
const ENCODINGXmlGetUtf8InternalEncodingNS (void)
 
const ENCODINGXmlGetUtf16InternalEncodingNS (void)
 
ENCODINGXmlInitUnknownEncodingNS (void *mem, int *table, CONVERTER convert, void *userData)
 

Macro Definition Documentation

#define XML_ATTRIBUTE_VALUE_LITERAL   0

Definition at line 102 of file xmltok.h.

View newest version in sPHENIX GitHub at line 102 of file xmltok.h

#define XML_CDATA_SECTION_STATE   2

Definition at line 96 of file xmltok.h.

View newest version in sPHENIX GitHub at line 96 of file xmltok.h

#define XML_CONTENT_STATE   1

Definition at line 95 of file xmltok.h.

View newest version in sPHENIX GitHub at line 95 of file xmltok.h

Referenced by initScan().

#define XML_ENTITY_VALUE_LITERAL   1

Definition at line 103 of file xmltok.h.

View newest version in sPHENIX GitHub at line 103 of file xmltok.h

#define XML_N_LITERAL_TYPES   2

Definition at line 101 of file xmltok.h.

View newest version in sPHENIX GitHub at line 101 of file xmltok.h

#define XML_N_STATES   3

Definition at line 91 of file xmltok.h.

View newest version in sPHENIX GitHub at line 91 of file xmltok.h

#define XML_PROLOG_STATE   0

Definition at line 94 of file xmltok.h.

View newest version in sPHENIX GitHub at line 94 of file xmltok.h

#define XML_TOK_ATTRIBUTE_VALUE_S   39

Definition at line 74 of file xmltok.h.

View newest version in sPHENIX GitHub at line 74 of file xmltok.h

Referenced by appendAttributeValue().

#define XML_TOK_BOM   14 /* Byte order mark */

Definition at line 43 of file xmltok.h.

View newest version in sPHENIX GitHub at line 43 of file xmltok.h

Referenced by doProlog(), externalEntityInitProcessor2(), initScan(), prolog0(), and prolog1().

#define XML_TOK_CDATA_SECT_CLOSE   40

Definition at line 77 of file xmltok.h.

View newest version in sPHENIX GitHub at line 77 of file xmltok.h

Referenced by doCdataSection().

#define XML_TOK_CDATA_SECT_OPEN   8

Definition at line 33 of file xmltok.h.

View newest version in sPHENIX GitHub at line 33 of file xmltok.h

Referenced by doContent().

#define XML_TOK_CHAR_REF   10 /* numeric character reference */

Definition at line 35 of file xmltok.h.

View newest version in sPHENIX GitHub at line 35 of file xmltok.h

Referenced by appendAttributeValue(), doContent(), and storeEntityValue().

#define XML_TOK_CLOSE_BRACKET   26

Definition at line 57 of file xmltok.h.

View newest version in sPHENIX GitHub at line 57 of file xmltok.h

Referenced by internalSubset().

#define XML_TOK_CLOSE_PAREN   24

Definition at line 55 of file xmltok.h.

View newest version in sPHENIX GitHub at line 55 of file xmltok.h

Referenced by attlist4(), attlist7(), element3(), and element7().

#define XML_TOK_CLOSE_PAREN_ASTERISK   36 /* )* */

Definition at line 69 of file xmltok.h.

View newest version in sPHENIX GitHub at line 69 of file xmltok.h

Referenced by element3(), element5(), and element7().

#define XML_TOK_CLOSE_PAREN_PLUS   37 /* )+ */

Definition at line 70 of file xmltok.h.

View newest version in sPHENIX GitHub at line 70 of file xmltok.h

Referenced by element7().

#define XML_TOK_CLOSE_PAREN_QUESTION   35 /* )? */

Definition at line 68 of file xmltok.h.

View newest version in sPHENIX GitHub at line 68 of file xmltok.h

Referenced by element7().

#define XML_TOK_COMMA   38

Definition at line 71 of file xmltok.h.

View newest version in sPHENIX GitHub at line 71 of file xmltok.h

Referenced by element7().

#define XML_TOK_COMMENT   13

Definition at line 42 of file xmltok.h.

View newest version in sPHENIX GitHub at line 42 of file xmltok.h

Referenced by doContent(), epilogProcessor(), internalSubset(), prolog0(), prolog1(), and prolog2().

#define XML_TOK_COND_SECT_CLOSE   34 /* ]]> */

Definition at line 67 of file xmltok.h.

View newest version in sPHENIX GitHub at line 67 of file xmltok.h

#define XML_TOK_COND_SECT_OPEN   33 /* <![ */

Definition at line 66 of file xmltok.h.

View newest version in sPHENIX GitHub at line 66 of file xmltok.h

#define XML_TOK_DATA_CHARS   6

Definition at line 31 of file xmltok.h.

View newest version in sPHENIX GitHub at line 31 of file xmltok.h

Referenced by appendAttributeValue(), doCdataSection(), doContent(), and storeEntityValue().

#define XML_TOK_DATA_NEWLINE   7

Definition at line 32 of file xmltok.h.

View newest version in sPHENIX GitHub at line 32 of file xmltok.h

Referenced by appendAttributeValue(), doCdataSection(), doContent(), and storeEntityValue().

#define XML_TOK_DECL_CLOSE   17 /* > */

Definition at line 48 of file xmltok.h.

View newest version in sPHENIX GitHub at line 48 of file xmltok.h

Referenced by attlist1(), declClose(), doctype1(), doctype4(), doctype5(), entity10(), entity5(), and notation4().

#define XML_TOK_DECL_OPEN   16 /* <!foo */

Definition at line 47 of file xmltok.h.

View newest version in sPHENIX GitHub at line 47 of file xmltok.h

Referenced by internalSubset(), prolog0(), and prolog1().

#define XML_TOK_EMPTY_ELEMENT_NO_ATTS   4

Definition at line 29 of file xmltok.h.

View newest version in sPHENIX GitHub at line 29 of file xmltok.h

Referenced by doContent().

#define XML_TOK_EMPTY_ELEMENT_WITH_ATTS   3 /* empty element tag <e/> */

Definition at line 28 of file xmltok.h.

View newest version in sPHENIX GitHub at line 28 of file xmltok.h

Referenced by doContent().

#define XML_TOK_END_TAG   5

Definition at line 30 of file xmltok.h.

View newest version in sPHENIX GitHub at line 30 of file xmltok.h

Referenced by doContent().

#define XML_TOK_ENTITY_REF   9

Definition at line 34 of file xmltok.h.

View newest version in sPHENIX GitHub at line 34 of file xmltok.h

Referenced by appendAttributeValue(), doContent(), and storeEntityValue().

#define XML_TOK_INSTANCE_START   29

Definition at line 60 of file xmltok.h.

View newest version in sPHENIX GitHub at line 60 of file xmltok.h

Referenced by prolog0(), prolog1(), and prolog2().

#define XML_TOK_INVALID   0

Definition at line 21 of file xmltok.h.

View newest version in sPHENIX GitHub at line 21 of file xmltok.h

Referenced by appendAttributeValue(), doCdataSection(), doContent(), doProlog(), epilogProcessor(), and storeEntityValue().

#define XML_TOK_LITERAL   27

Definition at line 58 of file xmltok.h.

View newest version in sPHENIX GitHub at line 58 of file xmltok.h

Referenced by attlist8(), attlist9(), doctype2(), doctype3(), entity2(), entity3(), entity4(), entity7(), entity8(), entity9(), notation2(), notation3(), and notation4().

#define XML_TOK_NAME   18

Definition at line 49 of file xmltok.h.

View newest version in sPHENIX GitHub at line 49 of file xmltok.h

Referenced by attlist0(), attlist1(), attlist2(), attlist3(), attlist6(), doctype0(), doctype1(), element0(), element1(), element2(), element4(), element6(), entity0(), entity1(), entity2(), entity5(), entity6(), entity7(), notation0(), and notation1().

#define XML_TOK_NAME_ASTERISK   31 /* name* */

Definition at line 64 of file xmltok.h.

View newest version in sPHENIX GitHub at line 64 of file xmltok.h

Referenced by element2(), and element6().

#define XML_TOK_NAME_PLUS   32 /* name+ */

Definition at line 65 of file xmltok.h.

View newest version in sPHENIX GitHub at line 65 of file xmltok.h

Referenced by element2(), and element6().

#define XML_TOK_NAME_QUESTION   30 /* name? */

Definition at line 63 of file xmltok.h.

View newest version in sPHENIX GitHub at line 63 of file xmltok.h

Referenced by element2(), and element6().

#define XML_TOK_NMTOKEN   19

Definition at line 50 of file xmltok.h.

View newest version in sPHENIX GitHub at line 50 of file xmltok.h

Referenced by attlist3().

#define XML_TOK_NONE   -4 /* The string to be scanned is empty */

Definition at line 17 of file xmltok.h.

View newest version in sPHENIX GitHub at line 17 of file xmltok.h

Referenced by appendAttributeValue(), doCdataSection(), doContent(), doProlog(), epilogProcessor(), initScan(), internalSubset(), and storeEntityValue().

#define XML_TOK_OPEN_BRACKET   25

Definition at line 56 of file xmltok.h.

View newest version in sPHENIX GitHub at line 56 of file xmltok.h

Referenced by doctype1(), and doctype4().

#define XML_TOK_OPEN_PAREN   23

Definition at line 54 of file xmltok.h.

View newest version in sPHENIX GitHub at line 54 of file xmltok.h

Referenced by attlist2(), attlist5(), element1(), element2(), and element6().

#define XML_TOK_OR   21 /* | */

Definition at line 52 of file xmltok.h.

View newest version in sPHENIX GitHub at line 52 of file xmltok.h

Referenced by attlist4(), attlist7(), element3(), element5(), and element7().

#define XML_TOK_PARAM_ENTITY_REF   28

Definition at line 59 of file xmltok.h.

View newest version in sPHENIX GitHub at line 59 of file xmltok.h

Referenced by common(), doProlog(), internalSubset(), and storeEntityValue().

#define XML_TOK_PARTIAL   -1 /* only part of a token */

Definition at line 20 of file xmltok.h.

View newest version in sPHENIX GitHub at line 20 of file xmltok.h

Referenced by appendAttributeValue(), doCdataSection(), doContent(), doProlog(), epilogProcessor(), externalEntityInitProcessor2(), externalEntityInitProcessor3(), initScan(), and storeEntityValue().

#define XML_TOK_PARTIAL_CHAR   -2 /* only part of a multibyte sequence */

Definition at line 19 of file xmltok.h.

View newest version in sPHENIX GitHub at line 19 of file xmltok.h

Referenced by doCdataSection(), doContent(), doProlog(), epilogProcessor(), externalEntityInitProcessor2(), and externalEntityInitProcessor3().

#define XML_TOK_PERCENT   22

Definition at line 53 of file xmltok.h.

View newest version in sPHENIX GitHub at line 53 of file xmltok.h

Referenced by entity0().

#define XML_TOK_PI   11 /* processing instruction */

Definition at line 40 of file xmltok.h.

View newest version in sPHENIX GitHub at line 40 of file xmltok.h

Referenced by doContent(), epilogProcessor(), internalSubset(), prolog0(), prolog1(), and prolog2().

#define XML_TOK_POUND_NAME   20 /* #name */

Definition at line 51 of file xmltok.h.

View newest version in sPHENIX GitHub at line 51 of file xmltok.h

Referenced by attlist8(), and element2().

#define XML_TOK_PREFIXED_NAME   41

Definition at line 82 of file xmltok.h.

View newest version in sPHENIX GitHub at line 82 of file xmltok.h

Referenced by attlist0(), attlist1(), attlist3(), doctype0(), element0(), element2(), element4(), and element6().

#define XML_TOK_START_TAG_NO_ATTS   2

Definition at line 27 of file xmltok.h.

View newest version in sPHENIX GitHub at line 27 of file xmltok.h

Referenced by doContent().

#define XML_TOK_START_TAG_WITH_ATTS   1

Definition at line 26 of file xmltok.h.

View newest version in sPHENIX GitHub at line 26 of file xmltok.h

Referenced by doContent().

#define XML_TOK_TRAILING_CR
Value:
-3 /* A CR at the end of the scan;
might be part of CRLF sequence */

Definition at line 18 of file xmltok.h.

View newest version in sPHENIX GitHub at line 18 of file xmltok.h

Referenced by appendAttributeValue(), doContent(), and storeEntityValue().

#define XML_TOK_TRAILING_RSQB
Value:
-5 /* ] or ]] at the end of the scan; might be
start of illegal ]]> sequence */

Definition at line 13 of file xmltok.h.

View newest version in sPHENIX GitHub at line 13 of file xmltok.h

Referenced by doContent().

#define XML_TOK_XML_DECL   12 /* XML decl or text decl */

Definition at line 41 of file xmltok.h.

View newest version in sPHENIX GitHub at line 41 of file xmltok.h

Referenced by doContent(), doProlog(), externalEntityInitProcessor3(), and prolog0().

#define XML_UTF16_ENCODE_MAX   2

Definition at line 108 of file xmltok.h.

View newest version in sPHENIX GitHub at line 108 of file xmltok.h

#define XML_UTF8_ENCODE_MAX   4

Definition at line 106 of file xmltok.h.

View newest version in sPHENIX GitHub at line 106 of file xmltok.h

Referenced by unknown_toUtf8().

#define XmlAttributeValueTok (   enc,
  ptr,
  end,
  nextTokPtr 
)    XmlLiteralTok(enc, XML_ATTRIBUTE_VALUE_LITERAL, ptr, end, nextTokPtr)

Definition at line 221 of file xmltok.h.

View newest version in sPHENIX GitHub at line 221 of file xmltok.h

Referenced by appendAttributeValue().

#define XmlCdataSectionTok (   enc,
  ptr,
  end,
  nextTokPtr 
)    XmlTok(enc, XML_CDATA_SECTION_STATE, ptr, end, nextTokPtr)

Definition at line 205 of file xmltok.h.

View newest version in sPHENIX GitHub at line 205 of file xmltok.h

Referenced by doCdataSection().

#define XmlCharRefNumber (   enc,
  ptr 
)    (((enc)->charRefNumber)(enc, ptr))

Definition at line 241 of file xmltok.h.

View newest version in sPHENIX GitHub at line 241 of file xmltok.h

Referenced by appendAttributeValue(), doContent(), and storeEntityValue().

#define XmlContentTok (   enc,
  ptr,
  end,
  nextTokPtr 
)    XmlTok(enc, XML_CONTENT_STATE, ptr, end, nextTokPtr)

Definition at line 202 of file xmltok.h.

View newest version in sPHENIX GitHub at line 202 of file xmltok.h

Referenced by doContent(), externalEntityInitProcessor2(), and externalEntityInitProcessor3().

#define XmlEntityValueTok (   enc,
  ptr,
  end,
  nextTokPtr 
)    XmlLiteralTok(enc, XML_ENTITY_VALUE_LITERAL, ptr, end, nextTokPtr)

Definition at line 224 of file xmltok.h.

View newest version in sPHENIX GitHub at line 224 of file xmltok.h

Referenced by storeEntityValue().

#define XmlGetAttributes (   enc,
  ptr,
  attsMax,
  atts 
)    (((enc)->getAtts)(enc, ptr, attsMax, atts))

Definition at line 238 of file xmltok.h.

View newest version in sPHENIX GitHub at line 238 of file xmltok.h

Referenced by storeAtts().

#define XmlIsPublicId (   enc,
  ptr,
  end,
  badPtr 
)    (((enc)->isPublicId)(enc, ptr, end, badPtr))

Definition at line 250 of file xmltok.h.

View newest version in sPHENIX GitHub at line 250 of file xmltok.h

Referenced by doProlog().

#define XmlLiteralTok (   enc,
  literalType,
  ptr,
  end,
  nextTokPtr 
)    (((enc)->literalScanners[literalType])(enc, ptr, end, nextTokPtr))

Definition at line 218 of file xmltok.h.

View newest version in sPHENIX GitHub at line 218 of file xmltok.h

#define XmlNameLength (   enc,
  ptr 
)    (((enc)->nameLength)(enc, ptr))

Definition at line 232 of file xmltok.h.

View newest version in sPHENIX GitHub at line 232 of file xmltok.h

Referenced by doContent(), processXmlDecl(), reportProcessingInstruction(), and storeAtts().

#define XmlNameMatchesAscii (   enc,
  ptr1,
  end1,
  ptr2 
)    (((enc)->nameMatchesAscii)(enc, ptr1, end1, ptr2))

Definition at line 229 of file xmltok.h.

View newest version in sPHENIX GitHub at line 229 of file xmltok.h

Referenced by attlist2(), attlist8(), doctype1(), doParseXmlDecl(), element1(), element2(), entity2(), entity5(), entity7(), internalSubset(), notation1(), prolog0(), and prolog1().

#define XmlPredefinedEntityName (   enc,
  ptr,
  end 
)    (((enc)->predefinedEntityName)(enc, ptr, end))

Definition at line 244 of file xmltok.h.

View newest version in sPHENIX GitHub at line 244 of file xmltok.h

Referenced by appendAttributeValue(), doContent(), and doProlog().

#define XmlPrologTok (   enc,
  ptr,
  end,
  nextTokPtr 
)    XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr)

Definition at line 199 of file xmltok.h.

View newest version in sPHENIX GitHub at line 199 of file xmltok.h

Referenced by doProlog(), epilogProcessor(), internalEntityProcessor(), processInternalEntity(), and prologProcessor().

#define XmlSameName (   enc,
  ptr1,
  ptr2 
)    (((enc)->sameName)(enc, ptr1, ptr2))

Definition at line 227 of file xmltok.h.

View newest version in sPHENIX GitHub at line 227 of file xmltok.h

#define XmlSkipS (   enc,
  ptr 
)    (((enc)->skipS)(enc, ptr))

Definition at line 235 of file xmltok.h.

View newest version in sPHENIX GitHub at line 235 of file xmltok.h

Referenced by reportProcessingInstruction().

#define XmlTok (   enc,
  state,
  ptr,
  end,
  nextTokPtr 
)    (((enc)->scanners[state])(enc, ptr, end, nextTokPtr))

Definition at line 196 of file xmltok.h.

View newest version in sPHENIX GitHub at line 196 of file xmltok.h

Referenced by initScan().

#define XmlUpdatePosition (   enc,
  ptr,
  end,
  pos 
)    (((enc)->updatePosition)(enc, ptr, end, pos))

Definition at line 247 of file xmltok.h.

View newest version in sPHENIX GitHub at line 247 of file xmltok.h

Referenced by XML_GetCurrentColumnNumber(), XML_GetCurrentLineNumber(), XML_Parse(), XML_ParseBuffer(), and XML_ResumeParser().

#define XmlUtf16Convert (   enc,
  fromP,
  fromLim,
  toP,
  toLim 
)    (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))

Definition at line 256 of file xmltok.h.

View newest version in sPHENIX GitHub at line 256 of file xmltok.h

#define XmlUtf8Convert (   enc,
  fromP,
  fromLim,
  toP,
  toLim 
)    (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))

Definition at line 253 of file xmltok.h.

View newest version in sPHENIX GitHub at line 253 of file xmltok.h

Referenced by toAscii().

Typedef Documentation

typedef struct encoding ENCODING

Definition at line 124 of file xmltok.h.

View newest version in sPHENIX GitHub at line 124 of file xmltok.h

typedef const char* p

Definition at line 283 of file xmltok.h.

View newest version in sPHENIX GitHub at line 283 of file xmltok.h

typedef struct position POSITION
typedef int(PTRCALL * SCANNER)(const ENCODING *, const char *, const char *, const char **)

Definition at line 126 of file xmltok.h.

View newest version in sPHENIX GitHub at line 126 of file xmltok.h

Function Documentation

typedef int ( XMLCALL CONVERTER)
const ENCODING* XmlGetUtf16InternalEncoding ( void  )
const ENCODING* XmlGetUtf16InternalEncodingNS ( void  )
const ENCODING* XmlGetUtf8InternalEncoding ( void  )
const ENCODING* XmlGetUtf8InternalEncodingNS ( void  )
int XmlInitEncoding ( INIT_ENCODING ,
const ENCODING **  ,
const char *  name 
)

Referenced by initializeEncoding(), and parserInit().

+ Here is the caller graph for this function:

int XmlInitEncodingNS ( INIT_ENCODING ,
const ENCODING **  ,
const char *  name 
)
ENCODING* XmlInitUnknownEncoding ( void mem,
int table,
CONVERTER  convert,
void userData 
)

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ENCODING* XmlInitUnknownEncodingNS ( void mem,
int table,
CONVERTER  convert,
void userData 
)
int XmlParseXmlDecl ( int  isGeneralTextEntity,
const ENCODING enc,
const char *  ptr,
const char *  end,
const char **  badPtr,
const char **  versionPtr,
const char **  versionEndPtr,
const char **  encodingNamePtr,
const ENCODING **  namedEncodingPtr,
int standalonePtr 
)

Referenced by processXmlDecl().

+ Here is the caller graph for this function:

int XmlParseXmlDeclNS ( int  isGeneralTextEntity,
const ENCODING enc,
const char *  ptr,
const char *  end,
const char **  badPtr,
const char **  versionPtr,
const char **  versionEndPtr,
const char **  encodingNamePtr,
const ENCODING **  namedEncodingPtr,
int standalonePtr 
)
int XmlSizeOfUnknownEncoding ( void  )

Definition at line 1263 of file xmltok.cc.

View newest version in sPHENIX GitHub at line 1263 of file xmltok.cc

Referenced by handleUnknownEncoding().

+ Here is the caller graph for this function:

int FASTCALL XmlUtf16Encode ( int  charNumber,
unsigned short *  buf 
)

Definition at line 1235 of file xmltok.cc.

View newest version in sPHENIX GitHub at line 1235 of file xmltok.cc

int FASTCALL XmlUtf8Encode ( int  charNumber,
char *  buf 
)

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: