/src/lib/libutil/ |
if_media.c | 145 char *optlist, *str; local in function:get_media_options 149 optlist = strdup(val); 150 if (optlist == NULL) { 155 str = optlist; 171 if (str != optlist) 172 memmove(optlist, str, strlen(str) + 1); 174 *invalid = optlist; 178 free(optlist);
|
/src/bin/sh/ |
options.c | 104 optlist[i].val = 2; 138 if (optlist[i].val == 2) 139 optlist[i].val = optlist[i].dflt; 140 optlist[i].dflt = optlist[i].val; 264 if (val && (flag = optlist[i].opt_set)) { 267 if (optlist[j].opt_set == flag) 268 optlist[j].val = 0; 274 optlist[i].val = val [all...] |
expand.c | 1253 if (optlist[optorder[i]].val) 1254 STPUTC(optlist[optorder[i]].letter, expdest);
|
/src/bin/stty/ |
extern.h | 45 void optlist(void);
|
/src/usr.bin/patch/ |
backupfile.c | 179 * OPTLIST, return the index in OPTLIST of the matched element, else -1 if it 184 argmatch(const char *arg, const char **optlist) 186 int i; /* Temporary index in OPTLIST. */ 194 for (i = 0; optlist[i]; i++) { 195 if (!strncmp(optlist[i], arg, arglen)) { 196 if (strlen(optlist[i]) == arglen)
|
/src/usr.sbin/traceroute/ |
traceroute.c | 667 u_char *optlist; local in function:main 669 optlist = outp; 678 optlist[0] = IPOPT_NOP; 680 optlist[1] = IPOPT_LSRR; 682 optlist[2] = i + 3; 684 optlist[3] = IPOPT_MINOFF; 685 memcpy(optlist + 4, gwlist + 1, i); 781 u_char optlist[MAX_IPOPTLEN]; local in function:main 788 optlist[0] = IPOPT_NOP; 790 optlist[1] = IPOPT_LSRR [all...] |
/src/sys/arch/arm/arm/ |
cpufunc.c | 2376 parse_cpu_options(char *args, struct cpu_option *optlist, u_int cpuctrl) 2383 while (optlist->co_name) { 2384 if (get_bootconf_option(args, optlist->co_name, 2387 if (optlist->co_trueop == OR) 2388 cpuctrl |= optlist->co_value; 2389 else if (optlist->co_trueop == BIC) 2390 cpuctrl &= ~optlist->co_value; 2392 if (optlist->co_falseop == OR) 2393 cpuctrl |= optlist->co_value; 2394 else if (optlist->co_falseop == BIC [all...] |
/src/sys/external/bsd/ipf/netinet/ |
fil.c | 222 static const struct optlist ipopts[20] = { 246 static const struct optlist ip6exthdr[] = { 263 static const struct optlist secopt[8] = { 1688 const struct optlist *op; 1892 const struct optlist *sp;
|
ip_fil.h | 1148 typedef struct optlist { struct
|