Home
last modified time | relevance | path

Searched refs:arglist (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sbin/restore/
H A Dinteractive.c68 struct arglist { struct
78 static void getcmd(char *, char *, char *, size_t, struct arglist *); argument
92 struct arglist arglist; in runcmdshell() local
97 arglist.freeglob = 0; in runcmdshell()
98 arglist.argcnt = 0; in runcmdshell()
99 arglist.glob.gl_flags = GLOB_ALTDIRFUNC; in runcmdshell()
100 arglist.glob.gl_opendir = rst_opendir; in runcmdshell()
101 arglist.glob.gl_readdir = glob_readdir; in runcmdshell()
102 arglist.glob.gl_closedir = rst_closedir; in runcmdshell()
103 arglist.glob.gl_lstat = glob_stat; in runcmdshell()
[all …]
/freebsd/bin/sh/
H A Dexpand.h33 struct arglist { struct
54 void emptyarglist(struct arglist *); argument
55 void appendarglist(struct arglist *, char *);
57 void expandarg(union node *, struct arglist *, int);
H A Deval.c76 struct arglist *cmdenviron;
86 static void exphere(union node *, struct arglist *);
344 struct arglist arglist; in evalfor() local
349 emptyarglist(&arglist); in evalfor()
352 expandarg(argp, &arglist, EXP_FULL | EXP_TILDE); in evalfor()
357 for (i = 0; i < arglist.count; i++) { in evalfor()
358 setvar(n->nfor.var, arglist.args[i], 0); in evalfor()
387 struct arglist arglist; in evalcase() local
389 emptyarglist(&arglist); in evalcase()
391 expandarg(n->ncase.expr, &arglist, EXP_TILDE); in evalcase()
[all …]
H A Dexpand.c79 struct arglist *list;
101 static void expandmeta(char *, struct arglist *);
102 static void expmeta(char *, char *, struct arglist *);
109 emptyarglist(struct arglist *list) in emptyarglist()
118 appendarglist(struct arglist *list, char *str) in appendarglist()
222 expandarg(union node *arg, struct arglist *arglist, int flag) in expandarg() argument
230 exparg.list = arglist; in expandarg()
234 if (arglist == NULL) { in expandarg()
249 appendarglist(arglist, grabstackstr(expdest)); in expandarg()
1028 expandmeta(char *pattern, struct arglist *dstlist) in expandmeta()
[all …]
H A Dvar.h116 struct arglist;
117 void listsetvar(struct arglist *, int);
H A Deval.h36 extern struct arglist *cmdenviron; /* environment for builtin command */
H A Dvar.c403 listsetvar(struct arglist *list, int flags) in listsetvar()
/freebsd/usr.sbin/mailwrapper/
H A Dmailwrapper.c52 struct arglist {
59 static void initarg(struct arglist *);
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()
51 struct arglist { global() struct
58 argvarglist global() argument
/freebsd/tools/tools/ansify/
H A Dansify.pl50 my $arglist = "";
55 $arglist .= $_;
58 $arglist =~ s/\/\*([^*]|\*[^\/])*\*\// /gs;
61 foreach (split('\n', $arglist)) {
/freebsd/crypto/openssh/
H A Dmisc.h118 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 Dscp.c149 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/sbin/camcontrol/
H A Dcamcontrol.c257 static cam_argmask arglist;
471 if ((arglist & CAM_ARG_VERBOSE) == 0) in getdevtree()
538 (arglist & CAM_ARG_VERBOSE) == 0) in getdevtree()
569 && ((arglist & CAM_ARG_VERBOSE) == 0)) { in getdevtree()
896 if (arglist & CAM_ARG_ERR_RECOVER) in requestsense()
969 if (arglist & CAM_ARG_ERR_RECOVER) in testunitready()
987 if (arglist & CAM_ARG_VERBOSE) { in testunitready()
1033 if (arglist & CAM_ARG_ERR_RECOVER) in scsistart()
1065 if (arglist & CAM_ARG_VERBOSE) { in scsistart()
1086 arglist | in scsidoinquiry()
258 static cam_argmask arglist; global() variable
[all...]
/freebsd/usr.bin/rpcgen/
H A Drpc_main.c90 static char **arglist; variable
399 execvp(arglist[0], arglist); in open_input()
400 err(1, "execvp %s", arglist[0]); in open_input()
1008 newarglist = realloc(arglist, argmax * sizeof(*arglist)); in moreargs()
1013 arglist = newarglist; in moreargs()
1026 arglist[argcount++] = xstrdup(cp); in addarg()
1028 arglist[argcount++] = NULL; in addarg()
1044 arglist[i + 1] = arglist[i]; in insarg()
1046 arglist[place] = xstrdup(cp); in insarg()
/freebsd/usr.bin/mail/
H A Dcmd3.c162 char **arglist = v; in schdir() local
165 if (*arglist == NULL) { in schdir()
170 if ((cp = expand(*arglist)) == NULL) in schdir()
355 char **arglist = v; in set() local
361 if (*arglist == NULL) { in set()
376 for (ap = arglist; *ap != NULL; ap++) { in set()
402 char **arglist = v; in unset() local
408 for (ap = arglist; *ap != NULL; ap++) { in unset()
H A Dlex.c274 char *arglist[MAXARGC]; in execute() local
406 if ((c = getrawlist(cp, arglist, in execute()
407 sizeof(arglist) / sizeof(*arglist))) < 0) in execute()
419 e = (*com->c_func)(arglist); in execute()
H A Dutil.c262 char **arglist = arg; in source() local
266 if ((cp = expand(*arglist)) == NULL) in source()
/freebsd/usr.bin/last/
H A Dlast.c68 static ARG *arglist; /* head of linked list */ variable
425 if (!arglist) in want()
428 for (step = arglist; step; step = step->next) in want()
462 cur->next = arglist; in addarg()
465 arglist = cur; in addarg()
/freebsd/usr.sbin/camdd/
H A Dcamdd.c455 camdd_argmask arglist, int probe_retry_count,
458 camdd_argmask arglist, int probe_retry_count,
464 camdd_argmask arglist, int probe_retry_count,
493 int camdd_rw(struct camdd_io_opts *io_opts, camdd_argmask arglist,
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()
1452 camdd_argmask arglist, int probe_retry_count, in camdd_probe_pass() argument
[all …]
/freebsd/contrib/ntp/
H A Ddot.emacs6 (c-offsets-alist . ((arglist-intro . +)
/freebsd/contrib/one-true-awk/
H A Dawkgram.y38 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 Dparse.c281 extern Node *arglist; in isarg()
282 Node *p = arglist; in isarg()
/freebsd/contrib/tcsh/
H A Dtc.os.c77 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/sys/dev/acpica/
H A Dacpi_cpu.c312 ACPI_OBJECT_LIST arglist; in acpi_cpu_attach() local
440 arglist.Pointer = &arg; in acpi_cpu_attach()
441 arglist.Count = 1; in acpi_cpu_attach()
448 AcpiEvaluateObject(sc->cpu_handle, "_PDC", &arglist, NULL); in acpi_cpu_attach()
H A Dacpi.c3003 ACPI_OBJECT_LIST arglist; in acpi_EvaluateDSMTyped() local
3025 arglist.Pointer = arg; in acpi_EvaluateDSMTyped()
3026 arglist.Count = 4; in acpi_EvaluateDSMTyped()
3029 status = AcpiEvaluateObjectTyped(handle, "_DSM", &arglist, &buf, type); in acpi_EvaluateDSMTyped()
3044 ACPI_OBJECT_LIST arglist; in acpi_EvaluateOSC() local
3048 arglist.Pointer = arg; in acpi_EvaluateOSC()
3049 arglist.Count = 4; in acpi_EvaluateOSC()
3063 status = AcpiEvaluateObjectTyped(handle, "_OSC", &arglist, &buf, in acpi_EvaluateOSC()
/freebsd/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c227 ACPI_OBJECT_LIST arglist = { in acpi_set_pdc() local
242 status = AcpiEvaluateObject(sc->cpu_handle, "_PDC", &arglist, NULL); in acpi_set_pdc()

12