Searched defs:nargs (Results 1 - 25 of 118) sorted by relevance

12345

/freebsd-head/contrib/netbsd-tests/fs/ptyfs/
H A Dt_nullpts.c43 struct null_args nargs; local
53 memset(&nargs, 0, sizeof(nargs));
54 nargs.nulla_target = __UNCONST(what);
55 if (rump_sys_mount(MOUNT_NULL, mp, flags, &nargs, sizeof(nargs)) == -1)
/freebsd-head/usr.bin/c99/
H A Dc99.c49 static u_int cargs, nargs; variable
61 cargs = nargs = 0;
99 if (nargs + 1 >= cargs) {
104 if ((args[nargs++] = strdup(item)) == NULL)
106 args[nargs] = NULL;
/freebsd-head/contrib/lutok/
H A Doperations.cpp67 /// \param nargs The number of arguments on the stack to pass to the file.
76 lutok::do_file(state& s, const std::string& file, const int nargs, argument
80 const int height = s.get_top() - nargs;
84 if (nargs > 0)
85 s.insert(-nargs - 1);
86 s.pcall(nargs, nresults == -1 ? LUA_MULTRET : nresults,
107 /// \param nargs The number of arguments on the stack to pass to the chunk.
116 lutok::do_string(state& s, const std::string& str, const int nargs, argument
120 const int height = s.get_top() - nargs;
124 if (nargs >
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt.c56 int nargs = -1; local
71 for (; nargs >= 0; nargs--) {
72 if (args[nargs] != NULL)
73 free(args[nargs]);
75 args[nargs = 0] = strtok(&line[6], WS);
76 if (args[nargs] == NULL)
80 args[nargs] = strdup(args[nargs]);
81 while ((args[++nargs]
[all...]
H A Dh_getopt_long.c58 int nargs = -1; local
156 for (; nargs >= 0; nargs--) {
157 if (args[nargs] != NULL)
158 free(args[nargs]);
160 args[nargs = 0] = strtok(&line[6], WS);
161 if (args[nargs] == NULL)
164 args[nargs] = strdup(args[nargs]);
165 while ((args[++nargs]
[all...]
/freebsd-head/lib/geom/concat/
H A Dgeom_concat.c120 int error, i, hardcode, nargs; local
123 nargs = gctl_get_int(req, "nargs");
124 if (nargs < 2) {
133 for (i = 1; i < nargs; i++) {
148 md.md_all = nargs - 1;
153 for (i = 1; i < nargs; i++) {
187 int error, i, nargs; local
189 nargs = gctl_get_int(req, "nargs");
227 int error, i, nargs; local
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libcurses/slave/
H A Dcommands.c54 command_execute(char *func, int nargs, char **args) argument
62 commands[i].func(nargs, args);
234 check_arg_count(int nargs, int expected) argument
236 if (nargs != expected) {
/freebsd-head/contrib/ntp/ntpdc/
H A Dntpdc.h46 size_t nargs; member in struct:parse
/freebsd-head/contrib/netbsd-tests/fs/nullfs/
H A Dt_basic.c64 struct null_args nargs; local
66 memset(&nargs, 0, sizeof(nargs));
67 nargs.nulla_target = __UNCONST(what);
68 if (rump_sys_mount(MOUNT_NULL, mp, flags, &nargs, sizeof(nargs)) == -1)
/freebsd-head/lib/geom/cache/
H A Dgeom_cache.c137 int error, nargs; local
141 nargs = gctl_get_int(req, "nargs");
142 if (nargs != 2) {
180 int error, i, nargs; local
182 nargs = gctl_get_int(req, "nargs");
183 if (nargs < 1) {
188 for (i = 0; i < nargs; i++) {
219 int error, i, nargs; local
[all...]
/freebsd-head/lib/geom/label/
H A Dgeom_label.c126 int error, nargs; local
129 nargs = gctl_get_int(req, "nargs");
130 if (nargs != 2) {
176 int error, i, nargs; local
178 nargs = gctl_get_int(req, "nargs");
179 if (nargs < 1) {
184 for (i = 0; i < nargs; i++) {
212 int error, i, nargs; local
241 int i, nargs, fd; local
[all...]
/freebsd-head/lib/geom/multipath/
H A Dgeom_multipath.c159 int error, i, nargs, fd; local
161 nargs = gctl_get_int(req, "nargs");
162 if (nargs < 2) {
171 for (i = 1; i < nargs; i++) {
255 for (i = 2; i < nargs; i++) {
287 int error, i, nargs; local
289 nargs = gctl_get_int(req, "nargs");
290 if (nargs <
311 int nargs; local
[all...]
/freebsd-head/lib/geom/raid3/
H A Dgeom_raid3.c152 int error, i, nargs; local
155 nargs = gctl_get_int(req, "nargs");
156 if (nargs < 4) {
160 if (bitcount32(nargs - 2) != 1) {
170 md.md_all = nargs - 1;
198 for (i = 1; i < nargs; i++) {
215 md.md_mediasize = mediasize * (nargs - 2);
216 md.md_sectorsize = sectorsize * (nargs - 2);
227 for (i = 1; i < nargs;
283 int error, i, nargs; local
310 int error, i, nargs; local
[all...]
/freebsd-head/lib/geom/shsec/
H A Dgeom_shsec.c113 int error, i, nargs, hardcode; local
116 nargs = gctl_get_int(req, "nargs");
117 if (nargs <= 2) {
128 for (i = 1; i < nargs; i++) {
158 md.md_all = nargs - 1;
163 for (i = 1; i < nargs; i++) {
199 int error, i, nargs; local
201 nargs = gctl_get_int(req, "nargs");
239 int error, i, nargs; local
[all...]
/freebsd-head/lib/geom/stripe/
H A Dgeom_stripe.c131 int error, i, nargs, hardcode; local
134 nargs = gctl_get_int(req, "nargs");
135 if (nargs < 3) {
146 for (i = 1; i < nargs; i++) {
176 md.md_all = nargs - 1;
188 for (i = 1; i < nargs; i++) {
224 int error, i, nargs; local
226 nargs = gctl_get_int(req, "nargs");
265 int error, i, nargs; local
[all...]
/freebsd-head/sys/geom/raid/
H A Dg_raid_ctl.c106 int *nargs; local
110 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs));
111 if (nargs == NULL) {
112 gctl_error(req, "No '%s' argument.", "nargs");
115 if (*nargs < 4) {
154 int *nargs, *force; local
157 nargs = gctl_get_paraml(req, "nargs", sizeo
194 int *nargs; local
[all...]
/freebsd-head/contrib/netbsd-tests/fs/vfs/
H A Dt_rwtoro.c133 struct null_args nargs; local
137 memset(&nargs, 0, sizeof(nargs));
138 nargs.nulla_target = __UNCONST(mp);;
140 &nargs, sizeof(nargs)));
/freebsd-head/lib/geom/journal/
H A Dgeom_journal.c145 int error, force, i, nargs, checksum, hardcode; local
148 nargs = gctl_get_int(req, "nargs");
163 if (nargs != 1 && nargs != 2) {
169 for (i = 0; i < nargs; i++) {
180 switch (nargs) {
244 for (i = 0; i < nargs; i++) {
257 for (i = 0; i < nargs; i++) {
262 if (nargs
296 int error, i, nargs; local
323 int error, i, nargs; local
[all...]
/freebsd-head/lib/geom/virstor/
H A Dgeom_virstor.c161 int hardcode, nargs, error; local
170 nargs = gctl_get_int(req, "nargs");
171 if (nargs < 2) {
173 "provider0 [provider1 ...]", nargs);
195 md.md_count = nargs - 1;
224 for (i = 1; i < (unsigned)nargs; i++) {
284 for (i = 1; i < (unsigned)nargs; i++) {
365 for (i = 1; i < (unsigned)nargs; i++) {
439 int nargs, erro local
503 int nargs, error, i; local
[all...]
/freebsd-head/usr.bin/apply/
H A Dapply.c69 int ch, debug, i, magic, n, nargs, rval; local
76 nargs = -1;
90 if (nargs != -1)
93 nargs = optopt - '0';
135 * the end to consume (nargs) arguments each time round the loop.
145 /* If nargs not set, default to a single argument. */
146 if (nargs == -1)
147 nargs = 1;
149 for (i = 1; i <= nargs; i++) {
155 * If nargs se
[all...]
/freebsd-head/usr.bin/truss/
H A Dtruss.h75 * argument on a 32-bit system). The nargs member contains the count
81 unsigned int nargs; member in struct:current_syscall
/freebsd-head/sys/powerpc/ofw/
H A Drtas.c203 rtas_call_method(cell_t token, int nargs, int nreturns, ...) argument
210 cell_t nargs; member in struct:__anon32
216 if (!rtas_exists() || nargs + nreturns > 12)
225 args.nargs = htobe32(nargs);
228 for (n = 0; n < nargs; n++)
253 for (n = nargs; n < nargs + nreturns; n++)
/freebsd-head/contrib/gdb/gdb/
H A Dc-typeprint.c161 int nargs = TYPE_NFIELDS (mtype);
171 if (nargs > i)
173 while (i < nargs)
177 if (i == nargs && varargs)
179 else if (i < nargs)
160 int nargs = TYPE_NFIELDS (mtype); local
H A Dexpprint.c67 unsigned nargs; local
89 nargs = longest_to_int (exp->elts[pc + 2].longconst);
90 (*pos) += 4 + BYTES_TO_EXP_ELEM (nargs + 1);
155 nargs = longest_to_int (exp->elts[pc + 1].longconst);
158 for (tem = 0; tem < nargs; tem++)
169 nargs = longest_to_int (exp->elts[pc + 1].longconst);
170 (*pos) += 3 + BYTES_TO_EXP_ELEM (nargs + 1);
175 nargs = longest_to_int (exp->elts[pc + 1].longconst);
176 (*pos) += 3 + BYTES_TO_EXP_ELEM (nargs + 1);
180 LA_PRINT_STRING (stream, &exp->elts[pc + 2].string, nargs,
954 int i, nargs; local
[all...]
H A Dinfcall.c224 struct value **args, int nargs,
281 (*real_pc) = DEPRECATED_FIX_CALL_DUMMY (dummy1, start_sp, funaddr, nargs,
287 DEPRECATED_FIX_CALL_DUMMY (dummy1, start_sp, funaddr, nargs, args,
308 struct value **args, int nargs,
347 struct value **args, int nargs,
353 args, nargs, value_type, real_pc, bp_addr);
357 args, nargs, value_type, real_pc, bp_addr);
360 args, nargs, value_type, real_pc, bp_addr);
382 call_function_by_hand (struct value *function, int nargs, struct value **args) argument
540 using_gcc, args, nargs, value_typ
222 legacy_push_dummy_code(struct gdbarch *gdbarch, CORE_ADDR sp, CORE_ADDR funaddr, int using_gcc, struct value **args, int nargs, struct type *value_type, CORE_ADDR *real_pc, CORE_ADDR *bp_addr) argument
306 generic_push_dummy_code(struct gdbarch *gdbarch, CORE_ADDR sp, CORE_ADDR funaddr, int using_gcc, struct value **args, int nargs, struct type *value_type, CORE_ADDR *real_pc, CORE_ADDR *bp_addr) argument
345 push_dummy_code(struct gdbarch *gdbarch, CORE_ADDR sp, CORE_ADDR funaddr, int using_gcc, struct value **args, int nargs, struct type *value_type, CORE_ADDR *real_pc, CORE_ADDR *bp_addr) argument
[all...]

Completed in 152 milliseconds

12345