Searched defs:argc (Results 1 - 25 of 1744) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbcache.c477 command_bcache(int argc, char *argv[] __unused) argument
479 if (argc != 1) {
H A Dboot.c39 static int loadakernel(int try, int argc, char *argv[]);
55 command_boot(int argc, char *argv[]) argument
62 if ((argc > 1) && (argv[1][0] == '/')) {
73 if (mod_loadkld(argv[1], argc - 2, argv + 2) != 0)
76 argc = 1;
83 if (loadakernel(0, argc - 1, argv + 1)) {
85 argc = 1;
100 if (argc > 1) {
102 fp->f_args = unargv(argc - 1, argv + 1);
123 command_autoboot(int argc, cha argument
407 loadakernel(int try, int argc, char *argv[]) argument
[all...]
H A Dcommands.c130 command_help(int argc, char *argv[]) argument
146 switch (argc) {
225 command_commandlist(int argc __unused, char *argv[] __unused)
257 command_show(int argc, char *argv[]) argument
262 if (argc < 2) {
293 command_set(int argc, char *argv[]) argument
297 if (argc != 2) {
312 command_setprop(int argc, char *argv[]) argument
316 if (argc != 3) {
331 command_unset(int argc, cha argument
350 command_echo(int argc, char *argv[]) argument
389 command_read(int argc, char *argv[]) argument
448 command_more(int argc, char *argv[]) argument
497 command_lsdev(int argc, char *argv[]) argument
[all...]
H A Dconsole.c346 command_console(int argc, char *argv[]) argument
348 if (argc > 1)
H A Dgfx_fb.c1712 command_font(int argc, char *argv[]) argument
1718 if (argc > 2) {
1723 if (argc == 2) {
1747 if (argc == 1) {
H A Dinstall.c317 command_install(int argc, char *argv[]) argument
325 if (argc == argidx) {
H A Dinterp.c56 static int perform(int argc, char *argv[]);
62 perform(int argc, char *argv[]) argument
68 if (argc < 1)
83 result = (cmd)(argc, argv);
143 command_include(int argc, char *argv[]) argument
152 argvbuf = (char**) calloc((u_int)argc, sizeof(char*));
153 for (i = 0; i < argc; i++)
157 for (i = 1; (i < argc) && (res == CMD_OK); i++)
160 for (i = 0; i < argc; i++)
170 command_sifting(int argc, cha argument
[all...]
H A Dinterp_forth.c69 * argv/argc command functions.
79 int argc, result; local
142 if (!parse(&argc, &argv, line)) {
143 result = (cmd)(argc, argv);
H A Dinterp_parse.c34 * returning an argc/argv style vector of whitespace separated
84 parse(int *argc, char ***argv, char *str) argument
92 ac = *argc = 0;
185 *argc = ac;
H A Dls.c58 command_ls(int argc, char *argv[]) argument
73 while ((ch = getopt(argc, argv, "l")) != -1) {
85 argc -= (optind - 1);
87 if (argc < 2) {
H A Dmisc.c35 * Concatenate the (argc) elements of (argv) into a single string, and return
39 unargv(int argc, char *argv[]) argument
45 for (i = 0, hlong = 0; i < argc; i++)
53 for (i = 0; i < argc; i++) {
55 if (i < (argc - 1))
H A Dmodule.c114 command_load(int argc, char *argv[]) argument
123 if (argc == 1) {
127 while ((ch = getopt(argc, argv, "kt:")) != -1) {
143 argc -= (optind - 1);
163 fp = file_loadraw(argv[1], typestr, argc - 2, argv + 2, 1);
177 error = mod_loadkld(argv[1], argc - 2, argv + 2);
189 error = mod_load(argv[1], NULL, argc - 2, argv + 2);
216 command_unload(int argc __unused, char *argv[] __unused)
225 command_lsmod(int argc, char *argv[]) argument
237 while ((ch = getopt(argc, arg
617 file_loadraw(const char *fname, char *type, int argc, char **argv, int insert) argument
730 mod_load(char *modname, struct mod_depend *verinfo, int argc, char *argv[]) argument
767 mod_loadkld(const char *kldname, int argc, char *argv[]) argument
[all...]
H A Dpnp.c33 pnp_scan(int argc, char *argv[]) argument
48 while ((ch = getopt(argc, argv, "v")) != -1) {
H A Dvdisk.c87 command_mapvd(int argc, char *argv[]) argument
92 if (argc != 2) {
190 command_unmapvd(int argc, char *argv[]) argument
197 if (argc != 2) {
H A Dzfs_cmd.c42 command_lszfs(int argc, char *argv[]) argument
46 if (argc != 2) {
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dexample.c14 int main(int argc, char **argv) { argument
19 while(argc > 1) {
20 argc--;
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Denv.c739 command_efi_show(int argc, char *argv[]) argument
769 while ((ch = getopt(argc, argv, "ag:lv:")) != -1) {
798 if (argc == 1) /* default is -a */
806 if (aflag && optind < argc) {
811 argc -= optind;
823 if (argc == 2) {
847 if (argc > 0) {
848 printf("Too many args: %d\n", argc);
933 command_efi_set(int argc, char *argv[]) argument
942 if (argc !
972 command_efi_unset(int argc, char *argv[]) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Defi_main.c76 int argc, addprog; local
114 for (argc = 0; argc < (int)img->LoadOptionsSize; argc++)
115 args[argc] = ((char*)img->LoadOptions)[argc];
149 argc = (addprog) ? 1 : 0;
155 argc++;
159 argv = malloc((argc + 1) * sizeof(CHAR16*));
160 argc
[all...]
H A Dframebuffer.c685 command_gop(int argc, char *argv[]) argument
700 if (argc < 2)
708 if (argc != 2)
720 if (argc != 2)
735 if (argc != 3)
763 if (argc != 2)
776 if (argc != 2 && argc != 3)
779 if (argc == 3) {
817 command_uga(int argc, cha argument
[all...]
H A Dmain.c459 main(int argc, CHAR16 *argv[]) argument
519 for (i = 1; i < argc; i++) {
558 if (i + 1 == argc) {
630 for (i = 0; i < argc; i++) {
715 command_reboot(int argc __unused, char *argv[] __unused)
732 command_poweroff(int argc __unused, char *argv[] __unused)
749 command_memmap(int argc __unused, char *argv[] __unused)
827 command_configuration(int argc __unused, char *argv[] __unused)
856 command_mode(int argc, char *argv[]) argument
873 if (argc >
981 command_lszfs(int argc, char *argv[]) argument
1008 command_fdt(int argc, char *argv[]) argument
1020 command_chain(int argc, char *argv[]) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dvbe.c714 command_vesa(int argc, char *argv[]) argument
722 if (argc < 2)
727 if (argc != 2 && argc != 3)
730 if (argc == 3) {
746 if (argc != 2)
754 if (argc != 2)
767 if (argc != 2)
777 if (argc != 3)
/illumos-gate/usr/src/boot/sys/boot/i386/loader/
H A Dchain.c44 command_chain(int argc, char *argv[]) argument
51 if (argc == 1) {
55 if (argc != 2) {
/illumos-gate/usr/src/boot/sys/boot/libcrypto/
H A Ddigest.c19 command_sha1(int argc, char **argv) argument
28 if (argc != 3) {
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c1612 int argc,
1628 while ((option = getopt(argc, argv, "pso:a")) != EOF) {
1650 if (optind >= argc)
1665 c->obj->numfiles = argc - optind;
1671 for (; optind < argc; i++, optind++)
1684 main(int argc, char *argv[]) argument
1695 if (!analyze_args(main_obj, argc, argv))
1611 analyze_args(obj_list * c, int argc, char *argv[]) argument
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c97 main(int argc, char **argv) argument
119 while ((opt = getopt(argc, argv, optlet)) != EOF) {
161 argc -= optind;
168 if (errflg || argc <= 0) {

Completed in 204 milliseconds

1234567891011>>