Searched refs:Dtlink_t (Results 1 - 25 of 99) sorted by relevance

1234

/ast/src/lib/libast/cdt/
H A Ddtcomp.c33 extern Dtlink_t* dtflatten(Dt_t* d)
35 return (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_FLATTEN);
39 extern Dtlink_t* dtextract(Dt_t* d)
41 return (Dtlink_t*)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_EXTRACT);
45 extern Dtlink_t* dtrestore(Dt_t* d, Void_t* l)
47 return (Dtlink_t*)(*(_DT(d)->searchf))((d),(l),DT_RESTORE);
H A Ddthash.c39 Dtlink_t* here; /* fingered object */
40 Dtlink_t** htbl; /* hash table slots */
47 Dtlink_t **htbl, **t, **endt, *l, *next;
72 if(!(htbl = (Dtlink_t**)(*dt->memoryf)(dt, 0, n*sizeof(Dtlink_t*), disc)) )
76 memset(htbl, 0, n*sizeof(Dtlink_t*));
97 Dtlink_t **t, **endt, *l, *next;
100 hash->here = NIL(Dtlink_t*);
108 *t = NIL(Dtlink_t*);
116 Dtlink_t **
[all...]
H A Ddtlist.c31 Dtlink_t* link; /* list of objects */
32 Dtlink_t* here; /* finger to searched objects */
36 int dtlistprint(Dt_t* dt, Dtlink_t* here, char* (*objprintf)(Void_t*) )
69 Dtlink_t *lnk;
90 Dtlink_t *lnk, *next;
95 list->link = list->here = NIL(Dtlink_t*);
110 Void_t* llist(Dt_t* dt, Dtlink_t* lnk, int type)
114 Dtlink_t* lnk;
126 { list->link = NIL(Dtlink_t*);
131 { if(list->link != NIL(Dtlink_t*))
[all...]
H A Ddttree.c34 Dtlink_t* root; /* tree root */
38 int dttreeprint(Dt_t* dt, Dtlink_t* here, int lev, char* (*objprintf)(Void_t*) )
94 Dtlink_t *t, *root;
122 Dtlink_t *root, *t;
127 tree->root = NIL(Dtlink_t*);
143 static Void_t* tlist(Dt_t* dt, Dtlink_t* list, int type)
147 Dtlink_t* list;
152 Dtlink_t *last, *r, *t;
170 { tree->root = NIL(Dtlink_t*);
188 static ssize_t tsize(Dtlink_t* roo
[all...]
H A Ddtdisc.c61 Dtlink_t *list;
78 else list = NIL(Dtlink_t*);
H A Ddtopen.c122 Dtlink_t* _dtmake(Dt_t* dt, Void_t* obj, int type)
129 return NIL(Dtlink_t*);
143 return (Dtlink_t*)h;
146 void _dtfree(Dt_t* dt, Dtlink_t* l, int type)
/ast/src/cmd/mailx/port/
H A Ddtextract.c76 Dtlink_t* dtextract(reg Dt_t* dt)
78 Dtlink_t* dtextract(dt)
82 reg Dtlink_t *t, *last, *list, **slot, **eslot;
89 { list = last = NIL(Dtlink_t*);
94 *slot = NIL(Dtlink_t*);
104 dt->data->head = NIL(Dtlink_t*);
108 dt->data->here = NIL(Dtlink_t*);
H A Ddtrestore.c78 int dtrestore(reg Dt_t* dt, reg Dtlink_t* list)
82 reg Dtlink_t* list;
85 reg Dtlink_t *t, **slot, **eslot;
103 { dt->data->here = NIL(Dtlink_t*);
111 t->right = NIL(Dtlink_t*);
127 { dt->data->here = NIL(Dtlink_t*);
H A Ddtsize.c76 static int dtcount(reg Dtlink_t* here)
79 reg Dtlink_t* here;
91 reg Dtlink_t* t;
H A Ddtflatten.c77 Dtlink_t* dtflatten(Dt_t* dt)
79 Dtlink_t* dtflatten(dt)
83 reg Dtlink_t *r, *t, *list, *last, **slot, **eslot;
89 list = last = NIL(Dtlink_t*);
H A Ddtmethod.c84 reg Dtlink_t *list, *t, **slot, **eslot;
105 dt->data->head = NIL(Dtlink_t*);
110 dt->data->htab = NIL(Dtlink_t**);
113 dt->data->here = NIL(Dtlink_t*);
126 slot = (Dtlink_t**)(*dt->memoryf)
127 (dt,NIL(Void_t*),n*sizeof(Dtlink_t*),disc);
133 *slot = NIL(Dtlink_t*);
H A Ddtrenew.c85 reg Dtlink_t *e, *r, *t = NIL(Dtlink_t*);
86 reg Dtlink_t** slot;
115 dt->data->here = NIL(Dtlink_t*);
119 r = NIL(Dtlink_t*);
140 dt->data->here = NIL(Dtlink_t*);
143 { dt->data->here = NIL(Dtlink_t*);
H A Ddthash.c87 reg Dtlink_t *t, *next, **chain, **slot, **oslot, **eslot;
98 slot = (Dtlink_t**)(*dt->memoryf)
99 (dt,NIL(Void_t*),nslot*sizeof(Dtlink_t*),dt->disc);
103 *eslot = NIL(Dtlink_t*);
135 reg Dtlink_t *t, *prev, *r = NIL(Dtlink_t*);
136 reg Dtlink_t **slot = NIL(Dtlink_t**), **eslot;
149 *slot = NIL(Dtlink_t*);
161 dt->data->here = NIL(Dtlink_t*);
[all...]
H A Ddttree.c91 reg Dtlink_t *root, *l, *r, *t, *me = NIL(Dtlink_t*);
92 Dtlink_t link;
115 dt->data->here = NIL(Dtlink_t*);
138 { me = (Dtlink_t*)obj;
202 root = NIL(Dtlink_t*);
206 root->right = NIL(Dtlink_t*);
212 root->left = NIL(Dtlink_t*);
222 root = NIL(Dtlink_t*);
227 r->left = NIL(Dtlink_t*);
[all...]
H A Dcdt.h165 typedef struct _dtlink_s Dtlink_t; typedef in typeref:struct:_dtlink_s
182 { Dtlink_t* right; /* right child */
185 Dtlink_t* _left; /* left child */
191 { Dtlink_t hdr; /* header */
204 Dtlink_t* here; /* finger to last search element */
206 { Dtlink_t** _htab; /* hash table */
207 Dtlink_t* _head; /* linked list */
217 int link; /* offset to Dtlink_t field */
285 extern Dtlink_t* dtflatten _ARG_((Dt_t*));
286 extern Dtlink_t* dtextrac
[all...]
H A Ddtdisc.c106 reg Dtlink_t *root, *t, *next, **slot, **eslot;
139 root = next = NIL(Dtlink_t*);
148 *slot = NIL(Dtlink_t*);
153 dt->data->here = NIL(Dtlink_t*);
168 dt->data->here = NIL(Dtlink_t*);
179 dt->data->head = NIL(Dtlink_t*);
H A Ddtopen.c122 data->here = NIL(Dtlink_t*);
123 data->htab = NIL(Dtlink_t**);
H A Ddtstkq.c89 reg Dtlink_t *r, *t;
123 dt->data->head = dt->data->here = NIL(Dtlink_t*);
139 { t = (Dtlink_t*)(*dt->memoryf)
152 t->right = NIL(Dtlink_t*);
164 t->right = NIL(Dtlink_t*);
188 t = t == dt->data->head ? NIL(Dtlink_t*) : t->left;
200 else t = NIL(Dtlink_t*);
H A Ddtlist.c88 reg Dtlink_t *r, *t, *prev, *renew;
103 dt->data->head = dt->data->here = NIL(Dtlink_t*);
120 { renew = (Dtlink_t*)obj;
127 prev = NIL(Dtlink_t*);
198 { r = (Dtlink_t*)(*dt->memoryf)
/ast/src/cmd/std/
H A Dpsslib.h68 Dtlink_t byname; /* by name dict link */
69 Dtlink_t bydev; /* by dev dict link */
/ast/src/lib/libast/include/
H A Dcdt.h60 typedef struct _dtlink_s Dtlink_t; typedef in typeref:struct:_dtlink_s
85 Dtlink_t* right; /* right child */
88 Dtlink_t* _left; /* left child */
92 { Dtlink_t* __rght; /* right child or next */
93 Dtlink_t* __ptbl; /* Dtrehash parent tbl */
96 { Dtlink_t* __left; /* left child or prev */
104 { Dtlink_t hdr; /* header to hold obj */
121 int link; /* offset to Dtlink_t field */
305 #define _DTLNK(dc,o) ((Dtlink_t*)((char*)(o) + (dc)->link) ) /* get link from obj */
325 #define dtlink(d,e) (((Dtlink_t*)(
[all...]
/ast/src/lib/libjcl/
H A Djcl.h159 Dtlink_t link;
179 Dtlink_t link;
189 Dtlink_t link;
195 Dtlink_t link;
/ast/src/cmd/dsslib/ip_t/
H A Dptlib.h32 Dtlink_t link;
/ast/src/lib/libast/comp/
H A Dhsearch.c63 { Dtlink_t link;
83 { sizeof(Dtlink_t), -1,
/ast/src/lib/libast/misc/
H A Dfindlib.h98 Dtlink_t byname;
99 Dtlink_t byindex;

Completed in 61 milliseconds

1234