Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dcheck.c978 struct node *arglist = np->u.func.arglist; in check_func() local
1066 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1077 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1081 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1085 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1099 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1109 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1118 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1130 outfl(O_ERR, arglist->file, arglist->line, in check_func()
1140 outfl(O_ERR, arglist->file, arglist->line, in check_func()
[all …]
/illumos-gate/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
291 pp = arglist;
307 while (*arglist && /* If there's more to do ... */
310 *pp++ = *arglist++; /* Include it in the list */
336 builddevlist(arglist) in builddevlist() argument
349 while (*arglist && (strchr(*arglist, '=') || strchr(*arglist, ':'))) arglist++;
[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
343 pp = arglist;
355 while ((*arglist != (char *) NULL) && isacriterion(*arglist)) *pp++ = *arglist++;
385 builddgrouplist(arglist) in builddgrouplist() argument
398 while (*arglist && isacriterion(*arglist)) arglist++;
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c654 if (num_args(arglist) > 0) { in client_list()
687 if (num_args(arglist) > 0) { in client_uninit()
896 retcode = credCheck(arglist); in client_manual()
1192 retcode = credCheck(arglist); in client_mod()
1523 if (arglist->bindDN != NULL) { in client_init()
1532 arglist->bindPasswd = in client_init()
1583 if (arglist->proxyDN != NULL && arglist->proxyPassword == NULL) { in client_init()
1594 if (arglist->proxyDN != NULL && arglist->proxyPassword != NULL) { in client_init()
1620 arglist->adminDN != NULL && arglist->adminPassword == NULL) { in client_init()
1631 if (arglist->adminDN != NULL && arglist->adminPassword != NULL) { in client_init()
[all …]
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.c513 arg_t *arglist; in init_arglist() local
517 arglist->arg_args = NULL; in init_arglist()
518 arglist->arg_nargs = 0; in init_arglist()
519 arglist->arg_alloc = 0; in init_arglist()
520 arglist->arg_hint = hint; in init_arglist()
521 return (arglist); in init_arglist()
528 if (arglist->arg_args) { in free_arglist()
531 free(arglist); in free_arglist()
543 arglist->arg_alloc = len + arglist->arg_hint; in add_arg()
553 arglist->arg_args[arglist->arg_nargs++] = arg; in add_arg()
[all …]
H A Dsyseventconfd.h87 static void free_arglist(arg_t *arglist);
88 static int add_arg(arg_t *arglist, char *arg);
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
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()
238 if (!(sp = *state->arglist++)) in getnode()
240 if (!(cp = *state->arglist++)) in getnode()
245 if (!(cp = *state->arglist++)) in getnode()
284 if (!(cp = *state->arglist)) in getnode()
286 state->arglist++; in getnode()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/pcmcia/cis/
H A Dcis.c135 va_list arglist; in CISParser() local
145 va_start(arglist, function); in CISParser()
194 tp = va_arg(arglist, cistpl_t *); in CISParser()
195 type = va_arg(arglist, uint_t); in CISParser()
196 flags = va_arg(arglist, int); in CISParser()
210 tp = va_arg(arglist, cistpl_t *); in CISParser()
211 flags = va_arg(arglist, int); in CISParser()
212 arg = va_arg(arglist, void *); in CISParser()
213 subtype = va_arg(arglist, uint_t); in CISParser()
227 va_arg(arglist, convert_size_t *)); in CISParser()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dpre-process.c336 arglist = arglist->next; /* skip counter */ in collect_arguments()
354 arglist = arglist->next->next; in collect_arguments()
761 int nargs = sym->arglist ? sym->arglist->count.normal : 0; in expand()
769 if (sym->arglist) { in expand()
1328 arglist = arglist->next; in try_arg()
1330 for (nr = 0; !eof_token(arglist); nr++, arglist = arglist->next->next) { in try_arg()
1363 if (arglist) { in handle_hash()
1500 token_list_different(sym->arglist, arglist)) { in do_define()
1521 sym->arglist = arglist; in do_define()
1592 arglist = NULL; in do_handle_define()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dprintfuncs.c43 static char arglist[_POSIX_ARG_MAX]; variable
59 p = &arglist[0]; in generate_printf()
60 l = (int)sizeof (arglist); in generate_printf()
63 errlog(TRACING, "arglist = '%s'", arglist); in generate_printf()
70 if (p != &arglist[0]) { in generate_printf()
96 (void) fprintf(Bodyfp, "%s);\n", arglist); in generate_printf()
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c621 int32_t arglist[MAXARGS+2]; in Psyscall_copyinargs() local
626 arglist[1 + i] = (int32_t)adp->arg_value; in Psyscall_copyinargs()
628 arglist[0] = P->status.pr_lwp.pr_reg[REG_RIP]; in Psyscall_copyinargs()
633 int64_t arglist[MAXARGS+2]; in Psyscall_copyinargs() local
659 arglist[i - 5] = (uint64_t)adp->arg_value; in Psyscall_copyinargs()
664 arglist[0] = P->status.pr_lwp.pr_reg[REG_RIP]; in Psyscall_copyinargs()
666 if (Pwrite(P, &arglist[0], in Psyscall_copyinargs()
680 uint32_t arglist[MAXARGS + 2]; in Psyscall_copyoutargs() local
689 adp->arg_value = arglist[i]; in Psyscall_copyoutargs()
692 int64_t arglist[MAXARGS+2]; in Psyscall_copyoutargs() local
[all …]
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c323 int32_t arglist[MAXARGS+2]; in Psyscall_copyinargs() local
328 arglist[1 + i] = (int32_t)adp->arg_value; in Psyscall_copyinargs()
330 arglist[0] = P->status.pr_lwp.pr_reg[R_PC]; in Psyscall_copyinargs()
331 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1), in Psyscall_copyinargs()
342 uint32_t arglist[MAXARGS + 2]; in Psyscall_copyoutargs() local
346 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap) in Psyscall_copyoutargs()
351 adp->arg_value = arglist[i]; in Psyscall_copyoutargs()
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs.c539 va_list arglist; in CardServices() local
560 va_start(arglist, function); in CardServices()
608 va_arg(arglist, uint32_t)); in CardServices()
642 va_arg(arglist, io_req_t *)); in CardServices()
647 va_arg(arglist, io_req_t *)); in CardServices()
652 va_arg(arglist, irq_req_t *)); in CardServices()
827 va_arg(arglist, tuple_t *), in CardServices()
833 va_arg(arglist, tuple_t *), in CardServices()
839 va_arg(arglist, tuple_t *)); in CardServices()
846 va_arg(arglist, uint_t)); in CardServices()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c458 name_matches(name, arglist) in name_matches() argument
460 struct dump_args *arglist;
524 compile(arglist->names[i],
590 dump_k5beta_header(arglist)
591 struct dump_args *arglist;
1346 struct dump_args arglist; local
1374 arglist.verbose = 0;
1410 arglist.verbose++;
1428 arglist.nnames = 0;
1535 arglist.ofile = f;
[all …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c856 ACPI_OBJECT_LIST arglist; in acpidev_eval_ost() local
866 arglist.Count = 2; in acpidev_eval_ost()
868 arglist.Count = 3; in acpidev_eval_ost()
870 arglist.Pointer = args; in acpidev_eval_ost()
871 rc = AcpiEvaluateObject(hdl, ACPIDEV_METHOD_NAME_OST, &arglist, NULL); in acpidev_eval_ost()
885 ACPI_OBJECT_LIST arglist; in acpidev_eval_ej0() local
896 arglist.Count = 1; in acpidev_eval_ej0()
897 arglist.Pointer = args; in acpidev_eval_ej0()
898 rc = AcpiEvaluateObject(hdl, ACPIDEV_METHOD_NAME_EJ0, &arglist, NULL); in acpidev_eval_ej0()
/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c36 static void getcmd(char *, char *, size_t, char *, size_t, struct arglist *);
37 static void expandarg(char *, struct arglist *);
39 static void formatf(struct arglist *);
54 static struct arglist alist = { 0, 0, 0, 0, 0 }; in runcmdshell()
327 struct arglist *ap) in getcmd()
590 expandarg(char *arg, struct arglist *ap) in expandarg()
629 static struct arglist alist = { 0, 0, 0, 0, "ls" }; in printlist()
706 formatf(struct arglist *ap) in formatf()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c87 static char **arglist; variable
106 arglist = argv; in main()
446 arglist[0] = (char*)tmpname; in setids()
466 execv(tmpname,arglist); in setids()

1234