Searched refs:rootp (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.0-release/lib/libc/stdlib/
H A Dtfind.c33 node_t **rootp = (node_t **)vrootp; local
35 if (rootp == NULL)
38 while (*rootp != NULL) { /* T1: */
41 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */
42 return *rootp; /* key found */
43 rootp = (r < 0) ?
44 &(*rootp)->llink : /* T3: follow left branch */
45 &(*rootp)->rlink; /* T4: follow right branch */
H A Dtdelete.c38 node_t **rootp = (node_t **)vrootp; local
42 if (rootp == NULL || (p = *rootp) == NULL)
45 while ((cmp = (*compar)(vkey, (*rootp)->key)) != 0) {
46 p = *rootp;
47 rootp = (cmp < 0) ?
48 &(*rootp)->llink : /* follow llink branch */
49 &(*rootp)->rlink; /* follow rlink branch */
50 if (*rootp == NULL)
53 r = (*rootp)
[all...]
H A Dtsearch.c34 node_t **rootp = (node_t **)vrootp; local
36 if (rootp == NULL)
39 while (*rootp != NULL) { /* Knuth's T1: */
42 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */
43 return *rootp; /* we found it! */
45 rootp = (r < 0) ?
46 &(*rootp)->llink : /* T3: follow left branch */
47 &(*rootp)->rlink; /* T4: follow right branch */
52 *rootp = q; /* link new node to old */
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dtsearch.c44 node_t **rootp = (node_t **)vrootp; local
46 if (rootp == NULL)
49 while (*rootp != NULL) { /* Knuth's T1: */
52 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */
53 return *rootp; /* we found it! */
55 rootp = (r < 0) ?
56 &(*rootp)->llink : /* T3: follow left branch */
57 &(*rootp)->rlink; /* T4: follow right branch */
62 *rootp = q; /* link new node to old */
119 node_t **rootp local
165 node_t **rootp = (node_t **)vrootp; local
[all...]
/freebsd-10.0-release/sys/fs/cd9660/
H A Dcd9660_vfsops.c221 struct iso_directory_record *rootp; local
339 rootp = (struct iso_directory_record *)
362 bcopy (rootp, isomp->root, sizeof isomp->root);
363 isomp->root_extent = isonum_733 (rootp->extent);
364 isomp->root_size = isonum_733 (rootp->size);
372 rootp = NULL;
402 rootp = (struct iso_directory_record *)bp->b_data;
404 if ((isomp->rr_skip = cd9660_rrip_offset(rootp,isomp)) < 0) {
417 rootp = NULL;
460 rootp
[all...]
/freebsd-10.0-release/sys/fs/ext2fs/
H A Dext2_htree.c236 struct ext2fs_htree_root *rootp; local
255 rootp = (struct ext2fs_htree_root *)bp->b_data;
256 if (rootp->h_info.h_hash_version != EXT2_HTREE_LEGACY &&
257 rootp->h_info.h_hash_version != EXT2_HTREE_HALF_MD4 &&
258 rootp->h_info.h_hash_version != EXT2_HTREE_TEA)
261 hash_version = rootp->h_info.h_hash_version;
270 if ((levels = rootp->h_info.h_ind_levels) > 1)
273 entp = (struct ext2fs_htree_entry *)(((char *)&rootp->h_info) +
274 rootp->h_info.h_info_len);
277 ext2_htree_root_limit(ip, rootp
[all...]
/freebsd-10.0-release/contrib/libpcap/
H A Doptimize.c1676 bpf_optimize(struct block **rootp) argument
1680 root = *rootp;
1692 opt_root(rootp);

Completed in 87 milliseconds