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() 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 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/cmd/ctfdump/ |
H A D | ctfdump.c | 996 uint_t arity = 0; in idname_compare() local 1007 arity = l->ci_funcinfo.ctc_argc; in idname_compare() 1021 if (arity == 0) in idname_compare() 1024 ctf_id_t *largs = calloc(arity, sizeof (ctf_id_t)); in idname_compare() 1025 ctf_id_t *rargs = calloc(arity, sizeof (ctf_id_t)); in idname_compare() 1034 if (ctf_func_args(g_fp, l->ci_symidx, arity, largs) == CTF_ERR) { in idname_compare() 1042 if (ctf_func_args(g_fp, r->ci_symidx, arity, rargs) == CTF_ERR) { in idname_compare() 1050 for (uint_t i = 0; i < arity; i++) { in idname_compare()
|
/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/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 340 int arity; member
|