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

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Davltree.c103 * avl_tree_t **stree (search tree the data is to be stored in)
118 * avl_tree_t *stree (search tree to destroy)
161 add_tnode(avl_tree_t **stree, dev_t device, ino_t inode) argument
170 if (*stree == NULL) {
171 if ((*stree = calloc(1, sizeof (avl_tree_t)))
175 avl_create(*stree,
189 if (avl_find(*stree, tnode, &where) == NULL) {
190 avl_insert(*stree, tnode, where);
203 destroy_tree(avl_tree_t *stree) argument
208 if (stree !
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c67 void *stree = NULL; local
99 &stree, &collator, &numResults);
103 &stree, &collator, &numResults);
111 if (!stree) {
112 (void) SAAdvert_for_scopes(hSLP, &stree);
115 if (!stree) {
125 slp_twalk(stree, collect_scopes, 0, (void *) ppcScopes);
180 SLPError err, void **stree) {
201 (void *) ascope, stree,
213 * from all recieved SAAdverts in stree
179 saadvert_callback(SLPHandle hp, char *scopes, SLPError err, void **stree) argument
216 SAAdvert_for_scopes(SLPHandle hSLP, void **stree) argument
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dtrees.c487 * The length opt_len is updated; static_len is also updated if stree is
496 const ct_data *stree = desc->stat_desc->static_tree; local
528 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
617 * also updated if stree is not null. The field max_code is set.
624 const ct_data *stree = desc->stat_desc->static_tree; local
654 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
/illumos-gate/usr/src/boot/lib/libz/
H A Dtrees.c485 * The length opt_len is updated; static_len is also updated if stree is
494 const ct_data *stree = desc->stat_desc->static_tree; local
526 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
615 * also updated if stree is not null. The field max_code is set.
622 const ct_data *stree = desc->stat_desc->static_tree; local
652 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c117 static avl_tree_t *stree = NULL; /* source file inode search tree */ variable
379 stree = NULL;
552 if ((rc = add_tnode(&stree, save_dev, save_ino)) != 1) {
586 if ((tptr = avl_find(stree, tnode, &where)) != NULL) {
587 avl_remove(stree, tptr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c1845 * The length opt_len is updated; static_len is also updated if stree is
1854 ct_data *stree = desc->stat_desc->static_tree; local
1886 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
1975 * also updated if stree is not null. The field max_code is set.
1982 ct_data *stree = desc->stat_desc->static_tree; local
2012 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c2652 * The length opt_len is updated; static_len is also updated if stree is
2662 const ct_data *stree = desc->stat_desc->static_tree; local
2696 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
2800 * also updated if stree is not null. The field max_code is set.
2808 const ct_data *stree = desc->stat_desc->static_tree; local
2841 s->opt_len--; if (stree) s->static_len -= stree[node].Len;

Completed in 104 milliseconds