|
Apache HTTPD
|
#include "expat_config.h"#include <stdbool.h>#include <stddef.h>#include <string.h>#include <assert.h>#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <math.h>#include <sys/time.h>#include <sys/types.h>#include <unistd.h>#include <fcntl.h>#include <errno.h>#include "ascii.h"#include "expat.h"#include "siphash.h"#include "internal.h"#include "xmltok.h"#include "xmlrole.h"Go to the source code of this file.
Classes | |
| struct | NAMED |
| struct | HASH_TABLE |
| struct | HASH_TABLE_ITER |
| struct | binding |
| struct | prefix |
| struct | TAG_NAME |
| struct | tag |
| struct | ENTITY |
| struct | CONTENT_SCAFFOLD |
| struct | block |
| struct | STRING_POOL |
| struct | attribute_id |
| struct | DEFAULT_ATTRIBUTE |
| struct | NS_ATT |
| struct | ELEMENT_TYPE |
| struct | DTD |
| struct | open_internal_entity |
| struct | XML_ParserStruct |
Enumerations | |
| enum | XML_Account { XML_ACCOUNT_DIRECT , XML_ACCOUNT_ENTITY_EXPANSION , XML_ACCOUNT_NONE } |
Definition at line 6670 of file xmlparse.c.
| #define EXPAND_SPARE 24 |
Definition at line 269 of file xmlparse.c.
Definition at line 218 of file xmlparse.c.
| #define INIT_ATTS_SIZE 16 |
Definition at line 264 of file xmlparse.c.
| #define INIT_ATTS_VERSION 0xFFFFFFFF |
Definition at line 265 of file xmlparse.c.
| #define INIT_BLOCK_SIZE 1024 |
Definition at line 266 of file xmlparse.c.
| #define INIT_BUFFER_SIZE 1024 |
Definition at line 267 of file xmlparse.c.
| #define INIT_DATA_BUF_SIZE 1024 |
Definition at line 263 of file xmlparse.c.
| #define INIT_POWER 6 |
Definition at line 7155 of file xmlparse.c.
| #define INIT_SCAFFOLD_ELEMENTS 32 |
Definition at line 342 of file xmlparse.c.
Definition at line 262 of file xmlparse.c.
Definition at line 761 of file xmlparse.c.
Definition at line 183 of file xmlparse.c.
Definition at line 629 of file xmlparse.c.
Definition at line 625 of file xmlparse.c.
Definition at line 627 of file xmlparse.c.
Definition at line 626 of file xmlparse.c.
Definition at line 254 of file xmlparse.c.
Definition at line 762 of file xmlparse.c.
Definition at line 215 of file xmlparse.c.
Definition at line 252 of file xmlparse.c.
| #define XML_BUILDING_EXPAT 1 |
Definition at line 66 of file xmlparse.c.
| #define XML_ENCODE_MAX XML_UTF8_ENCODE_MAX |
Definition at line 178 of file xmlparse.c.
| #define XML_L | ( | x | ) | x |
Definition at line 210 of file xmlparse.c.
| #define XML_T | ( | x | ) | x |
Definition at line 209 of file xmlparse.c.
| #define XmlConvert XmlUtf8Convert |
Definition at line 179 of file xmlparse.c.
| #define XmlEncode XmlUtf8Encode |
Definition at line 182 of file xmlparse.c.
| #define XmlGetInternalEncoding XmlGetUtf8InternalEncoding |
Definition at line 180 of file xmlparse.c.
| #define XmlGetInternalEncodingNS XmlGetUtf8InternalEncodingNS |
Definition at line 181 of file xmlparse.c.
| #define XmlGetInternalEncodingNS XmlGetInternalEncoding |
Definition at line 181 of file xmlparse.c.
| #define XmlInitEncodingNS XmlInitEncoding |
Definition at line 189 of file xmlparse.c.
| #define XmlInitUnknownEncodingNS XmlInitUnknownEncoding |
Definition at line 190 of file xmlparse.c.
| #define XmlParseXmlDeclNS XmlParseXmlDecl |
Definition at line 193 of file xmlparse.c.
Definition at line 184 of file xmlparse.c.
| Enumerator | |
|---|---|
| XML_ACCOUNT_DIRECT | |
| XML_ACCOUNT_ENTITY_EXPANSION | |
| XML_ACCOUNT_NONE | |
Definition at line 427 of file xmlparse.c.
|
static |
Definition at line 3916 of file xmlparse.c.
|
static |
Definition at line 5994 of file xmlparse.c.
|
static |
Definition at line 7643 of file xmlparse.c.
|
static |
Definition at line 1001 of file xmlparse.c.
|
static |
Definition at line 4083 of file xmlparse.c.
|
static |
Definition at line 2704 of file xmlparse.c.
|
static |
Definition at line 7174 of file xmlparse.c.
|
static |
Definition at line 7093 of file xmlparse.c.
|
static |
Definition at line 7793 of file xmlparse.c.
|
static |
Definition at line 6520 of file xmlparse.c.
|
static |
Definition at line 1525 of file xmlparse.c.
|
static |
Definition at line 4106 of file xmlparse.c.
|
static |
Definition at line 2833 of file xmlparse.c.
|
static |
Definition at line 4695 of file xmlparse.c.
|
static |
Definition at line 6957 of file xmlparse.c.
|
static |
Definition at line 6854 of file xmlparse.c.
|
static |
Definition at line 6927 of file xmlparse.c.
|
static |
Definition at line 6886 of file xmlparse.c.
Definition at line 942 of file xmlparse.c.
|
static |
Definition at line 5760 of file xmlparse.c.
|
static |
Definition at line 5970 of file xmlparse.c.
|
static |
Definition at line 2819 of file xmlparse.c.
|
static |
Definition at line 2717 of file xmlparse.c.
|
static |
Definition at line 2727 of file xmlparse.c.
|
static |
Definition at line 2772 of file xmlparse.c.
|
static |
Definition at line 3305 of file xmlparse.c.
Definition at line 917 of file xmlparse.c.
|
static |
Definition at line 951 of file xmlparse.c.
|
static |
Definition at line 994 of file xmlparse.c.
|
static |
Definition at line 6610 of file xmlparse.c.
|
static |
Definition at line 6673 of file xmlparse.c.
|
static |
Definition at line 8551 of file xmlparse.c.
|
static |
Definition at line 7770 of file xmlparse.c.
|
static |
Definition at line 4451 of file xmlparse.c.
|
static |
Definition at line 7180 of file xmlparse.c.
|
static |
Definition at line 7280 of file xmlparse.c.
|
static |
Definition at line 7290 of file xmlparse.c.
|
static |
Definition at line 7298 of file xmlparse.c.
|
static |
Definition at line 7307 of file xmlparse.c.
|
static |
Definition at line 7313 of file xmlparse.c.
|
static |
Definition at line 4329 of file xmlparse.c.
|
static |
Definition at line 5894 of file xmlparse.c.
Definition at line 3802 of file xmlparse.c.
Definition at line 7166 of file xmlparse.c.
|
static |
Definition at line 7191 of file xmlparse.c.
|
static |
Definition at line 1276 of file xmlparse.c.
|
static |
Definition at line 7573 of file xmlparse.c.
Definition at line 6405 of file xmlparse.c.
Definition at line 6833 of file xmlparse.c.
|
static |
Definition at line 1065 of file xmlparse.c.
|
static |
Definition at line 1188 of file xmlparse.c.
|
static |
Definition at line 7368 of file xmlparse.c.
Definition at line 7420 of file xmlparse.c.
Definition at line 7441 of file xmlparse.c.
|
static |
Definition at line 7333 of file xmlparse.c.
Definition at line 7384 of file xmlparse.c.
Definition at line 7395 of file xmlparse.c.
|
static |
Definition at line 7352 of file xmlparse.c.
|
static |
Definition at line 7469 of file xmlparse.c.
|
static |
Definition at line 7323 of file xmlparse.c.
|
static |
Definition at line 7430 of file xmlparse.c.
|
static |
Definition at line 5831 of file xmlparse.c.
| enum XML_Error Processor | ( | XML_Parser | parser, |
| const char * | start, | ||
| const char * | end, | ||
| const char ** | endPtr | ||
| ) |
|
static |
Definition at line 4359 of file xmlparse.c.
|
static |
Definition at line 4485 of file xmlparse.c.
|
static |
Definition at line 4685 of file xmlparse.c.
|
static |
Definition at line 6453 of file xmlparse.c.
|
static |
Definition at line 6473 of file xmlparse.c.
|
static |
Definition at line 6426 of file xmlparse.c.
|
static |
Definition at line 6769 of file xmlparse.c.
|
static |
Definition at line 6581 of file xmlparse.c.
|
static |
Definition at line 1044 of file xmlparse.c.
|
static |
Definition at line 5979 of file xmlparse.c.
|
static |
Definition at line 3333 of file xmlparse.c.
|
static |
Definition at line 2655 of file xmlparse.c.
|
static |
Definition at line 6381 of file xmlparse.c.
| void XML_DefaultCurrent | ( | XML_Parser | parser | ) |
Definition at line 2414 of file xmlparse.c.
Definition at line 2429 of file xmlparse.c.
Definition at line 2537 of file xmlparse.c.
| XML_Expat_Version XML_ExpatVersionInfo | ( | void | ) |
Definition at line 2556 of file xmlparse.c.
| XML_Parser XML_ExternalEntityParserCreate | ( | XML_Parser | oldParser, |
| const XML_Char * | context, | ||
| const XML_Char * | encodingName | ||
| ) |
Definition at line 1354 of file xmlparse.c.
| void XML_FreeContentModel | ( | XML_Parser | parser, |
| XML_Content * | model | ||
| ) |
Definition at line 2388 of file xmlparse.c.
| const XML_Char * XML_GetBase | ( | XML_Parser | parser | ) |
Definition at line 1661 of file xmlparse.c.
| void * XML_GetBuffer | ( | XML_Parser | parser, |
| int | len | ||
| ) |
Definition at line 2108 of file xmlparse.c.
| int XML_GetCurrentByteCount | ( | XML_Parser | parser | ) |
Definition at line 2335 of file xmlparse.c.
| XML_Index XML_GetCurrentByteIndex | ( | XML_Parser | parser | ) |
Definition at line 2325 of file xmlparse.c.
| XML_Size XML_GetCurrentColumnNumber | ( | XML_Parser | parser | ) |
Definition at line 2376 of file xmlparse.c.
| XML_Size XML_GetCurrentLineNumber | ( | XML_Parser | parser | ) |
Definition at line 2364 of file xmlparse.c.
| enum XML_Error XML_GetErrorCode | ( | XML_Parser | parser | ) |
Definition at line 2318 of file xmlparse.c.
| const XML_Feature * XML_GetFeatureList | ( | void | ) |
Definition at line 2567 of file xmlparse.c.
| int XML_GetIdAttributeIndex | ( | XML_Parser | parser | ) |
Definition at line 1675 of file xmlparse.c.
| const char * XML_GetInputContext | ( | XML_Parser | parser, |
| int * | offset, | ||
| int * | size | ||
| ) |
Definition at line 2344 of file xmlparse.c.
| void XML_GetParsingStatus | ( | XML_Parser | parser, |
| XML_ParsingStatus * | status | ||
| ) |
Definition at line 2310 of file xmlparse.c.
| int XML_GetSpecifiedAttributeCount | ( | XML_Parser | parser | ) |
Definition at line 1668 of file xmlparse.c.
| void XML_MemFree | ( | XML_Parser | parser, |
| void * | ptr | ||
| ) |
Definition at line 2408 of file xmlparse.c.
| void * XML_MemMalloc | ( | XML_Parser | parser, |
| size_t | size | ||
| ) |
Definition at line 2394 of file xmlparse.c.
| void * XML_MemRealloc | ( | XML_Parser | parser, |
| void * | ptr, | ||
| size_t | size | ||
| ) |
Definition at line 2401 of file xmlparse.c.
| enum XML_Status XML_Parse | ( | XML_Parser | parser, |
| const char * | s, | ||
| int | len, | ||
| int | isFinal | ||
| ) |
Definition at line 1926 of file xmlparse.c.
| enum XML_Status XML_ParseBuffer | ( | XML_Parser | parser, |
| int | len, | ||
| int | isFinal | ||
| ) |
Definition at line 2037 of file xmlparse.c.
| XML_Parser XML_ParserCreate | ( | const XML_Char * | encodingName | ) |
Definition at line 766 of file xmlparse.c.
| XML_Parser XML_ParserCreate_MM | ( | const XML_Char * | encodingName, |
| const XML_Memory_Handling_Suite * | memsuite, | ||
| const XML_Char * | nameSep | ||
| ) |
Definition at line 1058 of file xmlparse.c.
| XML_Parser XML_ParserCreateNS | ( | const XML_Char * | encodingName, |
| XML_Char | nsSep | ||
| ) |
Definition at line 771 of file xmlparse.c.
| void XML_ParserFree | ( | XML_Parser | parser | ) |
Definition at line 1537 of file xmlparse.c.
| XML_Bool XML_ParserReset | ( | XML_Parser | parser, |
| const XML_Char * | encodingName | ||
| ) |
Definition at line 1286 of file xmlparse.c.
| enum XML_Status XML_ResumeParser | ( | XML_Parser | parser | ) |
Definition at line 2270 of file xmlparse.c.
| void XML_SetAttlistDeclHandler | ( | XML_Parser | parser, |
| XML_AttlistDeclHandler | attdecl | ||
| ) |
Definition at line 1877 of file xmlparse.c.
| enum XML_Status XML_SetBase | ( | XML_Parser | parser, |
| const XML_Char * | p | ||
| ) |
Definition at line 1647 of file xmlparse.c.
| void XML_SetCdataSectionHandler | ( | XML_Parser | parser, |
| XML_StartCdataSectionHandler | start, | ||
| XML_EndCdataSectionHandler | end | ||
| ) |
Definition at line 1732 of file xmlparse.c.
| void XML_SetCharacterDataHandler | ( | XML_Parser | parser, |
| XML_CharacterDataHandler | handler | ||
| ) |
Definition at line 1712 of file xmlparse.c.
| void XML_SetCommentHandler | ( | XML_Parser | parser, |
| XML_CommentHandler | handler | ||
| ) |
Definition at line 1726 of file xmlparse.c.
| void XML_SetDefaultHandler | ( | XML_Parser | parser, |
| XML_DefaultHandler | handler | ||
| ) |
Definition at line 1756 of file xmlparse.c.
| void XML_SetDefaultHandlerExpand | ( | XML_Parser | parser, |
| XML_DefaultHandler | handler | ||
| ) |
Definition at line 1764 of file xmlparse.c.
| void XML_SetDoctypeDeclHandler | ( | XML_Parser | parser, |
| XML_StartDoctypeDeclHandler | start, | ||
| XML_EndDoctypeDeclHandler | end | ||
| ) |
Definition at line 1772 of file xmlparse.c.
| void XML_SetElementDeclHandler | ( | XML_Parser | parser, |
| XML_ElementDeclHandler | eldecl | ||
| ) |
Definition at line 1871 of file xmlparse.c.
| void XML_SetElementHandler | ( | XML_Parser | parser, |
| XML_StartElementHandler | start, | ||
| XML_EndElementHandler | end | ||
| ) |
Definition at line 1691 of file xmlparse.c.
| enum XML_Status XML_SetEncoding | ( | XML_Parser | parser, |
| const XML_Char * | encodingName | ||
| ) |
Definition at line 1327 of file xmlparse.c.
| void XML_SetEndCdataSectionHandler | ( | XML_Parser | parser, |
| XML_EndCdataSectionHandler | end | ||
| ) |
Definition at line 1749 of file xmlparse.c.
| void XML_SetEndDoctypeDeclHandler | ( | XML_Parser | parser, |
| XML_EndDoctypeDeclHandler | end | ||
| ) |
Definition at line 1788 of file xmlparse.c.
| void XML_SetEndElementHandler | ( | XML_Parser | parser, |
| XML_EndElementHandler | end | ||
| ) |
Definition at line 1706 of file xmlparse.c.
| void XML_SetEndNamespaceDeclHandler | ( | XML_Parser | parser, |
| XML_EndNamespaceDeclHandler | end | ||
| ) |
Definition at line 1824 of file xmlparse.c.
| void XML_SetEntityDeclHandler | ( | XML_Parser | parser, |
| XML_EntityDeclHandler | handler | ||
| ) |
Definition at line 1883 of file xmlparse.c.
| void XML_SetExternalEntityRefHandler | ( | XML_Parser | parser, |
| XML_ExternalEntityRefHandler | handler | ||
| ) |
Definition at line 1838 of file xmlparse.c.
| void XML_SetExternalEntityRefHandlerArg | ( | XML_Parser | parser, |
| void * | arg | ||
| ) |
Definition at line 1845 of file xmlparse.c.
| int XML_SetHashSalt | ( | XML_Parser | parser, |
| unsigned long | hash_salt | ||
| ) |
Definition at line 1912 of file xmlparse.c.
| void XML_SetNamespaceDeclHandler | ( | XML_Parser | parser, |
| XML_StartNamespaceDeclHandler | start, | ||
| XML_EndNamespaceDeclHandler | end | ||
| ) |
Definition at line 1807 of file xmlparse.c.
| void XML_SetNotationDeclHandler | ( | XML_Parser | parser, |
| XML_NotationDeclHandler | handler | ||
| ) |
Definition at line 1801 of file xmlparse.c.
| void XML_SetNotStandaloneHandler | ( | XML_Parser | parser, |
| XML_NotStandaloneHandler | handler | ||
| ) |
Definition at line 1831 of file xmlparse.c.
| int XML_SetParamEntityParsing | ( | XML_Parser | parser, |
| enum XML_ParamEntityParsing | peParsing | ||
| ) |
Definition at line 1895 of file xmlparse.c.
| void XML_SetProcessingInstructionHandler | ( | XML_Parser | parser, |
| XML_ProcessingInstructionHandler | handler | ||
| ) |
Definition at line 1719 of file xmlparse.c.
| XML_Bool XML_SetReparseDeferralEnabled | ( | XML_Parser | parser, |
| XML_Bool | enabled | ||
| ) |
Definition at line 2641 of file xmlparse.c.
| void XML_SetReturnNSTriplet | ( | XML_Parser | parser, |
| int | do_nst | ||
| ) |
Definition at line 1626 of file xmlparse.c.
| void XML_SetSkippedEntityHandler | ( | XML_Parser | parser, |
| XML_SkippedEntityHandler | handler | ||
| ) |
Definition at line 1855 of file xmlparse.c.
| void XML_SetStartCdataSectionHandler | ( | XML_Parser | parser, |
| XML_StartCdataSectionHandler | start | ||
| ) |
Definition at line 1742 of file xmlparse.c.
| void XML_SetStartDoctypeDeclHandler | ( | XML_Parser | parser, |
| XML_StartDoctypeDeclHandler | start | ||
| ) |
Definition at line 1781 of file xmlparse.c.
| void XML_SetStartElementHandler | ( | XML_Parser | parser, |
| XML_StartElementHandler | start | ||
| ) |
Definition at line 1700 of file xmlparse.c.
| void XML_SetStartNamespaceDeclHandler | ( | XML_Parser | parser, |
| XML_StartNamespaceDeclHandler | start | ||
| ) |
Definition at line 1817 of file xmlparse.c.
| void XML_SetUnknownEncodingHandler | ( | XML_Parser | parser, |
| XML_UnknownEncodingHandler | handler, | ||
| void * | data | ||
| ) |
Definition at line 1862 of file xmlparse.c.
| void XML_SetUnparsedEntityDeclHandler | ( | XML_Parser | parser, |
| XML_UnparsedEntityDeclHandler | handler | ||
| ) |
Definition at line 1794 of file xmlparse.c.
| void XML_SetUserData | ( | XML_Parser | parser, |
| void * | p | ||
| ) |
Definition at line 1637 of file xmlparse.c.
| void XML_SetXmlDeclHandler | ( | XML_Parser | parser, |
| XML_XmlDeclHandler | handler | ||
| ) |
Definition at line 1889 of file xmlparse.c.
| enum XML_Status XML_StopParser | ( | XML_Parser | parser, |
| XML_Bool | resumable | ||
| ) |
Definition at line 2234 of file xmlparse.c.
| enum XML_Error XML_UseForeignDTD | ( | XML_Parser | parser, |
| XML_Bool | useDTD | ||
| ) |
Definition at line 1609 of file xmlparse.c.
| void XML_UseParserAsHandlerArg | ( | XML_Parser | parser | ) |
Definition at line 1603 of file xmlparse.c.
|
static |
Definition at line 458 of file xmlparse.c.
|
static |
Definition at line 457 of file xmlparse.c.
|
static |
Definition at line 466 of file xmlparse.c.
|
static |
Definition at line 467 of file xmlparse.c.
|
static |
Definition at line 471 of file xmlparse.c.
|
static |
Definition at line 468 of file xmlparse.c.
|
static |
Definition at line 469 of file xmlparse.c.
|
static |
Definition at line 470 of file xmlparse.c.
Definition at line 637 of file xmlparse.c.
Definition at line 777 of file xmlparse.c.
|
static |
Definition at line 472 of file xmlparse.c.
|
static |
Definition at line 456 of file xmlparse.c.
|
static |
Definition at line 455 of file xmlparse.c.