Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
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 != (n = mac->arity) && (c > 0 || n > 1) && !(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()
791 if (mac->arity < MAXFORMALS) in ppcontrol()
796 formargs[mac->arity++] = p; in ppcontrol()
832 if (!mac->arity) in ppcontrol()
853 mac->arity = 0; in ppcontrol()
969 if (c >= mac->arity) in ppcontrol()
1173 if (!mac->arity) /* ok */; in ppcontrol()
[all …]
H A Dppmacref.c43 sum = strsum(sym->macro->value, (long)sym->macro->arity); in ppmacref()
H A Dppinput.c371 ppprintf("%d", mac->arity); in dump()
373 if (mac->arity) in dump()
678 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 DRELEASE284 variadic actuals call be one less than arity (to match gcc)
418 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()
/illumos-gate/usr/src/tools/smatch/src/
H A Dopcode.c31 .arity = N, \
H A Dopcode.h19 unsigned int arity:2; member
H A Dopcode.def1 // OPCODE negated swaped float arity, flags
/illumos-gate/usr/src/cmd/ctfdump/
H A Dctfdump.c995 uint_t arity = 0; in idname_compare() local
1006 arity = l->ci_funcinfo.ctc_argc; in idname_compare()
1020 if (arity == 0) in idname_compare()
1023 ctf_id_t *largs = calloc(arity, sizeof (ctf_id_t)); in idname_compare()
1024 ctf_id_t *rargs = calloc(arity, sizeof (ctf_id_t)); in idname_compare()
1033 if (ctf_func_args(g_fp, l->ci_symidx, arity, largs) == CTF_ERR) { in idname_compare()
1041 if (ctf_func_args(g_fp, r->ci_symidx, arity, rargs) == CTF_ERR) { in idname_compare()
1049 for (uint_t i = 0; i < arity; i++) { in idname_compare()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c340 int arity; member