Lines Matching refs:getopt_word
141 bsdcat->getopt_word = *bsdcat->argv++; in bsdcat_getopt()
143 if (bsdcat->getopt_word[1] == '-') { in bsdcat_getopt()
146 bsdcat->getopt_word += 2; /* Skip leading '--' */ in bsdcat_getopt()
150 ++bsdcat->getopt_word; /* Skip leading '-' */ in bsdcat_getopt()
159 opt = *bsdcat->getopt_word++; in bsdcat_getopt()
176 if (bsdcat->getopt_word[0] == '\0') { in bsdcat_getopt()
178 bsdcat->getopt_word = *bsdcat->argv; in bsdcat_getopt()
179 if (bsdcat->getopt_word == NULL) { in bsdcat_getopt()
193 bsdcat->argument = bsdcat->getopt_word; in bsdcat_getopt()
204 p = strchr(bsdcat->getopt_word, '='); in bsdcat_getopt()
206 optlength = (size_t)(p - bsdcat->getopt_word); in bsdcat_getopt()
209 optlength = strlen(bsdcat->getopt_word); in bsdcat_getopt()
215 if (popt->name[0] != bsdcat->getopt_word[0]) in bsdcat_getopt()
218 if (strncmp(bsdcat->getopt_word, popt->name, optlength) == 0) { in bsdcat_getopt()
233 long_prefix, bsdcat->getopt_word); in bsdcat_getopt()
239 long_prefix, bsdcat->getopt_word, match->name, match2->name); in bsdcat_getopt()