Searched refs:scope (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libast/hash/
H A Dhashview.c33 * push/pop/query hash table scope
35 * bot==0 pop top scope
39 * scope table pointer returned
53 bot = top->scope;
56 if (top->scope)
69 top->scope = bot;
73 else if (bot = top->scope)
84 top->scope = 0;
H A Dhashdump.c106 Hash_table_t* scope; local
110 if (scope = tab->scope)
113 while (scope = scope->scope) level++;
114 sfprintf(sfstderr, " level %d scope on 0x%08lx", level, (unsigned long)tab->scope);
H A Dhashscan.c58 if (tab->scope && !(flags & HASH_NOSCOPE))
74 } while (tab = tab->scope);
102 if (!pos->flags || !pos->tab->scope) return(0);
103 pos->tab = pos->tab->scope;
H A Dhashfree.c35 * scope covered table pointer is returned
140 if (tp = tab->scope) tp->frozen--;
H A Dhashlook.c70 if (!(tab = tab->scope) || (flags & HASH_NOSCOPE))
127 if (!tab->scope || (flags & (HASH_CREATE|HASH_INSTALL|HASH_NOSCOPE)) == HASH_NOSCOPE) break;
128 tab = tab->scope;
H A Dhashalloc.c165 if (!(tab->scope = ref)) goto out;
/ast/src/lib/libjcl/
H A Dlib.c64 register Jcl_t* scope; local
75 for (scope = jcl; scope; scope = scope->scope)
77 if (scope->scope && scope->scope
[all...]
H A Drun.c120 jclrun(Jcl_t* scope) argument
148 if (!(jcl = jclopen(scope, scope->step->command, scope->flags|scope->step->flags, scope->disc)))
164 if (jcl->name && (!scope || !scope->scope || (scope
[all...]
H A Dopen.c39 jclopen(Jcl_t* scope, const char* file, unsigned long flags, Jcldisc_t* disc) argument
67 jcl->scope = scope;
147 if (!jcl->scope && jclstats(sfstdout, jcl->flags, jcl->disc))
H A Djcllib.h102 Jcl_t* scope; \
H A Dfind.c82 } while (jcl = jcl->scope);
238 dp = (jcl = jcl->scope) ? jcl->dirs.head : state.dirs.head;
/ast/src/lib/libtksh/include/
H A Dshcompat.h53 Hashtab_t *scope);
/ast/src/lib/libast/include/
H A Dhash.h39 #define HASH_SCANNING (1L<<3) /* currently scanning scope */
40 #define HASH_SCOPE (1L<<4) /* push scope / create in bot */
50 #define HASH_NOSCOPE (1L<<13) /* top scope only */
59 #define HASH_HIDDEN (1L<<(8*sizeof(int)-3)) /* hidden by scope */
60 #define HASH_HIDES (1L<<(8*sizeof(int)-4)) /* hides lower scope */
96 #define hashscope(t) ((t)->scope)
177 Hash_table_t* scope; /* scope covered table */ member in struct:Hash_table
/ast/src/cmd/ksh93/sh/
H A Darray.c97 aq->scope = (void*)dtopen(&_Nvdisc,Dtoset);
98 dtview((Dt_t*)aq->scope,aq->table);
99 aq->table = (Dt_t*)aq->scope;
105 aq->scope = (void*)ap;
114 aq->scope = (void*)ap;
124 if(!ap->scope)
141 struct index_array *aq = (struct index_array*)ap->header.scope;
343 char *data = array_fixed_data((Namarr_t*)ap->header.scope);
472 if((flags&NV_TYPE) && !ap->scope)
480 ap->scope
[all...]
H A Darith.c60 static Namval_t *scope(register Namval_t *np,register struct lval *lvalue,int assign) function
231 np = scope(np,lvalue,1);
444 np = scope(np,lvalue,0);
H A Dxec.c447 * if a debug script sets .sh.level it should set up the scope
1299 volatile int scope=0, share=0; local
1363 scope++;
1459 if(scope)
3263 * add exports from previous scope to the new scope
3315 * This routine is used to execute the given function <fun> in a new scope
3366 /* eliminate parent scope */
3753 volatile int jobwasset=0, scope=0, sigwasset=0; local
3916 scope
[all...]
H A Dname.c1317 * If <flags> & NV_NOSCOPE then use the current scope only
2342 * create a new environment scope
2609 * return the node pointer in the highest level scope
3409 /* bind to earlier scope, or add to global scope */
3493 * get the scope corresponding to <index>
3525 * make <scoped> the top scope and return previous scope
3527 Shscope_t *sh_setscope(Shscope_t *scope) argument
3532 shp->st = *((struct sh_scoped*)scope);
[all...]
/ast/src/cmd/ksh93/tests/
H A Darrays.sh477 FILTER=(typeset scope)
478 FILTER[0].scope=include
479 FILTER[1].scope=exclude
H A Dfunctions.sh84 then err_exit EXIT trap in wrong scope
213 then err_exit 'variable assignment list not using parent scope'
/ast/src/cmd/ksh93/include/
H A Dnval.h97 void *scope; /* non-zerp when scoped */ member in struct:Namarray
189 #define NV_NOSCOPE 0x80000 /* look only in current scope */
/ast/src/cmd/nmake/
H A Doption.c1759 optset(int i, char* v, Sfio_t* scope) argument
1812 if (scope)
1813 genop(scope, op, '-', 0);
1823 set(char* s, int must, Sfio_t* scope) argument
1845 optset(i, opt_info.argv[1], scope);
/ast/src/lib/libdss/
H A Dcxopen.c1032 * scope control
1047 (*top->disc->errorf)(NiL, top->disc, 2, "cannot change active scope");
1053 * scope top on bot
1056 if (top->scope)
1099 top->scope = bot;
1102 else if (bot = top->scope)
1105 * pop the scope
1126 top->scope = 0;
1143 if (cx->scope)
1165 if (cx->scope)
[all...]
H A Dcx.h614 Cx_t* scope; /* next scope */ member in struct:Cx_s
/ast/src/lib/libtksh/src/
H A Dvar.c277 * Creates a reference in the current scope to a variable in another
278 * scope.
282 char *part2, Hashtab_t *scope)
300 nv_setref(namval,scope,NV_NOREF);
281 TkshUpVar(Tcl_Interp *interp, char *newname, char *part1, char *part2, Hashtab_t *scope) argument

Completed in 443 milliseconds