Searched refs:link (Results 1 - 25 of 145) sorted by relevance

123456

/ast/src/lib/libast/comp/
H A Dlink.c28 NoN(link)
39 link(const char* from, const char* to)
H A Drename.c71 while (link(from, to))
/ast/src/cmd/tests/cdt/
H A Dtsearch.c37 Dtlink_t* link; local
73 for(link = dtflatten(dt), i = 1; link; link = dtlink(dt,link), i += 1)
74 if((long)dtobj(dt,link) != i)
88 for(link = dtflatten(dt), i = 7; link; link = dtlink(dt,link),
[all...]
H A Dtobag.c37 Dtlink_t* link; local
123 for(link = dtflatten(dt), i = 1; link; ++i)
124 for(k = 1; k <= i; ++k, link = dtlink(dt,link))
125 if(i != (long)dtobj(dt,link))
/ast/src/cmd/mailx/port/
H A Ddttree.c92 Dtlink_t link; local
102 { if(disc->freef || disc->link < 0)
109 if(disc->link < 0)
144 /* note that link.right is LEFT tree and link.left is RIGHT tree */
145 l = r = &link;
198 if(disc->link < 0)
205 { root->left = link.right; /* put root to LEFT tree */
207 link.right = root;
211 { root->right = link
[all...]
H A Ddthdr.h106 #define ELT(o,d) ((Dtlink_t*)((char*)(o) + d->link) )
107 #define OBJ(e,d) (d->link == 0 ? (Void_t*)(e) : \
108 d->link < 0 ? ((Dthold_t*)(e))->obj : \
109 (Void_t*)((char*)(e) - d->link) )
/ast/src/cmd/cs/vcs_src/
H A Dvcs_dir.c37 char* link = NULL; local
42 link = rs_readlink(tp->version);
75 if (R_ISLINK(tp) && link)
76 dp->link = strdup(link);
87 if (R_ISLINK(tp) && link)
88 ndp->link = strdup(link);
100 if (R_ISLINK(tp) && link)
101 ndp->link
[all...]
/ast/src/lib/libast/cdt/
H A Ddtlist.c31 Dtlink_t* link; /* list of objects */ member in struct:_dtlist_s
43 if(!here && !(here = list->link) )
73 if((lnk = list->link) )
94 lnk = list->link;
95 list->link = list->here = NIL(Dtlink_t*);
98 if(disc->freef || disc->link < 0)
124 lnk = list->link;
126 { list->link = NIL(Dtlink_t*);
131 { if(list->link != NIL(Dtlink_t*))
134 list->link
[all...]
H A Ddttree.c130 if(root && (disc->link < 0 || disc->freef) )
244 st->space = sizeof(Dttree_t) + (dt->disc->link >= 0 ? 0 : size*sizeof(Dthold_t));
285 static Dtlink_t* troot(Dt_t* dt, Dtlink_t* list, Dtlink_t* link, Void_t* obj, int type) argument
294 { list->_left = link->_rght;
295 list->_rght = link->_left;
320 link->_rght = list->_left;
321 link->_left = list->_rght;
328 while(!root && (t = link->_rght) ) /* link->_rght is the left subtree <= obj */
334 { link
404 Dtlink_t *root, *t, *l, *r, *me, link; local
[all...]
/ast/src/lib/libvgraph/
H A Dgrbranching.c34 #define GRLINK(n) ((n)->link == (n) ? (n) : grlink(n))
36 { while(n->link != n)
37 n = n->link;
56 { for(; e; e = e->link)
77 PRINT(Fd,"link = %d, ", nd->link ? (int)nd->link->label : -1);
114 { n->link = n->fold = n; /* union structures: link kept as-is, fold does path-compression */
120 { e->link
[all...]
H A Dgrfold.c37 for(nd = list; nd; nd = nd->link)
42 for(nd = list; nd; nd = nd->link)
/ast/src/lib/libvcodex/Vchuff/
H A Dvchsize.c36 struct _vchtree_s* next; /* link for the sorted lists */
37 struct _vchtree_s* link; /* subtree linkage */ member in struct:_vchtree_s
83 f->next = f->link = NIL(Vchtree_t*);
113 { f->link = f; /* nodes in each subtree are kept in a circular list */
135 /* merge subtrees, ie, link the two circular lists */
137 p = f->link; f->link = s->link; s->link = p;
177 for(s = NIL(Vchtree_t*), f = list->link;
[all...]
/ast/src/lib/libjcl/
H A Dopen.c73 jcl->dddisc.link = offsetof(Jcldd_t, link);
76 jcl->outdirdisc.link = offsetof(Jcldir_t, link);
79 jcl->outputdisc.link = offsetof(Jcloutput_t, link);
82 jcl->rcdisc.link = offsetof(Rc_t, link);
85 jcl->symdisc.link = offsetof(Jclsym_t, link);
[all...]
H A Duniq.c30 Dtlink_t link; member in struct:Uniq_s
152 state.markdisc.link = offsetof(Uniq_t, link);
214 state.uniqdisc.link = offsetof(Uniq_t, link);
258 state.diffdisc.link = offsetof(Uniq_t, link);
H A Djcl.h159 Dtlink_t link; member in struct:Jcldd_s
179 Dtlink_t link; member in struct:Jcloutput_s
189 Dtlink_t link; member in struct:Jcldir_s
195 Dtlink_t link; member in struct:Jclsym_s
/ast/src/lib/libast/misc/
H A Dftwalk.c87 e->parent->link = e;
96 for (x = e; x; x = x->link)
105 e->parent->link = e;
107 e->parent->link = 0;
110 for (x = e; x; x = x->link)
125 for (x = fts_children(f, 0); x; x = x->link)
/ast/src/lib/librecsort/
H A Drs-splay.c42 Rsobj_t link; local
76 for(l = r = &link;; )
138 root->left = link.right;
139 root->right = link.left;
147 obj->left = link.right;
148 obj->right = link.left;
/ast/src/lib/libvdelta/
H A Dvdsqueeze.c44 int* link; /* base of elements */ member in struct:_table_s
153 reg int *link = tab->link, *hash = tab->hash; local
168 list = m = link[m]; /* head of list */
172 if((m = link[m]) == list)
199 next: if((m = link[m]) == list )
243 link[curm] = curm;
245 { link[curm] = link[m];
246 link[
[all...]
/ast/src/cmd/3d/
H A Dvcs.c112 char* link; /* used by the link */ member in struct:Rdirent
221 char* link = 0; local
225 if (R_ISLINK(tp) && (link = strrchr(tp->version, CHRLINK)))
226 *link++ = 0;
264 if (R_ISLINK(tp) && link)
265 dp->link = strdup(link);
276 if (R_ISLINK(tp) && link)
277 ndp->link
[all...]
/ast/src/lib/libodelta/
H A Dsuftree.c116 ** link: defines the sublink of the locus of the prefix
122 register Suftree *match, *clocus, *locus, *link; local
182 link = LINK(clocus);
187 /* find a child of link that starts with the
191 match = child_find(link,*rescan);
194 /* clocus will be the parent of the new link */
195 clocus = link;
200 link = match;
226 CHILD(link) = list;
227 link
[all...]
/ast/src/cmd/pax/
H A Dpax-pds.c32 char* link; member in struct:Pdsdir_s
100 pds->dir[i].link = &pds->dir[i].name[0];
103 pds->dir[i].link = 0;
119 while (!pds->dir[m].link)
126 pds->dir[n].link = pds->dir[m].name;
127 pds->dir[m].link = 0;
130 pds->dir[m].link = pds->dir[n].name;
132 pds->dir[m].link = 0;
162 f->linkpath = dp->link;
/ast/src/lib/libast/port/
H A Dlcgen.c59 Link_t link; member in struct:Abbreviation_s
65 Link_t link; member in struct:Attribute_s
76 Link_t link; member in struct:Charset_s
83 Link_t link; member in struct:Language_s
98 Link_t link; member in struct:Territory_s
107 Link_t link; member in struct:Map_s
427 cp->link.code = copy(&b, arg[0]);
432 fprintf(stderr, "%s: %d: %s: duplicate charset\n", command, line, cp->link.code);
443 tp->link.code = copy(&b, arg[0]);
486 fprintf(stderr, "%s: %d: %s: duplicate territory\n", command, line, tp->link
[all...]
/ast/src/lib/libcoshell/
H A Dcoexport.c44 co->exdisc->link = offsetof(Coexport_t, link);
/ast/src/lib/libast/string/
H A Dfmtls.c45 * link link text if != 0
52 fmtls(char* buf, const char* name, register struct stat* st, const char* info, const char* link, register int flags) argument
110 if (link)
116 "==", link);
/ast/src/cmd/dsslib/ip_t/
H A Dptlib.h32 Dtlink_t link;

Completed in 106 milliseconds

123456