Searched refs:node_t (Results 1 – 3 of 3) sorted by relevance
17 typedef struct node_t { struct19 struct node_t *left, *right; argument31 if (rootp == (struct node_t **)0) in tsearch()33 while (*rootp != (struct node_t *)0) { /* Knuth's T1: */ in tsearch()43 if (q != (struct node_t *)0) { /* make new node */ in tsearch()46 q->left = q->right = (struct node_t *)0; in tsearch()63 if (rootp == (struct node_t **)0 || *rootp == (struct node_t *)0) in tdelete()64 return ((struct node_t *)0); in tdelete()70 if (*rootp == (struct node_t *)0) in tdelete()74 if ((q = (*rootp)->left) == (struct node_t *)0) /* Left (struct node_t *)0? */ in tdelete()[all …]
15 typedef struct node_t struct18 struct node_t *llink, *rlink; argument29 if (rootp == (struct node_t **)0) in tfind()30 return ((struct node_t *)0); in tfind()31 while (*rootp != (struct node_t *)0) { /* T1: */ in tfind()
20 struct node_t { struct29 node_t* root_node = reinterpret_cast<node_t*>(root); in tdestroy() argument