Home
last modified time | relevance | path

Searched refs:splay_tree (Results 1 – 3 of 3) sorted by relevance

/external/ImageMagick/MagickCore/
Dsplay-tree.c154 MagickExport MagickBooleanType AddValueToSplayTree(SplayTreeInfo *splay_tree, in AddValueToSplayTree() argument
163 LockSemaphoreInfo(splay_tree->semaphore); in AddValueToSplayTree()
164 SplaySplayTree(splay_tree,key); in AddValueToSplayTree()
166 if (splay_tree->root != (NodeInfo *) NULL) in AddValueToSplayTree()
168 if (splay_tree->compare != (int (*)(const void *,const void *)) NULL) in AddValueToSplayTree()
169 compare=splay_tree->compare(splay_tree->root->key,key); in AddValueToSplayTree()
171 compare=(splay_tree->root->key > key) ? 1 : in AddValueToSplayTree()
172 ((splay_tree->root->key < key) ? -1 : 0); in AddValueToSplayTree()
175 if ((splay_tree->relinquish_value != (void *(*)(void *)) NULL) && in AddValueToSplayTree()
176 (splay_tree->root->value != (void *) NULL)) in AddValueToSplayTree()
[all …]
Dtype.c896 *splay_tree; in IsTypeTreeInstantiated() local
898 splay_tree=AcquireTypeCache(MagickTypeFilename,exception); in IsTypeTreeInstantiated()
900 (void) NTAcquireTypeCache(splay_tree,exception); in IsTypeTreeInstantiated()
903 (void) LoadFontConfigFonts(splay_tree,exception); in IsTypeTreeInstantiated()
905 type_cache=splay_tree; in IsTypeTreeInstantiated()
Dmodule.c882 *splay_tree; in IsModuleTreeInstantiated() local
884 splay_tree=NewSplayTree(CompareSplayTreeString, in IsModuleTreeInstantiated()
888 status=AddValueToSplayTree(splay_tree,module_info->tag,module_info); in IsModuleTreeInstantiated()
895 module_list=splay_tree; in IsModuleTreeInstantiated()