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.c894 *splay_tree; in IsTypeTreeInstantiated() local
896 splay_tree=AcquireTypeCache(MagickTypeFilename,exception); in IsTypeTreeInstantiated()
898 (void) NTAcquireTypeCache(splay_tree,exception); in IsTypeTreeInstantiated()
901 (void) LoadFontConfigFonts(splay_tree,exception); in IsTypeTreeInstantiated()
903 type_cache=splay_tree; in IsTypeTreeInstantiated()
Dmodule.c884 *splay_tree; in IsModuleTreeInstantiated() local
886 splay_tree=NewSplayTree(CompareSplayTreeString, in IsModuleTreeInstantiated()
890 status=AddValueToSplayTree(splay_tree,module_info->tag,module_info); in IsModuleTreeInstantiated()
897 module_list=splay_tree; in IsModuleTreeInstantiated()