|
ReactOS 0.4.16-dev-2132-g3885311
|


Go to the source code of this file.
Typedefs | |
| typedef struct _xmlDict | xmlDict |
| typedef xmlDict * | xmlDictPtr |
Functions | |
| XML_DEPRECATED XMLPUBFUN int | xmlInitializeDict (void) |
| XMLPUBFUN xmlDictPtr | xmlDictCreate (void) |
| XMLPUBFUN size_t | xmlDictSetLimit (xmlDictPtr dict, size_t limit) |
| XMLPUBFUN size_t | xmlDictGetUsage (xmlDictPtr dict) |
| XMLPUBFUN xmlDictPtr | xmlDictCreateSub (xmlDictPtr sub) |
| XMLPUBFUN int | xmlDictReference (xmlDictPtr dict) |
| XMLPUBFUN void | xmlDictFree (xmlDictPtr dict) |
| XMLPUBFUN const xmlChar * | xmlDictLookup (xmlDictPtr dict, const xmlChar *name, int len) |
| XMLPUBFUN const xmlChar * | xmlDictExists (xmlDictPtr dict, const xmlChar *name, int len) |
| XMLPUBFUN const xmlChar * | xmlDictQLookup (xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name) |
| XMLPUBFUN int | xmlDictOwns (xmlDictPtr dict, const xmlChar *str) |
| XMLPUBFUN int | xmlDictSize (xmlDictPtr dict) |
| XML_DEPRECATED XMLPUBFUN void | xmlDictCleanup (void) |
| typedef xmlDict* xmlDictPtr |
| XML_DEPRECATED XMLPUBFUN void xmlDictCleanup | ( | void | ) |
| XMLPUBFUN xmlDictPtr xmlDictCreate | ( | void | ) |
xmlDictCreate:
Create a new dictionary
Returns the newly created dictionary, or NULL if an error occurred.
Definition at line 262 of file dict.c.
Referenced by xmlDictCreateSub(), xmlInitSAXParserCtxt(), and xsltNewStylesheetInternal().
| XMLPUBFUN xmlDictPtr xmlDictCreateSub | ( | xmlDictPtr | sub | ) |
xmlDictCreateSub: @sub: an existing dictionary
Create a new dictionary, inheriting strings from the read-only dictionary @sub. On lookup, strings are first searched in the new dictionary, then in @sub, and if not found are created in the new dictionary.
Returns the newly created dictionary, or NULL if an error occurred.
Definition at line 297 of file dict.c.
Referenced by xsltNewTransformContext().
Definition at line 872 of file dict.c.
| XMLPUBFUN void xmlDictFree | ( | xmlDictPtr | dict | ) |
xmlDictFree: @dict: the dictionary
Free the hash @dict and its contents. The userdata is deallocated with @f if provided.
Definition at line 333 of file dict.c.
Referenced by xmlDictFree(), xmlFreeParserCtxt(), xmlHashFree(), xmlParseBalancedChunkMemoryInternal(), xmlParseExternalEntityPrivate(), xmlParseInNodeContext(), xslt_doc_default_loader(), xsltDocDefaultLoaderFunc(), xsltFreeStylesheet(), xsltFreeTransformContext(), and xsltParseStylesheetUser().
| XMLPUBFUN size_t xmlDictGetUsage | ( | xmlDictPtr | dict | ) |
xmlDictGetUsage: @dict: the dictionary
Get how much memory is used by a dictionary for strings Added in 2.9.0
Returns the amount of strings allocated
Definition at line 824 of file dict.c.
Referenced by xmlAddAttributeDecl(), xmlAddID(), xmlCopyDocElementContent(), xmlDetectSAX2(), xmlHashUpdateInternal(), xmlNewDocElementContent(), xmlParseBalancedChunkMemoryInternal(), xmlParseExternalEntityPrivate(), xmlParseName(), xmlParseNameComplex(), xmlParseReference(), xmlSAX2TextNode(), xsltAddTemplate(), xsltApplyAttributeSet(), xsltApplyStylesheetInternal(), xsltAttribute(), xsltAttributeComp(), xsltAttrListTemplateProcess(), xsltAttrTemplateProcess(), xsltElement(), xsltElementComp(), xsltEvalStaticAttrValueTemplate(), xsltGetCNsProp(), xsltGetQNameProperty(), xsltGetQNameURI2(), xsltNumberComp(), xsltParseStylesheetAttributeSet(), xsltParseStylesheetTemplate(), xsltParseTemplateContent(), xsltPreprocessStylesheet(), xsltProcessUserParamInternal(), xsltRegisterGlobalVariable(), xsltShallowCopyAttr(), xsltSortComp(), xsltSplitQName(), xsltStackLookup(), and xsltXPathVariableLookup().
| XMLPUBFUN int xmlDictOwns | ( | xmlDictPtr | dict, |
| const xmlChar * | str | ||
| ) |
xmlDictOwns: @dict: the dictionary @str: the string
check if a string is owned by the dictionary
Returns 1 if true, 0 if false and -1 in case of error -1 in case of error
Definition at line 376 of file dict.c.
Referenced by xmlDictOwns(), xmlFreeAttribute(), xmlFreeDocElementContent(), xmlHashUpdateInternal(), xmlParseEnumerationType(), xmlParseNotationType(), xmlSAX2ExternalSubset(), xmlSAX2Text(), xsltAttrListTemplateProcess(), xsltAttrTemplateProcess(), xsltCopyText(), xsltParseTemplateContent(), and xsltPreprocessStylesheet().
| XMLPUBFUN const xmlChar * xmlDictQLookup | ( | xmlDictPtr | dict, |
| const xmlChar * | prefix, | ||
| const xmlChar * | name | ||
| ) |
Definition at line 894 of file dict.c.
Referenced by xmlSAX2StartElementNs(), xsltApplyStylesheetInternal(), and xsltDocumentElem().
| XMLPUBFUN int xmlDictReference | ( | xmlDictPtr | dict | ) |
xmlDictReference: @dict: the dictionary
Increment the reference counter of a dictionary
Returns 0 in case of success and -1 in case of error
Definition at line 317 of file dict.c.
Referenced by xmlDictCreateSub(), xmlHashCreateDict(), xmlParseBalancedChunkMemoryInternal(), xmlParseExternalEntityPrivate(), xmlSAX2StartDocument(), xslt_doc_default_loader(), xsltApplyStylesheetInternal(), xsltCreateRVT(), xsltDocDefaultLoaderFunc(), xsltDocumentElem(), xsltLoadStylesheetPI(), and xsltParseStylesheetUser().
| XMLPUBFUN size_t xmlDictSetLimit | ( | xmlDictPtr | dict, |
| size_t | limit | ||
| ) |
xmlDictSetLimit: @dict: the dictionary @limit: the limit in bytes
Set a size limit for the dictionary Added in 2.9.0
Returns the previous limit of the dictionary or 0
Definition at line 421 of file dict.c.
Referenced by xmlCtxtUseOptionsInternal(), and xmlInitSAXParserCtxt().
| XMLPUBFUN int xmlDictSize | ( | xmlDictPtr | dict | ) |
xmlDictSize: @dict: the dictionary
Query the number of elements installed in the hash @dict.
Returns the number of elements in the dictionary or -1 in case of error
| XML_DEPRECATED XMLPUBFUN int xmlInitializeDict | ( | void | ) |
xmlInitializeDict:
DEPRECATED: Alias for xmlInitParser.
Returns 0.