Searched refs:optlength (Results 1 – 3 of 3) sorted by relevance
120 size_t optlength; in bsdcat_getopt() local219 optlength = (size_t)(p - bsdcat->getopt_word); in bsdcat_getopt()222 optlength = strlen(bsdcat->getopt_word); in bsdcat_getopt()231 if (strncmp(bsdcat->getopt_word, popt->name, optlength) == 0) { in bsdcat_getopt()235 if (strlen(popt->name) == optlength) { in bsdcat_getopt()
120 size_t optlength; in cpio_getopt() local216 optlength = (size_t)(p - opt_word); in cpio_getopt()219 optlength = strlen(opt_word); in cpio_getopt()228 if (strncmp(opt_word, popt->name, optlength) == 0) { in cpio_getopt()232 if (strlen(popt->name) == optlength) { in cpio_getopt()
222 size_t optlength; in bsdtar_getopt() local355 optlength = (size_t)(p - bsdtar->getopt_word); in bsdtar_getopt()358 optlength = strlen(bsdtar->getopt_word); in bsdtar_getopt()367 if (strncmp(bsdtar->getopt_word, popt->name, optlength) == 0) { in bsdtar_getopt()371 if (strlen(popt->name) == optlength) { in bsdtar_getopt()