Searched defs:mac (Results 1 - 9 of 9) sorted by relevance
/ast/src/lib/libpp/ |
H A D | ppcall.c | 36 * 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 D | ppinput.c | 351 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 D | ppop.c | 316 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);
|
H A D | ppcontrol.c | 260 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...] |
/ast/src/cmd/mailx/ |
H A D | list.c | 678 char mac[LINESIZE]; local 709 if ((n = fread(mac, 1, sizeof(mac) - 1, fp)) > 0) { 710 mac[n] = 0; 711 s = mac;
|
/ast/src/cmd/std/ |
H A D | df.c | 319 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 D | ps.c | 231 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/html/ |
H A D | troff2html.h | 109 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 D | troff2html.c | 301 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...] |
Completed in 34 milliseconds