Searched refs:symtab (Results 1 - 11 of 11) sorted by relevance

/ast/src/lib/libpp/
H A Dppcontext.c52 if (op->symtab) hashfree(op->symtab);
H A Dppmisc.c39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY))))
43 sym = ppsymset(pp.symtab, NiL);
109 if (sym = ppsymref(pp.symtab, pred))
122 if (sym = ppsymset(pp.symtab, pred))
H A Dppop.c33 #define REFONE (pp.truncate?(Hash_table_t*)0:pp.symtab)
34 #define REFALL (pp.truncate?pp.dirtab:pp.symtab)
490 if (!pp.symtab)
491 pp.symtab = hashalloc(NiL, HASH_name, "symbols", 0);
510 if (key = ppkeyset(pp.symtab, s))
797 if (!pp.symtab)
798 pp.symtab = hashalloc(NiL, HASH_name, "symbols", 0);
837 hashset(pp.symtab, HASH_ALLOCATE);
1078 pp.reset.symtab = pp.symtab;
[all...]
H A Dpplex.c1342 if (sym = ppsymref(pp.symtab, tp))
1400 sym = (pp.option & NOHASH) ? ppsymref(pp.symtab, tp) : ppsymset(pp.symtab, tp);
1404 if ((sym->flags & SYM_KEYWORD) && (!pp.truncate || (op - tp) <= pp.truncate || (tp[pp.truncate] = '_', tp[pp.truncate + 1] = 0, pp.symbol = sym = (pp.option & NOHASH) ? ppsymref(pp.symtab, tp) : ppsymset(pp.symtab, tp), 0)))
1564 hashlook(pp.symtab, tp, HASH_DELETE, NiL);
1565 pp.symbol = sym = (struct ppsymbol*)ppkeyset(pp.symtab, tp);
1583 if (sym = ppsymref(pp.symtab, tp))
1617 if (!(pp.option & NOHASH)) sym = ppsymset(pp.symtab, tp);
1618 else if (!(sym = ppsymref(pp.symtab, t
[all...]
H A Dppinput.c413 hashwalk(pp.symtab, 0, dump, NiL);
607 fp->guard = ppsymset(pp.symtab, g);
651 sym = ppsymset(pp.symtab, b);
H A Dppbuiltin.c119 if ((c = pplex()) != T_ID || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->arity != 1 || (c = pplex()) != ',')
H A Dppexpr.c240 else if (((sym = pprefmac(args, REF_IF)) || (sym = ppsymref(pp.symtab, args))) && (sym->flags & SYM_NOTICED)) return 1;
248 if (warn && !(pp.mode & HOSTED) && (sym = ppsymref(pp.symtab, pred)) && (sym->flags & SYM_PREDICATE))
H A Dpp.h395 Hash_table_t* symtab; /* macro and id hash table */
H A Dppcontrol.c95 if (sym = ppsymref(pp.symtab, pred))
108 if (sym = ppsymset(pp.symtab, pred))
940 else if (pp.hiding && (var.symbol = ppsymref(pp.symtab, pp.token)) && var.symbol->hidden)
1746 else if (sym = ppsymset(pp.symtab, pp.token))
H A Dpplib.h318 Hash_table_t* symtab; /* original pp.symtab scope */ \
/ast/src/cmd/INIT/
H A Dproto.c381 struct ppdirs* lcldirs; struct ppdirs* stddirs; int flags; char* symtab; member in struct:ppglobals
389 char* checkpoint; int constack; struct ppinstk* in; char* addp; char* args; char* addbuf; char* catbuf; char* hdrbuf; char* hidebuf; char* path; char* tmpbuf; char* valbuf; char* optflags; int lastout; char* include; char* prefix; struct ppmember* member; int hidden; int hiding; int level; struct { int input; int output; } pool; struct { long ro_state; long ro_mode; long ro_option; long ro_op[2]; int on; char* symtab; } reset; int truncate; struct ppmacstk* macp; char* maxmac; char* mactop; char* toknxt; long* control; long* maxcon; struct oplist* chop; struct ppfile* insert; struct ppfile* original; struct ppdirs* found; int vendor; char* dirtab; char* strtab; PPBUILTIN builtin; PPCOMMENT comment; PPINCREF incref; PPLINESYNC linesync; PPLINESYNC olinesync; PPMACREF macref; PPOPTARG optarg; PPPRAGMA pragma; struct counter counter; char funbuf[256]; member in struct:ppglobals::__anon26
436 struct ppdirs* lcldirs; struct ppdirs* stddirs; int flags; char* symtab; member in struct:ppcontext

Completed in 43 milliseconds