ReactOS
0.4.15-dev-1638-gc0caa5c
|
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 394 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 411 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 536 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 997 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 181 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 215 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 327 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 466 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 481 of file hash.c.
Referenced by xmlAddDefAttrs(), xmlAddElementDecl(), xmlAddSpecialAttr(), xmlGetDtdElementDesc(), xmlGetDtdElementDesc2(), xmlGetDtdQElementDesc(), xmlParseStartTag2(), xsltAddTemplate(), xsltApplyAttributeSet(), xsltApplyTemplates(), 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 774 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 497 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 515 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 818 of file hash.c.
Referenced by xmlHashQLookup(), and xmlHashQLookup2().
XMLPUBFUN int XMLCALL xmlHashRemoveEntry | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 1057 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 1076 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 1096 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 864 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 931 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 880 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 955 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 1039 of file hash.c.
Referenced by xmlCleanSpecialAttr().
XMLPUBFUN int XMLCALL xmlHashUpdateEntry | ( | xmlHashTablePtr | table, |
const xmlChar * | name, | ||
void * | userdata, | ||
xmlHashDeallocator | f | ||
) |
Definition at line 430 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 450 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 652 of file hash.c.
Referenced by xmlHashUpdateEntry(), xmlHashUpdateEntry2(), and xsltAddTemplate().