Searched refs:mac (Results 1 - 13 of 13) sorted by relevance

/ast/src/lib/libpp/
H A Dppcall.c36 * 0 returned if tok==0 and sym->mac->value to be copied to output by caller
46 register struct ppmacro* mac; local
63 if (mac = sym->macro)
70 if ((pp.state & (COMPATIBILITY|TRANSITION)) != COMPATIBILITY || !mac->arity)
95 else if (!(pp.state & DIRECTIVE) && mac->value && (ppisdig(*mac->value) || *mac->value == '#'))
98 debug((-5, "macro %s = %s", sym->name, mac->value));
101 if (tp = mac->tuple)
174 if (!mac
[all...]
H A Dppcontrol.c260 register struct ppmacro* mac; local
655 mac = sym->macro;
656 if ((pp.option & ALLPOSSIBLE) && !pp.in->prev->prev && mac->value)
660 old = *mac;
667 mac->arity = 0;
668 mac->formals = 0;
669 mac->value = 0;
681 p = mac->formals = oldof(0, char, 0, n);
684 if (mac->arity < MAXFORMALS)
686 if (mac
[all...]
H A Dppinput.c351 register struct ppmacro* mac; local
357 if ((mac = sym->macro) && !(sym->flags & (SYM_BUILTIN|SYM_PREDEFINED)))
371 ppprintf("%d", mac->arity);
373 if (mac->arity)
375 ppprintf("%s", mac->formals);
379 ppprintf("%s", mac->value);
474 struct ppmacro* mac; local
673 mac = sym->macro = newof(0, struct ppmacro, 1, 0);
678 if (mac->arity = n)
682 mac
[all...]
H A Dppop.c316 struct ppmacro* mac = ((struct ppsymbol*)p)->macro; local
318 if (mac)
320 if (mac->formals)
321 free(mac->formals);
322 free(mac->value);
323 free(mac);
/ast/src/cmd/html/
H A Dtroff2html.h109 Arg_t* mac; /* previous state.mac */ member in struct:Pushin_s
227 Arg_t* mac; /* current macro args */ member in struct:State_s
H A Dtroff2html.c301 pp->mac = state.mac;
302 state.mac = arg;
744 state.mac = pp->mac;
982 mac(char* name) function
990 error(ERROR_SYSTEM|3, "out of space [mac]");
1145 set(mac(".P"), path + 1, 0);
1370 n = state.mac ? state.mac
[all...]
/ast/src/cmd/std/
H A Ddf.c319 Sfio_t* mac; /* temporary macro stream */ member in struct:__anon228
419 sfkeyprintf(state.mac, handle, kp->macro, key, NiL);
420 if (!(*ps = sfstruse(state.mac)))
698 if (!(fmt = sfstropen()) || !(state.mac = sfstropen()) || !(state.tmp = sfstropen()))
850 sfprintf(state.mac, "%d-blocks", state.block);
851 if (!(s = strdup(sfstruse(state.mac))))
H A Dps.c231 Sfio_t* mac; /* temporary string stream */ member in struct:State_s
594 sfkeyprintf(state.mac, handle, kp->macro, key, NiL);
595 if (!(s = sfstruse(state.mac)))
/ast/src/cmd/pax/
H A Dmisc.c492 if (!(state.tmp.mac && !(state.tmp.mac = sfstropen())))
494 sfkeyprintf(state.tmp.mac, handle, op->macro, listlookup, NiL);
495 if (!(s = sfstruse(state.tmp.mac)))
H A Dpax.h626 Sfio_t* mac; /* temporary print macro stream */ \
/ast/src/cmd/INIT/
H A Diffe.sh166 mac) mm="a macro" ;;
953 [+mac \aname\a?Defines \b_mac_\b\aname\a if \aname\a is a macro.]
1878 mac=
2129 com_mac=$mac
2174 -D*) mac="$mac $1" ;;
2332 is mac $x
2535 cc="$cc $mac"
2996 dat|dfn|key|lib|mac|mth|nos|npt|siz|sym|typ|val)
3400 mac*|noma
[all...]
/ast/src/cmd/ksh93/features/
H A Dmath.sh115 eval `iffe $iffeflags -c "$cc" - dat,npt,mac $lib $iffehdrs $iffelibs 2>&$stderr`
/ast/src/cmd/mailx/
H A Dlist.c678 char mac[LINESIZE]; local
709 if ((n = fread(mac, 1, sizeof(mac) - 1, fp)) > 0) {
710 mac[n] = 0;
711 s = mac;

Completed in 49 milliseconds