Low-complexity tree container. More...
Low-complexity tree container.
Insertion, removal, finding equal, largest which is smaller than and smallest which is larger than, all have O(log n) worst-case complexity.
Allocate an AVTreeNode.
Definition at line 34 of file tree.c.
Referenced by add_entry(), ff_nut_add_sp(), and load_glyph().
Find an element.
Insert or remove an element.
If *next is NULL, then the supplied element will be removed if it exists. If *next is non-NULL, then the supplied element will be inserted, unless it already exists in the tree.
Definition at line 59 of file tree.c.
Referenced by add_entry(), av_tree_insert(), ff_nut_add_sp(), and load_glyph().
Definition at line 146 of file tree.c.
Referenced by av_tree_destroy(), cache_close(), ff_nut_free_sp(), and uninit().
Apply enu(opaque, &elem) to all the elements in the tree in a given range.
Definition at line 155 of file tree.c.
Referenced by av_tree_enumerate(), ff_nut_free_sp(), and uninit().