Home
last modified time | relevance | path

Searched refs:current_char_ptr (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/tools/power/acpi/common/
Dgetopt.c33 static int current_char_ptr = 1; variable
57 current_char_ptr++; 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()
65 current_char_ptr = 1; in acpi_getopt_argument()
71 current_char_ptr = 1; in acpi_getopt_argument()
93 if (current_char_ptr == 1) { 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()
116 current_char_ptr = 1; in acpi_getopt()
[all …]