Lines Matching refs:nextchar
20 h->nextchar = NULL; in cmdopt_shift()
27 h->nextchar = NULL; in cmdopt_next()
50 if (*h->nextchar == '\0') { in cmdopt_getopt()
52 h->nextchar = h->argv[h->optind]; in cmdopt_getopt()
57 h->optarg = h->nextchar; in cmdopt_getopt()
69 h->optopt = *h->nextchar++; in cmdopt_search()
130 len = cmdopt_match_len(h->longopts[i].name, h->nextchar); in cmdopt_match()
133 h->nextchar -= len; in cmdopt_match()
146 h->nextchar += max; in cmdopt_match()
152 if (*h->nextchar == '=') { in cmdopt_getopt_long()
153 h->optarg = h->nextchar + 1; in cmdopt_getopt_long()
191 } else if (*h->nextchar == '=') { in cmdopt_search_long()
217 if (h->nextchar == NULL) { in cmdopt_main()
223 h->nextchar = h->argv[h->optind] + type; in cmdopt_main()
229 if (*h->nextchar == '\0') { in cmdopt_main()
254 h->nextchar = NULL; in cmdopt_init()