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

/ast/src/lib/libpp/
H A Dppcall.c70 if ((pp.state & (COMPATIBILITY|TRANSITION)) != COMPATIBILITY || !mac->arity)
190 if ((pp.token = (char*)&mp->arg[mac->arity + 1]) > pp.maxmac)
245 p = pp.token = (char*)&mp->arg[mac->arity + 1];
256 for (c = 0; c < mac->arity; c++)
278 for (c = 0; c < mac->arity; c++)
286 for (c = 0; c < mac->arity; c++)
288 if (c >= mac->arity)
328 if (!n && (m++, (c < mac->arity - 1 || !(sym->flags & SYM_VARIADIC))))
347 if (c < mac->arity)
408 if (c != (n = mac->arity)
[all...]
H A Dppcontrol.c667 mac->arity = 0;
684 if (mac->arity < MAXFORMALS)
686 if (mac->arity) p++;
687 formargs[mac->arity] = p;
689 formvals[mac->arity++] = p1 = p;
690 if (mac->arity == 1) *p++ = ' ';
719 if (p > formvals[mac->arity - 1] && *(p - 1) == ' ') *--p = 0;
726 if (p > formvals[mac->arity - 1] && *(p - 1) == ' ') *--p = 0;
731 if (p > formvals[mac->arity - 1] && *(p - 1) == ' ') continue;
738 for (n = 0; n < mac->arity;
[all...]
H A Dppmacref.c43 sum = strsum(sym->macro->value, (long)sym->macro->arity);
H A Dppinput.c371 ppprintf("%d", mac->arity);
373 if (mac->arity)
677 if (*s++) error(3, "%-.48: checkpoint macro arity botched", sym->name);
678 if (mac->arity = n)
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 Dpp.h367 int arity; /* # formal arguments */ member in struct:ppmacro
H A Dpplex.c2011 if (!*(s = pp.macp->arg[c]) && (pp.in->symbol->flags & SYM_VARIADIC) && pp.in->symbol->macro->arity == (c + 1))
/ast/src/lib/libexpr/
H A Dexlib.h82 int arity; /* # formal args */ \
H A Dexparse.y1034 expr.procedure->data.procedure.arity++;
H A DOexparse.c1981 expr.procedure->data.procedure.arity++;
/ast/src/cmd/INIT/
H A Dproto.c340 int arity; member in struct:ppmacro

Completed in 50 milliseconds