Lines Matching +full:use +full:- +full:case
3 * Module Name: asloptions - compiler command line processing
11 * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
18 * you this software, covering your right to use that party's intellectual
25 * make derivatives, distribute, use and display any portion of the Covered
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
30 * patents that are infringed by the Original Intel Code, to make, use, sell,
76 * Intel shall be used in advertising or otherwise to promote the sale, use or
91 * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
119 * Redistribution and use in source and binary forms, with or without
130 * 3. Neither the names of the above-listed copyright holders nor the names
140 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
143 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
221 exit (-1);
246 printf ("Use -h option for help information\n");
258 * PARAMETERS: argc/argv - Standard argc/argv
259 * IsResponseFile - TRUE if executing a response file.
281 case '@': /* Begin a response file */
286 return (-1);
291 return (-1);
295 case 'a': /* Debug options */
299 case 'r':
306 printf ("Unknown option: -a%s\n", AcpiGbl_Optarg);
307 return (-1);
313 case 'b': /* Debug options */
318 case 'c':
335 case 'f':
344 case 'p': /* Prune ASL parse tree */
350 return (-1);
357 case 's':
362 case 't':
368 return (-1);
375 printf ("Unknown option: -b%s\n", AcpiGbl_Optarg);
376 return (-1);
381 case 'c':
386 case 'a':
401 case 'r':
408 printf ("Unknown option: -c%s\n", AcpiGbl_Optarg);
409 return (-1);
413 case 'd': /* Disassembler */
417 case '^':
422 case 'a':
428 case 'b': /* Do not convert buffers to resource descriptors */
433 case 'c':
437 case 'f':
442 case 'l': /* Use legacy ASL code (not ASL+) for disassembly */
448 case 's': /* Specify table signature (Only supported for CDAT table) */
454 return (-1);
457 /* Check for exact string "CDAT" (upper or lower case) */
463 return (-1);
472 printf ("Unknown option: -d%s\n", AcpiGbl_Optarg);
473 return (-1);
479 case 'D': /* Define a symbol */
484 case 'e': /* External files for disassembler */
488 AcpiGbl_Optind--;
492 (argv[AcpiGbl_Optind][0] != '-'))
499 return (-1);
506 case 'f':
510 case '^': /* Ignore errors and force creation of aml file */
515 case 'e': /* Disassembler: Get external declaration file */
519 return (-1);
527 printf ("Unknown option: -f%s\n", AcpiGbl_Optarg);
528 return (-1);
532 case 'G':
537 case 'g': /* Get all ACPI tables */
539 printf ("-g option is deprecated, use acpidump utility instead\n");
542 case 'h':
546 case '^':
551 case 'c':
556 case 'd':
561 case 'f':
566 case 'r':
573 case 't':
580 printf ("Unknown option: -h%s\n", AcpiGbl_Optarg);
581 return (-1);
584 case 'I': /* Add an include file search directory */
589 case 'i': /* Output AML as an include file */
593 case 'a':
600 case 'c':
607 case 'n':
616 printf ("Unknown option: -i%s\n", AcpiGbl_Optarg);
617 return (-1);
621 case 'l': /* Listing files */
625 case '^':
633 case 'd':
640 case 'i':
647 case 'm':
654 case 'n':
661 case 's':
668 case 'x':
670 /* Produce cross-reference file */
677 printf ("Unknown option: -l%s\n", AcpiGbl_Optarg);
678 return (-1);
682 case 'm': /* Set line buffer size */
692 case 'n': /* Parse only */
697 case 'o': /* Control compiler AML optimizations */
701 case 'a':
712 case 'c':
719 case 'd':
726 case 'e':
733 case 'E':
743 case 'f':
750 case 'i':
757 case 'n':
764 case 't':
773 printf ("Unknown option: -c%s\n", AcpiGbl_Optarg);
774 return (-1);
778 case 'P': /* Preprocessor options */
782 case '^': /* Proprocess only, emit (.i) file */
788 case 'n': /* Disable preprocessor */
795 printf ("Unknown option: -P%s\n", AcpiGbl_Optarg);
796 return (-1);
800 case 'p': /* Override default AML output filename */
807 case 'q': /* ASL/ASl+ converter: compile only and leave badaml. */
818 case 'r': /* Override revision found in table header */
823 case 's': /* Create AML in a source code file */
827 case 'a':
834 case 'c':
841 case 'o':
850 printf ("Unknown option: -s%s\n", AcpiGbl_Optarg);
851 return (-1);
855 case 't': /* Produce hex table output file */
859 case 'a':
864 case 'c':
869 case 'p': /* data table flex/bison prototype */
874 case 's':
881 printf ("Unknown option: -t%s\n", AcpiGbl_Optarg);
882 return (-1);
886 case 'T': /* Create a ACPI table template file */
891 case 'v': /* Version and verbosity settings */
895 case '^':
900 case 'a':
907 case 'e':
915 case 'i':
929 case 'o':
934 case 'r':
939 case 's':
944 case 't':
949 case 'w':
955 return (-1);
961 return (-1);
965 case 'x':
971 return (-1);
977 return (-1);
983 printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
984 return (-1);
988 case 'w': /* Set warning levels */
992 case '1':
997 case '2':
1002 case '3':
1007 case 'e':
1012 case 'w':
1018 return (-1);
1024 return (-1);
1031 printf ("Unknown option: -w%s\n", AcpiGbl_Optarg);
1032 return (-1);
1036 case 'x': /* Set debug print output level */
1041 case 'z':
1048 return (-1);
1059 * PARAMETERS: InBuffer - Input containing an option string
1060 * OutBuffer - Merged output buffer
1091 * PARAMETERS: Filename - Name of the response file
1115 return (-1);
1129 /* Compress all tokens, allowing us to use a single argv entry */