| /freebsd-14.2/sbin/restore/ |
| H A D | interactive.c | 75 struct arglist { struct 99 struct arglist arglist; in runcmdshell() local 104 arglist.freeglob = 0; in runcmdshell() 105 arglist.argcnt = 0; in runcmdshell() 107 arglist.glob.gl_opendir = rst_opendir; in runcmdshell() 110 arglist.glob.gl_lstat = glob_stat; in runcmdshell() 111 arglist.glob.gl_stat = glob_stat; in runcmdshell() 115 if (arglist.freeglob != 0) { in runcmdshell() 116 arglist.freeglob = 0; in runcmdshell() 117 arglist.argcnt = 0; in runcmdshell() [all …]
|
| /freebsd-14.2/bin/sh/ |
| H A D | expand.h | 35 struct arglist { struct 56 void emptyarglist(struct arglist *); argument 57 void appendarglist(struct arglist *, char *); 59 void expandarg(union node *, struct arglist *, int);
|
| H A D | eval.c | 82 struct arglist *cmdenviron; 350 struct arglist arglist; in evalfor() local 355 emptyarglist(&arglist); in evalfor() 393 struct arglist arglist; in evalcase() local 395 emptyarglist(&arglist); in evalcase() 531 struct arglist fn; in expredir() 819 struct arglist arglist; in evalcommand() local 820 struct arglist varlist; in evalcommand() 844 emptyarglist(&arglist); in evalcommand() 864 argc = arglist.count - 2; in evalcommand() [all …]
|
| H A D | expand.c | 85 struct arglist *list; 115 emptyarglist(struct arglist *list) in emptyarglist() 228 expandarg(union node *arg, struct arglist *arglist, int flag) in expandarg() argument 236 exparg.list = arglist; in expandarg() 240 if (arglist == NULL) { in expandarg() 1070 expmeta(char *enddir, char *name, struct arglist *arglist) in expmeta() argument 1507 struct arglist arglist; in freebsd_wordexpcmd() local 1542 emptyarglist(&arglist); in freebsd_wordexpcmd() 1546 len += strlen(arglist.args[i]); in freebsd_wordexpcmd() 1548 for (i = 0; i < arglist.count; i++) in freebsd_wordexpcmd() [all …]
|
| H A D | var.h | 118 struct arglist; 119 void listsetvar(struct arglist *, int);
|
| H A D | eval.h | 38 extern struct arglist *cmdenviron; /* environment for builtin command */
|
| H A D | var.c | 409 listsetvar(struct arglist *list, int flags) in listsetvar()
|
| /freebsd-14.2/usr.sbin/mailwrapper/ |
| H A D | mailwrapper.c | 52 struct arglist { struct 59 static void initarg(struct arglist *); argument 60 static void addarg(struct arglist *, const char *); 63 initarg(struct arglist *al) in initarg() 72 addarg(struct arglist *al, const char *arg) in addarg() 97 struct arglist al; in main()
|
| /freebsd-14.2/tools/tools/ansify/ |
| H A D | ansify.pl | 50 my $arglist = ""; 55 $arglist .= $_; 58 $arglist =~ s/\/\*([^*]|\*[^\/])*\*\// /gs; 61 foreach (split('\n', $arglist)) {
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | misc.h | 118 typedef struct arglist arglist; typedef 119 struct arglist { struct 124 void addargs(arglist *, char *, ...) argument 126 void replacearg(arglist *, u_int, char *, ...) 128 void freeargs(arglist *);
|
| H A D | scp.c | 149 arglist args; 150 arglist remote_remote_args; 231 do_local_cmd(arglist *a) in do_local_cmd() 1042 arglist alist; in toremote() 1236 arglist alist; in tolocal()
|
| /freebsd-14.2/sbin/camcontrol/ |
| H A D | camcontrol.c | 256 static cam_argmask arglist; variable 1102 arglist |= CAM_ARG_INQ_MASK; in scsidoinquiry() 3571 arglist |= CAM_ARG_BUS; in parse_btl() 3626 arglist |= CAM_ARG_BUS; in dorescan_or_reset() 3635 if (arglist & CAM_ARG_LUN) in dorescan_or_reset() 4767 arglist |= CAM_ARG_CMD_IN; in scsicmd() 4803 arglist |= CAM_ARG_CMD_OUT; in scsicmd() 7724 arglist |= CAM_ARG_CMD_IN; in smpcmd() 10355 arglist = CAM_ARG_NONE; in main() 10455 arglist |= CAM_ARG_LUN; in main() [all …]
|
| /freebsd-14.2/usr.bin/rpcgen/ |
| H A D | rpc_main.c | 98 static char **arglist; variable 407 execvp(arglist[0], arglist); in open_input() 408 err(1, "execvp %s", arglist[0]); in open_input() 1016 newarglist = realloc(arglist, argmax * sizeof(*arglist)); in moreargs() 1021 arglist = newarglist; in moreargs() 1034 arglist[argcount++] = xstrdup(cp); in addarg() 1036 arglist[argcount++] = NULL; in addarg() 1052 arglist[i + 1] = arglist[i]; in insarg() 1054 arglist[place] = xstrdup(cp); in insarg()
|
| /freebsd-14.2/usr.bin/mail/ |
| H A D | cmd3.c | 168 char **arglist = v; in schdir() local 171 if (*arglist == NULL) { in schdir() 176 if ((cp = expand(*arglist)) == NULL) in schdir() 361 char **arglist = v; in set() local 367 if (*arglist == NULL) { in set() 382 for (ap = arglist; *ap != NULL; ap++) { in set() 408 char **arglist = v; in unset() local 414 for (ap = arglist; *ap != NULL; ap++) { in unset()
|
| H A D | lex.c | 280 char *arglist[MAXARGC]; in execute() local 412 if ((c = getrawlist(cp, arglist, in execute() 413 sizeof(arglist) / sizeof(*arglist))) < 0) in execute() 425 e = (*com->c_func)(arglist); in execute()
|
| H A D | util.c | 268 char **arglist = arg; in source() local 272 if ((cp = expand(*arglist)) == NULL) in source()
|
| /freebsd-14.2/usr.bin/last/ |
| H A D | last.c | 79 static ARG *arglist; /* head of linked list */ variable 426 if (!arglist) in want() 429 for (step = arglist; step; step = step->next) in want() 463 cur->next = arglist; in addarg() 466 arglist = cur; in addarg()
|
| /freebsd-14.2/usr.sbin/camdd/ |
| H A D | camdd.c | 1284 camdd_argmask arglist, int probe_retry_count, in camdd_probe_pass_scsi() argument 1309 if (arglist & CAMDD_ARG_ERR_RECOVER) in camdd_probe_pass_scsi() 1354 if (arglist & CAMDD_ARG_ERR_RECOVER) in camdd_probe_pass_scsi() 1380 camdd_argmask arglist, int probe_retry_count, in camdd_probe_pass_nvme() argument 1414 if (arglist & CAMDD_ARG_ERR_RECOVER) in camdd_probe_pass_nvme() 1501 arglist, probe_timeout, &maxsector, in camdd_probe_pass() 1508 arglist, probe_timeout, &maxsector, in camdd_probe_pass() 3260 arglist, 3540 camdd_argmask arglist = CAMDD_ARG_NONE; local 3567 arglist |= CAMDD_ARG_ERR_RECOVER; [all …]
|
| /freebsd-14.2/contrib/ntp/ |
| H A D | dot.emacs | 6 (c-offsets-alist . ((arglist-intro . +)
|
| /freebsd-14.2/contrib/one-true-awk/ |
| H A D | awkgram.y | 38 Node *arglist = 0; /* list of args for current function */ variable 456 /* nothing */ { arglist = $$ = 0; } 457 | VAR { arglist = $$ = celltonode($1,CVAR); } 460 arglist = $$ = linkum($1,celltonode($3,CVAR)); }
|
| H A D | parse.c | 281 extern Node *arglist; in isarg() 282 Node *p = arglist; in isarg()
|
| /freebsd-14.2/contrib/tcsh/ |
| H A D | tc.os.c | 77 dosetpath(Char **arglist, struct command *c) in dosetpath() argument 99 for (i = 1; arglist[i] && (arglist[i][0] != '-'); i++); in dosetpath() 102 cmdargs = &arglist[i]; in dosetpath() 103 for (; arglist[i]; i++); in dosetpath() 108 pathvars = &arglist[1]; in dosetpath()
|
| /freebsd-14.2/sys/dev/acpica/ |
| H A D | acpi_cpu.c | 311 ACPI_OBJECT_LIST arglist; in acpi_cpu_attach() local 439 arglist.Pointer = &arg; in acpi_cpu_attach() 440 arglist.Count = 1; in acpi_cpu_attach() 447 AcpiEvaluateObject(sc->cpu_handle, "_PDC", &arglist, NULL); in acpi_cpu_attach()
|
| H A D | acpi.c | 2958 ACPI_OBJECT_LIST arglist; in acpi_EvaluateDSMTyped() local 2980 arglist.Pointer = arg; in acpi_EvaluateDSMTyped() 2981 arglist.Count = 4; in acpi_EvaluateDSMTyped() 2984 status = AcpiEvaluateObjectTyped(handle, "_DSM", &arglist, &buf, type); in acpi_EvaluateDSMTyped() 2999 ACPI_OBJECT_LIST arglist; in acpi_EvaluateOSC() local 3003 arglist.Pointer = arg; in acpi_EvaluateOSC() 3004 arglist.Count = 4; in acpi_EvaluateOSC() 3018 status = AcpiEvaluateObjectTyped(handle, "_OSC", &arglist, &buf, in acpi_EvaluateOSC()
|
| /freebsd-14.2/sys/dev/xen/cpu/ |
| H A D | xen_acpi_cpu.c | 227 ACPI_OBJECT_LIST arglist = { in acpi_set_pdc() local 242 status = AcpiEvaluateObject(sc->cpu_handle, "_PDC", &arglist, NULL); in acpi_set_pdc()
|