Searched refs:arity (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppcall.c | 70 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 D | ppcontrol.c | 667 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 D | ppmacref.c | 43 sum = strsum(sym->macro->value, (long)sym->macro->arity); in ppmacref()
|
H A D | ppinput.c | 371 ppprintf("%d", mac->arity); in dump() 373 if (mac->arity) in dump() 678 if (mac->arity = n) in ppload()
|
H A D | pp.h | 367 int arity; /* # formal arguments */ member
|
H A D | ppbuiltin.c | 119 …D || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->arity != 1 || (c = pplex… in ppbuiltin()
|
H A D | RELEASE | 284 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 D | pplex.c | 2011 …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 D | opcode.c | 31 .arity = N, \
|
H A D | opcode.h | 19 unsigned int arity:2; member
|
H A D | opcode.def | 1 // OPCODE negated swaped float arity, flags
|
/illumos-gate/usr/src/cmd/ctfdump/ |
H A D | ctfdump.c | 995 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 D | proto.c | 340 int arity; member
|