Home
last modified time | relevance | path

Searched refs:arity (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/libpp/common/
H A Dppcall.c70 if ((pp.state & (COMPATIBILITY|TRANSITION)) != COMPATIBILITY || !mac->arity) in ppcall()
190 if ((pp.token = (char*)&mp->arg[mac->arity + 1]) > pp.maxmac) in ppcall()
245 p = pp.token = (char*)&mp->arg[mac->arity + 1]; in ppcall()
256 for (c = 0; c < mac->arity; c++) in ppcall()
278 for (c = 0; c < mac->arity; c++) in ppcall()
286 for (c = 0; c < mac->arity; c++) in ppcall()
288 if (c >= mac->arity) in ppcall()
328 if (!n && (m++, (c < mac->arity - 1 || !(sym->flags & SYM_VARIADIC)))) in ppcall()
347 if (c < mac->arity) in ppcall()
408 if (c != mac->arity && !(sym->flags & SYM_EMPTY)) in ppcall()
[all …]
H A Dppcontrol.c667 mac->arity = 0; in ppcontrol()
684 if (mac->arity < MAXFORMALS) in ppcontrol()
686 if (mac->arity) p++; in ppcontrol()
687 formargs[mac->arity] = p; in ppcontrol()
689 formvals[mac->arity++] = p1 = p; in ppcontrol()
690 if (mac->arity == 1) *p++ = ' '; in ppcontrol()
719 if (p > formvals[mac->arity - 1] && *(p - 1) == ' ') *--p = 0; in ppcontrol()
726 if (p > formvals[mac->arity - 1] && *(p - 1) == ' ') *--p = 0; in ppcontrol()
731 if (p > formvals[mac->arity - 1] && *(p - 1) == ' ') continue; in ppcontrol()
738 for (n = 0; n < mac->arity; n++) in ppcontrol()
[all …]
H A Dppmacref.c43 sum = strsum(sym->macro->value, (long)sym->macro->arity); in ppmacref()
H A Dppinput.c376 ppprintf("%d", mac->arity); in dump()
378 if (mac->arity) in dump()
683 if (mac->arity = n) in ppload()
H A Dpp.h367 int arity; /* # formal arguments */ member
H A Dppbuiltin.c119 …D || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->arity != 1 || (c = pplex… in ppbuiltin()
H A DRELEASE273 variadic actuals call be one less than arity (to match gcc)
407 add unsigned long arg to PP_MACREF for hashed macro arity+value
H A Dpplex.c2011 …p.macp->arg[c]) && (pp.in->symbol->flags & SYM_VARIADIC) && pp.in->symbol->macro->arity == (c + 1)) in ppcpp()