Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/spi/
H A Dspi.c440 if (popt->lsb) in interpret_command_bytes()
659 if (popt->verbose > 0 && popt->count + popt->ncmd) { in prep_write_buffer()
660 if ((popt->count + popt->ncmd) == 1) in prep_write_buffer()
666 popt->count + popt->ncmd, szbytes); in prep_write_buffer()
668 verbose_dump_buffer(pdata, popt->count + popt->ncmd, lsb); in prep_write_buffer()
746 if (popt->binary || !popt->ASCII) { in _do_data_output()
785 verbose_dump_buffer(pr, icount + popt->ncmd, popt->lsb); in _do_data_output()
798 icount = popt->count + popt->ncmd; in perform_read()
811 if (popt->pcmd && popt->ncmd > 0) in perform_read()
812 memcpy(pw, popt->pcmd, popt->ncmd); in perform_read()
[all …]
/freebsd-14.2/contrib/libarchive/unzip/
H A Dcmdline.c66 const struct bsdunzip_option *popt, *match, *match2; in bsdunzip_getopt() local
177 for (popt = bsdunzip_longopts; popt->name != NULL; popt++) { in bsdunzip_getopt()
179 if (popt->name[0] != bsdunzip->getopt_word[0]) in bsdunzip_getopt()
182 if (strncmp(bsdunzip->getopt_word, popt->name, optlength) == 0) { in bsdunzip_getopt()
184 match = popt; in bsdunzip_getopt()
186 if (strlen(popt->name) == optlength) { in bsdunzip_getopt()
/freebsd-14.2/contrib/libarchive/cat/
H A Dcmdline.c99 const struct bsdcat_option *popt, *match, *match2; in bsdcat_getopt() local
213 for (popt = bsdcat_longopts; popt->name != NULL; popt++) { 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()
220 match = popt; in bsdcat_getopt()
222 if (strlen(popt->name) == optlength) { in bsdcat_getopt()
/freebsd-14.2/contrib/libarchive/tar/
H A Dcmdline.c203 const struct bsdtar_option *popt, *match, *match2; in bsdtar_getopt() local
351 for (popt = tar_longopts; popt->name != NULL; popt++) { in bsdtar_getopt()
353 if (popt->name[0] != bsdtar->getopt_word[0]) in bsdtar_getopt()
356 if (strncmp(bsdtar->getopt_word, popt->name, optlength) == 0) { in bsdtar_getopt()
358 match = popt; in bsdtar_getopt()
360 if (strlen(popt->name) == optlength) { in bsdtar_getopt()
/freebsd-14.2/contrib/libarchive/cpio/
H A Dcmdline.c98 const struct option *popt, *match, *match2; in cpio_getopt() local
209 for (popt = cpio_longopts; popt->name != NULL; popt++) { in cpio_getopt()
211 if (popt->name[0] != opt_word[0]) in cpio_getopt()
214 if (strncmp(opt_word, popt->name, optlength) == 0) { in cpio_getopt()
216 match = popt; in cpio_getopt()
218 if (strlen(popt->name) == optlength) { in cpio_getopt()
/freebsd-14.2/bin/sh/
H A Dexec.c211 padvance(const char **path, const char **popt, const char *name) in padvance() argument
220 if (popt != NULL) in padvance()
236 if (popt != NULL) { in padvance()
238 *popt = ++p; in padvance()
241 *popt = NULL; in padvance()
/freebsd-14.2/contrib/dialog/
H A DCHANGES1997 begins with "--". This is apparently one of popt's undocumented