Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 25 of 201) sorted by relevance

123456789

/openbsd-src/sys/arch/sparc64/sparc64/
H A Dopenfirm.c48 cell_t nargs; in OF_peer() member
55 args.nargs = 1; in OF_peer()
68 cell_t nargs; in OF_child() member
75 args.nargs = 1; in OF_child()
88 cell_t nargs; in OF_parent() member
95 args.nargs = 1; in OF_parent()
108 cell_t nargs; in OF_instance_to_package() member
115 args.nargs = 1; in OF_instance_to_package()
129 cell_t nargs; in OF_getproplen() member
137 args.nargs = 2; in OF_getproplen()
[all …]
H A Dofw_machdep.c104 cell_t nargs; in prom_set_trap_table() member
112 args.nargs = 2; in prom_set_trap_table()
114 args.nargs = 1; in prom_set_trap_table()
131 cell_t nargs; in prom_vtop() member
148 args.nargs = 3; in prom_vtop()
182 cell_t nargs; in prom_claim_virt() member
198 args.nargs = 5; in prom_claim_virt()
220 cell_t nargs; in prom_alloc_virt() member
235 args.nargs = 4; in prom_alloc_virt()
257 cell_t nargs; in prom_free_virt() member
[all …]
/openbsd-src/sys/arch/macppc/macppc/
H A Dopendev.c50 int nargs; in OF_instance_to_package() member
73 OF_call_method(char *method, int ihandle, int nargs, int nreturns, ...) in OF_package_to_path()
78 int nargs; in OF_package_to_path()
91 if (nargs > 6) in OF_package_to_path()
94 args.nargs = nargs + 2; in OF_package_to_path()
99 for (ip = args.args_n_results + (n = nargs); --n >= 0;) in OF_package_to_path()
103 else if (args.args_n_results[nargs]) in OF_package_to_path()
104 ret = args.args_n_results[nargs]; in OF_package_to_path()
106 for (ip = args.args_n_results + nargs in OF_package_to_path()
77 int nargs; OF_package_to_path() member
110 OF_call_method(char * method,int ihandle,int nargs,int nreturns,...) OF_call_method() argument
115 int nargs; OF_call_method() member
153 OF_call_method_1(char * method,int ihandle,int nargs,...) OF_call_method_1() argument
158 int nargs; OF_call_method_1() member
196 int nargs; OF_open() member
226 int nargs; OF_close() member
250 int nargs; OF_read() member
297 int nargs; OF_write() member
336 int nargs; OF_seek() member
[all...]
H A Dopenfirm.c50 int nargs; in OF_peer() member
77 int nargs; in OF_child() member
104 int nargs; in OF_parent() member
131 int nargs; in OF_getproplen() member
160 int nargs; in OF_getprop() member
198 int nargs; in OF_setprop() member
234 int nargs; in OF_nextprop() member
268 int nargs; in OF_interpret() member
288 args.nargs = 1; in OF_interpret()
309 int nargs; in OF_finddevice() member
[all …]
/openbsd-src/sys/arch/sparc64/stand/ofwboot/
H A DLocore.c62 cell_t nargs; in _rtt() member
71 args.nargs = 0; in _rtt()
82 cell_t nargs; in OF_enter() member
87 args.nargs = 0; in OF_enter()
97 cell_t nargs; in OF_finddevice() member
104 args.nargs = 1; in OF_finddevice()
117 cell_t nargs; in OF_instance_to_package() member
124 args.nargs = 1; in OF_instance_to_package()
137 cell_t nargs; in OF_getprop() member
147 args.nargs = 4; in OF_getprop()
[all …]
/openbsd-src/sys/arch/macppc/stand/
H A DLocore.c142 int nargs; in _rtt() member
159 int nargs; in OF_finddevice() member
180 int nargs; in OF_instance_to_package() member
201 int nargs; in OF_getprop() member
228 int nargs; in OF_open() member
249 int nargs; in OF_close() member
267 int nargs; in OF_write() member
292 int nargs; in OF_read() member
317 int nargs; in OF_seek() member
342 int nargs; in OF_claim() member
[all …]
/openbsd-src/usr.bin/apply/
H A Dapply.c86 int ch, debug, i, magic, n, nargs, rval; in main() local
94 nargs = -1; in main()
108 if (nargs != -1) in main()
111 nargs = ch - '0'; in main()
143 if (nargs == -1) in main()
144 nargs = 1; in main()
146 for (i = 1; i <= nargs; i++) { in main()
155 if (nargs == 0) in main()
156 nargs = 1; in main()
158 nargs = n; in main()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Duninit-2.c8 int nargs; member
24 int nargs = defn->nargs; in macroexpand() local
26 if (nargs >= 0) in macroexpand()
36 if (i < nargs || (nargs == 0 && i == 0)) in macroexpand()
39 if (i == nargs - 1 && defn->rest_args) in macroexpand()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dexpprint.c67 unsigned nargs; in print_subexp_standard() local
89 nargs = longest_to_int (exp->elts[pc + 2].longconst); in print_subexp_standard()
90 (*pos) += 4 + BYTES_TO_EXP_ELEM (nargs + 1); in print_subexp_standard()
155 nargs = longest_to_int (exp->elts[pc + 1].longconst); in print_subexp_standard()
158 for (tem = 0; tem < nargs; tem++) in print_subexp_standard()
169 nargs = longest_to_int (exp->elts[pc + 1].longconst); in print_subexp_standard()
170 (*pos) += 3 + BYTES_TO_EXP_ELEM (nargs + 1); in print_subexp_standard()
175 nargs = longest_to_int (exp->elts[pc + 1].longconst); in print_subexp_standard()
176 (*pos) += 3 + BYTES_TO_EXP_ELEM (nargs + 1); in print_subexp_standard()
180 LA_PRINT_STRING (stream, &exp->elts[pc + 2].string, nargs, 1, 0); in print_subexp_standard()
[all …]
H A Dinfcall.c226 struct value **args, int nargs, in generic_push_dummy_code() argument
265 struct value **args, int nargs, in push_dummy_code() argument
271 args, nargs, value_type, real_pc, bp_addr); in push_dummy_code()
274 args, nargs, value_type, real_pc, bp_addr); in push_dummy_code()
296 call_function_by_hand (struct value *function, int nargs, struct value **args) in call_function_by_hand() argument
435 using_gcc, args, nargs, value_type, in call_function_by_hand()
443 using_gcc, args, nargs, value_type, in call_function_by_hand()
487 if (nargs < TYPE_NFIELDS (ftype)) in call_function_by_hand()
492 for (i = nargs - 1; i >= 0; i--) in call_function_by_hand()
557 for (i = nargs - 1; i >= 0; i--) in call_function_by_hand()
[all …]
H A Deval.c198 int *pos, enum noside noside, int nargs) in evaluate_struct_tuple() argument
206 while (--nargs >= 0) in evaluate_struct_tuple()
391 int nargs; in evaluate_subexp_standard() local
496 nargs = tem3 - tem2 + 1; in evaluate_subexp_standard()
504 return evaluate_struct_tuple (rec, exp, pos, noside, nargs); in evaluate_subexp_standard()
522 for (tem = nargs; --nargs >= 0;) in evaluate_subexp_standard()
574 for (tem = 0; tem < nargs; tem++) in evaluate_subexp_standard()
632 argvec = (struct value **) alloca (sizeof (struct value *) * nargs); in evaluate_subexp_standard()
633 for (tem = 0; tem < nargs; tem++) in evaluate_subexp_standard()
720 nargs = exp->elts[pc + 2].longconst; in evaluate_subexp_standard()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D920625-1.c5 static int va1(int nargs,...) in va1() argument
10 va_start(args,nargs); in va1()
11 for(i=0;i<nargs;i++){ in va1()
20 static int va2(int nargs,...) in va2() argument
25 va_start(args,nargs); in va2()
26 for(i=0;i<nargs;i++){ in va2()
/openbsd-src/gnu/usr.bin/texinfo/intl/
H A Dplural-exp.c37 .nargs = 0,
42 .nargs = 0,
51 .nargs = 2,
79 plvar.nargs = 0; in init_germanic_plural()
82 plone.nargs = 0; in init_germanic_plural()
86 GERMANIC_PLURAL.nargs = 2; in init_germanic_plural()
H A Dplural.y63 new_exp (int nargs, enum operator op, struct expression * const *args) in new_exp() argument
69 for (i = nargs - 1; i >= 0; i--) in new_exp()
77 newp->nargs = nargs; in new_exp()
79 for (i = nargs - 1; i >= 0; i--) in new_exp()
85 for (i = nargs - 1; i >= 0; i--) in new_exp()
215 switch (exp->nargs)
/openbsd-src/gnu/gcc/intl/
H A Dplural-exp.c37 .nargs = 0,
42 .nargs = 0,
51 .nargs = 2,
79 plvar.nargs = 0; in init_germanic_plural()
82 plone.nargs = 0; in init_germanic_plural()
86 GERMANIC_PLURAL.nargs = 2; in init_germanic_plural()
H A Dplural.y57 static struct expression *new_exp PARAMS ((int nargs, enum operator op,
75 new_exp (nargs, op, args) in new_exp() argument
76 int nargs; in new_exp()
84 for (i = nargs - 1; i >= 0; i--)
92 newp->nargs = nargs;
94 for (i = nargs - 1; i >= 0; i--)
100 for (i = nargs - 1; i >= 0; i--)
240 switch (exp->nargs)
/openbsd-src/gnu/usr.bin/gcc/gcc/intl/
H A Dplural.y61 static struct expression *new_exp PARAMS ((int nargs, enum operator op,
79 new_exp (nargs, op, args) in new_exp() argument
80 int nargs; in new_exp()
88 for (i = nargs - 1; i >= 0; i--)
96 newp->nargs = nargs;
98 for (i = nargs - 1; i >= 0; i--)
104 for (i = nargs - 1; i >= 0; i--)
244 switch (exp->nargs)
/openbsd-src/sys/arch/arm/arm/
H A Dsyscall.c98 u_int nap = 4, nargs; in swi_handler() local
120 nargs = callp->sy_argsize / sizeof(register_t); in swi_handler()
121 if (nargs <= nap) { in swi_handler()
124 KASSERT(nargs <= MAXARGS); in swi_handler()
127 (nargs - nap) * sizeof(register_t)))) in swi_handler()
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dscope_types.pl39 my $nargs= 0;
48 $nargs= $args{$1} // die "panic: Bad arg number '$1'";
54 push @arg_num, [ $nargs, $line ];
79 my ($nargs, $type)= @$tuple;
81 $nargs, $tuple == $arg_num[-1] ? " " : ",",
/openbsd-src/sys/dev/wscons/
H A Dwsemul_sun.c110 int nargs; /* number of args */ member
156 ((n) >= edp->nargs ? 0 : edp->args[(n) + MAX(0, edp->nargs - (c))])
382 edp->nargs = 0; in wsemul_sun_output_haveesc()
516 for (n = 0; n < edp->nargs; n++) { in wsemul_sun_control()
517 switch (ARG(n,edp->nargs)) { in wsemul_sun_control()
520 if (n == edp->nargs - 1) { in wsemul_sun_control()
547 fgcol = ARG(n,edp->nargs) - 30; in wsemul_sun_control()
552 bgcol = ARG(n,edp->nargs) - 40; in wsemul_sun_control()
610 if (edp->nargs > SUN_EMUL_NARGS - 1) { in wsemul_sun_output_control()
613 edp->args[edp->nargs = SUN_EMUL_NARGS - 1] = 0; in wsemul_sun_output_control()
[all …]
H A Dwsemul_vt100.c516 edp->nargs = 0; in wsemul_vt100_output_esc()
606 edp->nargs = 0; in wsemul_vt100_output_esc()
867 if (edp->nargs >= VT100_EMUL_NARGS) in wsemul_vt100_output_dcs()
869 edp->args[edp->nargs] = (edp->args[edp->nargs] * 10) + in wsemul_vt100_output_dcs()
873 if (edp->nargs < VT100_EMUL_NARGS) in wsemul_vt100_output_dcs()
874 edp->nargs++; in wsemul_vt100_output_dcs()
877 if (edp->nargs < VT100_EMUL_NARGS) in wsemul_vt100_output_dcs()
878 edp->nargs++; in wsemul_vt100_output_dcs()
1064 if (edp->nargs > VT100_EMUL_NARG in wsemul_vt100_output_csi()
[all...]
/openbsd-src/gnu/llvm/lldb/bindings/lua/
H A Dlua-wrapper.swig12 int nargs = 2;
22 nargs++;
27 if (lua_pcall(L, nargs, 1, 0) != LUA_OK) {
48 int nargs = 2;
56 if (lua_pcall(L, nargs, 1, 0) != LUA_OK) {
/openbsd-src/sys/arch/sparc64/dev/
H A Dprtc.c128 cell_t nargs; in prtc_opl_gettime() member
134 .nargs = 0, in prtc_opl_gettime()
153 cell_t nargs; in prtc_opl_settime() member
158 .nargs = 1, in prtc_opl_settime()
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dh8300-dis.c671 int nargs; in bfd_h8_disassemble() local
684 for (nargs = 0; in bfd_h8_disassemble()
685 nargs < 3 && args[nargs] != (op_type) E; in bfd_h8_disassemble()
686 nargs++) in bfd_h8_disassemble()
688 int x = args[nargs]; in bfd_h8_disassemble()
694 cst[nargs], cstlen[nargs], in bfd_h8_disassemble()
695 dispregno[nargs], regno[nargs], in bfd_h8_disassemble()
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dh8300-dis.c717 int nargs; local
719 for (nargs = 0;
720 nargs < 3 && args[nargs] != (op_type) E;
721 nargs++)
723 int x = args[nargs];
729 cst[nargs], cstlen[nargs],
730 dispregno[nargs], regno[nargs],

123456789