/ast/src/cmd/mailx/port/ |
H A D | dtopen.c | 77 Dt_t* dtopen(Dtdisc_t* disc, Dtmethod_t* meth) 79 Dt_t* dtopen(disc, meth) 84 Dt_t* dt = (Dt_t*)Version; /* shut-up unuse warning */ 89 return NIL(Dt_t*); 92 if(!(dt = (Dt_t*) malloc(sizeof(Dt_t)))) 93 return NIL(Dt_t*); 101 dt->view = dt->walk = NIL(Dt_t*); 109 return NIL(Dt_t*); [all...] |
H A D | dtwalk.c | 78 int dtwalk(reg Dt_t* dt, int (*userf)(Dt_t*, Void_t*, Void_t*), Void_t* data) 81 reg Dt_t* dt; 87 reg Dt_t* walk;
|
H A D | dtview.c | 77 static Void_t* dtvsearch(Dt_t* dt, reg Void_t* obj, reg int type) 80 Dt_t* dt; 85 reg Dt_t *d, *p; 103 dt->walk = NIL(Dt_t*); 136 Dt_t* dtview(reg Dt_t* dt, reg Dt_t* view) 138 Dt_t* dtview(dt,view) 139 reg Dt_t* dt; 140 reg Dt_t* vie [all...] |
H A D | cdt.h | 170 typedef struct _dt_s Dt_t; typedef in typeref:struct:_dt_s 173 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int)); 174 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*)); 175 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*)); 176 typedef int (*Dtcompar_f)_ARG_((Dt_t*,char*,char*,Dtdisc_t*)); 177 typedef unsigned long (*Dthash_f)_ARG_((Dt_t*,char*,Dtdisc_t*)); 178 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*)); 179 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*)); 235 Dt_t* view; /* next on viewpath */ 236 Dt_t* wal [all...] |
H A D | dtclose.c | 75 int dtclose(reg Dt_t* dt) 78 reg Dt_t* dt; 85 dtview(dt,NIL(Dt_t*));
|
H A D | dtsize.c | 85 int dtsize(Dt_t* dt) 88 Dt_t* dt;
|
H A D | mimelib.h | 90 Dt_t* cap; /* capability tree */ \
|
/ast/src/lib/libast/cdt/ |
H A D | dtwalk.c | 31 int dtwalk(Dt_t* dt, int (*userf)(Dt_t*, Void_t*, Void_t*), Void_t* data) 34 Dt_t* dt; 40 Dt_t *walk;
|
H A D | dtclose.c | 29 int dtclose(Dt_t* dt) 32 Dt_t* dt; 36 Dt_t pdt; 49 dtview(dt,NIL(Dt_t*)); 52 memcpy(&pdt, dt, sizeof(Dt_t));
|
H A D | dtcomp.c | 33 extern Dtlink_t* dtflatten(Dt_t* d) 39 extern Dtlink_t* dtextract(Dt_t* d) 45 extern Dtlink_t* dtrestore(Dt_t* d, Void_t* l) 51 extern ssize_t dtsize(Dt_t* d) 57 extern ssize_t dtstat(Dt_t* d)
|
H A D | dtopen.c | 31 static int _dttype2005(Dt_t* dt, int type) 39 Dt_t* _dtopen(Dtdisc_t* disc, Dtmethod_t* meth, unsigned long version) 41 Dt_t* _dtopen(disc, meth, version) 48 Dt_t *dt, pdt; 52 return NIL(Dt_t*); 54 dt = NIL(Dt_t*); 58 memset(&pdt, 0, sizeof(Dt_t)); 65 return NIL(Dt_t*); /* something bad happened */ 70 return NIL(Dt_t*); 83 return NIL(Dt_t*); [all...] |
H A D | dtview.c | 35 static Void_t* dtvsearch(Dt_t* dt, reg Void_t* obj, reg int type) 38 Dt_t* dt; 44 Dt_t *d, *p; 67 n = nky = NIL(Void_t*); p = NIL(Dt_t*); 124 Dt_t* dtview(reg Dt_t* dt, reg Dt_t* view) 126 Dt_t* dtview(dt,view) 127 reg Dt_t* dt; 128 reg Dt_t* vie [all...] |
H A D | dtnew.c | 38 eventf(Dt_t* dt, int op, void* data, Dtdisc_t* disc) 49 memoryf(Dt_t* dt, void* addr, size_t size, Dtdisc_t* disc) 58 Dt_t* 61 Dt_t* dt; 77 Dt_t*
|
H A D | dtdisc.c | 32 static Void_t* dtmemory(Dt_t* dt, Void_t* addr, size_t size, Dtdisc_t* disc) 35 Dt_t* dt; /* dictionary */ 52 Dtdisc_t* dtdisc(Dt_t* dt, Dtdisc_t* disc, int type) 55 Dt_t* dt;
|
/ast/src/lib/libast/include/ |
H A D | dt.h | 34 extern Dt_t* dtnew(Vmalloc_t*, Dtdisc_t*, Dtmethod_t*); 35 extern Dt_t* _dtnew(Vmalloc_t*, Dtdisc_t*, Dtmethod_t*, unsigned long);
|
H A D | cdt.h | 66 typedef struct _dt_s Dt_t; typedef in typeref:struct:_dt_s 68 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int)); 69 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*)); 70 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*)); 71 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*)); 72 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*)); 73 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*)); 74 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*)); 75 typedef int (*Dttype_f)_ARG_((Dt_t*,int)); 112 int (*eventf)_ARG_((Dt_t*, in [all...] |
/ast/src/cmd/tests/cdt/ |
H A D | dttest.h | 24 static int compare(Dt_t* dt, Void_t* o1, Void_t* o2, Dtdisc_t* disc) 27 Dt_t* dt; 37 static int rcompare(Dt_t* dt, Void_t* o1, Void_t* o2, Dtdisc_t* disc) 40 Dt_t* dt; 50 static Void_t* newint(Dt_t* dt, Void_t* o, Dtdisc_t* disc) 53 Dt_t* dt; 62 static unsigned int hashint(Dt_t* dt, Void_t* o, Dtdisc_t* disc) 65 Dt_t* dt;
|
H A D | tevent.c | 25 static int event(Dt_t* dt, int type, Void_t* obj, Dtdisc_t* disc) 57 static Void_t* memory(Dt_t* dt, Void_t* obj, size_t size, Dtdisc_t* disc) 74 Dt_t *dt;
|
H A D | tshare.c | 28 static int event(Dt_t* dt, int type, Void_t* obj, Dtdisc_t* disc) 31 Dt_t* dt; 57 static Void_t* memory(Dt_t* dt, Void_t* buf, size_t size, Dtdisc_t* disc) 60 Dt_t* dt; 86 Dt_t *dt1, *dt2;
|
/ast/src/cmd/std/ |
H A D | psslib.h | 37 Dt_t* ttybyname; /* tty by name hash */ \ 38 Dt_t* ttybydev; /* tty by dev hash */ \
|
/ast/src/lib/libast/comp/ |
H A D | hsearch.c | 69 static void hashfree(Dt_t* dt, Void_t* obj, Dtdisc_t* disc) 72 Dt_t* dt; 81 static Dt_t* Hashtab; /* object dictionary */ 112 Hashtab = NIL(Dt_t*);
|
H A D | tsearch.c | 55 extern Void_t* dtfinger(Dt_t*); 77 static int treecompare(Dt_t* dt, char* one, char* two, Dtdisc_t* disc) 80 Dt_t* dt; 112 reg Dt_t* dt; 116 (!(dt = *((Dt_t**)rootp)) && !(dt = dtopen((Dtdisc_t*)(&Treedisc),Dtoset))) ) 148 reg Dt_t* dt; 151 if(!rootp || !(dt = *((Dt_t**)rootp)) ) 174 reg Dt_t* dt; 178 if(!rootp || !(dt = *((Dt_t**)rootp)) ) 236 if(root && (o = (Tree_t*)dtfinger((Dt_t*)roo [all...] |
/ast/src/lib/libast/misc/ |
H A D | mimelib.h | 44 Dt_t* cap; /* capability tree */ \
|
/ast/src/cmd/ksh93/include/ |
H A D | nval.h | 37 #define Hashtab_t Dt_t 64 Namval_t *(*nextf)(Namval_t*, Dt_t*, Namfun_t*); 96 Dt_t *table; /* for subscripts */ 266 extern Namval_t *nv_create(const char*, Dt_t*, int,Namfun_t*); 267 extern void nv_delete(Namval_t*, Dt_t*, int); 268 extern Dt_t *nv_dict(Namval_t*); 280 extern Namval_t *nv_open(const char*,Dt_t*,int); 284 extern int nv_scan(Dt_t*,void(*)(Namval_t*,void*),void*,int,int); 286 extern void nv_setref(Namval_t*, Dt_t*,int); 294 extern Namval_t *nv_search(const char *, Dt_t*, in [all...] |
H A D | shell.h | 127 Dt_t *var_tree; 138 Dt_t *var_tree; /* for shell variables */ 139 Dt_t *fun_tree; /* for shell functions */ 140 Dt_t *alias_tree; /* for alias names */ 141 Dt_t *bltin_tree; /* for builtin commands */ 174 extern Dt_t *sh_bltin_tree(void);
|