Geant4-11
|
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include <limits.h>
#include <time.h>
#include "ascii.h"
#include "expat.h"
#include "internal.h"
#include "xmltok.h"
#include "xmlrole.h"
Go to the source code of this file.
Data Structures | |
struct | attribute_id |
struct | binding |
struct | block |
struct | CONTENT_SCAFFOLD |
struct | DEFAULT_ATTRIBUTE |
struct | DTD |
struct | ELEMENT_TYPE |
struct | ENTITY |
struct | HASH_TABLE |
struct | HASH_TABLE_ITER |
struct | NAMED |
struct | NS_ATT |
struct | open_internal_entity |
struct | prefix |
struct | STRING_POOL |
struct | tag |
struct | TAG_NAME |
struct | XML_ParserStruct |
Macros | |
#define | _dtd (parser->m_dtd) |
#define | attInfo (parser->m_attInfo) |
#define | attlistDeclHandler (parser->m_attlistDeclHandler) |
#define | atts (parser->m_atts) |
#define | attsSize (parser->m_attsSize) |
#define | buffer (parser->m_buffer) |
#define | bufferEnd (parser->m_bufferEnd) |
#define | bufferLim (parser->m_bufferLim) |
#define | bufferPtr (parser->m_bufferPtr) |
#define | CHAR_HASH(h, c) (((h) * 0xF4243) ^ (unsigned char)(c)) |
#define | characterDataHandler (parser->m_characterDataHandler) |
#define | commentHandler (parser->m_commentHandler) |
#define | CONTEXT_SEP XML_T(ASCII_FF) |
#define | curBase (parser->m_curBase) |
#define | dataBuf (parser->m_dataBuf) |
#define | dataBufEnd (parser->m_dataBufEnd) |
#define | declAttributeId (parser->m_declAttributeId) |
#define | declAttributeIsCdata (parser->m_declAttributeIsCdata) |
#define | declAttributeIsId (parser->m_declAttributeIsId) |
#define | declAttributeType (parser->m_declAttributeType) |
#define | declElementType (parser->m_declElementType) |
#define | declEntity (parser->m_declEntity) |
#define | declNotationName (parser->m_declNotationName) |
#define | declNotationPublicId (parser->m_declNotationPublicId) |
#define | defaultExpandInternalEntities (parser->m_defaultExpandInternalEntities) |
#define | defaultHandler (parser->m_defaultHandler) |
#define | doctypeName (parser->m_doctypeName) |
#define | doctypePubid (parser->m_doctypePubid) |
#define | doctypeSysid (parser->m_doctypeSysid) |
#define | elementDeclHandler (parser->m_elementDeclHandler) |
#define | encoding (parser->m_encoding) |
#define | endCdataSectionHandler (parser->m_endCdataSectionHandler) |
#define | endDoctypeDeclHandler (parser->m_endDoctypeDeclHandler) |
#define | endElementHandler (parser->m_endElementHandler) |
#define | endNamespaceDeclHandler (parser->m_endNamespaceDeclHandler) |
#define | entityDeclHandler (parser->m_entityDeclHandler) |
#define | errorCode (parser->m_errorCode) |
#define | eventEndPtr (parser->m_eventEndPtr) |
#define | eventPtr (parser->m_eventPtr) |
#define | EXPAND_SPARE 24 |
#define | externalEntityRefHandler (parser->m_externalEntityRefHandler) |
#define | externalEntityRefHandlerArg (parser->m_externalEntityRefHandlerArg) |
#define | FREE(p) (parser->m_mem.free_fcn((p))) |
#define | freeBindingList (parser->m_freeBindingList) |
#define | freeInternalEntities (parser->m_freeInternalEntities) |
#define | freeTagList (parser->m_freeTagList) |
#define | groupConnector (parser->m_groupConnector) |
#define | groupSize (parser->m_groupSize) |
#define | handlerArg (parser->m_handlerArg) |
#define | hash_secret_salt (parser->m_hash_secret_salt) |
#define | idAttIndex (parser->m_idAttIndex) |
#define | inheritedBindings (parser->m_inheritedBindings) |
#define | INIT_ATTS_SIZE 16 |
#define | INIT_ATTS_VERSION 0xFFFFFFFF |
#define | INIT_BLOCK_SIZE 1024 |
#define | INIT_BUFFER_SIZE 1024 |
#define | INIT_DATA_BUF_SIZE 1024 |
#define | INIT_POWER 6 |
#define | INIT_SCAFFOLD_ELEMENTS 32 |
#define | INIT_TAG_BUF_SIZE 32 /* must be a multiple of sizeof(XML_Char) */ |
#define | initEncoding (parser->m_initEncoding) |
#define | internalEncoding (parser->m_internalEncoding) |
#define | internalEntityRefHandler (parser->m_internalEntityRefHandler) |
#define | MALLOC(s) (parser->m_mem.malloc_fcn((s))) |
#define | MUST_CONVERT(enc, s) (!(enc)->isUtf8) |
#define | namespaceSeparator (parser->m_namespaceSeparator) |
#define | notationDeclHandler (parser->m_notationDeclHandler) |
#define | notStandaloneHandler (parser->m_notStandaloneHandler) |
#define | ns (parser->m_ns) |
#define | ns_triplets (parser->m_ns_triplets) |
#define | nsAtts (parser->m_nsAtts) |
#define | nsAttsPower (parser->m_nsAttsPower) |
#define | nsAttsVersion (parser->m_nsAttsVersion) |
#define | nSpecifiedAtts (parser->m_nSpecifiedAtts) |
#define | openInternalEntities (parser->m_openInternalEntities) |
#define | parentParser (parser->m_parentParser) |
#define | parseEndByteIndex (parser->m_parseEndByteIndex) |
#define | parseEndPtr (parser->m_parseEndPtr) |
#define | poolAppendChar(pool, c) |
#define | poolChop(pool) ((void)--(pool->ptr)) |
#define | poolDiscard(pool) ((pool)->ptr = (pool)->start) |
#define | poolEnd(pool) ((pool)->ptr) |
#define | poolFinish(pool) ((pool)->start = (pool)->ptr) |
#define | poolLastChar(pool) (((pool)->ptr)[-1]) |
#define | poolLength(pool) ((pool)->ptr - (pool)->start) |
#define | poolStart(pool) ((pool)->start) |
#define | position (parser->m_position) |
#define | positionPtr (parser->m_positionPtr) |
#define | PROBE_STEP(hash, mask, power) ((unsigned char)((SECOND_HASH(hash, mask, power)) | 1)) |
#define | processingInstructionHandler (parser->m_processingInstructionHandler) |
#define | processor (parser->m_processor) |
#define | prologState (parser->m_prologState) |
#define | protocolEncodingName (parser->m_protocolEncodingName) |
#define | ps_finalBuffer (parser->m_parsingStatus.finalBuffer) |
#define | ps_parsing (parser->m_parsingStatus.parsing) |
#define | REALLOC(p, s) (parser->m_mem.realloc_fcn((p),(s))) |
#define | ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) |
#define | SECOND_HASH(hash, mask, power) ((((hash) & ~(mask)) >> ((power) - 1)) & ((mask) >> 2)) |
#define | skippedEntityHandler (parser->m_skippedEntityHandler) |
#define | startCdataSectionHandler (parser->m_startCdataSectionHandler) |
#define | startDoctypeDeclHandler (parser->m_startDoctypeDeclHandler) |
#define | startElementHandler (parser->m_startElementHandler) |
#define | startNamespaceDeclHandler (parser->m_startNamespaceDeclHandler) |
#define | tagLevel (parser->m_tagLevel) |
#define | tagStack (parser->m_tagStack) |
#define | temp2Pool (parser->m_temp2Pool) |
#define | tempPool (parser->m_tempPool) |
#define | unknownEncodingData (parser->m_unknownEncodingData) |
#define | unknownEncodingHandler (parser->m_unknownEncodingHandler) |
#define | unknownEncodingHandlerData (parser->m_unknownEncodingHandlerData) |
#define | unknownEncodingMem (parser->m_unknownEncodingMem) |
#define | unknownEncodingRelease (parser->m_unknownEncodingRelease) |
#define | unparsedEntityDeclHandler (parser->m_unparsedEntityDeclHandler) |
#define | userData (parser->m_userData) |
#define | V1(a, b, c) XML_L(#a)XML_L(".")XML_L(#b)XML_L(".")XML_L(#c) |
#define | V2(a, b, c) XML_L("expat_")V1(a,b,c) |
#define | XML_BUILDING_EXPAT 1 |
#define | XML_ENCODE_MAX XML_UTF8_ENCODE_MAX |
#define | XML_L(x) x |
#define | XML_T(x) x |
#define | XmlConvert XmlUtf8Convert |
#define | xmlDeclHandler (parser->m_xmlDeclHandler) |
#define | XmlEncode XmlUtf8Encode |
#define | XmlGetInternalEncoding XmlGetUtf8InternalEncoding |
#define | XmlGetInternalEncodingNS XmlGetUtf8InternalEncodingNS |
#define | XmlGetInternalEncodingNS XmlGetInternalEncoding |
#define | XmlInitEncodingNS XmlInitEncoding |
#define | XmlInitUnknownEncodingNS XmlInitUnknownEncoding |
#define | XmlParseXmlDeclNS XmlParseXmlDecl |
Typedefs | |
typedef struct attribute_id | ATTRIBUTE_ID |
typedef struct binding | BINDING |
typedef struct block | BLOCK |
typedef char | ICHAR |
typedef const XML_Char * | KEY |
typedef struct open_internal_entity | OPEN_INTERNAL_ENTITY |
typedef struct prefix | PREFIX |
typedef struct tag | TAG |
Variables | |
static Processor | cdataSectionProcessor |
static Processor | contentProcessor |
static Processor | epilogProcessor |
static Processor | errorProcessor |
static Processor | externalEntityContentProcessor |
static Processor | externalEntityInitProcessor |
static Processor | externalEntityInitProcessor2 |
static Processor | externalEntityInitProcessor3 |
static const XML_Char | implicitContext [] |
static Processor | internalEntityProcessor |
static Processor | prologInitProcessor |
static Processor | prologProcessor |
#define _dtd (parser->m_dtd) |
Definition at line 636 of file xmlparse.cc.
#define attInfo (parser->m_attInfo) |
Definition at line 660 of file xmlparse.cc.
#define attlistDeclHandler (parser->m_attlistDeclHandler) |
Definition at line 602 of file xmlparse.cc.
#define atts (parser->m_atts) |
Definition at line 653 of file xmlparse.cc.
#define attsSize (parser->m_attsSize) |
Definition at line 654 of file xmlparse.cc.
#define buffer (parser->m_buffer) |
Definition at line 628 of file xmlparse.cc.
#define bufferEnd (parser->m_bufferEnd) |
Definition at line 630 of file xmlparse.cc.
#define bufferLim (parser->m_bufferLim) |
Definition at line 633 of file xmlparse.cc.
#define bufferPtr (parser->m_bufferPtr) |
Definition at line 629 of file xmlparse.cc.
#define CHAR_HASH | ( | h, | |
c | |||
) | (((h) * 0xF4243) ^ (unsigned char)(c)) |
Definition at line 119 of file xmlparse.cc.
#define characterDataHandler (parser->m_characterDataHandler) |
Definition at line 576 of file xmlparse.cc.
#define commentHandler (parser->m_commentHandler) |
Definition at line 579 of file xmlparse.cc.
Definition at line 5496 of file xmlparse.cc.
#define curBase (parser->m_curBase) |
Definition at line 637 of file xmlparse.cc.
#define dataBuf (parser->m_dataBuf) |
Definition at line 634 of file xmlparse.cc.
#define dataBufEnd (parser->m_dataBufEnd) |
Definition at line 635 of file xmlparse.cc.
#define declAttributeId (parser->m_declAttributeId) |
Definition at line 646 of file xmlparse.cc.
#define declAttributeIsCdata (parser->m_declAttributeIsCdata) |
Definition at line 647 of file xmlparse.cc.
#define declAttributeIsId (parser->m_declAttributeIsId) |
Definition at line 648 of file xmlparse.cc.
#define declAttributeType (parser->m_declAttributeType) |
Definition at line 642 of file xmlparse.cc.
#define declElementType (parser->m_declElementType) |
Definition at line 645 of file xmlparse.cc.
#define declEntity (parser->m_declEntity) |
Definition at line 638 of file xmlparse.cc.
#define declNotationName (parser->m_declNotationName) |
Definition at line 643 of file xmlparse.cc.
#define declNotationPublicId (parser->m_declNotationPublicId) |
Definition at line 644 of file xmlparse.cc.
#define defaultExpandInternalEntities (parser->m_defaultExpandInternalEntities) |
Definition at line 625 of file xmlparse.cc.
#define defaultHandler (parser->m_defaultHandler) |
Definition at line 583 of file xmlparse.cc.
#define doctypeName (parser->m_doctypeName) |
Definition at line 639 of file xmlparse.cc.
#define doctypePubid (parser->m_doctypePubid) |
Definition at line 641 of file xmlparse.cc.
#define doctypeSysid (parser->m_doctypeSysid) |
Definition at line 640 of file xmlparse.cc.
#define elementDeclHandler (parser->m_elementDeclHandler) |
Definition at line 601 of file xmlparse.cc.
#define encoding (parser->m_encoding) |
Definition at line 605 of file xmlparse.cc.
#define endCdataSectionHandler (parser->m_endCdataSectionHandler) |
Definition at line 582 of file xmlparse.cc.
#define endDoctypeDeclHandler (parser->m_endDoctypeDeclHandler) |
Definition at line 585 of file xmlparse.cc.
#define endElementHandler (parser->m_endElementHandler) |
Definition at line 575 of file xmlparse.cc.
#define endNamespaceDeclHandler (parser->m_endNamespaceDeclHandler) |
Definition at line 591 of file xmlparse.cc.
#define entityDeclHandler (parser->m_entityDeclHandler) |
Definition at line 603 of file xmlparse.cc.
#define errorCode (parser->m_errorCode) |
Definition at line 618 of file xmlparse.cc.
#define eventEndPtr (parser->m_eventEndPtr) |
Definition at line 620 of file xmlparse.cc.
#define eventPtr (parser->m_eventPtr) |
Definition at line 619 of file xmlparse.cc.
#define EXPAND_SPARE 24 |
Definition at line 148 of file xmlparse.cc.
#define externalEntityRefHandler (parser->m_externalEntityRefHandler) |
Definition at line 593 of file xmlparse.cc.
#define externalEntityRefHandlerArg (parser->m_externalEntityRefHandlerArg) |
Definition at line 595 of file xmlparse.cc.
#define FREE | ( | p | ) | (parser->m_mem.free_fcn((p))) |
Definition at line 570 of file xmlparse.cc.
#define freeBindingList (parser->m_freeBindingList) |
Definition at line 650 of file xmlparse.cc.
#define freeInternalEntities (parser->m_freeInternalEntities) |
Definition at line 624 of file xmlparse.cc.
#define freeTagList (parser->m_freeTagList) |
Definition at line 649 of file xmlparse.cc.
#define groupConnector (parser->m_groupConnector) |
Definition at line 663 of file xmlparse.cc.
#define groupSize (parser->m_groupSize) |
Definition at line 664 of file xmlparse.cc.
#define handlerArg (parser->m_handlerArg) |
Definition at line 573 of file xmlparse.cc.
#define hash_secret_salt (parser->m_hash_secret_salt) |
Definition at line 674 of file xmlparse.cc.
#define idAttIndex (parser->m_idAttIndex) |
Definition at line 656 of file xmlparse.cc.
#define inheritedBindings (parser->m_inheritedBindings) |
Definition at line 651 of file xmlparse.cc.
#define INIT_ATTS_SIZE 16 |
Definition at line 143 of file xmlparse.cc.
#define INIT_ATTS_VERSION 0xFFFFFFFF |
Definition at line 144 of file xmlparse.cc.
#define INIT_BLOCK_SIZE 1024 |
Definition at line 145 of file xmlparse.cc.
#define INIT_BUFFER_SIZE 1024 |
Definition at line 146 of file xmlparse.cc.
#define INIT_DATA_BUF_SIZE 1024 |
Definition at line 142 of file xmlparse.cc.
#define INIT_POWER 6 |
Definition at line 5955 of file xmlparse.cc.
#define INIT_SCAFFOLD_ELEMENTS 32 |
Definition at line 221 of file xmlparse.cc.
#define INIT_TAG_BUF_SIZE 32 /* must be a multiple of sizeof(XML_Char) */ |
Definition at line 141 of file xmlparse.cc.
#define initEncoding (parser->m_initEncoding) |
Definition at line 606 of file xmlparse.cc.
#define internalEncoding (parser->m_internalEncoding) |
Definition at line 607 of file xmlparse.cc.
#define internalEntityRefHandler (parser->m_internalEntityRefHandler) |
Definition at line 597 of file xmlparse.cc.
Definition at line 568 of file xmlparse.cc.
#define MUST_CONVERT | ( | enc, | |
s | |||
) | (!(enc)->isUtf8) |
Definition at line 49 of file xmlparse.cc.
#define namespaceSeparator (parser->m_namespaceSeparator) |
Definition at line 665 of file xmlparse.cc.
#define notationDeclHandler (parser->m_notationDeclHandler) |
Definition at line 588 of file xmlparse.cc.
#define notStandaloneHandler (parser->m_notStandaloneHandler) |
Definition at line 592 of file xmlparse.cc.
#define ns (parser->m_ns) |
Definition at line 614 of file xmlparse.cc.
#define ns_triplets (parser->m_ns_triplets) |
Definition at line 615 of file xmlparse.cc.
#define nsAtts (parser->m_nsAtts) |
Definition at line 657 of file xmlparse.cc.
#define nsAttsPower (parser->m_nsAttsPower) |
Definition at line 659 of file xmlparse.cc.
#define nsAttsVersion (parser->m_nsAttsVersion) |
Definition at line 658 of file xmlparse.cc.
#define nSpecifiedAtts (parser->m_nSpecifiedAtts) |
Definition at line 655 of file xmlparse.cc.
#define openInternalEntities (parser->m_openInternalEntities) |
Definition at line 623 of file xmlparse.cc.
#define parentParser (parser->m_parentParser) |
Definition at line 666 of file xmlparse.cc.
#define parseEndByteIndex (parser->m_parseEndByteIndex) |
Definition at line 631 of file xmlparse.cc.
#define parseEndPtr (parser->m_parseEndPtr) |
Definition at line 632 of file xmlparse.cc.
#define poolAppendChar | ( | pool, | |
c | |||
) |
Definition at line 460 of file xmlparse.cc.
#define poolChop | ( | pool | ) | ((void)--(pool->ptr)) |
Definition at line 456 of file xmlparse.cc.
#define poolDiscard | ( | pool | ) | ((pool)->ptr = (pool)->start) |
Definition at line 458 of file xmlparse.cc.
#define poolEnd | ( | pool | ) | ((pool)->ptr) |
Definition at line 454 of file xmlparse.cc.
#define poolFinish | ( | pool | ) | ((pool)->start = (pool)->ptr) |
Definition at line 459 of file xmlparse.cc.
#define poolLastChar | ( | pool | ) | (((pool)->ptr)[-1]) |
Definition at line 457 of file xmlparse.cc.
#define poolLength | ( | pool | ) | ((pool)->ptr - (pool)->start) |
Definition at line 455 of file xmlparse.cc.
#define poolStart | ( | pool | ) | ((pool)->start) |
Definition at line 453 of file xmlparse.cc.
#define position (parser->m_position) |
Definition at line 622 of file xmlparse.cc.
#define positionPtr (parser->m_positionPtr) |
Definition at line 621 of file xmlparse.cc.
#define PROBE_STEP | ( | hash, | |
mask, | |||
power | |||
) | ((unsigned char)((SECOND_HASH(hash, mask, power)) | 1)) |
Definition at line 133 of file xmlparse.cc.
#define processingInstructionHandler (parser->m_processingInstructionHandler) |
Definition at line 577 of file xmlparse.cc.
#define processor (parser->m_processor) |
Definition at line 617 of file xmlparse.cc.
#define prologState (parser->m_prologState) |
Definition at line 616 of file xmlparse.cc.
#define protocolEncodingName (parser->m_protocolEncodingName) |
Definition at line 613 of file xmlparse.cc.
#define ps_finalBuffer (parser->m_parsingStatus.finalBuffer) |
Definition at line 668 of file xmlparse.cc.
#define ps_parsing (parser->m_parsingStatus.parsing) |
Definition at line 667 of file xmlparse.cc.
Definition at line 569 of file xmlparse.cc.
#define ROUND_UP | ( | n, | |
sz | |||
) | (((n) + ((sz) - 1)) & ~((sz) - 1)) |
Definition at line 82 of file xmlparse.cc.
Definition at line 131 of file xmlparse.cc.
#define skippedEntityHandler (parser->m_skippedEntityHandler) |
Definition at line 599 of file xmlparse.cc.
#define startCdataSectionHandler (parser->m_startCdataSectionHandler) |
Definition at line 580 of file xmlparse.cc.
#define startDoctypeDeclHandler (parser->m_startDoctypeDeclHandler) |
Definition at line 584 of file xmlparse.cc.
#define startElementHandler (parser->m_startElementHandler) |
Definition at line 574 of file xmlparse.cc.
#define startNamespaceDeclHandler (parser->m_startNamespaceDeclHandler) |
Definition at line 589 of file xmlparse.cc.
#define tagLevel (parser->m_tagLevel) |
Definition at line 627 of file xmlparse.cc.
#define tagStack (parser->m_tagStack) |
Definition at line 652 of file xmlparse.cc.
#define temp2Pool (parser->m_temp2Pool) |
Definition at line 662 of file xmlparse.cc.
#define tempPool (parser->m_tempPool) |
Definition at line 661 of file xmlparse.cc.
#define unknownEncodingData (parser->m_unknownEncodingData) |
Definition at line 609 of file xmlparse.cc.
#define unknownEncodingHandler (parser->m_unknownEncodingHandler) |
Definition at line 600 of file xmlparse.cc.
#define unknownEncodingHandlerData (parser->m_unknownEncodingHandlerData) |
Definition at line 610 of file xmlparse.cc.
#define unknownEncodingMem (parser->m_unknownEncodingMem) |
Definition at line 608 of file xmlparse.cc.
#define unknownEncodingRelease (parser->m_unknownEncodingRelease) |
Definition at line 612 of file xmlparse.cc.
#define unparsedEntityDeclHandler (parser->m_unparsedEntityDeclHandler) |
Definition at line 586 of file xmlparse.cc.
#define userData (parser->m_userData) |
Definition at line 572 of file xmlparse.cc.
#define V2 | ( | a, | |
b, | |||
c | |||
) | XML_L("expat_")V1(a,b,c) |
#define XML_BUILDING_EXPAT 1 |
Definition at line 17 of file xmlparse.cc.
#define XML_ENCODE_MAX XML_UTF8_ENCODE_MAX |
Definition at line 44 of file xmlparse.cc.
#define XML_L | ( | x | ) | x |
Definition at line 77 of file xmlparse.cc.
#define XML_T | ( | x | ) | x |
Definition at line 76 of file xmlparse.cc.
#define XmlConvert XmlUtf8Convert |
Definition at line 45 of file xmlparse.cc.
#define xmlDeclHandler (parser->m_xmlDeclHandler) |
Definition at line 604 of file xmlparse.cc.
#define XmlEncode XmlUtf8Encode |
Definition at line 48 of file xmlparse.cc.
#define XmlGetInternalEncoding XmlGetUtf8InternalEncoding |
Definition at line 46 of file xmlparse.cc.
#define XmlGetInternalEncodingNS XmlGetUtf8InternalEncodingNS |
Definition at line 59 of file xmlparse.cc.
#define XmlGetInternalEncodingNS XmlGetInternalEncoding |
Definition at line 59 of file xmlparse.cc.
#define XmlInitEncodingNS XmlInitEncoding |
Definition at line 56 of file xmlparse.cc.
#define XmlInitUnknownEncodingNS XmlInitUnknownEncoding |
Definition at line 57 of file xmlparse.cc.
#define XmlParseXmlDeclNS XmlParseXmlDecl |
Definition at line 60 of file xmlparse.cc.
typedef struct attribute_id ATTRIBUTE_ID |
typedef char ICHAR |
Definition at line 50 of file xmlparse.cc.
Definition at line 97 of file xmlparse.cc.
typedef struct open_internal_entity OPEN_INTERNAL_ENTITY |
|
static |
Definition at line 3056 of file xmlparse.cc.
References _dtd, ASCII_0, ASCII_1, ASCII_2, ASCII_3, ASCII_8, ASCII_9, ASCII_a, ASCII_c, ASCII_COLON, ASCII_e, ASCII_g, ASCII_h, ASCII_L, ASCII_l, ASCII_M, ASCII_m, ASCII_n, ASCII_o, ASCII_p, ASCII_PERIOD, ASCII_r, ASCII_s, ASCII_SLASH, ASCII_t, ASCII_w, ASCII_X, ASCII_x, binding::attId, prefix::binding, EXPAND_SPARE, FREE, freeBindingList, handlerArg, MALLOC, prefix::name, namespaceSeparator, binding::nextTagBinding, binding::prefix, binding::prevPrefixBinding, REALLOC, startNamespaceDeclHandler, binding::uri, binding::uriAlloc, binding::uriLen, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_RESERVED_NAMESPACE_URI, XML_ERROR_RESERVED_PREFIX_XML, XML_ERROR_RESERVED_PREFIX_XMLNS, XML_ERROR_UNDECLARING_PREFIX, XML_FALSE, XML_T, and XML_TRUE.
Referenced by setContext(), and storeAtts().
|
static |
Definition at line 4944 of file xmlparse.cc.
References _dtd, appendAttributeValue(), eventPtr, DTD::generalEntities, DTD::hasParamEntityRefs, internalEncoding, ENTITY::is_internal, lookup(), encoding::minBytesPerChar, CLHEP::detail::n, G4InuclParticleNames::name(), ENTITY::notation, ENTITY::open, openInternalEntities, geant4_check_module_cycles::parser, DTD::pool, poolAppend(), poolAppendChar, poolDiscard, poolLastChar, poolLength, poolStoreString(), prologState, DTD::standalone, temp2Pool, ENTITY::textLen, ENTITY::textPtr, XML_ENCODE_MAX, XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF, XML_ERROR_BAD_CHAR_REF, XML_ERROR_BINARY_ENTITY_REF, XML_ERROR_ENTITY_DECLARED_IN_PE, XML_ERROR_INVALID_TOKEN, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_RECURSIVE_ENTITY_REF, XML_ERROR_UNDEFINED_ENTITY, XML_ERROR_UNEXPECTED_STATE, XML_FALSE, XML_TOK_ATTRIBUTE_VALUE_S, XML_TOK_CHAR_REF, XML_TOK_DATA_CHARS, XML_TOK_DATA_NEWLINE, XML_TOK_ENTITY_REF, XML_TOK_INVALID, XML_TOK_NONE, XML_TOK_PARTIAL, XML_TOK_TRAILING_CR, XML_TRUE, XmlAttributeValueTok, XmlCharRefNumber, XmlEncode, and XmlPredefinedEntityName.
Referenced by appendAttributeValue(), and storeAttributeValue().
|
static |
Definition at line 6366 of file xmlparse.cc.
References _dtd, build_node(), DTD::contentStringLen, MALLOC, geant4_check_module_cycles::parser, and DTD::scaffCount.
Referenced by doProlog().
|
static |
Definition at line 6328 of file xmlparse.cc.
References _dtd, build_node(), CONTENT_SCAFFOLD::childcnt, XML_cp::children, CONTENT_SCAFFOLD::firstchild, XML_cp::name, CONTENT_SCAFFOLD::name, CONTENT_SCAFFOLD::nextsib, XML_cp::numchildren, geant4_check_module_cycles::parser, XML_cp::quant, CONTENT_SCAFFOLD::quant, DTD::scaffold, XML_cp::type, CONTENT_SCAFFOLD::type, and XML_CTYPE_NAME.
Referenced by build_model(), and build_node().
|
static |
Definition at line 3173 of file xmlparse.cc.
References contentProcessor, doCdataSection(), externalEntityContentProcessor, parentParser, geant4_check_module_cycles::parser, processor, ps_finalBuffer, and XML_ERROR_NONE.
|
static |
Definition at line 2106 of file xmlparse.cc.
References doContent(), geant4_check_module_cycles::parser, ps_finalBuffer, storeRawNames(), XML_ERROR_NO_MEMORY, and XML_ERROR_NONE.
|
static |
Definition at line 5889 of file xmlparse.cc.
References ENTITY::base, hashTableIterInit(), hashTableIterNext(), ENTITY::is_internal, ENTITY::is_param, lookup(), ENTITY::name, G4InuclParticleNames::name(), ENTITY::notation, poolCopyString(), poolCopyStringN(), ENTITY::publicId, ENTITY::systemId, ENTITY::textLen, and ENTITY::textPtr.
Referenced by dtdCopy().
|
static |
Definition at line 5362 of file xmlparse.cc.
References ELEMENT_TYPE::allocDefaultAtts, ELEMENT_TYPE::defaultAtts, DEFAULT_ATTRIBUTE::id, ELEMENT_TYPE::idAtt, DEFAULT_ATTRIBUTE::isCdata, MALLOC, attribute_id::maybeTokenized, ELEMENT_TYPE::nDefaultAtts, REALLOC, DEFAULT_ATTRIBUTE::value, XML_TRUE, and attribute_id::xmlns.
Referenced by doProlog().
|
static |
Definition at line 1123 of file xmlparse.cc.
References FREE, binding::nextTagBinding, and binding::uri.
Referenced by XML_ParserFree().
|
static |
Definition at line 3199 of file xmlparse.cc.
References characterDataHandler, dataBuf, dataBufEnd, defaultHandler, endCdataSectionHandler, eventEndPtr, eventPtr, handlerArg, MUST_CONVERT, openInternalEntities, geant4_check_module_cycles::parser, ps_parsing, reportDefault(), s, XML_ERROR_ABORTED, XML_ERROR_INVALID_TOKEN, XML_ERROR_NONE, XML_ERROR_PARTIAL_CHAR, XML_ERROR_UNCLOSED_CDATA_SECTION, XML_ERROR_UNEXPECTED_STATE, XML_FINISHED, XML_SUSPENDED, XML_TOK_CDATA_SECT_CLOSE, XML_TOK_DATA_CHARS, XML_TOK_DATA_NEWLINE, XML_TOK_INVALID, XML_TOK_NONE, XML_TOK_PARTIAL, XML_TOK_PARTIAL_CHAR, XmlCdataSectionTok, and XmlConvert.
Referenced by cdataSectionProcessor(), and doContent().
|
static |
Definition at line 2237 of file xmlparse.cc.
References _dtd, atts, ENTITY::base, prefix::binding, tag::bindings, tag::buf, tag::bufEnd, cdataSectionProcessor, characterDataHandler, g4zmq::context, dataBuf, dataBufEnd, defaultExpandInternalEntities, defaultHandler, doCdataSection(), endElementHandler, endNamespaceDeclHandler, epilogProcessor, eventEndPtr, eventPtr, externalEntityRefHandler, externalEntityRefHandlerArg, FREE, freeBindingList, freeTagList, DTD::generalEntities, getContext(), handlerArg, DTD::hasParamEntityRefs, INIT_TAG_BUF_SIZE, ENTITY::is_internal, TAG_NAME::localPart, lookup(), MALLOC, encoding::minBytesPerChar, MUST_CONVERT, CLHEP::detail::n, prefix::name, tag::name, ENTITY::name, G4InuclParticleNames::name(), namespaceSeparator, binding::nextTagBinding, ENTITY::notation, ns, ns_triplets, ENTITY::open, openInternalEntities, tag::parent, geant4_check_module_cycles::parser, DTD::pool, poolClear(), poolDiscard, poolFinish, poolStoreString(), binding::prefix, TAG_NAME::prefix, binding::prevPrefixBinding, processInternalEntity(), processor, ps_parsing, ENTITY::publicId, tag::rawName, tag::rawNameLength, REALLOC, reportComment(), reportDefault(), reportProcessingInstruction(), s, skippedEntityHandler, DTD::standalone, startCdataSectionHandler, startElementHandler, storeAtts(), TAG_NAME::str, TAG_NAME::strLen, ENTITY::systemId, tagLevel, tagStack, tempPool, ENTITY::textPtr, TAG_NAME::uriLen, XML_ENCODE_MAX, XML_ERROR_ABORTED, XML_ERROR_ASYNC_ENTITY, XML_ERROR_BAD_CHAR_REF, XML_ERROR_BINARY_ENTITY_REF, XML_ERROR_ENTITY_DECLARED_IN_PE, XML_ERROR_EXTERNAL_ENTITY_HANDLING, XML_ERROR_INVALID_TOKEN, XML_ERROR_MISPLACED_XML_PI, XML_ERROR_NO_ELEMENTS, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_PARTIAL_CHAR, XML_ERROR_RECURSIVE_ENTITY_REF, XML_ERROR_TAG_MISMATCH, XML_ERROR_UNCLOSED_TOKEN, XML_ERROR_UNDEFINED_ENTITY, XML_FALSE, XML_FINISHED, XML_SUSPENDED, XML_T, XML_TOK_CDATA_SECT_OPEN, XML_TOK_CHAR_REF, XML_TOK_COMMENT, XML_TOK_DATA_CHARS, XML_TOK_DATA_NEWLINE, XML_TOK_EMPTY_ELEMENT_NO_ATTS, XML_TOK_EMPTY_ELEMENT_WITH_ATTS, XML_TOK_END_TAG, XML_TOK_ENTITY_REF, XML_TOK_INVALID, XML_TOK_NONE, XML_TOK_PARTIAL, XML_TOK_PARTIAL_CHAR, XML_TOK_PI, XML_TOK_START_TAG_NO_ATTS, XML_TOK_START_TAG_WITH_ATTS, XML_TOK_TRAILING_CR, XML_TOK_TRAILING_RSQB, XML_TOK_XML_DECL, XML_TRUE, XmlCharRefNumber, XmlContentTok, XmlConvert, XmlEncode, XmlNameLength, and XmlPredefinedEntityName.
Referenced by contentProcessor(), externalEntityContentProcessor(), internalEntityProcessor(), and processInternalEntity().
|
static |
Definition at line 3750 of file xmlparse.cc.
References _dtd, ASCII_A, ASCII_C, ASCII_COMMA, ASCII_D, ASCII_E, ASCII_F, ASCII_HASH, ASCII_I, ASCII_K, ASCII_LPAREN, ASCII_M, ASCII_N, ASCII_O, ASCII_PIPE, ASCII_R, ASCII_RPAREN, ASCII_S, ASCII_T, ASCII_Y, attlistDeclHandler, ENTITY::base, build_model(), XML_cp::children, contentProcessor, DTD::contentStringLen, curBase, declAttributeId, declAttributeIsCdata, declAttributeIsId, declAttributeType, declElementType, declEntity, declNotationName, declNotationPublicId, defaultHandler, defineAttribute(), doctypeName, doctypePubid, doctypeSysid, elementDeclHandler, encoding, endDoctypeDeclHandler, entityDeclHandler, DTD::entityValuePool, eventEndPtr, eventPtr, externalEntityRefHandler, externalEntityRefHandlerArg, DTD::generalEntities, getAttributeId(), getElementType(), groupConnector, groupSize, handlerArg, DTD::hasParamEntityRefs, DTD::in_eldecl, ENTITY::is_internal, DTD::keepProcessing, lookup(), MALLOC, encoding::minBytesPerChar, XML_cp::name, CONTENT_SCAFFOLD::name, ELEMENT_TYPE::name, G4InuclParticleNames::name(), nextScaffoldPart(), normalizePublicId(), notationDeclHandler, notStandaloneHandler, XML_cp::numchildren, ENTITY::open, openInternalEntities, parentParser, geant4_check_module_cycles::parser, DTD::pool, poolAppend(), poolAppendChar, poolAppendString(), poolClear(), poolDiscard, poolFinish, poolLength, poolStart, poolStoreString(), processInternalEntity(), processor, processXmlDecl(), prologState, ps_parsing, ENTITY::publicId, XML_cp::quant, CONTENT_SCAFFOLD::quant, REALLOC, reportComment(), reportDefault(), reportProcessingInstruction(), s, DTD::scaffCount, DTD::scaffIndex, DTD::scaffLevel, DTD::scaffold, skippedEntityHandler, DTD::standalone, startDoctypeDeclHandler, storeAttributeValue(), storeEntityValue(), ENTITY::systemId, tempPool, ENTITY::textPtr, XML_cp::type, CONTENT_SCAFFOLD::type, unparsedEntityDeclHandler, XML_CQUANT_NONE, XML_CQUANT_OPT, XML_CQUANT_PLUS, XML_CQUANT_REP, XML_CTYPE_ANY, XML_CTYPE_CHOICE, XML_CTYPE_EMPTY, XML_CTYPE_MIXED, XML_CTYPE_NAME, XML_CTYPE_SEQ, XML_DTD, XML_ERROR_ABORTED, XML_ERROR_ENTITY_DECLARED_IN_PE, XML_ERROR_EXTERNAL_ENTITY_HANDLING, XML_ERROR_INCOMPLETE_PE, XML_ERROR_INVALID_TOKEN, XML_ERROR_MISPLACED_XML_PI, XML_ERROR_NO_ELEMENTS, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_NOT_STANDALONE, XML_ERROR_PARAM_ENTITY_REF, XML_ERROR_PARTIAL_CHAR, XML_ERROR_PUBLICID, XML_ERROR_RECURSIVE_ENTITY_REF, XML_ERROR_SYNTAX, XML_ERROR_UNCLOSED_TOKEN, XML_ERROR_UNDEFINED_ENTITY, XML_FALSE, XML_FINISHED, XML_ROLE_ATTLIST_ELEMENT_NAME, XML_ROLE_ATTLIST_NONE, XML_ROLE_ATTRIBUTE_ENUM_VALUE, XML_ROLE_ATTRIBUTE_NAME, XML_ROLE_ATTRIBUTE_NOTATION_VALUE, XML_ROLE_ATTRIBUTE_TYPE_CDATA, XML_ROLE_ATTRIBUTE_TYPE_ENTITIES, XML_ROLE_ATTRIBUTE_TYPE_ENTITY, XML_ROLE_ATTRIBUTE_TYPE_ID, XML_ROLE_ATTRIBUTE_TYPE_IDREF, XML_ROLE_ATTRIBUTE_TYPE_IDREFS, XML_ROLE_ATTRIBUTE_TYPE_NMTOKEN, XML_ROLE_ATTRIBUTE_TYPE_NMTOKENS, XML_ROLE_COMMENT, XML_ROLE_CONTENT_ANY, XML_ROLE_CONTENT_ELEMENT, XML_ROLE_CONTENT_ELEMENT_OPT, XML_ROLE_CONTENT_ELEMENT_PLUS, XML_ROLE_CONTENT_ELEMENT_REP, XML_ROLE_CONTENT_EMPTY, XML_ROLE_CONTENT_PCDATA, XML_ROLE_DEFAULT_ATTRIBUTE_VALUE, XML_ROLE_DOCTYPE_CLOSE, XML_ROLE_DOCTYPE_INTERNAL_SUBSET, XML_ROLE_DOCTYPE_NAME, XML_ROLE_DOCTYPE_NONE, XML_ROLE_DOCTYPE_PUBLIC_ID, XML_ROLE_DOCTYPE_SYSTEM_ID, XML_ROLE_ELEMENT_NAME, XML_ROLE_ELEMENT_NONE, XML_ROLE_ENTITY_COMPLETE, XML_ROLE_ENTITY_NONE, XML_ROLE_ENTITY_NOTATION_NAME, XML_ROLE_ENTITY_PUBLIC_ID, XML_ROLE_ENTITY_SYSTEM_ID, XML_ROLE_ENTITY_VALUE, XML_ROLE_ERROR, XML_ROLE_FIXED_ATTRIBUTE_VALUE, XML_ROLE_GENERAL_ENTITY_NAME, XML_ROLE_GROUP_CHOICE, XML_ROLE_GROUP_CLOSE, XML_ROLE_GROUP_CLOSE_OPT, XML_ROLE_GROUP_CLOSE_PLUS, XML_ROLE_GROUP_CLOSE_REP, XML_ROLE_GROUP_OPEN, XML_ROLE_GROUP_SEQUENCE, XML_ROLE_IMPLIED_ATTRIBUTE_VALUE, XML_ROLE_INSTANCE_START, XML_ROLE_NONE, XML_ROLE_NOTATION_NAME, XML_ROLE_NOTATION_NO_SYSTEM_ID, XML_ROLE_NOTATION_NONE, XML_ROLE_NOTATION_PUBLIC_ID, XML_ROLE_NOTATION_SYSTEM_ID, XML_ROLE_PARAM_ENTITY_NAME, XML_ROLE_PARAM_ENTITY_REF, XML_ROLE_PI, XML_ROLE_REQUIRED_ATTRIBUTE_VALUE, XML_ROLE_XML_DECL, XML_SUSPENDED, XML_T, XML_TOK_BOM, XML_TOK_INVALID, XML_TOK_NONE, XML_TOK_PARAM_ENTITY_REF, XML_TOK_PARTIAL, XML_TOK_PARTIAL_CHAR, XML_TOK_PROLOG_S, XML_TOK_XML_DECL, XML_TRUE, XmlIsPublicId, XmlPredefinedEntityName, XmlPrologTok, and XmlTokenRole.
Referenced by internalEntityProcessor(), processInternalEntity(), and prologProcessor().
|
static |
Definition at line 5757 of file xmlparse.cc.
References ELEMENT_TYPE::allocDefaultAtts, DTD::attributeIds, DTD::contentStringLen, copyEntityTable(), ELEMENT_TYPE::defaultAtts, DTD::defaultPrefix, DTD::elementTypes, DTD::generalEntities, hashTableIterInit(), hashTableIterNext(), DTD::hasParamEntityRefs, DEFAULT_ATTRIBUTE::id, ELEMENT_TYPE::idAtt, DTD::in_eldecl, DEFAULT_ATTRIBUTE::isCdata, DTD::keepProcessing, lookup(), attribute_id::maybeTokenized, ms, prefix::name, attribute_id::name, ELEMENT_TYPE::name, G4InuclParticleNames::name(), ELEMENT_TYPE::nDefaultAtts, DTD::pool, poolAppendChar, poolCopyString(), attribute_id::prefix, ELEMENT_TYPE::prefix, DTD::prefixes, DTD::scaffIndex, DTD::scaffLevel, DTD::scaffold, DTD::scaffSize, DTD::standalone, DEFAULT_ATTRIBUTE::value, XML_T, and attribute_id::xmlns.
Referenced by XML_ExternalEntityParserCreate().
|
static |
Definition at line 5651 of file xmlparse.cc.
References DTD::attributeIds, prefix::binding, DTD::contentStringLen, DTD::defaultPrefix, DTD::elementTypes, DTD::entityValuePool, DTD::generalEntities, hashTableInit(), DTD::hasParamEntityRefs, DTD::in_eldecl, DTD::keepProcessing, ms, prefix::name, DTD::pool, poolInit(), DTD::prefixes, DTD::scaffCount, DTD::scaffIndex, DTD::scaffLevel, DTD::scaffold, DTD::scaffSize, DTD::standalone, XML_FALSE, and XML_TRUE.
Referenced by parserCreate().
|
static |
Definition at line 5726 of file xmlparse.cc.
References ELEMENT_TYPE::allocDefaultAtts, DTD::attributeIds, ELEMENT_TYPE::defaultAtts, DTD::elementTypes, DTD::entityValuePool, DTD::generalEntities, hashTableDestroy(), hashTableIterInit(), hashTableIterNext(), ms, DTD::pool, poolDestroy(), DTD::prefixes, DTD::scaffIndex, and DTD::scaffold.
Referenced by XML_ParserFree().
|
static |
Definition at line 5684 of file xmlparse.cc.
References ELEMENT_TYPE::allocDefaultAtts, DTD::attributeIds, prefix::binding, DTD::contentStringLen, ELEMENT_TYPE::defaultAtts, DTD::defaultPrefix, DTD::elementTypes, DTD::entityValuePool, DTD::generalEntities, hashTableClear(), hashTableIterInit(), hashTableIterNext(), DTD::hasParamEntityRefs, DTD::in_eldecl, DTD::keepProcessing, ms, prefix::name, DTD::pool, poolClear(), DTD::prefixes, DTD::scaffCount, DTD::scaffIndex, DTD::scaffLevel, DTD::scaffold, DTD::scaffSize, DTD::standalone, XML_FALSE, and XML_TRUE.
Referenced by XML_ParserReset().
|
static |
Definition at line 4734 of file xmlparse.cc.
References defaultHandler, epilogProcessor, eventEndPtr, eventPtr, geant4_check_module_cycles::parser, processor, ps_finalBuffer, ps_parsing, reportComment(), reportDefault(), reportProcessingInstruction(), s, XML_ERROR_ABORTED, XML_ERROR_INVALID_TOKEN, XML_ERROR_JUNK_AFTER_DOC_ELEMENT, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_PARTIAL_CHAR, XML_ERROR_UNCLOSED_TOKEN, XML_FINISHED, XML_SUSPENDED, XML_TOK_COMMENT, XML_TOK_INVALID, XML_TOK_NONE, XML_TOK_PARTIAL, XML_TOK_PARTIAL_CHAR, XML_TOK_PI, XML_TOK_PROLOG_S, and XmlPrologTok.
|
static |
Definition at line 4919 of file xmlparse.cc.
References errorCode.
|
static |
Definition at line 2222 of file xmlparse.cc.
References doContent(), geant4_check_module_cycles::parser, ps_finalBuffer, storeRawNames(), XML_ERROR_NO_MEMORY, and XML_ERROR_NONE.
|
static |
Definition at line 2121 of file xmlparse.cc.
References externalEntityInitProcessor2, initializeEncoding(), geant4_check_module_cycles::parser, processor, and XML_ERROR_NONE.
|
static |
Definition at line 2134 of file xmlparse.cc.
References eventPtr, externalEntityInitProcessor3, geant4_check_module_cycles::parser, processor, ps_finalBuffer, XML_ERROR_NONE, XML_ERROR_PARTIAL_CHAR, XML_ERROR_UNCLOSED_TOKEN, XML_TOK_BOM, XML_TOK_PARTIAL, XML_TOK_PARTIAL_CHAR, and XmlContentTok.
|
static |
Definition at line 2174 of file xmlparse.cc.
References eventEndPtr, eventPtr, externalEntityContentProcessor, geant4_check_module_cycles::parser, processor, processXmlDecl(), ps_finalBuffer, ps_parsing, tagLevel, XML_ERROR_ABORTED, XML_ERROR_NONE, XML_ERROR_PARTIAL_CHAR, XML_ERROR_UNCLOSED_TOKEN, XML_FINISHED, XML_SUSPENDED, XML_TOK_PARTIAL, XML_TOK_PARTIAL_CHAR, XML_TOK_XML_DECL, and XmlContentTok.
|
static |
Definition at line 700 of file xmlparse.cc.
Referenced by startParsing().
|
static |
Definition at line 5436 of file xmlparse.cc.
References _dtd, ASCII_COLON, ASCII_l, ASCII_m, ASCII_n, ASCII_s, ASCII_x, DTD::attributeIds, DTD::defaultPrefix, lookup(), prefix::name, attribute_id::name, G4InuclParticleNames::name(), ns, geant4_check_module_cycles::parser, DTD::pool, poolAppendChar, poolDiscard, poolFinish, poolStart, poolStoreString(), attribute_id::prefix, DTD::prefixes, XML_T, and XML_TRUE.
Referenced by doProlog(), and storeAtts().
|
static |
Definition at line 5499 of file xmlparse.cc.
References _dtd, ASCII_EQUALS, prefix::binding, CONTEXT_SEP, DTD::defaultPrefix, DTD::generalEntities, hashTableIterInit(), hashTableIterNext(), prefix::name, ENTITY::name, namespaceSeparator, ENTITY::open, poolAppendChar, DTD::prefixes, s, tempPool, binding::uri, binding::uriLen, XML_FALSE, XML_T, and XML_TRUE.
Referenced by doContent().
|
static |
Definition at line 6387 of file xmlparse.cc.
References _dtd, DTD::elementTypes, lookup(), ELEMENT_TYPE::name, G4InuclParticleNames::name(), geant4_check_module_cycles::parser, DTD::pool, poolDiscard, poolFinish, poolStoreString(), and setElementTypePrefix().
Referenced by doProlog().
|
static |
Definition at line 3514 of file xmlparse.cc.
References XML_Encoding::data, MALLOC, XML_Encoding::map, ns, unknownEncodingData, unknownEncodingHandler, unknownEncodingHandlerData, unknownEncodingMem, unknownEncodingRelease, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_UNKNOWN_ENCODING, XmlInitUnknownEncoding(), XmlInitUnknownEncodingNS, and XmlSizeOfUnknownEncoding().
Referenced by initializeEncoding(), and processXmlDecl().
|
static |
Definition at line 5967 of file xmlparse.cc.
References CHAR_HASH, hash_secret_salt, and s.
Referenced by G4VtkSceneHandler::AddPrimitive(), G4VtkSceneHandler::AddPrimitiveTensorGlyph(), G4ITReaction::GetHash(), lookup(), std::hash< G4Polyhedron >::operator()(), std::hash< G4VisAttributes >::operator()(), and storeAtts().
|
static |
Definition at line 6055 of file xmlparse.cc.
References XML_Memory_Handling_Suite::free_fcn, HASH_TABLE::mem, HASH_TABLE::size, HASH_TABLE::used, and HASH_TABLE::v.
Referenced by dtdReset().
|
static |
Definition at line 6066 of file xmlparse.cc.
References XML_Memory_Handling_Suite::free_fcn, HASH_TABLE::mem, HASH_TABLE::size, and HASH_TABLE::v.
Referenced by dtdDestroy().
|
static |
Definition at line 6075 of file xmlparse.cc.
References HASH_TABLE::mem, ms, HASH_TABLE::power, HASH_TABLE::size, HASH_TABLE::used, and HASH_TABLE::v.
Referenced by dtdCreate().
|
static |
Definition at line 6085 of file xmlparse.cc.
References HASH_TABLE_ITER::end, HASH_TABLE_ITER::p, HASH_TABLE::size, and HASH_TABLE::v.
Referenced by copyEntityTable(), dtdCopy(), dtdDestroy(), dtdReset(), and getContext().
|
static |
Definition at line 6092 of file xmlparse.cc.
References HASH_TABLE_ITER::end, and HASH_TABLE_ITER::p.
Referenced by copyEntityTable(), dtdCopy(), dtdDestroy(), dtdReset(), and getContext().
|
static |
Definition at line 3396 of file xmlparse.cc.
References encoding, handleUnknownEncoding(), initEncoding, ns, geant4_check_module_cycles::parser, protocolEncodingName, s, XML_ERROR_NONE, XmlInitEncoding(), and XmlInitEncodingNS.
Referenced by externalEntityInitProcessor(), and prologInitProcessor().
|
static |
Definition at line 4858 of file xmlparse.cc.
References contentProcessor, doContent(), doProlog(), open_internal_entity::entity, freeInternalEntities, internalEncoding, ENTITY::is_param, open_internal_entity::next, ENTITY::open, openInternalEntities, parentParser, geant4_check_module_cycles::parser, ENTITY::processed, processor, prologProcessor, ps_finalBuffer, ps_parsing, s, open_internal_entity::startTagLevel, ENTITY::textLen, ENTITY::textPtr, XML_ERROR_NONE, XML_ERROR_UNEXPECTED_STATE, XML_FALSE, XML_SUSPENDED, and XmlPrologTok.
|
static |
Definition at line 5976 of file xmlparse.cc.
References XML_Memory_Handling_Suite::free_fcn, hash(), INIT_POWER, keyeq(), XML_Memory_Handling_Suite::malloc_fcn, HASH_TABLE::mem, NAMED::name, G4InuclParticleNames::name(), geant4_check_module_cycles::parser, HASH_TABLE::power, PROBE_STEP, HASH_TABLE::size, HASH_TABLE::used, and HASH_TABLE::v.
Referenced by appendAttributeValue(), copyEntityTable(), doContent(), doProlog(), dtdCopy(), getAttributeId(), getElementType(), setContext(), setElementTypePrefix(), storeAtts(), and storeEntityValue().
|
static |
Definition at line 920 of file xmlparse.cc.
References freeBindingList, and binding::nextTagBinding.
Referenced by XML_ParserReset().
|
static |
Definition at line 6280 of file xmlparse.cc.
References _dtd, CONTENT_SCAFFOLD::childcnt, CONTENT_SCAFFOLD::firstchild, groupSize, INIT_SCAFFOLD_ELEMENTS, CONTENT_SCAFFOLD::lastchild, MALLOC, CONTENT_SCAFFOLD::nextsib, REALLOC, DTD::scaffCount, DTD::scaffIndex, DTD::scaffLevel, DTD::scaffold, and DTD::scaffSize.
Referenced by doProlog().
Definition at line 5260 of file xmlparse.cc.
Referenced by reportComment(), and reportProcessingInstruction().
Definition at line 5629 of file xmlparse.cc.
Referenced by doProlog().
|
static |
Definition at line 731 of file xmlparse.cc.
References _dtd, ASCII_EXCL, attInfo, atts, attsSize, buffer, bufferLim, dataBuf, dataBufEnd, dtdCreate(), FREE, free, XML_Memory_Handling_Suite::free_fcn, freeBindingList, freeInternalEntities, freeTagList, groupConnector, groupSize, INIT_ATTS_SIZE, INIT_DATA_BUF_SIZE, internalEncoding, MALLOC, XML_Memory_Handling_Suite::malloc_fcn, namespaceSeparator, ns, ns_triplets, nsAtts, nsAttsPower, nsAttsVersion, geant4_check_module_cycles::parser, parserInit(), poolInit(), protocolEncodingName, XML_Memory_Handling_Suite::realloc_fcn, temp2Pool, tempPool, unknownEncodingHandler, unknownEncodingHandlerData, XML_FALSE, XML_ParserFree(), XML_TRUE, XmlGetInternalEncoding, and XmlGetInternalEncodingNS.
Referenced by XML_ExternalEntityParserCreate(), and XML_ParserCreate_MM().
|
static |
Definition at line 846 of file xmlparse.cc.
References attlistDeclHandler, buffer, bufferEnd, bufferPtr, characterDataHandler, commentHandler, curBase, declAttributeId, declAttributeIsCdata, declAttributeIsId, declAttributeType, declElementType, declEntity, declNotationName, declNotationPublicId, defaultExpandInternalEntities, defaultHandler, doctypeName, doctypePubid, doctypeSysid, elementDeclHandler, endCdataSectionHandler, endDoctypeDeclHandler, endElementHandler, endNamespaceDeclHandler, entityDeclHandler, errorCode, eventEndPtr, eventPtr, externalEntityRefHandler, externalEntityRefHandlerArg, handlerArg, hash_secret_salt, inheritedBindings, initEncoding, notationDeclHandler, notStandaloneHandler, nSpecifiedAtts, openInternalEntities, parentParser, parseEndByteIndex, parseEndPtr, geant4_check_module_cycles::parser, poolCopyString(), positionPtr, processingInstructionHandler, processor, prologInitProcessor, prologState, protocolEncodingName, ps_parsing, skippedEntityHandler, startCdataSectionHandler, startDoctypeDeclHandler, startElementHandler, startNamespaceDeclHandler, tagLevel, tagStack, tempPool, unknownEncodingData, unknownEncodingMem, unknownEncodingRelease, unparsedEntityDeclHandler, userData, XML_ERROR_NONE, XML_FALSE, XML_INITIALIZED, XML_PARAM_ENTITY_PARSING_NEVER, XML_TRUE, xmlDeclHandler, XmlInitEncoding(), and XmlPrologStateInit().
Referenced by parserCreate(), and XML_ParserReset().
|
static |
Definition at line 6151 of file xmlparse.cc.
References STRING_POOL::end, poolGrow(), STRING_POOL::ptr, STRING_POOL::start, and XmlConvert.
Referenced by appendAttributeValue(), doProlog(), poolStoreString(), and storeEntityValue().
|
static |
Definition at line 6193 of file xmlparse.cc.
References poolAppendChar, s, and STRING_POOL::start.
Referenced by doProlog().
|
static |
Definition at line 6114 of file xmlparse.cc.
References STRING_POOL::blocks, STRING_POOL::end, STRING_POOL::freeBlocks, block::next, STRING_POOL::ptr, and STRING_POOL::start.
Referenced by doContent(), doProlog(), dtdReset(), processXmlDecl(), reportComment(), reportProcessingInstruction(), and XML_ParserReset().
|
static |
Definition at line 6167 of file xmlparse.cc.
References poolAppendChar, poolFinish, s, and STRING_POOL::start.
Referenced by copyEntityTable(), dtdCopy(), parserInit(), setContext(), storeAtts(), XML_SetBase(), and XML_SetEncoding().
|
static |
Definition at line 6179 of file xmlparse.cc.
References CLHEP::detail::n, poolAppendChar, poolFinish, poolGrow(), STRING_POOL::ptr, s, and STRING_POOL::start.
Referenced by copyEntityTable().
|
static |
Definition at line 6134 of file xmlparse.cc.
References STRING_POOL::blocks, XML_Memory_Handling_Suite::free_fcn, STRING_POOL::freeBlocks, STRING_POOL::mem, and block::next.
Referenced by dtdDestroy(), and XML_ParserFree().
|
static |
Definition at line 6216 of file xmlparse.cc.
References STRING_POOL::blocks, STRING_POOL::end, STRING_POOL::freeBlocks, INIT_BLOCK_SIZE, XML_Memory_Handling_Suite::malloc_fcn, STRING_POOL::mem, block::next, STRING_POOL::ptr, XML_Memory_Handling_Suite::realloc_fcn, block::s, s, block::size, STRING_POOL::start, XML_FALSE, and XML_TRUE.
Referenced by poolAppend(), poolCopyStringN(), poolStoreString(), and storeEntityValue().
|
static |
Definition at line 6103 of file xmlparse.cc.
References STRING_POOL::blocks, STRING_POOL::end, STRING_POOL::freeBlocks, STRING_POOL::mem, ms, STRING_POOL::ptr, and STRING_POOL::start.
Referenced by dtdCreate(), and parserCreate().
|
static |
Definition at line 6204 of file xmlparse.cc.
References STRING_POOL::end, poolAppend(), poolGrow(), STRING_POOL::ptr, and STRING_POOL::start.
Referenced by appendAttributeValue(), doContent(), doProlog(), getAttributeId(), getElementType(), processXmlDecl(), reportComment(), reportProcessingInstruction(), storeAtts(), and storeEntityValue().
|
static |
Definition at line 4801 of file xmlparse.cc.
References open_internal_entity::betweenDecl, doContent(), doProlog(), open_internal_entity::entity, freeInternalEntities, internalEncoding, internalEntityProcessor, open_internal_entity::internalEventEndPtr, open_internal_entity::internalEventPtr, ENTITY::is_param, MALLOC, open_internal_entity::next, ENTITY::open, openInternalEntities, geant4_check_module_cycles::parser, ENTITY::processed, processor, ps_parsing, open_internal_entity::startTagLevel, tagLevel, ENTITY::textLen, ENTITY::textPtr, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_FALSE, XML_SUSPENDED, XML_TRUE, and XmlPrologTok.
Referenced by doContent(), and doProlog().
enum XML_Error PTRCALL Processor | ( | XML_Parser | parser, |
const char * | start, | ||
const char * | end, | ||
const char ** | endPtr | ||
) |
|
static |
Definition at line 3425 of file xmlparse.cc.
References _dtd, defaultHandler, eventPtr, handlerArg, handleUnknownEncoding(), encoding::minBytesPerChar, ns, geant4_check_module_cycles::parser, poolClear(), poolFinish, poolStoreString(), protocolEncodingName, reportDefault(), s, temp2Pool, XML_ERROR_INCORRECT_ENCODING, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_TEXT_DECL, XML_ERROR_UNKNOWN_ENCODING, XML_ERROR_XML_DECL, XML_PARAM_ENTITY_PARSING_NEVER, XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE, XML_TRUE, xmlDeclHandler, XmlNameLength, XmlParseXmlDecl(), and XmlParseXmlDeclNS.
Referenced by doProlog(), and externalEntityInitProcessor3().
|
static |
Definition at line 3553 of file xmlparse.cc.
References initializeEncoding(), geant4_check_module_cycles::parser, processor, prologProcessor, s, and XML_ERROR_NONE.
|
static |
Definition at line 3738 of file xmlparse.cc.
References doProlog(), geant4_check_module_cycles::parser, ps_finalBuffer, s, and XmlPrologTok.
|
static |
Definition at line 5312 of file xmlparse.cc.
References commentHandler, defaultHandler, handlerArg, encoding::minBytesPerChar, normalizeLines(), geant4_check_module_cycles::parser, poolClear(), poolStoreString(), reportDefault(), and tempPool.
Referenced by doContent(), doProlog(), and epilogProcessor().
|
static |
Definition at line 5334 of file xmlparse.cc.
References dataBuf, dataBufEnd, defaultHandler, eventEndPtr, eventPtr, handlerArg, MUST_CONVERT, openInternalEntities, s, and XmlConvert.
Referenced by doCdataSection(), doContent(), doProlog(), epilogProcessor(), processXmlDecl(), reportComment(), reportProcessingInstruction(), and XML_DefaultCurrent().
|
static |
Definition at line 5283 of file xmlparse.cc.
References defaultHandler, handlerArg, encoding::minBytesPerChar, normalizeLines(), geant4_check_module_cycles::parser, poolClear(), poolFinish, poolStoreString(), processingInstructionHandler, reportDefault(), tempPool, XmlNameLength, and XmlSkipS.
Referenced by doContent(), doProlog(), and epilogProcessor().
|
static |
Definition at line 5568 of file xmlparse.cc.
References _dtd, addBinding(), ASCII_EQUALS, g4zmq::context, CONTEXT_SEP, DTD::defaultPrefix, DTD::generalEntities, inheritedBindings, lookup(), prefix::name, ENTITY::open, geant4_check_module_cycles::parser, DTD::pool, poolAppendChar, poolCopyString(), poolDiscard, poolLength, poolStart, DTD::prefixes, s, tempPool, XML_ERROR_NONE, XML_FALSE, XML_T, and XML_TRUE.
Referenced by startParsing(), and XML_ExternalEntityParserCreate().
|
static |
Definition at line 5406 of file xmlparse.cc.
References _dtd, ASCII_COLON, lookup(), prefix::name, ELEMENT_TYPE::name, G4InuclParticleNames::name(), geant4_check_module_cycles::parser, DTD::pool, poolAppendChar, poolDiscard, poolFinish, poolStart, ELEMENT_TYPE::prefix, DTD::prefixes, s, and XML_T.
Referenced by getElementType(), and storeAtts().
|
static |
Definition at line 708 of file xmlparse.cc.
References generate_hash_secret_salt(), hash_secret_salt, implicitContext, ns, geant4_check_module_cycles::parser, setContext(), and XML_TRUE.
Referenced by XML_Parse(), and XML_ParseBuffer().
|
static |
Definition at line 4928 of file xmlparse.cc.
References appendAttributeValue(), geant4_check_module_cycles::parser, poolAppendChar, poolChop, poolLastChar, poolLength, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, and XML_T.
Referenced by doProlog(), and storeAtts().
|
static |
Definition at line 2704 of file xmlparse.cc.
References _dtd, addBinding(), ASCII_COLON, binding::attId, attInfo, DTD::attributeIds, atts, attsSize, prefix::binding, CHAR_HASH, ELEMENT_TYPE::defaultAtts, DTD::defaultPrefix, DTD::elementTypes, eventPtr, EXPAND_SPARE, FREE, getAttributeId(), hash(), hash_secret_salt, DEFAULT_ATTRIBUTE::id, ELEMENT_TYPE::idAtt, idAttIndex, INIT_ATTS_SIZE, INIT_ATTS_VERSION, DEFAULT_ATTRIBUTE::isCdata, TAG_NAME::localPart, lookup(), MALLOC, attribute_id::maybeTokenized, CLHEP::detail::n, prefix::name, tag::name, attribute_id::name, ATTRIBUTE::name, G4InuclParticleNames::name(), namespaceSeparator, ELEMENT_TYPE::nDefaultAtts, binding::nextTagBinding, ns, ns_triplets, nsAtts, nsAttsPower, nsAttsVersion, nSpecifiedAtts, tag::parent, parseEndByteIndex, parseEndPtr, geant4_check_module_cycles::parser, DTD::pool, poolAppendChar, poolCopyString(), poolFinish, poolStart, poolStoreString(), binding::prefix, TAG_NAME::prefix, attribute_id::prefix, ELEMENT_TYPE::prefix, TAG_NAME::prefixLen, PROBE_STEP, REALLOC, s, setElementTypePrefix(), storeAttributeValue(), TAG_NAME::str, tagStack, tempPool, binding::uri, binding::uriAlloc, binding::uriLen, TAG_NAME::uriLen, DEFAULT_ATTRIBUTE::value, ATTRIBUTE::valueEnd, ATTRIBUTE::valuePtr, XML_ERROR_DUPLICATE_ATTRIBUTE, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_UNBOUND_PREFIX, XML_T, XML_TRUE, XmlGetAttributes, XmlNameLength, and attribute_id::xmlns.
Referenced by doContent().
|
static |
Definition at line 5094 of file xmlparse.cc.
References _dtd, ENTITY::base, STRING_POOL::blocks, STRING_POOL::end, DTD::entityValuePool, eventPtr, externalEntityRefHandler, externalEntityRefHandlerArg, internalEncoding, DTD::keepProcessing, lookup(), encoding::minBytesPerChar, CLHEP::detail::n, G4InuclParticleNames::name(), ENTITY::open, geant4_check_module_cycles::parser, poolAppend(), poolDiscard, poolGrow(), poolStoreString(), prologState, STRING_POOL::ptr, ENTITY::publicId, DTD::standalone, storeEntityValue(), ENTITY::systemId, tempPool, ENTITY::textLen, ENTITY::textPtr, XML_ENCODE_MAX, XML_ERROR_BAD_CHAR_REF, XML_ERROR_EXTERNAL_ENTITY_HANDLING, XML_ERROR_INVALID_TOKEN, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_PARAM_ENTITY_REF, XML_ERROR_RECURSIVE_ENTITY_REF, XML_ERROR_UNEXPECTED_STATE, XML_FALSE, XML_TOK_CHAR_REF, XML_TOK_DATA_CHARS, XML_TOK_DATA_NEWLINE, XML_TOK_ENTITY_REF, XML_TOK_INVALID, XML_TOK_NONE, XML_TOK_PARAM_ENTITY_REF, XML_TOK_PARTIAL, XML_TOK_TRAILING_CR, XML_TRUE, XmlCharRefNumber, XmlEncode, and XmlEntityValueTok.
Referenced by doProlog(), and storeEntityValue().
|
static |
Definition at line 2061 of file xmlparse.cc.
References tag::buf, tag::bufEnd, TAG_NAME::localPart, tag::name, tag::parent, tag::rawName, tag::rawNameLength, REALLOC, ROUND_UP, TAG_NAME::str, TAG_NAME::strLen, tagStack, XML_FALSE, and XML_TRUE.
Referenced by contentProcessor(), and externalEntityContentProcessor().
void XMLCALL XML_DefaultCurrent | ( | XML_Parser | parser | ) |
Definition at line 1920 of file xmlparse.cc.
References defaultHandler, eventEndPtr, eventPtr, internalEncoding, openInternalEntities, geant4_check_module_cycles::parser, and reportDefault().
Definition at line 1934 of file xmlparse.cc.
References XML_L.
Referenced by xDataXML_endXMLParsing().
Definition at line 1985 of file xmlparse.cc.
References V2, XML_MAJOR_VERSION, XML_MICRO_VERSION, and XML_MINOR_VERSION.
XML_Expat_Version XMLCALL XML_ExpatVersionInfo | ( | void | ) |
Definition at line 2005 of file xmlparse.cc.
References XML_Expat_Version::major, XML_Expat_Version::micro, XML_Expat_Version::minor, XML_MAJOR_VERSION, XML_MICRO_VERSION, and XML_MINOR_VERSION.
XML_Parser XMLCALL XML_ExternalEntityParserCreate | ( | XML_Parser | oldParser, |
const XML_Char * | context, | ||
const XML_Char * | encodingName | ||
) |
Definition at line 986 of file xmlparse.cc.
References _dtd, attlistDeclHandler, characterDataHandler, commentHandler, g4zmq::context, declElementType, defaultExpandInternalEntities, defaultHandler, dtdCopy(), elementDeclHandler, endCdataSectionHandler, endElementHandler, endNamespaceDeclHandler, entityDeclHandler, externalEntityInitProcessor, externalEntityRefHandler, externalEntityRefHandlerArg, handlerArg, hash_secret_salt, namespaceSeparator, notationDeclHandler, notStandaloneHandler, ns, ns_triplets, parentParser, geant4_check_module_cycles::parser, parserCreate(), processingInstructionHandler, processor, prologState, setContext(), skippedEntityHandler, startCdataSectionHandler, startElementHandler, startNamespaceDeclHandler, unknownEncodingHandler, unparsedEntityDeclHandler, userData, XML_ParserFree(), XML_TRUE, and xmlDeclHandler.
void XMLCALL XML_FreeContentModel | ( | XML_Parser | parser, |
XML_Content * | model | ||
) |
const XML_Char *XMLCALL XML_GetBase | ( | XML_Parser | parser | ) |
void *XMLCALL XML_GetBuffer | ( | XML_Parser | parser, |
int | len | ||
) |
Definition at line 1685 of file xmlparse.cc.
References buffer, bufferEnd, bufferLim, bufferPtr, errorCode, eventEndPtr, eventPtr, FREE, INIT_BUFFER_SIZE, MALLOC, positionPtr, ps_parsing, XML_CONTEXT_BYTES, XML_ERROR_FINISHED, XML_ERROR_NO_MEMORY, XML_ERROR_SUSPENDED, XML_FINISHED, and XML_SUSPENDED.
Referenced by XML_Parse().
int XMLCALL XML_GetCurrentByteCount | ( | XML_Parser | parser | ) |
Definition at line 1855 of file xmlparse.cc.
References eventEndPtr, and eventPtr.
XML_Index XMLCALL XML_GetCurrentByteIndex | ( | XML_Parser | parser | ) |
Definition at line 1847 of file xmlparse.cc.
References eventPtr, parseEndByteIndex, and parseEndPtr.
XML_Size XMLCALL XML_GetCurrentColumnNumber | ( | XML_Parser | parser | ) |
Definition at line 1886 of file xmlparse.cc.
References position::columnNumber, eventPtr, positionPtr, and XmlUpdatePosition.
Referenced by xDataXML_endXMLParsing(), and xDataXML_parseGetCurrentPosition().
XML_Size XMLCALL XML_GetCurrentLineNumber | ( | XML_Parser | parser | ) |
Definition at line 1876 of file xmlparse.cc.
References eventPtr, position::lineNumber, positionPtr, and XmlUpdatePosition.
Referenced by xDataXML_endXMLParsing(), and xDataXML_parseGetCurrentPosition().
enum XML_Error XMLCALL XML_GetErrorCode | ( | XML_Parser | parser | ) |
Definition at line 1841 of file xmlparse.cc.
References errorCode.
Referenced by xDataXML_endXMLParsing().
const XML_Feature *XMLCALL XML_GetFeatureList | ( | void | ) |
Definition at line 2017 of file xmlparse.cc.
References XML_CONTEXT_BYTES, XML_FEATURE_ATTR_INFO, XML_FEATURE_CONTEXT_BYTES, XML_FEATURE_DTD, XML_FEATURE_END, XML_FEATURE_LARGE_SIZE, XML_FEATURE_MIN_SIZE, XML_FEATURE_NS, XML_FEATURE_SIZEOF_XML_CHAR, XML_FEATURE_SIZEOF_XML_LCHAR, XML_FEATURE_UNICODE, XML_FEATURE_UNICODE_WCHAR_T, and XML_L.
int XMLCALL XML_GetIdAttributeIndex | ( | XML_Parser | parser | ) |
Definition at line 1265 of file xmlparse.cc.
References idAttIndex.
const char *XMLCALL XML_GetInputContext | ( | XML_Parser | parser, |
int * | offset, | ||
int * | size | ||
) |
Definition at line 1863 of file xmlparse.cc.
void XMLCALL XML_GetParsingStatus | ( | XML_Parser | parser, |
XML_ParsingStatus * | status | ||
) |
Definition at line 1834 of file xmlparse.cc.
References geant4_check_module_cycles::parser.
int XMLCALL XML_GetSpecifiedAttributeCount | ( | XML_Parser | parser | ) |
Definition at line 1259 of file xmlparse.cc.
References nSpecifiedAtts.
void XMLCALL XML_MemFree | ( | XML_Parser | parser, |
void * | ptr | ||
) |
void *XMLCALL XML_MemMalloc | ( | XML_Parser | parser, |
size_t | size | ||
) |
Definition at line 1902 of file xmlparse.cc.
References MALLOC.
void *XMLCALL XML_MemRealloc | ( | XML_Parser | parser, |
void * | ptr, | ||
size_t | size | ||
) |
Definition at line 1908 of file xmlparse.cc.
References REALLOC.
enum XML_Status XMLCALL XML_Parse | ( | XML_Parser | parser, |
const char * | s, | ||
int | len, | ||
int | isFinal | ||
) |
Definition at line 1506 of file xmlparse.cc.
References buffer, bufferEnd, bufferLim, bufferPtr, errorCode, errorProcessor, eventEndPtr, eventPtr, MALLOC, parentParser, parseEndByteIndex, parseEndPtr, geant4_check_module_cycles::parser, positionPtr, processor, ps_finalBuffer, ps_parsing, REALLOC, s, startParsing(), XML_ERROR_FINISHED, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_SUSPENDED, XML_FINISHED, XML_GetBuffer(), XML_INITIALIZED, XML_ParseBuffer(), XML_PARSING, XML_STATUS_ERROR, XML_STATUS_OK, XML_STATUS_SUSPENDED, XML_SUSPENDED, and XmlUpdatePosition.
Referenced by xDataXML_endXMLParsing(), and xDataXML_parse().
enum XML_Status XMLCALL XML_ParseBuffer | ( | XML_Parser | parser, |
int | len, | ||
int | isFinal | ||
) |
Definition at line 1629 of file xmlparse.cc.
References bufferEnd, bufferPtr, errorCode, errorProcessor, eventEndPtr, eventPtr, parentParser, parseEndByteIndex, parseEndPtr, geant4_check_module_cycles::parser, positionPtr, processor, ps_finalBuffer, ps_parsing, startParsing(), XML_ERROR_FINISHED, XML_ERROR_NO_MEMORY, XML_ERROR_NONE, XML_ERROR_SUSPENDED, XML_FINISHED, XML_INITIALIZED, XML_PARSING, XML_STATUS_ERROR, XML_STATUS_OK, XML_STATUS_SUSPENDED, XML_SUSPENDED, and XmlUpdatePosition.
Referenced by XML_Parse().
XML_Parser XMLCALL XML_ParserCreate | ( | const XML_Char * | encodingName | ) |
Definition at line 677 of file xmlparse.cc.
References XML_ParserCreate_MM().
Referenced by xDataXML_initializeDoc().
XML_Parser XMLCALL XML_ParserCreate_MM | ( | const XML_Char * | encodingName, |
const XML_Memory_Handling_Suite * | memsuite, | ||
const XML_Char * | nameSep | ||
) |
Definition at line 723 of file xmlparse.cc.
References parserCreate().
Referenced by XML_ParserCreate(), and XML_ParserCreateNS().
XML_Parser XMLCALL XML_ParserCreateNS | ( | const XML_Char * | encodingName, |
XML_Char | nsSep | ||
) |
Definition at line 683 of file xmlparse.cc.
References XML_ParserCreate_MM().
void XMLCALL XML_ParserFree | ( | XML_Parser | parser | ) |
Definition at line 1136 of file xmlparse.cc.
References _dtd, attInfo, atts, tag::bindings, tag::buf, buffer, dataBuf, destroyBindings(), dtdDestroy(), FREE, freeBindingList, freeInternalEntities, freeTagList, groupConnector, inheritedBindings, open_internal_entity::next, nsAtts, openInternalEntities, tag::parent, parentParser, geant4_check_module_cycles::parser, poolDestroy(), tagStack, temp2Pool, tempPool, unknownEncodingData, unknownEncodingMem, and unknownEncodingRelease.
Referenced by parserCreate(), xDataXML_endXMLParsing(), and XML_ExternalEntityParserCreate().
XML_Bool XMLCALL XML_ParserReset | ( | XML_Parser | parser, |
const XML_Char * | encodingName | ||
) |
Definition at line 931 of file xmlparse.cc.
References _dtd, tag::bindings, dtdReset(), FREE, freeInternalEntities, freeTagList, inheritedBindings, moveToFreeBindingList(), open_internal_entity::next, openInternalEntities, tag::parent, parentParser, geant4_check_module_cycles::parser, parserInit(), poolClear(), tagStack, temp2Pool, tempPool, unknownEncodingData, unknownEncodingMem, unknownEncodingRelease, XML_FALSE, and XML_TRUE.
enum XML_Status XMLCALL XML_ResumeParser | ( | XML_Parser | parser | ) |
Definition at line 1796 of file xmlparse.cc.
References bufferPtr, errorCode, errorProcessor, eventEndPtr, eventPtr, parseEndPtr, geant4_check_module_cycles::parser, positionPtr, processor, ps_finalBuffer, ps_parsing, XML_ERROR_NONE, XML_ERROR_NOT_SUSPENDED, XML_FINISHED, XML_INITIALIZED, XML_PARSING, XML_STATUS_ERROR, XML_STATUS_OK, XML_STATUS_SUSPENDED, XML_SUSPENDED, and XmlUpdatePosition.
void XMLCALL XML_SetAttlistDeclHandler | ( | XML_Parser | parser, |
XML_AttlistDeclHandler | attdecl | ||
) |
Definition at line 1460 of file xmlparse.cc.
References attlistDeclHandler.
enum XML_Status XMLCALL XML_SetBase | ( | XML_Parser | parser, |
const XML_Char * | p | ||
) |
Definition at line 1239 of file xmlparse.cc.
References _dtd, curBase, poolCopyString(), XML_STATUS_ERROR, and XML_STATUS_OK.
void XMLCALL XML_SetCdataSectionHandler | ( | XML_Parser | parser, |
XML_StartCdataSectionHandler | start, | ||
XML_EndCdataSectionHandler | end | ||
) |
Definition at line 1321 of file xmlparse.cc.
References endCdataSectionHandler, and startCdataSectionHandler.
void XMLCALL XML_SetCharacterDataHandler | ( | XML_Parser | parser, |
XML_CharacterDataHandler | handler | ||
) |
Definition at line 1300 of file xmlparse.cc.
References characterDataHandler.
Referenced by xDataXML_initializeDoc().
void XMLCALL XML_SetCommentHandler | ( | XML_Parser | parser, |
XML_CommentHandler | handler | ||
) |
Definition at line 1314 of file xmlparse.cc.
References commentHandler.
void XMLCALL XML_SetDefaultHandler | ( | XML_Parser | parser, |
XML_DefaultHandler | handler | ||
) |
Definition at line 1342 of file xmlparse.cc.
References defaultExpandInternalEntities, defaultHandler, and XML_FALSE.
void XMLCALL XML_SetDefaultHandlerExpand | ( | XML_Parser | parser, |
XML_DefaultHandler | handler | ||
) |
Definition at line 1350 of file xmlparse.cc.
References defaultExpandInternalEntities, defaultHandler, and XML_TRUE.
void XMLCALL XML_SetDoctypeDeclHandler | ( | XML_Parser | parser, |
XML_StartDoctypeDeclHandler | start, | ||
XML_EndDoctypeDeclHandler | end | ||
) |
Definition at line 1358 of file xmlparse.cc.
References endDoctypeDeclHandler, and startDoctypeDeclHandler.
void XMLCALL XML_SetElementDeclHandler | ( | XML_Parser | parser, |
XML_ElementDeclHandler | eldecl | ||
) |
Definition at line 1453 of file xmlparse.cc.
References elementDeclHandler.
void XMLCALL XML_SetElementHandler | ( | XML_Parser | parser, |
XML_StartElementHandler | start, | ||
XML_EndElementHandler | end | ||
) |
Definition at line 1279 of file xmlparse.cc.
References endElementHandler, and startElementHandler.
Referenced by xDataXML_initializeDoc().
enum XML_Status XMLCALL XML_SetEncoding | ( | XML_Parser | parser, |
const XML_Char * | encodingName | ||
) |
Definition at line 967 of file xmlparse.cc.
References poolCopyString(), protocolEncodingName, ps_parsing, tempPool, XML_PARSING, XML_STATUS_ERROR, XML_STATUS_OK, and XML_SUSPENDED.
void XMLCALL XML_SetEndCdataSectionHandler | ( | XML_Parser | parser, |
XML_EndCdataSectionHandler | end | ||
) |
Definition at line 1336 of file xmlparse.cc.
References endCdataSectionHandler.
void XMLCALL XML_SetEndDoctypeDeclHandler | ( | XML_Parser | parser, |
XML_EndDoctypeDeclHandler | end | ||
) |
Definition at line 1373 of file xmlparse.cc.
References endDoctypeDeclHandler.
void XMLCALL XML_SetEndElementHandler | ( | XML_Parser | parser, |
XML_EndElementHandler | end | ||
) |
Definition at line 1294 of file xmlparse.cc.
References endElementHandler.
void XMLCALL XML_SetEndNamespaceDeclHandler | ( | XML_Parser | parser, |
XML_EndNamespaceDeclHandler | end | ||
) |
Definition at line 1408 of file xmlparse.cc.
References endNamespaceDeclHandler.
void XMLCALL XML_SetEntityDeclHandler | ( | XML_Parser | parser, |
XML_EntityDeclHandler | handler | ||
) |
Definition at line 1467 of file xmlparse.cc.
References entityDeclHandler.
void XMLCALL XML_SetExternalEntityRefHandler | ( | XML_Parser | parser, |
XML_ExternalEntityRefHandler | handler | ||
) |
Definition at line 1421 of file xmlparse.cc.
References externalEntityRefHandler.
void XMLCALL XML_SetExternalEntityRefHandlerArg | ( | XML_Parser | parser, |
void * | arg | ||
) |
Definition at line 1428 of file xmlparse.cc.
References externalEntityRefHandlerArg, and geant4_check_module_cycles::parser.
int XMLCALL XML_SetHashSalt | ( | XML_Parser | parser, |
unsigned long | hash_salt | ||
) |
Definition at line 1495 of file xmlparse.cc.
References hash_secret_salt, ps_parsing, XML_PARSING, and XML_SUSPENDED.
void XMLCALL XML_SetNamespaceDeclHandler | ( | XML_Parser | parser, |
XML_StartNamespaceDeclHandler | start, | ||
XML_EndNamespaceDeclHandler | end | ||
) |
Definition at line 1393 of file xmlparse.cc.
References endNamespaceDeclHandler, and startNamespaceDeclHandler.
void XMLCALL XML_SetNotationDeclHandler | ( | XML_Parser | parser, |
XML_NotationDeclHandler | handler | ||
) |
Definition at line 1386 of file xmlparse.cc.
References notationDeclHandler.
void XMLCALL XML_SetNotStandaloneHandler | ( | XML_Parser | parser, |
XML_NotStandaloneHandler | handler | ||
) |
Definition at line 1414 of file xmlparse.cc.
References notStandaloneHandler.
int XMLCALL XML_SetParamEntityParsing | ( | XML_Parser | parser, |
enum XML_ParamEntityParsing | peParsing | ||
) |
Definition at line 1480 of file xmlparse.cc.
References ps_parsing, XML_PARAM_ENTITY_PARSING_NEVER, XML_PARSING, and XML_SUSPENDED.
void XMLCALL XML_SetProcessingInstructionHandler | ( | XML_Parser | parser, |
XML_ProcessingInstructionHandler | handler | ||
) |
Definition at line 1307 of file xmlparse.cc.
References processingInstructionHandler.
void XMLCALL XML_SetReturnNSTriplet | ( | XML_Parser | parser, |
int | do_nst | ||
) |
Definition at line 1221 of file xmlparse.cc.
References ns_triplets, ps_parsing, XML_FALSE, XML_PARSING, XML_SUSPENDED, and XML_TRUE.
void XMLCALL XML_SetSkippedEntityHandler | ( | XML_Parser | parser, |
XML_SkippedEntityHandler | handler | ||
) |
Definition at line 1437 of file xmlparse.cc.
References skippedEntityHandler.
void XMLCALL XML_SetStartCdataSectionHandler | ( | XML_Parser | parser, |
XML_StartCdataSectionHandler | start | ||
) |
Definition at line 1330 of file xmlparse.cc.
References startCdataSectionHandler.
void XMLCALL XML_SetStartDoctypeDeclHandler | ( | XML_Parser | parser, |
XML_StartDoctypeDeclHandler | start | ||
) |
Definition at line 1367 of file xmlparse.cc.
References startDoctypeDeclHandler.
void XMLCALL XML_SetStartElementHandler | ( | XML_Parser | parser, |
XML_StartElementHandler | start | ||
) |
Definition at line 1288 of file xmlparse.cc.
References startElementHandler.
void XMLCALL XML_SetStartNamespaceDeclHandler | ( | XML_Parser | parser, |
XML_StartNamespaceDeclHandler | start | ||
) |
Definition at line 1402 of file xmlparse.cc.
References startNamespaceDeclHandler.
void XMLCALL XML_SetUnknownEncodingHandler | ( | XML_Parser | parser, |
XML_UnknownEncodingHandler | handler, | ||
void * | data | ||
) |
Definition at line 1444 of file xmlparse.cc.
References unknownEncodingHandler, and unknownEncodingHandlerData.
void XMLCALL XML_SetUnparsedEntityDeclHandler | ( | XML_Parser | parser, |
XML_UnparsedEntityDeclHandler | handler | ||
) |
Definition at line 1379 of file xmlparse.cc.
References unparsedEntityDeclHandler.
void XMLCALL XML_SetUserData | ( | XML_Parser | parser, |
void * | p | ||
) |
Definition at line 1230 of file xmlparse.cc.
References handlerArg, and userData.
Referenced by xDataXML_initializeDoc().
void XMLCALL XML_SetXmlDeclHandler | ( | XML_Parser | parser, |
XML_XmlDeclHandler | handler | ||
) |
Definition at line 1474 of file xmlparse.cc.
References xmlDeclHandler.
enum XML_Status XMLCALL XML_StopParser | ( | XML_Parser | parser, |
XML_Bool | resumable | ||
) |
Definition at line 1766 of file xmlparse.cc.
References errorCode, ps_parsing, XML_ERROR_FINISHED, XML_ERROR_SUSPEND_PE, XML_ERROR_SUSPENDED, XML_FINISHED, XML_STATUS_ERROR, XML_STATUS_OK, and XML_SUSPENDED.
enum XML_Error XMLCALL XML_UseForeignDTD | ( | XML_Parser | parser, |
XML_Bool | useDTD | ||
) |
Definition at line 1207 of file xmlparse.cc.
References ps_parsing, XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING, XML_ERROR_FEATURE_REQUIRES_XML_DTD, XML_ERROR_NONE, XML_PARSING, and XML_SUSPENDED.
void XMLCALL XML_UseParserAsHandlerArg | ( | XML_Parser | parser | ) |
Definition at line 1201 of file xmlparse.cc.
References handlerArg, and geant4_check_module_cycles::parser.
|
static |
Definition at line 314 of file xmlparse.cc.
Referenced by doContent().
|
static |
Definition at line 313 of file xmlparse.cc.
Referenced by cdataSectionProcessor(), doProlog(), and internalEntityProcessor().
|
static |
Definition at line 322 of file xmlparse.cc.
Referenced by doContent(), and epilogProcessor().
|
static |
Definition at line 323 of file xmlparse.cc.
Referenced by XML_Parse(), XML_ParseBuffer(), and XML_ResumeParser().
|
static |
Definition at line 327 of file xmlparse.cc.
Referenced by cdataSectionProcessor(), and externalEntityInitProcessor3().
|
static |
Definition at line 324 of file xmlparse.cc.
Referenced by XML_ExternalEntityParserCreate().
|
static |
Definition at line 325 of file xmlparse.cc.
Referenced by externalEntityInitProcessor().
|
static |
Definition at line 326 of file xmlparse.cc.
Referenced by externalEntityInitProcessor2().
|
static |
|
static |
Definition at line 328 of file xmlparse.cc.
Referenced by processInternalEntity().
|
static |
Definition at line 312 of file xmlparse.cc.
Referenced by parserInit().
|
static |
Definition at line 311 of file xmlparse.cc.
Referenced by internalEntityProcessor(), and prologInitProcessor().