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

/osnet-11/usr/src/lib/libc/port/gen/
H A Dtfind.c62 NODE **rootp = (NODE **)rtp; local
63 if (rootp == NULL)
65 while (*rootp != NULL) { /* T1: */
66 int r = (*compar)(key, (*rootp)->key); /* T2: */
68 return ((void *)*rootp); /* Key found */
69 rootp = (r < 0) ?
70 &(*rootp)->llink : /* T3: Take left branch */
71 &(*rootp)->rlink; /* T4: Take right branch */
H A Dtsearch.c65 NODE **rootp = (NODE **)rtp; local
68 if (rootp == NULL)
70 while (*rootp != NULL) { /* T1: */
71 int r = (*compar)(key, (*rootp)->key); /* T2: */
73 return ((void *)*rootp); /* Key found */
74 rootp = (r < 0) ?
75 &(*rootp)->llink : /* T3: Take left branch */
76 &(*rootp)->rlink; /* T4: Take right branch */
80 *rootp = q; /* Link new node to old */
92 NODE **rootp local
[all...]
H A Dnss_common.c90 void (*nss_delete_fp)(nss_db_root_t *rootp);
91 nss_status_t (*nss_search_fp)(nss_db_root_t *rootp,
100 void (*end_iter_u_fp)(nss_db_root_t *rootp,
180 nss_db_root_t *rootp);
182 nss_db_root_t *rootp);
1084 _nss_db_state_constr(nss_db_initf_t initf, nss_db_root_t *rootp) argument
1103 _nss_db_state_destr(s, rootp);
1135 _nss_db_state_destr(s, rootp);
1142 _nss_db_state_destr(s, rootp);
1151 storelockaddr(&rootp
1193 _nss_db_state_destr(struct nss_db_state *s, nss_db_root_t *rootp) argument
1354 nss_delete(nss_db_root_t *rootp) argument
1372 nss_search(nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum, void *search_args) argument
1522 nss_setent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
1534 nss_getent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp, void *args) argument
1549 nss_endent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
1566 end_iter_u(nss_db_root_t *rootp, struct nss_getent_context *contextp) argument
1589 nss_setent_u(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
1674 nss_getent_u(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp, void *args) argument
1758 nss_endent_u(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
1879 nss_pack(void *buffer, size_t bufsize, nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum, void *search_args) argument
1987 nss_pack_ent(void *buffer, size_t bufsize, nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
2061 nss_unpack(void *buffer, size_t bufsize, nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum, void *search_args) argument
2162 nss_unpack_ent(void *buffer, size_t bufsize, nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp, void *args) argument
2234 _nsc_search(nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum, void *search_args) argument
2309 _nsc_setent_u(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
2386 _nsc_getent_u(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp, void *args) argument
2453 _nsc_endent_u(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp) argument
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_search.c78 NODE **rootp = (NODE **)rtp; local
81 if (rootp == NULL)
83 while (*rootp != NULL) { /* T1: */
84 int r = (*compar)(key, (*rootp)->key); /* T2: */
86 return ((void *)*rootp); /* Key found */
87 rootp = (r < 0) ?
88 &(*rootp)->llink : /* T3: Take left branch */
89 &(*rootp)->rlink; /* T4: Take right branch */
93 *rootp = q; /* Link new node to old */
103 NODE **rootp local
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dtsearch.c101 Void_t* tsearch(const Void_t* key, Void_t** rootp, argument
104 Void_t* tsearch(key, rootp, comparf)
106 Void_t** rootp;
113 if(!rootp ||
114 (!(dt = *((Dt_t**)rootp)) && !(dt = dtopen((Dtdisc_t*)(&Treedisc),Dtorder))) )
128 *rootp = (Void_t*)dt;
129 else if(*rootp == NIL(Void_t*) )
137 Void_t* tfind(const Void_t* key, Void_t*const* rootp, argument
140 Void_t* tfind(key, rootp, comparf)
142 Void_t** rootp;
163 tdelete(const Void_t* key, Void_t** rootp, int(*comparf)(const Void_t*, const Void_t*) ) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_split.c400 __bam_broot(dbc, rootp, lp, rp)
402 PAGE *rootp, *lp, *rp;
417 P_INIT(rootp, dbp->pgsize,
433 RE_NREC_SET(rootp, bi.nrecs);
438 __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0)
451 RE_NREC_ADJ(rootp, bi.nrecs);
457 if ((ret = __db_pitem(dbc, rootp, 1,
477 RE_NREC_ADJ(rootp, bi.nrecs);
483 if ((ret = __db_pitem(dbc, rootp, 1,
494 RE_NREC_ADJ(rootp, b
[all...]
/osnet-11/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.h104 nss_db_root_t *rootp,
H A Dcompat_common.c1197 _nss_compat_constr(ops, n_ops, filename, min_bufsize, rootp, initf, netgroups,
1203 nss_db_root_t *rootp;
1221 be->db_rootp = rootp;
/osnet-11/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c1866 i_hp_parse_results(nvlist_t *results, hp_node_t *rootp, char **optionsp) argument
1871 if (rootp) {
1875 *rootp = NULL;
1878 if ((rv = hp_unpack(buf, len, rootp)) != 0)

Completed in 27 milliseconds