Home
last modified time | relevance | path

Searched refs:rootp (Results 1 – 5 of 5) sorted by relevance

/external/libmicrohttpd/src/microhttpd/
Dtsearch.c29 node_t **rootp = (node_t **)vrootp; local
31 if (rootp == NULL)
34 while (*rootp != NULL) { /* Knuth's T1: */
37 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */
38 return *rootp; /* we found it! */
40 rootp = (r < 0) ?
41 &(*rootp)->llink : /* T3: follow left branch */
42 &(*rootp)->rlink; /* T4: follow right branch */
47 *rootp = q; /* link new node to old */
62 node_t **rootp = (node_t **)vrootp; local
[all …]
/external/valgrind/coregrind/
Dm_wordfm.c161 Bool avl_insert_wrk ( AvlNode** rootp, in avl_insert_wrk() argument
175 if (!(*rootp)) { in avl_insert_wrk()
176 (*rootp) = a; in avl_insert_wrk()
180 cmpres = kCmp ? /*boxed*/ kCmp( (*rootp)->key, a->key ) in avl_insert_wrk()
181 : /*unboxed*/ cmp_unsigned_Words( (UWord)(*rootp)->key, in avl_insert_wrk()
186 if ((*rootp)->child[0]) { in avl_insert_wrk()
187 AvlNode* left_subtree = (*rootp)->child[0]; in avl_insert_wrk()
189 switch ((*rootp)->balance--) { in avl_insert_wrk()
195 if ((*rootp)->child[0]->balance < 0) { in avl_insert_wrk()
196 avl_swr( rootp ); in avl_insert_wrk()
[all …]
/external/valgrind/cachegrind/
Dcg_merge.c1065 Bool avl_insert_wrk ( AvlNode** rootp, in avl_insert_wrk() argument
1079 if (!(*rootp)) { in avl_insert_wrk()
1080 (*rootp) = a; in avl_insert_wrk()
1084 cmpres = kCmp( (*rootp)->key, a->key ); in avl_insert_wrk()
1088 if ((*rootp)->left) { in avl_insert_wrk()
1089 AvlNode* left_subtree = (*rootp)->left; in avl_insert_wrk()
1091 switch ((*rootp)->balance--) { in avl_insert_wrk()
1097 if ((*rootp)->left->balance < 0) { in avl_insert_wrk()
1098 avl_swr( rootp ); in avl_insert_wrk()
1099 (*rootp)->balance = 0; in avl_insert_wrk()
[all …]
/external/libpcap/
Doptimize.c1686 bpf_optimize(struct block **rootp) in bpf_optimize() argument
1690 root = *rootp; in bpf_optimize()
1702 opt_root(rootp); in bpf_optimize()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc4684 INTERCEPTOR(void *, tsearch, void *key, void **rootp,
4687 COMMON_INTERCEPTOR_ENTER(ctx, tsearch, key, rootp, compar);
4691 void *res = REAL(tsearch)(key, rootp, compar);