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

/ast/src/lib/libexpr/
H A Dexopen.c31 * allocate a new expression program environment
37 register Expr_t* program; local
41 if (!(program = newof(0, Expr_t, 1, 0)))
43 program->symdisc.key = offsetof(Exid_t, name);
45 if (!(program->symbols = dtopen(&program->symdisc, Dtset)) ||
46 !(program->tmp = sfstropen()) ||
47 !(program->vm = (debug ? vmopen(Vmdcsbrk, Vmdebug, VM_DBCHECK|VM_DBABORT) : vmopen(Vmdcheap, Vmbest, 0))) ||
48 !(program->ve = (debug ? vmopen(Vmdcsbrk, Vmdebug, VM_DBCHECK|VM_DBABORT) : vmopen(Vmdcheap, Vmbest, 0))))
50 exclose(program,
[all...]
H A Dexerror.c39 if (expr.program->disc->errorf && !expr.program->errors && (sp = sfstropen()))
45 expr.program->errors = 1;
46 excontext(expr.program, buf, sizeof(buf));
53 (*expr.program->disc->errorf)(expr.program, expr.program->disc, (expr.program->disc->flags & EX_FATAL) ? 3 : 2, "%s", s);
56 else if (expr.program->disc->flags & EX_FATAL)
H A Dexparse.y47 %start program
155 program : statement_list action_list label
157 if ($1 && !(expr.program->disc->flags & EX_STRICT))
159 if (expr.program->main.value && !(expr.program->disc->flags & EX_RETAIN))
160 exfreenode(expr.program, expr.program->main.value);
168 exfreenode(expr.program, x);
170 expr.program->main.lex = PROCEDURE;
171 expr.program
[all...]
H A DOexparse.c632 "$accept : program",
633 "program : statement_list action_list",
972 if (exvsp[-1].expr && !(expr.program->disc->flags & EX_STRICT))
974 if (expr.program->main.value && !(expr.program->disc->flags & EX_RETAIN))
975 exfreenode(expr.program, expr.program->main.value);
983 exfreenode(expr.program, x);
985 expr.program->main.lex = PROCEDURE;
986 expr.program
[all...]
H A Dexgram.h38 #define exlex() extoken(expr.program)
41 #define QUALIFY(r,s) ((r)&&(expr.program->disc->flags&EX_QUALIFY)?qualify(r,s):(s))
49 * allocate and initialize a new expression node in the current program
319 sfprintf(expr.program->tmp, "%s.%s", ref->symbol->name, sym->name);
320 s = exstash(expr.program->tmp, NiL);
321 if (!(x = (Exid_t*)dtmatch(expr.program->symbols, s)))
327 dtinsert(expr.program->symbols, x);
351 x = exnewnode(expr.program, ID, 0, 0, NiL, NiL);
366 args->data.operand.left = excast(expr.program, args->data.operand.left, type, NiL, num);
397 x = ALLOCATE(expr.program, Print_
[all...]
H A Dexlib.h101 Expr_t* program; /* previous program on stack */ \
153 Expr_t* program; /* current program */ member in struct:Exstate_s
/ast/src/cmd/tests/vmalloc/
H A Dtsharemem.c86 static pid_t makeprocess(char* program, char* store, char* type, int p) argument
92 argv[0] = program;
103 else if(execv(program, argv) < 0 )
/ast/src/lib/libtksh/include/
H A DtclInt.h73 char program[1]; /* Unwarranted chumminess with compiler. */ member in struct:regexp
/ast/src/cmd/tw/
H A Dtw.h163 typedef struct /* program state */
189 Expr_t* program; /* compiled expressions */ member in struct:__anon239
H A Dexpr.c778 if (!state.program)
789 if (!(state.program = exopen(&state.expr)))
803 if (!state.program)
810 else if (excomp(state.program, s, 1, NiL, sp))
815 else if (excomp(state.program, NiL, 0, s, NiL))
819 exdump(state.program, NiL, sfstdout);
831 v = exeval(state.program, x, ftw);
861 if (!(sym = (Exid_t*)dtmatch(state.program->symbols, fp->t_str)))
877 if (!state.program)
H A Dtw.c878 if (x = exexpr(state.program, "begin", NiL, 0))
880 if ((x = exexpr(state.program, "select", NiL, INTEGER)) || (x = exexpr(state.program, NiL, NiL, INTEGER)))
888 if (x = exexpr(state.program, "action", NiL, 0))
890 if (x = exexpr(state.program, "sort", NiL, 0))
962 if (!state.program)
964 if (!(state.sortkey = newof(0, Exnode_t, 1, 0)) || !(state.sortkey->data.variable.symbol = (Exid_t*)dtmatch(state.program->symbols, "name")))
1068 if (x = exexpr(state.program, "end", NiL, 0))
/ast/src/cmd/ksh93/
H A DMakefile5 SH := $(PWD:B:/[0-9]*$//:N=ksh*:-ksh) /* name of the shell program */
/ast/src/lib/libtksh/tcl/
H A Dregexp.c69 * regmust string (pointer into program) that match must include, or NULL
83 * Structure for regexp "program". This is essentially a linear encoding
99 #define END 0 /* no End of program. */
152 * See regmagic.h for one further detail of program structure.
190 * The first byte of the regexp internal "program" is actually this magic
273 rcstate->regcode = r->program;
283 scan = r->program+1; /* First BRANCH. */
781 /* Check validity of program. */
782 if (UCHARAT(prog->program) != MAGIC) {
783 TclRegError("corrupted program");
[all...]
/ast/src/cmd/pax/
H A Dtar.sh74 running the tar program, rather than those on tarfile.]
/ast/src/cmd/html/
H A Dhtmlrefs.c43 " [+program-root?The program root directory containing CGI"
45 " If specified then the program root directory should"
598 else if (!strcasecmp(s, "program-root"))
/ast/src/cmd/INIT/
H A Dpackage.sh5635 else echo "$command: $CC: failed to compile this program:" >&2

Completed in 383 milliseconds