Lines Matching refs:acpi_gbl_optind
29 int acpi_gbl_optind = 1; variable
56 acpi_gbl_optind--; in acpi_getopt_argument()
59 if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { in acpi_getopt_argument()
61 &argv[acpi_gbl_optind++][(int)(current_char_ptr + 1)]; in acpi_getopt_argument()
62 } else if (++acpi_gbl_optind >= argc) { in acpi_getopt_argument()
68 acpi_gbl_optarg = argv[acpi_gbl_optind++]; in acpi_getopt_argument()
94 if (acpi_gbl_optind >= argc || in acpi_getopt()
95 argv[acpi_gbl_optind][0] != '-' || in acpi_getopt()
96 argv[acpi_gbl_optind][1] == '\0') { in acpi_getopt()
98 } else if (strcmp(argv[acpi_gbl_optind], "--") == 0) { in acpi_getopt()
99 acpi_gbl_optind++; in acpi_getopt()
106 current_char = argv[acpi_gbl_optind][current_char_ptr]; in acpi_getopt()
114 if (argv[acpi_gbl_optind][++current_char_ptr] == '\0') { in acpi_getopt()
115 acpi_gbl_optind++; in acpi_getopt()
125 if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { in acpi_getopt()
127 &argv[acpi_gbl_optind++][(int) in acpi_getopt()
129 } else if (++acpi_gbl_optind >= argc) { in acpi_getopt()
136 acpi_gbl_optarg = argv[acpi_gbl_optind++]; in acpi_getopt()
145 if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { in acpi_getopt()
147 &argv[acpi_gbl_optind++][(int) in acpi_getopt()
149 } else if (++acpi_gbl_optind >= argc) { in acpi_getopt()
152 acpi_gbl_optarg = argv[acpi_gbl_optind++]; in acpi_getopt()
161 if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { in acpi_getopt()
163 &argv[acpi_gbl_optind][(int)(current_char_ptr + 1)]; in acpi_getopt()
169 acpi_gbl_optind++; in acpi_getopt()
176 if (argv[acpi_gbl_optind][(int)(current_char_ptr + 1)] != '\0') { in acpi_getopt()
178 &argv[acpi_gbl_optind][(int)(current_char_ptr + 1)]; in acpi_getopt()
189 acpi_gbl_optind++; in acpi_getopt()
196 if (argv[acpi_gbl_optind][++current_char_ptr] == '\0') { in acpi_getopt()
198 acpi_gbl_optind++; in acpi_getopt()