Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/cmd/devmgmt/cmds/
H A Dgetdev.c149 char **arglist; /* List of arguments */ in main() local
236 arglist = argv + optind; in main()
237 criterialist = buildcriterialist(arglist); in main()
238 devicelist = builddevlist(arglist); in main()
273 buildcriterialist(arglist) in buildcriterialist() argument
274 char **arglist; /* Pointer to the list of argument pointers */ in buildcriterialist()
291 pp = arglist;
307 while (*arglist && /* If there's more to do ... */
308 (strchr(*arglist, '=') || /* and it's a = criterion ... */
309 strchr(*arglist, ':'))) /* or it's a : criterion ... */
[all …]
H A Dgetdgrp.c112 #define isacriterion(p) (strchr(*arglist,'=')||strchr(*arglist,':'))
171 char **arglist; /* List of arguments (subset of argv) */ in main() local
281 arglist = argv + optind; in main()
282 criterialist = buildcriterialist(arglist); in main()
283 dgrouplist = builddgrouplist(arglist); in main()
325 buildcriterialist(arglist) in buildcriterialist() argument
326 char **arglist; /* Pointer to the list of argument pointers */ in buildcriterialist()
343 pp = arglist;
355 while ((*arglist != (char *) NULL) && isacriterion(*arglist)) *pp++ = *arglist++;
385 builddgrouplist(arglist) in builddgrouplist() argument
[all …]
/titanic_44/usr/src/cmd/fm/eversholt/common/
H A Dcheck.c675 check_exprscope(np->u.func.arglist, ex); in check_exprscope()
978 struct node *arglist = np->u.func.arglist; in check_func() local
983 switch (arglist->t) { in check_func()
985 if (arglist->u.ull != 0ULL) { in check_func()
986 outfl(O_ERR, arglist->file, arglist->line, in check_func()
993 if (arglist->u.name.s != L_infinity) { in check_func()
994 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1005 if (arglist->u.expr.left->t != T_NUM && in check_func()
1006 arglist->u.expr.left->t != T_TIMEVAL) { in check_func()
1007 outfl(O_ERR, arglist->file, arglist->line, in check_func()
[all …]
/titanic_44/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c294 static int credCheck(clientopts_t *arglist);
295 static int adminCredCheck(clientopts_t *arglist);
298 static void dumpargs(clientopts_t *arglist);
299 static int num_args(clientopts_t *arglist);
307 static int client_list(clientopts_t *arglist);
308 static int client_manual(clientopts_t *arglist);
309 static int client_mod(clientopts_t *arglist);
310 static int client_uninit(clientopts_t *arglist);
311 static int client_genProfile(clientopts_t *arglist);
312 static int client_init(clientopts_t *arglist);
[all …]
/titanic_44/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.c515 arg_t *arglist; in init_arglist() local
517 if ((arglist = sc_malloc(sizeof (arg_t))) == NULL) in init_arglist()
519 arglist->arg_args = NULL; in init_arglist()
520 arglist->arg_nargs = 0; in init_arglist()
521 arglist->arg_alloc = 0; in init_arglist()
522 arglist->arg_hint = hint; in init_arglist()
523 return (arglist); in init_arglist()
528 free_arglist(arg_t *arglist) in free_arglist() argument
530 if (arglist->arg_args) { in free_arglist()
531 free(arglist->arg_args); in free_arglist()
[all …]
H A Dsyseventconfd.h87 static void free_arglist(arg_t *arglist);
88 static int add_arg(arg_t *arglist, char *arg);
/titanic_44/usr/src/cmd/ssh/include/
H A Dmisc.h46 typedef struct arglist arglist; typedef
47 struct arglist { struct
52 void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); argument
53 void replacearg(arglist *, u_int, char *, ...)
55 void freeargs(arglist *);
/titanic_44/usr/src/lib/libcmd/common/
H A Dexpr.c179 char** arglist; member
195 if (!(cp = *state->arglist++)) in getnode()
203 if (!(cp = *state->arglist++)) in getnode()
205 if (!(ep = *state->arglist++)) in getnode()
215 if (!(cp = *state->arglist++)) in getnode()
225 if (!(np->str = *state->arglist++)) in getnode()
232 if (cp[1] == 'u' && !strcmp(cp, "quote") && !(cp = *state->arglist++)) in getnode()
238 if (!(sp = *state->arglist++)) in getnode()
240 if (!(cp = *state->arglist++)) in getnode()
245 if (!(cp = *state->arglist++)) in getnode()
[all …]
/titanic_44/usr/src/cmd/mailwrapper/
H A Dmailwrapper.c47 struct arglist { struct
54 static void initarg(struct arglist *); argument
55 static void addarg(struct arglist *, const char *);
58 initarg(struct arglist *al) in initarg()
67 addarg(struct arglist *al, const char *arg) in addarg()
91 struct arglist al; in main()
/titanic_44/usr/src/uts/common/pcmcia/cis/
H A Dcis.c137 va_list arglist; in CISParser() local
147 va_start(arglist, function); in CISParser()
157 csr = va_arg(arglist, csregister_t *); in CISParser()
176 cistpl_callout = va_arg(arglist, cistpl_callout_t *); in CISParser()
177 sp = va_arg(arglist, cs_socket_t *); in CISParser()
186 sp = va_arg(arglist, cs_socket_t *); in CISParser()
196 tp = va_arg(arglist, cistpl_t *); in CISParser()
197 type = va_arg(arglist, uint_t); in CISParser()
198 flags = va_arg(arglist, int); in CISParser()
211 co = va_arg(arglist, cistpl_callout_t *); in CISParser()
[all …]
/titanic_44/usr/src/cmd/abi/spectrans/spec2trace/
H A Dprintfuncs.c45 static char arglist[_POSIX_ARG_MAX]; variable
61 p = &arglist[0]; in generate_printf()
62 l = (int)sizeof (arglist); in generate_printf()
65 errlog(TRACING, "arglist = '%s'", arglist); in generate_printf()
72 if (p != &arglist[0]) { in generate_printf()
98 (void) fprintf(Bodyfp, "%s);\n", arglist); in generate_printf()
/titanic_44/usr/src/lib/libproc/i386/
H A DPisadep.c295 int32_t arglist[MAXARGS+2]; in Psyscall_copyinargs() local
300 arglist[1 + i] = (int32_t)adp->arg_value; in Psyscall_copyinargs()
302 arglist[0] = P->status.pr_lwp.pr_reg[R_PC]; in Psyscall_copyinargs()
303 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1), in Psyscall_copyinargs()
314 uint32_t arglist[MAXARGS + 2]; in Psyscall_copyoutargs() local
318 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap) in Psyscall_copyoutargs()
323 adp->arg_value = arglist[i]; in Psyscall_copyoutargs()
/titanic_44/usr/src/lib/libproc/amd64/
H A DPisadep.c592 int32_t arglist[MAXARGS+2]; in Psyscall_copyinargs() local
597 arglist[1 + i] = (int32_t)adp->arg_value; in Psyscall_copyinargs()
599 arglist[0] = P->status.pr_lwp.pr_reg[REG_RIP]; in Psyscall_copyinargs()
600 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1), in Psyscall_copyinargs()
604 int64_t arglist[MAXARGS+2]; in Psyscall_copyinargs() local
630 arglist[i - 5] = (uint64_t)adp->arg_value; in Psyscall_copyinargs()
635 arglist[0] = P->status.pr_lwp.pr_reg[REG_RIP]; in Psyscall_copyinargs()
637 if (Pwrite(P, &arglist[0], in Psyscall_copyinargs()
651 uint32_t arglist[MAXARGS + 2]; in Psyscall_copyoutargs() local
655 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), in Psyscall_copyoutargs()
[all …]
/titanic_44/usr/src/uts/common/pcmcia/cs/
H A Dcs.c541 va_list arglist; in CardServices() local
562 va_start(arglist, function); in CardServices()
576 cisr = va_arg(arglist, cisregister_t *); in CardServices()
606 socp = va_arg(arglist, cs_socket_t *); in CardServices()
607 offp = va_arg(arglist, uint32_t *); in CardServices()
608 hp = va_arg(arglist, acc_handle_t *); in CardServices()
610 va_arg(arglist, uint32_t)); in CardServices()
613 chp = va_arg(arglist, client_handle_t *), in CardServices()
615 va_arg(arglist, client_reg_t *)); in CardServices()
619 va_arg(arglist, client_handle_t)); in CardServices()
[all …]
/titanic_44/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c458 name_matches(name, arglist) in name_matches() argument
460 struct dump_args *arglist;
479 match = (arglist->nnames) ? 0 : 1;
480 for (i=0; i<arglist->nnames; i++) {
485 match_error = regcomp(&match_exp, arglist->names[i], REG_EXTENDED);
492 arglist->programname, match_errmsg);
506 arglist->programname, match_errmsg);
524 compile(arglist->names[i],
537 if (re_result = re_comp(arglist->names[i])) {
538 fprintf(stderr, gettext(regex_err), arglist->programname, re_result);
[all …]
/titanic_44/usr/src/uts/intel/io/pciex/
H A Dpcie_acpi.c140 ACPI_OBJECT_LIST arglist; in pcie_acpi_eval_osc() local
148 arglist.Count = 4; in pcie_acpi_eval_osc()
149 arglist.Pointer = args; in pcie_acpi_eval_osc()
187 status = AcpiEvaluateObjectTyped(osc_hdl, NULL, &arglist, &rb, in pcie_acpi_eval_osc()
/titanic_44/usr/src/uts/i86pc/os/cpupm/
H A Dpwrnow.c79 #define PWRNOW_DEBUG(arglist) if (pwrnow_debug) printf arglist; argument
81 #define PWRNOW_DEBUG(arglist) argument
H A Dspeedstep.c83 #define ESSDEBUG(arglist) if (ess_debug) printf arglist; argument
85 #define ESSDEBUG(arglist) argument
/titanic_44/usr/src/lib/krb5/kadm5/clnt/
H A Dlogger.c1033 klog_vsyslog(int priority, const char *format, va_list arglist) in klog_vsyslog() argument
1085 vsnprintf(syslogp, sizeof(outbuf) - (syslogp - outbuf), format, arglist); in klog_vsyslog()
1087 vsprintf(syslogp, format, arglist); in klog_vsyslog()
1089 sprintf(syslogp, format, ((int *) arglist)[0], ((int *) arglist)[1], in klog_vsyslog()
1090 ((int *) arglist)[2], ((int *) arglist)[3], in klog_vsyslog()
1091 ((int *) arglist)[4], ((int *) arglist)[5]); in klog_vsyslog()
/titanic_44/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c851 ACPI_OBJECT_LIST arglist; in acpidev_eval_ost() local
861 arglist.Count = 2; in acpidev_eval_ost()
863 arglist.Count = 3; in acpidev_eval_ost()
865 arglist.Pointer = args; in acpidev_eval_ost()
866 rc = AcpiEvaluateObject(hdl, ACPIDEV_METHOD_NAME_OST, &arglist, NULL); in acpidev_eval_ost()
880 ACPI_OBJECT_LIST arglist; in acpidev_eval_ej0() local
891 arglist.Count = 1; in acpidev_eval_ej0()
892 arglist.Pointer = args; in acpidev_eval_ej0()
893 rc = AcpiEvaluateObject(hdl, ACPIDEV_METHOD_NAME_EJ0, &arglist, NULL); in acpidev_eval_ej0()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c259 char *arglist[1]; member
314 ((a->listsz - 1) * sizeof (a->arglist)); in i_getln_to_argv()
318 a->arglist[i] = currp; in i_getln_to_argv()
349 rc = ilb_import_cmdline(argcount, a->arglist, IMPORT_FILE); in ilb_import_file()
/titanic_44/usr/src/cmd/backup/restore/
H A Dinteractive.c39 static void getcmd(char *, char *, size_t, char *, size_t, struct arglist *);
40 static void expandarg(char *, struct arglist *);
42 static void formatf(struct arglist *);
72 static struct arglist alist = { 0, 0, 0, 0, 0 }; in runcmdshell()
347 struct arglist *ap;
616 struct arglist *ap;
659 static struct arglist alist = { 0, 0, 0, 0, "ls" };
737 struct arglist *ap; in formatf()
/titanic_44/usr/src/cmd/xargs/
H A Dxargs.c97 static char *arglist[MAXARGS+1]; variable
100 static char **ARGV = arglist;
435 if ((ARGV - arglist) == MAXARGS) { in main()
467 for (ARGV = arglist; *ARGV != NULL; ARGV++) { in main()
492 exitstat |= lcall(cmdname, arglist); in main()
698 tanarg = anarg = arglist-1; in echoargs()
/titanic_44/usr/src/uts/intel/io/acpica/
H A Dacpica.c639 ACPI_OBJECT_LIST arglist; in acpica_ddi_setwake() local
679 arglist.Count = 3; in acpica_ddi_setwake()
680 arglist.Pointer = args; in acpica_ddi_setwake()
688 &arglist, NULL))) { in acpica_ddi_setwake()
691 arglist.Count = 1; in acpica_ddi_setwake()
696 "_PSW", &arglist, NULL))) { in acpica_ddi_setwake()
/titanic_44/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c212 char *arglist[LINESZ]; in dfstab_line_to_dfstab_entry() local
223 for (arglist[argcount] = strtok(temp_str, whitespace); in dfstab_line_to_dfstab_entry()
224 arglist[argcount] != NULL; /* CSTYLED */) { in dfstab_line_to_dfstab_entry()
225 arglist[++argcount] = strtok(NULL, whitespace); in dfstab_line_to_dfstab_entry()
236 while ((c = getopt(argcount, arglist, "F:d:o:")) != -1) { in dfstab_line_to_dfstab_entry()
292 dfstablist->path = strdup(arglist[argcount]); in dfstab_line_to_dfstab_entry()

1234