Searched refs:popt (Results 1 – 7 of 7) sorted by relevance
/freebsd/usr.sbin/spi/ |
H A D | spi.c | 71 static int interpret_command_bytes(const char *parg, struct spi_options *popt); 72 static void * prep_write_buffer(struct spi_options *popt); 74 static int _do_data_output(void *pr, struct spi_options *popt); 76 static int set_mode(int hdev, struct spi_options *popt); 77 static int set_speed(int hdev, struct spi_options *popt); 79 static int perform_read(int hdev, struct spi_options *popt); 80 static int perform_write(int hdev, struct spi_options *popt); 81 static int perform_readwrite(int hdev, struct spi_options *popt); 382 interpret_command_bytes(const char *parg, struct spi_options *popt) in interpret_command_bytes() argument 391 popt->pcmd = (uint8_t *)malloc(cbcmd); in interpret_command_bytes() [all …]
|
/freebsd/contrib/libarchive/unzip/ |
H A D | cmdline.c | 66 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/contrib/libarchive/cat/ |
H A D | cmdline.c | 99 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/contrib/libarchive/tar/ |
H A D | cmdline.c | 203 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/contrib/libarchive/cpio/ |
H A D | cmdline.c | 98 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/bin/sh/ |
H A D | exec.c | 205 padvance(const char **path, const char **popt, const char *name) in padvance() argument 214 if (popt != NULL) in padvance() 230 if (popt != NULL) { in padvance() 232 *popt = ++p; in padvance() 235 *popt = NULL; in padvance()
|
/freebsd/contrib/dialog/ |
H A D | CHANGES | 1997 begins with "--". This is apparently one of popt's undocumented
|