/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | infcall.h | 40 extern struct value *call_function_by_hand (struct value *function, int nargs,
|
/freebsd-10.0-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.0-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...] |
/freebsd-10.0-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.0-release/sys/boot/ofw/libofw/ |
H A D | openfirm.c | 116 cell_t nargs; member in struct:__anon6133 138 cell_t nargs; member in struct:__anon6134 161 cell_t nargs; member in struct:__anon6135 183 cell_t nargs; member in struct:__anon6136 205 cell_t nargs; member in struct:__anon6137 227 cell_t nargs; member in struct:__anon6138 249 cell_t nargs; member in struct:__anon6139 273 cell_t nargs; member in struct:__anon6140 301 cell_t nargs; member in struct:__anon6141 328 cell_t nargs; member in struct:__anon6142 356 cell_t nargs; member in struct:__anon6143 382 cell_t nargs; member in struct:__anon6144 404 cell_t nargs; member in struct:__anon6145 430 cell_t nargs; member in struct:__anon6146 452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) argument 457 cell_t nargs; member in struct:__anon6147 500 cell_t nargs; member in struct:__anon6148 523 cell_t nargs; member in struct:__anon6149 541 cell_t nargs; member in struct:__anon6150 579 cell_t nargs; member in struct:__anon6151 605 cell_t nargs; member in struct:__anon6152 635 cell_t nargs; member in struct:__anon6153 661 cell_t nargs; member in struct:__anon6154 685 cell_t nargs; member in struct:__anon6155 705 cell_t nargs; member in struct:__anon6156 721 cell_t nargs; member in struct:__anon6157 [all...] |
/freebsd-10.0-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.0-release/sys/geom/mirror/ |
H A D | g_mirror_ctl.c | 101 int *nargs, do_sync = 0, dirty = 1, do_priority = 0; local 103 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs)); 104 if (nargs == NULL) { 105 gctl_error(req, "No '%s' argument.", "nargs"); 108 if (*nargs != 1 && *nargs != 2) { 230 if ((!do_priority && *nargs != 1) || (do_priority && *nargs ! 310 int error, *nargs; local 397 int error, *nargs, *hardcode, *inactive; local 562 int *nargs; local 626 int *nargs; local 677 int *nargs; local 721 int *force, *nargs, error; local [all...] |
/freebsd-10.0-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.0-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.0-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.0-release/sys/powerpc/include/ |
H A D | rtas.h | 46 int rtas_call_method(cell_t token, int nargs, int nreturns, ...);
|
/freebsd-10.0-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.0-release/sbin/geom/class/mirror/ |
H A D | geom_mirror.c | 161 int error, i, nargs, bal, hardcode; local 163 nargs = gctl_get_int(req, "nargs"); 164 if (nargs < 2) { 174 md.md_all = nargs - 1; 201 for (i = 1; i < nargs; i++) { 228 for (i = 1; i < nargs; i++) { 241 for (i = 1; i < nargs; i++) { 271 int error, i, nargs; local 273 nargs 298 int error, i, nargs; local 333 int error, i, nargs; local [all...] |
/freebsd-10.0-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:__anon10861 326 args.nargs = 1; 353 cell_t nargs; member in struct:__anon10862 360 args.nargs = 1; 382 cell_t nargs; member in struct:__anon10863 389 args.nargs = 1; 411 cell_t nargs; member in struct:__anon10864 418 args.nargs = 1; 440 cell_t nargs; member in struct:__anon10865 469 cell_t nargs; member in struct:__anon10866 502 cell_t nargs; member in struct:__anon10867 542 cell_t nargs; member in struct:__anon10868 580 cell_t nargs; member in struct:__anon10869 617 cell_t nargs; member in struct:__anon10870 654 cell_t nargs; member in struct:__anon10871 685 cell_t nargs; member in struct:__anon10872 722 cell_t nargs; member in struct:__anon10873 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:__anon10874 806 cell_t nargs; member in struct:__anon10875 843 cell_t nargs; member in struct:__anon10876 874 cell_t nargs; member in struct:__anon10877 896 cell_t nargs; member in struct:__anon10878 932 cell_t nargs; member in struct:__anon10879 966 cell_t nargs; member in struct:__anon10880 1003 cell_t nargs; member in struct:__anon10881 1036 cell_t nargs; member in struct:__anon10882 1065 cell_t nargs; member in struct:__anon10883 1087 cell_t nargs; member in struct:__anon10884 [all...] |
/freebsd-10.0-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...] |