Searched refs:av (Results 51 - 75 of 193) sorted by relevance

12345678

/freebsd-9.3-release/sbin/devfs/
H A Ddevfs.c58 main(int ac, char **av) argument
65 while ((ch = getopt(ac, av, "m:")) != -1)
74 av += optind;
85 if (strcmp(c->name, av[0]) == 0)
86 exit((*c->handler)(ac, av));
87 errx(1, "unknown command: %s", av[0]);
/freebsd-9.3-release/usr.sbin/ngctl/
H A Ddot.c52 static int DotCmd(int ac, char **av);
63 DotCmd(int ac, char **av) argument
73 while ((ch = getopt(ac, av, "")) != -1) {
82 av += optind;
87 f = fopen(av[0], "w");
89 warn("Could not open %s for writing", av[0]);
H A Dngctl.h44 int (*func)(int ac, char **av); /* command function */
/freebsd-9.3-release/contrib/libucl/include/
H A Ducl.h181 struct ucl_object_s *av; /**< Array */ member in union:ucl_object_s::__anon1845
417 top->value.av = elt;
423 head = top->value.av;
425 top->value.av = elt;
459 top->value.av = elt;
465 head = top->value.av;
467 top->value.av = elt;
475 top->value.av = elt;
494 if (top == NULL || top->type != UCL_ARRAY || top->value.av == NULL) {
497 head = top->value.av;
[all...]
/freebsd-9.3-release/usr.bin/ar/
H A Dread.c83 char **av; local
115 av = &bsdar->argv[i];
116 if (*av == NULL)
118 if ((bname = basename(*av)) == NULL)
124 *av = NULL;
/freebsd-9.3-release/usr.bin/lam/
H A Dlam.c101 getargs(char *av[]) argument
110 while ((p = *++av) != NULL) {
132 if (*++p || (p = *++av))
139 if (*++p || (p = *++av))
152 if (*++p || (p = *++av)) {
/freebsd-9.3-release/usr.sbin/sicontrol/
H A Dsicontrol.c224 char *av[1], *acp; local
239 av[0] = NULL;
241 (*stp->st_func)(-1, av);
250 debug(int ac, char **av) argument
270 if (strcmp(av[0], "off") == 0) {
277 level = lvls2bits(av[1]);
278 if (strcmp(av[0], "add") == 0)
280 else if (strcmp(av[0], "del") == 0)
282 else if (strcmp(av[0], "set") == 0)
297 rxint(int ac, char **av) argument
322 txint(int ac, char **av) argument
345 onoff(int ac, char **av, int cmd, char *cmdstr, char *prstr, int usage) argument
373 mstate(int ac, char **av) argument
393 nport(int ac, char **av) argument
568 ccb_stat(int ac, char **av) argument
629 port_stat(int ac, char **av) argument
[all...]
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Dprintjob.c621 char *av[15], buf[SPL_BUFSIZ]; local
667 av[i++] = "pr";
668 av[i++] = width;
669 av[i++] = length;
670 av[i++] = "-h";
671 av[i++] = *title ? title : " ";
672 av[i++] = "-L";
673 av[i++] = *locale ? locale : "C";
674 av[i++] = "-F";
675 av[
1005 char *av[15], *filtcmd; local
[all...]
/freebsd-9.3-release/usr.sbin/mfiutil/
H A Dmfi_config.c47 static int add_spare(int ac, char **av);
48 static int remove_spare(int ac, char **av);
157 clear_config(int ac __unused, char **av __unused)
545 create_volume(int ac, char **av) argument
567 if (strcmp(av[1], "volume") == 0) {
568 av++;
570 } else if (strcmp(av[1], "spare") == 0) {
571 av++;
573 return (add_spare(ac, av));
605 if (strcasecmp(raid_type_table[i].name, av[
844 delete_volume(int ac, char **av) argument
921 add_spare(int ac, char **av) argument
1051 remove_spare(int ac, char **av) argument
1202 debug_config(int ac, char **av) argument
1237 dump(int ac, char **av) argument
[all...]
H A Dmfi_flash.c117 flash_adapter(int ac, char **av) argument
132 flash = open(av[1], O_RDONLY);
135 warn("flash: Failed to open %s", av[1]);
144 warn("fstat(%s)", av[1]);
H A Dmfi_cmd.c336 int ac, char **av)
341 warnx("The %s command requires a sub-command.", av[0]);
345 if (strcmp((*cmd)->name, av[1]) == 0)
346 return ((*cmd)->handler(ac - 1, av + 1));
349 warnx("%s is not a valid sub-command of %s.", av[1], av[0]);
335 mfi_table_handler(struct mfiutil_command **start, struct mfiutil_command **end, int ac, char **av) argument
/freebsd-9.3-release/usr.sbin/mptutil/
H A Dmpt_evt.c93 show_events(int ac, char **av) argument
118 while ((ch = getopt(ac, av, "v")) != -1) {
129 av += optind;
H A Dmpt_config.c224 clear_config(int ac, char **av) argument
613 create_volume(int ac, char **av) argument
639 if (strcasecmp(raid_type_table[i].name, av[1]) == 0) {
645 warnx("Unknown or unsupported volume type %s", av[1]);
658 while ((ch = getopt(ac, av, "dqs:v")) != -1) {
684 av += optind;
711 error = parse_volume(fd, raid_type, &state, av[0], info);
760 delete_volume(int ac, char **av) argument
777 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID);
779 warnc(error, "Invalid volume %s", av[
883 add_spare(int ac, char **av) argument
969 remove_spare(int ac, char **av) argument
1030 pd_create(int ac, char **av) argument
1079 pd_delete(int ac, char **av) argument
1161 debug_config(int ac, char **av) argument
[all...]
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_disk.c44 static struct archive_vtable av; local
48 av.archive_free = _archive_read_free;
49 av.archive_close = _archive_read_close;
51 return (&av);
H A Darchive_write.c71 static struct archive_vtable av; local
75 av.archive_close = _archive_write_close;
76 av.archive_free = _archive_write_free;
77 av.archive_write_header = _archive_write_header;
78 av.archive_write_finish_entry = _archive_write_finish_entry;
79 av.archive_write_data = _archive_write_data;
81 return (&av);
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dwqe.h79 uint32_t av[8]; member in struct:mlx4_wqe_datagram_seg
/freebsd-9.3-release/gnu/lib/libodialog/
H A Dprgbox.c85 char *av[51], **ap = av, *val, *p; local
94 f = raw_popen(name = av[0], av, "r");
/freebsd-9.3-release/tools/tools/zfsboottest/
H A Dzfsboottest.c105 static char *av[] = { local
115 argc = sizeof(av) / sizeof(av[0]) - 1;
116 argv = av;
/freebsd-9.3-release/usr.bin/elf2aout/
H A Delf2aout.c66 main(int ac, char **av) argument
89 while ((c = getopt(ac, av, "o:")) != -1)
100 av += optind;
104 if ((efd = open(*av, O_RDONLY)) < 0 || fstat(efd, &sb) < 0)
/freebsd-9.3-release/usr.bin/uuencode/
H A Duuencode.c69 char **av; variable
118 av = argv;
155 fprintf(output, "begin-base64 %o %s\n", mode, *av);
178 (void)fprintf(output, "begin %o %s\n", mode, *av);
/freebsd-9.3-release/lib/libdwarf/
H A Ddwarf_loc.c533 Dwarf_AttrValue av; local
546 if ((av = dwarf_attrval_find(die, attr)) == NULL) {
554 switch (av->av_form) {
561 av->u[1].u8p, av->u[0].u64)) < 0) {
574 av->u[1].u8p, av->u[0].u64)) != DWARF_E_NONE) {
582 __LINE__,get_form_desc(av->av_form));
/freebsd-9.3-release/usr.sbin/apmd/contrib/
H A Dpccardq.c29 proc_arg(int ac, char **av) argument
34 char *p = strrchr(av[0], '/');
35 prog = p ? p + 1 : av[0];
39 while ((ch = getopt(ac, av, "ans:")) != -1) {
242 main(int ac, char **av) argument
249 if (proc_arg(ac, av) < 0)
/freebsd-9.3-release/contrib/cvs/src/
H A Dadmin.c111 char **av; member in struct:admin_data
136 dat->av = (char **) xmalloc (dat->av_alloc * sizeof (*dat->av));
141 dat->av = (char **) xrealloc (dat->av,
142 dat->av_alloc * sizeof (*dat->av));
144 dat->av[dat->ac++] = newelt;
429 assert (admin_data.av[i][0] == '-');
430 switch (admin_data.av[i][1])
435 check_numeric (&admin_data.av[
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dsctp_usrreq.c1755 struct sctp_assoc_value *av; local
1757 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1758 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1760 av->assoc_value = stcb->asoc.sctp_cmt_on_off;
1765 (av->assoc_id == SCTP_FUTURE_ASSOC)) {
1767 av->assoc_value = inp->sctp_cmt_on_off;
1781 struct sctp_assoc_value *av; local
1783 SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, *optsize);
1784 SCTP_FIND_STCB(inp, stcb, av->assoc_id);
1786 av
1826 struct sctp_assoc_value *av; local
1852 struct sctp_stream_value *av; local
1878 struct sctp_assoc_value *av; local
1943 struct sctp_assoc_value *av; local
2065 struct sctp_assoc_value *av; local
2092 struct sctp_assoc_value *av; local
3300 struct sctp_assoc_value *av; local
3490 struct sctp_assoc_value *av; local
3529 struct sctp_assoc_value *av; local
3612 struct sctp_assoc_value *av; local
3659 struct sctp_stream_value *av; local
3703 struct sctp_assoc_value *av; local
4126 struct sctp_assoc_value *av; local
4402 struct sctp_assoc_value *av; local
4434 struct sctp_assoc_value *av; local
[all...]
/freebsd-9.3-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_ibmgt.c374 IB_ud_av_t av; local
389 IB_MCLASS_SUBN_LID, &av);
392 memset(&av, 0, sizeof(av));
394 av.dlid = IB_LID_PERMISSIVE;
405 "av.dlid:0x%X, "
406 "av.static_rate:%d, "
407 "av.path_bits:%d.\n",
408 cl_ntoh16(av.dlid), av
[all...]

Completed in 316 milliseconds

12345678