ReactOS 0.4.16-dev-329-g9223134
|
Go to the source code of this file.
Typedefs | |
typedef struct _xmlDict | xmlDict |
typedef xmlDict * | xmlDictPtr |
Functions | |
XML_DEPRECATED XMLPUBFUN int XMLCALL | xmlInitializeDict (void) |
XMLPUBFUN xmlDictPtr XMLCALL | xmlDictCreate (void) |
XMLPUBFUN size_t XMLCALL | xmlDictSetLimit (xmlDictPtr dict, size_t limit) |
XMLPUBFUN size_t XMLCALL | xmlDictGetUsage (xmlDictPtr dict) |
XMLPUBFUN xmlDictPtr XMLCALL | xmlDictCreateSub (xmlDictPtr sub) |
XMLPUBFUN int XMLCALL | xmlDictReference (xmlDictPtr dict) |
XMLPUBFUN void XMLCALL | xmlDictFree (xmlDictPtr dict) |
XMLPUBFUN const xmlChar *XMLCALL | xmlDictLookup (xmlDictPtr dict, const xmlChar *name, int len) |
XMLPUBFUN const xmlChar *XMLCALL | xmlDictExists (xmlDictPtr dict, const xmlChar *name, int len) |
XMLPUBFUN const xmlChar *XMLCALL | xmlDictQLookup (xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name) |
XMLPUBFUN int XMLCALL | xmlDictOwns (xmlDictPtr dict, const xmlChar *str) |
XMLPUBFUN int XMLCALL | xmlDictSize (xmlDictPtr dict) |
XML_DEPRECATED XMLPUBFUN void XMLCALL | xmlDictCleanup (void) |
typedef xmlDict* xmlDictPtr |
XML_DEPRECATED XMLPUBFUN void XMLCALL xmlDictCleanup | ( | void | ) |
xmlDictCleanup:
DEPRECATED: This function will be made private. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.
Free the dictionary mutex. Do not call unless sure the library is not in use anymore !
Definition at line 224 of file dict.c.
Referenced by xmlCleanupParser().
XMLPUBFUN xmlDictPtr XMLCALL xmlDictCreate | ( | void | ) |
xmlDictCreate:
Create a new dictionary
Returns the newly created dictionary, or NULL if an error occurred.
Definition at line 577 of file dict.c.
Referenced by xmlDictCreateSub(), xmlInitParserCtxt(), and xsltNewStylesheetInternal().
XMLPUBFUN xmlDictPtr XMLCALL 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 624 of file dict.c.
Referenced by xsltNewTransformContext().
Definition at line 1007 of file dict.c.
XMLPUBFUN void XMLCALL 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 802 of file dict.c.
Referenced by xmlDictFree(), xmlFreeParserCtxt(), xmlHashFree(), xmlParseBalancedChunkMemoryInternal(), xmlParseExternalEntityPrivate(), xmlParseInNodeContext(), xsltDocDefaultLoaderFunc(), xsltFreeStylesheet(), xsltFreeTransformContext(), and xsltParseStylesheetUser().
XMLPUBFUN size_t XMLCALL 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 867 of file dict.c.
Referenced by xmlAddAttributeDecl(), xmlAddDefAttrs(), xmlAddID(), xmlCopyDocElementContent(), xmlDetectSAX2(), xmlDictQLookup(), xmlHashAddEntry3(), xmlHashUpdateEntry3(), xmlNewDocElementContent(), xmlParseBalancedChunkMemoryInternal(), xmlParseExternalEntityPrivate(), xmlParseInNodeContext(), xmlParseName(), xmlParseNameComplex(), xmlParseNCName(), xmlParseNCNameComplex(), xmlParseQName(), xmlParseReference(), xmlParseStartTag2(), 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().
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 1220 of file dict.c.
Referenced by xmlDictOwns(), xmlFreeAttribute(), xmlFreeDocElementContent(), xmlHashAddEntry3(), xmlHashUpdateEntry3(), xmlParseEnumerationType(), xmlParseNotationType(), xmlSAX2ExternalSubset(), xmlSAX2Text(), xsltAttrListTemplateProcess(), xsltAttrTemplateProcess(), xsltCopyText(), xsltParseTemplateContent(), and xsltPreprocessStylesheet().
XMLPUBFUN const xmlChar *XMLCALL xmlDictQLookup | ( | xmlDictPtr | dict, |
const xmlChar * | prefix, | ||
const xmlChar * | name | ||
) |
Definition at line 1115 of file dict.c.
Referenced by xmlSAX2StartElementNs(), xsltApplyStylesheetInternal(), and xsltDocumentElem().
XMLPUBFUN int XMLCALL 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 647 of file dict.c.
Referenced by xmlDictCreateSub(), xmlHashCreateDict(), xmlParseBalancedChunkMemoryInternal(), xmlParseExternalEntityPrivate(), xmlSAX2StartDocument(), xsltApplyStylesheetInternal(), xsltCreateRVT(), xsltDocDefaultLoaderFunc(), xsltDocumentElem(), xsltLoadStylesheetPI(), and xsltParseStylesheetUser().
XMLPUBFUN size_t XMLCALL 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 1265 of file dict.c.
Referenced by xmlCtxtUseOptionsInternal(), and xmlInitParserCtxt().
XMLPUBFUN int XMLCALL 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 XMLCALL xmlInitializeDict | ( | void | ) |
xmlInitializeDict:
DEPRECATED: This function will be made private. Call xmlInitParser to initialize the library.
Do the dictionary mutex initialization.
Returns 0 if initialization was already done, and 1 if that call led to the initialization
Definition at line 157 of file dict.c.
Referenced by xmlInitParser().