/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | infcall.h | 40 extern struct value *call_function_by_hand (struct value *function, int nargs,
|
/freebsd-10.1-release/usr.bin/apply/ |
H A D | apply.c | 66 int ch, debug, i, magic, n, nargs, offset, rval; local 72 nargs = -1; 86 if (nargs != -1) 89 nargs = optopt - '0'; 131 * the end to consume (nargs) arguments each time round the loop. 141 /* If nargs not set, default to a single argument. */ 142 if (nargs == -1) 143 nargs = 1; 151 for (i = 1; i <= nargs; i++) { 160 * If nargs se [all...] |
/freebsd-10.1-release/usr.bin/truss/ |
H A D | arm-fbsd.c | 83 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 102 for (i = 0; i < fsc->nargs; i++) 110 * Called when a process has entered a system call. nargs is the 117 arm_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 153 nargs--; 158 nargs -= 2; 179 if (nargs == 0) 182 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 183 switch (nargs) { 189 warn("More than 10 words (%d) of arguments!\n", nargs); [all...] |
H A D | mips-fbsd.c | 87 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 106 for (i = 0; i < fsc->nargs; i++) 114 * Called when a process has entered a system call. nargs is the 121 mips_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 162 if (nargs == 0) 165 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 170 iorequest.piod_len = (1 + nargs) * sizeof(unsigned long); 178 switch (nargs) { 184 warn("More than 10 words (%d) of arguments!\n", nargs); 202 iorequest.piod_len = (nargs [all...] |
H A D | powerpc-fbsd.c | 87 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 106 for (i = 0; i < fsc->nargs; i++) 114 * Called when a process has entered a system call. nargs is the 121 powerpc_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 132 nargs += 2; 176 if (nargs == 0) 179 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 181 if (nargs > regargs) { 187 iorequest.piod_len = (nargs - regargs) * sizeof(fsc->args[0]); 192 memmove(&fsc->args[0], args, nargs * sizeo [all...] |
H A D | sparc64-fbsd.c | 88 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 107 for (i = 0; i < fsc->nargs; i++) 115 * Called when a process has entered a system call. nargs is the 122 sparc64_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 168 if (nargs == 0) 171 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 172 switch (nargs) { 178 warn("More than 10 words (%d) of arguments!\n", nargs); 193 iorequest.piod_len = (nargs - 6) * sizeof(fsc->args[0]); 208 memmove(&fsc->args[0], &fsc->args[1], (nargs [all...] |
H A D | amd64-fbsd.c | 83 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 102 for (i = 0; i < fsc->nargs; i++) 110 * Called when a process has entered a system call. nargs is the 117 amd64_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 165 if (nargs == 0) 168 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 169 for (i = 0; i < nargs && reg < 6; i++, reg++) { 179 if (nargs > i) { 183 iorequest.piod_len = (nargs - i) * sizeof(register_t); 191 fsc->nargs [all...] |
H A D | amd64-fbsd32.c | 85 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd32_syscall 105 for (i = 0; i < fsc->nargs; i++) 113 * Called when a process has entered a system call. nargs is the 120 amd64_fbsd32_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 172 if (nargs == 0) 175 fsc->args32 = malloc((1 + nargs) * sizeof(unsigned int)); 179 iorequest.piod_len = (1 + nargs) * sizeof(unsigned int); 184 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 185 for (i = 0; i < nargs + 1; i++) 192 fsc->nargs [all...] |
H A D | powerpc64-fbsd.c | 82 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 101 for (i = 0; i < fsc->nargs; i++) 109 * Called when a process has entered a system call. nargs is the 116 powerpc64_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 164 if (nargs == 0) 167 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 169 if (nargs > regargs) { 175 iorequest.piod_len = (nargs - regargs) * sizeof(fsc->args[0]); 180 memmove(&fsc->args[0], args, nargs * sizeof(fsc->args[0])); 184 fsc->nargs [all...] |
H A D | i386-fbsd.c | 83 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 102 for (i = 0; i < fsc->nargs; i++) 110 * Called when a process has entered a system call. nargs is the 117 i386_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 169 if (nargs == 0) 172 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 176 iorequest.piod_len = (1 + nargs) * sizeof(unsigned long); 185 fsc->nargs = sc->nargs; 189 "args to %d\n", fsc->name, nargs); [all...] |
H A D | ia64-fbsd.c | 82 int nargs; /* number of arguments -- *not* number of words! */ member in struct:freebsd_syscall 101 for (i = 0; i < fsc->nargs; i++) 109 * Called when a process has entered a system call. nargs is the 116 ia64_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 159 if (nargs == 0) 162 fsc->args = malloc((1 + nargs) * sizeof(unsigned long)); 163 memcpy(fsc->args, parm_offset, nargs * sizeof(long)); 167 fsc->nargs = sc->nargs; 171 "args to %d\n", fsc->name, nargs); [all...] |
H A D | amd64-linux32.c | 81 int nargs; /* number of arguments -- *not* number of words! */ member in struct:linux_syscall 99 for (i = 0; i < fsc->nargs; i++) 107 * Called when a process has entered a system call. nargs is the 114 amd64_linux32_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 147 if (nargs == 0) 166 fsc->nargs = sc->nargs; 170 "args to %d\n", fsc->name, nargs); 172 fsc->nargs = nargs; [all...] |
H A D | i386-linux.c | 81 int nargs; /* number of arguments -- *not* number of words! */ member in struct:linux_syscall 99 for (i = 0; i < fsc->nargs; i++) 107 * Called when a process has entered a system call. nargs is the 114 i386_linux_syscall_entry(struct trussinfo *trussinfo, int nargs) argument 147 if (nargs == 0) 166 fsc->nargs = sc->nargs; 170 "args to %d\n", fsc->name, nargs); 172 fsc->nargs = nargs; [all...] |
H A D | syscalls.c | 95 { .name = "fcntl", .ret_type = 1, .nargs = 3, 97 { .name = "fork", .ret_type = 1, .nargs = 0 }, 98 { .name = "vfork", .ret_type = 1, .nargs = 0 }, 99 { .name = "rfork", .ret_type = 1, .nargs = 1, 101 { .name = "getegid", .ret_type = 1, .nargs = 0 }, 102 { .name = "geteuid", .ret_type = 1, .nargs = 0 }, 103 { .name = "linux_readlink", .ret_type = 1, .nargs = 3, 105 { .name = "linux_socketcall", .ret_type = 1, .nargs = 2, 107 { .name = "getgid", .ret_type = 1, .nargs = 0 }, 108 { .name = "getpid", .ret_type = 1, .nargs 1305 print_syscall(struct trussinfo *trussinfo, const char *name, int nargs, char **s_args) argument 1351 print_syscall_ret(struct trussinfo *trussinfo, const char *name, int nargs, char **s_args, int errorp, long retval, struct syscall *sc) argument [all...] |
/freebsd-10.1-release/usr.bin/c99/ |
H A D | c99.c | 47 static u_int cargs, nargs; variable 59 cargs = nargs = 0; 97 if (nargs + 1 >= cargs) { 102 if ((args[nargs++] = strdup(item)) == NULL) 104 args[nargs] = NULL;
|
/freebsd-10.1-release/sys/boot/ofw/libofw/ |
H A D | openfirm.c | 116 cell_t nargs; member in struct:__anon6340 138 cell_t nargs; member in struct:__anon6341 161 cell_t nargs; member in struct:__anon6342 183 cell_t nargs; member in struct:__anon6343 205 cell_t nargs; member in struct:__anon6344 227 cell_t nargs; member in struct:__anon6345 249 cell_t nargs; member in struct:__anon6346 273 cell_t nargs; member in struct:__anon6347 301 cell_t nargs; member in struct:__anon6348 328 cell_t nargs; member in struct:__anon6349 356 cell_t nargs; member in struct:__anon6350 382 cell_t nargs; member in struct:__anon6351 404 cell_t nargs; member in struct:__anon6352 430 cell_t nargs; member in struct:__anon6353 452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) argument 457 cell_t nargs; member in struct:__anon6354 500 cell_t nargs; member in struct:__anon6355 523 cell_t nargs; member in struct:__anon6356 541 cell_t nargs; member in struct:__anon6357 579 cell_t nargs; member in struct:__anon6358 605 cell_t nargs; member in struct:__anon6359 635 cell_t nargs; member in struct:__anon6360 661 cell_t nargs; member in struct:__anon6361 685 cell_t nargs; member in struct:__anon6362 705 cell_t nargs; member in struct:__anon6363 721 cell_t nargs; member in struct:__anon6364 [all...] |
/freebsd-10.1-release/sbin/geom/class/raid3/ |
H A D | geom_raid3.c | 150 int error, i, nargs; local 152 nargs = gctl_get_int(req, "nargs"); 153 if (nargs < 4) { 157 if (bitcount32(nargs - 2) != 1) { 167 md.md_all = nargs - 1; 195 for (i = 1; i < nargs; i++) { 212 md.md_mediasize = mediasize * (nargs - 2); 213 md.md_sectorsize = sectorsize * (nargs - 2); 224 for (i = 1; i < nargs; 280 int error, i, nargs; local 307 int error, i, nargs; local [all...] |
/freebsd-10.1-release/sbin/geom/class/cache/ |
H A D | geom_cache.c | 135 int error, nargs; local 138 nargs = gctl_get_int(req, "nargs"); 139 if (nargs != 2) { 177 int error, i, nargs; local 179 nargs = gctl_get_int(req, "nargs"); 180 if (nargs < 1) { 185 for (i = 0; i < nargs; i++) { 216 int error, i, nargs; local [all...] |
/freebsd-10.1-release/sbin/geom/class/label/ |
H A D | geom_label.c | 118 int error, nargs; local 120 nargs = gctl_get_int(req, "nargs"); 121 if (nargs != 2) { 166 int error, i, nargs; local 168 nargs = gctl_get_int(req, "nargs"); 169 if (nargs < 1) { 174 for (i = 0; i < nargs; i++) { 202 int error, i, nargs; local [all...] |
/freebsd-10.1-release/sbin/geom/class/journal/ |
H A D | geom_journal.c | 143 int error, force, i, nargs, checksum, hardcode; local 145 nargs = gctl_get_int(req, "nargs"); 160 if (nargs != 1 && nargs != 2) { 166 for (i = 0; i < nargs; i++) { 177 switch (nargs) { 241 for (i = 0; i < nargs; i++) { 254 for (i = 0; i < nargs; i++) { 259 if (nargs 293 int error, i, nargs; local 320 int error, i, nargs; local [all...] |
/freebsd-10.1-release/sys/powerpc/include/ |
H A D | rtas.h | 46 int rtas_call_method(cell_t token, int nargs, int nreturns, ...);
|
/freebsd-10.1-release/sys/geom/raid/ |
H A D | g_raid_ctl.c | 105 int *nargs; local 109 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs)); 110 if (nargs == NULL) { 111 gctl_error(req, "No '%s' argument.", "nargs"); 114 if (*nargs < 4) { 153 int *nargs, *force; local 156 nargs = gctl_get_paraml(req, "nargs", sizeo 193 int *nargs; local [all...] |
/freebsd-10.1-release/sys/powerpc/ofw/ |
H A D | ofw_real.c | 102 int nargs, int nreturns, cell_t *args_and_returns); 319 cell_t nargs; member in struct:__anon11226 326 args.nargs = 1; 353 cell_t nargs; member in struct:__anon11227 360 args.nargs = 1; 382 cell_t nargs; member in struct:__anon11228 389 args.nargs = 1; 411 cell_t nargs; member in struct:__anon11229 418 args.nargs = 1; 440 cell_t nargs; member in struct:__anon11230 469 cell_t nargs; member in struct:__anon11231 502 cell_t nargs; member in struct:__anon11232 542 cell_t nargs; member in struct:__anon11233 580 cell_t nargs; member in struct:__anon11234 617 cell_t nargs; member in struct:__anon11235 654 cell_t nargs; member in struct:__anon11236 685 cell_t nargs; member in struct:__anon11237 722 cell_t nargs; member in struct:__anon11238 754 ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method, int nargs, int nreturns, cell_t *args_and_returns) argument 760 cell_t nargs; member in struct:__anon11239 806 cell_t nargs; member in struct:__anon11240 843 cell_t nargs; member in struct:__anon11241 874 cell_t nargs; member in struct:__anon11242 896 cell_t nargs; member in struct:__anon11243 932 cell_t nargs; member in struct:__anon11244 966 cell_t nargs; member in struct:__anon11245 1003 cell_t nargs; member in struct:__anon11246 1036 cell_t nargs; member in struct:__anon11247 1065 cell_t nargs; member in struct:__anon11248 1087 cell_t nargs; member in struct:__anon11249 [all...] |
/freebsd-10.1-release/sbin/geom/class/concat/ |
H A D | geom_concat.c | 118 int error, i, hardcode, nargs; local 120 nargs = gctl_get_int(req, "nargs"); 121 if (nargs < 2) { 130 for (i = 1; i < nargs; i++) { 145 md.md_all = nargs - 1; 150 for (i = 1; i < nargs; i++) { 184 int error, i, nargs; local 186 nargs = gctl_get_int(req, "nargs"); 224 int error, i, nargs; local [all...] |
/freebsd-10.1-release/sbin/geom/class/shsec/ |
H A D | geom_shsec.c | 111 int error, i, nargs, hardcode; local 113 nargs = gctl_get_int(req, "nargs"); 114 if (nargs <= 2) { 125 for (i = 1; i < nargs; i++) { 155 md.md_all = nargs - 1; 160 for (i = 1; i < nargs; i++) { 196 int error, i, nargs; local 198 nargs = gctl_get_int(req, "nargs"); 236 int error, i, nargs; local [all...] |