Searched refs:walk (Results 1 - 16 of 16) sorted by relevance

/ast/src/lib/libast/cdt/
H A Ddtwalk.c40 Dt_t *walk; local
44 { if(!(walk = dt->walk) )
45 walk = dt;
47 if((rv = (*userf)(walk, obj, data )) < 0)
H A Ddtview.c58 dt->walk = d;
87 dt->walk = p;
95 if(!dt->walk )
99 dt->walk = d;
104 for(d = dt->walk, obj = (*d->meth->searchf)(d, obj, type);; )
115 if(!(d = dt->walk = d->view) ) /* move on to next dictionary */
144 dt->view = dt->walk = NIL(Dt_t*);
/ast/src/cmd/mailx/port/
H A Ddtwalk.c87 reg Dt_t* walk; local
91 { if(!(walk = dt->walk) )
92 walk = dt;
94 if((rv = (*userf)(walk, obj, data )) < 0)
H A Ddtview.c98 { dt->walk = d;
103 dt->walk = NIL(Dt_t*);
108 if(!dt->walk)
109 dt->walk = dt;
111 for(d = dt->walk, o = (*(d->meth->searchf))(d,obj,type); ; )
125 if(!(d = dt->walk = d->view) )
155 dt->view = dt->walk = NIL(Dt_t*);
H A Ddtopen.c101 dt->view = dt->walk = NIL(Dt_t*);
H A Dcdt.h236 Dt_t* walk; /* dictionary being walked */ member in struct:_dt_s
/ast/src/cmd/tests/vmalloc/
H A Dtwalk.c74 static int walk(Vmalloc_t* vm, Void_t* addr, size_t size, Vmdisc_t* disc, Void_t* handle) function
76 static int walk(vm, addr, size, disc, handle)
133 vmwalk(NIL(Vmalloc_t*),walk,NIL(Void_t*)); local
135 terror("Wrong walk count\n");
/ast/src/cmd/tests/cdt/
H A Dtvsharemem.c271 int i, k, p, num, base, insert, delete, search, unsrch, undel, unins, walk, first, size; local
306 walk = first = insert = delete = search = unsrch = unins = undel = 0;
368 walk += 1;
384 tinfo("%s %s [num=%d,pid=%d]: done, size=%d[walk=%d] delete=%d[+%d]",
385 actor, type, num, pid, size, walk, delete, undel);
440 walk += 1;
459 tinfo("%s %s [num=%d,pid=%d]: done, dtsize=%d walk=%d first=%d",
460 actor, type, num, pid, size, walk, first);
474 for(walk = 0, o = dtfirst(dt); o; o = dtnext(dt,o) )
475 walk
519 size_t size, walk, i, k, p; local
[all...]
/ast/src/cmd/ksh93/sh/
H A Dsubshell.c276 Dt_t *walk, *root=shp->var_tree; local
281 dp = root->walk?root->walk:root;
284 walk = root->walk?root->walk:root;
288 nv_delete(mp,walk,NV_NOFREE);
H A Dname.c830 if(shp->var_tree->walk==shp->var_base || (shp->var_tree->walk!=shp->var_tree && shp->namespace && nv_dict(shp->namespace)==shp->var_tree->walk))
832 if(shp->var_tree->walk==shp->var_base)
839 shp->last_root = shp->var_tree->walk;
843 root = shp->var_tree->walk;
853 if(shp->var_tree->walk)
854 root = shp->var_tree->walk;
862 if(np && shp->var_tree->walk==shp->var_tree)
868 if(!np || shp->var_tree->walk!
[all...]
H A Dinit.c1605 if((dp=shp->fun_tree)->walk)
1606 dp = dp->walk;
/ast/src/lib/libast/include/
H A Dcdt.h151 Dt_t* walk; /* dictionary being walked */ member in struct:_dt_s
323 #define dtvhere(d) (_DT(d)->walk)
/ast/src/cmd/ksh93/edit/
H A Dvi.c1658 goto walk;
1661 goto walk;
1677 goto walk;
1683 walk:
/ast/src/cmd/ie/
H A Dvi.c1559 goto walk;
1565 walk:
/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c1253 if(troot==shp->var_tree && shp->st.real_fun && (dp=shp->var_tree->walk) && dp==shp->st.real_fun->sdict)
/ast/src/cmd/INIT/
H A Dmamake.c568 * low level for walk()
592 walk(Dict_t* dict, int (*func)(Dict_item_t*, void*), void* handle) function
2051 walk(state.rules, active, NiL);
2059 walk(state.rules, scan, NiL);
2061 walk(state.rules, descend, NiL);
2368 walk(state.rules, verify, NiL);

Completed in 69 milliseconds