Home
last modified time | relevance | path

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

/dragonfly/contrib/libarchive/cat/
H A Dcmdline.c120 size_t optlength; in bsdcat_getopt() local
219 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()
/dragonfly/contrib/libarchive/cpio/
H A Dcmdline.c120 size_t optlength; in cpio_getopt() local
216 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()
/dragonfly/contrib/libarchive/tar/
H A Dcmdline.c222 size_t optlength; in bsdtar_getopt() local
355 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()