ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Macros | |
#define | XML_CAST_FPTR(fptr) fptr |
Typedefs | |
typedef struct _xmlHashTable | xmlHashTable |
typedef xmlHashTable * | xmlHashTablePtr |
: the name associated | |
xmlHashScannerFull: @payload: the data in the hash @data: extra scanner data | |
typedef void(* | xmlHashDeallocator) (void *payload, const xmlChar *name) |
typedef void *(* | xmlHashCopier) (void *payload, const xmlChar *name) |
typedef void(* | xmlHashScanner) (void *payload, void *data, const xmlChar *name) |
#define XML_CAST_FPTR | ( | fptr | ) | fptr |
XML_CAST_FPTR: @fptr: pointer to a function
Macro to do a casting from an object pointer to a function pointer without encountering a warning from gcc
define XML_CAST_FPTR(fptr) (*(void **)(&fptr)) This macro violated ISO C aliasing rules (gcc4 on s390 broke) so it is disabled now
typedef struct _xmlHashTable xmlHashTable |
typedef xmlHashTable* xmlHashTablePtr |
XMLPUBFUN int XMLCALL xmlHashAddEntry | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
void * | userdata | ||
) |
Definition at line 389 of file hash.c.
Referenced by xmlAddID(), xmlAddNotationDecl(), xmlAddRef(), xsltGetExtData(), xsltInitCtxtExt(), xsltInitCtxtKey(), xsltNamespaceAlias(), xsltRegisterExtModuleFull(), and xsltStyleInitializeStylesheetModule().
XMLPUBFUN int XMLCALL xmlHashAddEntry2 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
void * | userdata | ||
) |
Definition at line 406 of file hash.c.
Referenced by xmlAddElementDecl(), xmlAddSpecialAttr(), xmlGetDtdElementDesc2(), xsltAddTemplate(), xsltDocumentElem(), xsltEvalGlobalVariables(), xsltParseStylesheetAttributeSet(), xsltParseStylesheetOutput(), xsltParseStylesheetPreserveSpace(), xsltParseStylesheetStripSpace(), xsltProcessUserParamInternal(), xsltRegisterExtElement(), xsltRegisterExtFunction(), and xsltResolveSASCallback().
XMLPUBFUN int XMLCALL xmlHashAddEntry3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
const xmlChar * | name3, | ||
void * | userdata | ||
) |
Definition at line 531 of file hash.c.
Referenced by xmlAddAttributeDecl(), xmlHashAddEntry(), xmlHashAddEntry2(), xmlHashCopy(), and xsltAddTemplate().
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCopy | ( | xmlHashTablePtr | table, |
xmlHashCopier | f | ||
) |
xmlHashCopy: @table: the hash table @f: the copier function for items in the hash
Scan the hash @table and applied @f to each value.
Returns the new table or NULL in case of error.
Definition at line 992 of file hash.c.
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCreate | ( | int | size | ) |
xmlHashCreate: @size: the size of the hash table
Create a new xmlHashTablePtr.
Returns the newly created object, or NULL if an error occurred.
Definition at line 176 of file hash.c.
Referenced by xmlHashCopy(), xmlHashCreateDict(), xsltAddTemplate(), xsltApplyStylesheetInternal(), xsltDocumentElem(), xsltGatherNamespaces(), xsltGetExtData(), xsltInitCtxtExt(), xsltNamespaceAlias(), xsltNewKeyTable(), xsltParseStylesheetAttributeSet(), xsltParseStylesheetOutput(), xsltParseStylesheetPreserveSpace(), xsltParseStylesheetStripSpace(), xsltProcessUserParamInternal(), xsltRegisterExtElement(), xsltRegisterExtFunction(), xsltRegisterExtModuleElement(), xsltRegisterExtModuleFull(), xsltRegisterExtModuleFunction(), xsltRegisterExtModuleTopLevel(), xsltResolveStylesheetAttributeSet(), and xsltStyleInitializeStylesheetModule().
XMLPUBFUN xmlHashTablePtr XMLCALL xmlHashCreateDict | ( | int | size, |
xmlDictPtr | dict | ||
) |
xmlHashCreateDict: @size: the size of the hash table @dict: a dictionary to use for the hash
Create a new xmlHashTablePtr which will use @dict as the internal dictionary
Returns the newly created object, or NULL if an error occurred.
Definition at line 210 of file hash.c.
Referenced by xmlAddAttributeDecl(), xmlAddDefAttrs(), xmlAddElementDecl(), xmlAddID(), xmlAddNotationDecl(), xmlAddRef(), xmlAddSpecialAttr(), and xmlGetDtdElementDesc2().
Referenced by xmlCtxtReset(), and xmlFreeParserCtxt().
XMLPUBFUN void XMLCALL xmlHashFree | ( | xmlHashTablePtr | table, |
xmlHashDeallocator | f | ||
) |
xmlHashFree: @table: the hash table @f: the deallocator function for items in the hash
Free the hash @table and its contents. The userdata is deallocated with @f if provided.
Definition at line 322 of file hash.c.
Referenced by xmlCleanSpecialAttr(), xmlCtxtReset(), xmlFreeAttributeTable(), xmlFreeElementTable(), xmlFreeIDTable(), xmlFreeNotationTable(), xmlFreeParserCtxt(), xmlFreeRefTable(), xsltCleanupGlobals(), xsltFreeAttributeSetsHashes(), xsltFreeCtxtExts(), xsltFreeGlobalVariables(), xsltFreeKeyTable(), xsltFreeNamespaceAliasHashes(), xsltFreeStylesheet(), xsltFreeTemplateHashes(), xsltResolveStylesheetAttributeSet(), xsltShutdownCtxtExts(), xsltShutdownExts(), xsltUnregisterAllExtModuleElement(), xsltUnregisterAllExtModuleFunction(), xsltUnregisterAllExtModules(), and xsltUnregisterAllExtModuleTopLevel().
Definition at line 461 of file hash.c.
Referenced by xmlAddRef(), xmlGetDtdNotationDesc(), xmlGetID(), xmlGetRefs(), xmlRemoveID(), xmlRemoveRef(), xsltApplySequenceConstructor(), xsltCheckInstructionElement(), xsltCheckParentElement(), xsltCopyNamespaceList(), xsltGatherNamespaces(), xsltGetExtData(), xsltGetExtInfo(), xsltGetKey(), xsltGetNamespace(), xsltInitCtxtExt(), xsltInitCtxtKey(), xsltRegisterExtModuleFull(), xsltRegisterExtPrefix(), xsltStyleGetExtData(), and xsltStyleInitializeStylesheetModule().
XMLPUBFUN void *XMLCALL xmlHashLookup2 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2 | ||
) |
Definition at line 476 of file hash.c.
Referenced by xmlAddDefAttrs(), xmlAddElementDecl(), xmlAddSpecialAttr(), xmlGetDtdElementDesc(), xmlGetDtdElementDesc2(), xmlGetDtdQElementDesc(), xmlParseStartTag2(), xsltAddTemplate(), xsltApplyAttributeSet(), xsltCopyText(), xsltCopyTextString(), xsltEvalGlobalVariables(), xsltExtElementLookup(), xsltExtModuleElementLookup(), xsltExtModuleElementPreComputeLookup(), xsltExtModuleFunctionLookup(), xsltExtModuleTopLevelLookup(), xsltFindElemSpaceHandling(), xsltFindTemplate(), xsltGlobalVariableLookup(), xsltParseStylesheetAttributeSet(), xsltPreComputeExtModuleElement(), xsltProcessUserParamInternal(), xsltResolveAttrSet(), xsltResolveUseAttrSets(), and xsltXPathFunctionLookup().
XMLPUBFUN void *XMLCALL xmlHashLookup3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
const xmlChar * | name3 | ||
) |
Definition at line 769 of file hash.c.
Referenced by xmlAddAttributeDecl(), xmlGetDtdAttrDesc(), xmlGetDtdQAttrDesc(), xmlHashLookup(), xmlHashLookup2(), xsltAddTemplate(), and xsltGetTemplate().
XMLPUBFUN void *XMLCALL xmlHashQLookup | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | prefix | ||
) |
Definition at line 492 of file hash.c.
XMLPUBFUN void *XMLCALL xmlHashQLookup2 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | prefix, | ||
const xmlChar * | name2, | ||
const xmlChar * | prefix2 | ||
) |
Definition at line 510 of file hash.c.
Referenced by xmlParseAttribute2().
XMLPUBFUN void *XMLCALL xmlHashQLookup3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | prefix, | ||
const xmlChar * | name2, | ||
const xmlChar * | prefix2, | ||
const xmlChar * | name3, | ||
const xmlChar * | prefix3 | ||
) |
Definition at line 813 of file hash.c.
Referenced by xmlHashQLookup(), and xmlHashQLookup2().
XMLPUBFUN int XMLCALL xmlHashRemoveEntry | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 1052 of file hash.c.
Referenced by xmlRemoveID(), and xsltUnregisterExtModule().
XMLPUBFUN int XMLCALL xmlHashRemoveEntry2 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 1071 of file hash.c.
Referenced by xmlAddElementDecl(), xmlCleanSpecialAttrCallback(), xsltResolveAttrSet(), xsltUnregisterExtModuleElement(), xsltUnregisterExtModuleFunction(), and xsltUnregisterExtModuleTopLevel().
XMLPUBFUN int XMLCALL xmlHashRemoveEntry3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
const xmlChar * | name3, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 1091 of file hash.c.
Referenced by xmlHashRemoveEntry(), and xmlHashRemoveEntry2().
XMLPUBFUN void XMLCALL xmlHashScan | ( | xmlHashTablePtr | table, |
xmlHashScanner | f, | ||
void * | data | ||
) |
xmlHashScan: @table: the hash table @f: the scanner function for items in the hash @data: extra data passed to f
Scan the hash @table and applied @f to each value.
Definition at line 859 of file hash.c.
Referenced by xsltCleanupGlobals(), xsltEvalGlobalVariables(), xsltFixImportedCompSteps(), xsltInitCtxtExts(), xsltShutdownCtxtExts(), and xsltShutdownExts().
XMLPUBFUN void XMLCALL xmlHashScan3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
const xmlChar * | name3, | ||
xmlHashScanner | f, | ||
void * | data | ||
) |
Definition at line 926 of file hash.c.
XMLPUBFUN void XMLCALL xmlHashScanFull | ( | xmlHashTablePtr | table, |
xmlHashScannerFull | f, | ||
void * | data | ||
) |
xmlHashScanFull: @table: the hash table @f: the scanner function for items in the hash @data: extra data passed to f
Scan the hash @table and applied @f to each value.
Definition at line 875 of file hash.c.
Referenced by xmlCleanSpecialAttr(), xmlHashScan(), xsltDebugDumpExtensions(), and xsltResolveStylesheetAttributeSet().
XMLPUBFUN void XMLCALL xmlHashScanFull3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
const xmlChar * | name3, | ||
xmlHashScannerFull | f, | ||
void * | data | ||
) |
Definition at line 950 of file hash.c.
Referenced by xmlHashScan3().
XMLPUBFUN int XMLCALL xmlHashSize | ( | xmlHashTablePtr | table | ) |
xmlHashSize: @table: the hash table
Query the number of elements installed in the hash @table.
Returns the number of elements in the hash table or -1 in case of error
Definition at line 1034 of file hash.c.
Referenced by xmlCleanSpecialAttr().
XMLPUBFUN int XMLCALL xmlHashUpdateEntry | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
void * | userdata, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 425 of file hash.c.
Referenced by xmlRemoveRef(), and xsltGatherNamespaces().
XMLPUBFUN int XMLCALL xmlHashUpdateEntry2 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
void * | userdata, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 445 of file hash.c.
Referenced by xmlAddDefAttrs(), xsltRegisterExtModuleElement(), xsltRegisterExtModuleFunction(), and xsltRegisterExtModuleTopLevel().
XMLPUBFUN int XMLCALL xmlHashUpdateEntry3 | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
const xmlChar * | name2, | ||
const xmlChar * | name3, | ||
void * | userdata, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 647 of file hash.c.
Referenced by xmlHashUpdateEntry(), xmlHashUpdateEntry2(), and xsltAddTemplate().