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

/freebsd-11-stable/lib/libc/stdlib/
H A Dtfind.c31 tfind(const void *vkey, posix_tnode * const *rootp, argument
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 Dtsearch.c36 tsearch(const void *key, posix_tnode **rootp, argument
43 /* POSIX requires that tsearch() returns NULL if rootp is NULL. */
44 if (rootp == NULL)
54 leaf = rootp;
65 rootp = leaf;
95 for (n = *rootp; n != *leaf;) {
110 x = *rootp;
130 *rootp = z;
147 *rootp = y;
171 *rootp
[all...]
H A Dtdelete.c51 rootp = leaf; \
62 rootp = leaf; \
70 tdelete(const void *restrict key, posix_tnode **restrict rootp, argument
77 /* POSIX requires that tdelete() returns NULL if rootp is NULL. */
78 if (rootp == NULL)
89 leaf = rootp;
134 for (n = rootp; n != leaf;) {
/freebsd-11-stable/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-11-stable/sys/fs/cd9660/
H A Dcd9660_vfsops.c221 struct iso_directory_record *rootp; local
337 rootp = (struct iso_directory_record *)
360 bcopy (rootp, isomp->root, sizeof isomp->root);
361 isomp->root_extent = isonum_733 (rootp->extent);
362 isomp->root_size = isonum_733 (rootp->size);
370 rootp = NULL;
400 rootp = (struct iso_directory_record *)bp->b_data;
402 if ((isomp->rr_skip = cd9660_rrip_offset(rootp,isomp)) < 0) {
415 rootp = NULL;
458 rootp
[all...]
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_htree.c235 struct ext2fs_htree_root *rootp; local
254 rootp = (struct ext2fs_htree_root *)bp->b_data;
255 if (rootp->h_info.h_hash_version != EXT2_HTREE_LEGACY &&
256 rootp->h_info.h_hash_version != EXT2_HTREE_HALF_MD4 &&
257 rootp->h_info.h_hash_version != EXT2_HTREE_TEA)
260 hash_version = rootp->h_info.h_hash_version;
269 if ((levels = rootp->h_info.h_ind_levels) > 1)
272 entp = (struct ext2fs_htree_entry *)(((char *)&rootp->h_info) +
273 rootp->h_info.h_info_len);
276 ext2_htree_root_limit(ip, rootp
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc5770 INTERCEPTOR(void *, tsearch, void *key, void **rootp,
5773 COMMON_INTERCEPTOR_ENTER(ctx, tsearch, key, rootp, compar);
5777 void *res = REAL(tsearch)(key, rootp, compar);

Completed in 99 milliseconds