Home
last modified time | relevance | path

Searched refs:posix_tnode (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/include/
H A Dsearch.h41 } posix_tnode; typedef
48 typedef void posix_tnode; typedef
67 void *tdelete(const void * __restrict, posix_tnode ** __restrict,
69 posix_tnode *
70 tfind(const void *, posix_tnode * const *,
72 posix_tnode *
73 tsearch(const void *, posix_tnode **,
75 void twalk(const posix_tnode *, void (*)(const posix_tnode *, VISIT, int));
/freebsd-12.1/lib/libc/stdlib/
H A Dtwalk.c24 typedef void (*cmp_fn_t)(const posix_tnode *, VISIT, int);
28 trecurse(const posix_tnode *root, cmp_fn_t action, int level) in trecurse()
46 twalk(const posix_tnode *vroot, cmp_fn_t action) in twalk()
H A Dtsearch.c35 posix_tnode *
36 tsearch(const void *key, posix_tnode **rootp, in tsearch()
40 posix_tnode **leaf, *result, *n, *x, *y, *z; in tsearch()
166 posix_tnode *z = y->llink; in tsearch()
H A Dtfind.c30 posix_tnode *
31 tfind(const void *vkey, posix_tnode * const *rootp, in tfind()
H A Dtdelete.c70 tdelete(const void *restrict key, posix_tnode **restrict rootp, in tdelete()
74 posix_tnode **leaf, *old, **n, *x, *y, *z, *result; in tdelete()
87 result = (posix_tnode *)1; in tdelete()
/freebsd-12.1/lib/libc/tests/stdlib/
H A Dtsearch_test.c41 tnode_assert(const posix_tnode *n) in tnode_assert()
65 treewalk(const posix_tnode *node, VISIT v, int level) in treewalk()
94 posix_tnode *root = NULL; in ATF_TC_BODY()