| /freebsd-13.1/usr.bin/tset/ |
| H A D | term.c | 126 askuser(const char *dflt) in askuser() argument 137 if (dflt) in askuser() 138 (void)fprintf(stderr, "Terminal type? [%s] ", dflt); in askuser() 144 if (dflt == NULL) { in askuser() 148 return (dflt); in askuser() 155 if (dflt != NULL) in askuser() 156 return (dflt); in askuser()
|
| /freebsd-13.1/usr.bin/rpcgen/ |
| H A D | rpc_cout.c | 318 declaration *dflt; in emit_union() local 349 dflt = def->def.un.default_decl; in emit_union() 350 if (dflt != NULL) { in emit_union() 351 if (!streq(dflt->type, "void")) { in emit_union() 354 strlen(format) + strlen(dflt->name) + 1); in emit_union() 355 if (isvectordef (dflt->type, dflt->rel)) { in emit_union() 357 dflt->name); in emit_union() 360 dflt->name); in emit_union() 363 print_ifstat(2, dflt->prefix, dflt->type, dflt->rel, in emit_union() 364 dflt->array_max, object, dflt->name); in emit_union()
|
| /freebsd-13.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_qos.c | 77 osm_qos_options_t * dflt); 593 osm_qos_options_t * dflt) in qos_build_config() argument 603 if (dflt->max_vls > 0) in qos_build_config() 604 cfg->max_vls = dflt->max_vls; in qos_build_config() 612 if (dflt->high_limit >= 0) in qos_build_config() 621 if (dflt->vlarb_high) in qos_build_config() 622 p = dflt->vlarb_high; in qos_build_config() 637 if (dflt->vlarb_low) in qos_build_config() 638 p = dflt->vlarb_low; in qos_build_config() 654 if (dflt->sl2vl) in qos_build_config() [all …]
|
| /freebsd-13.1/contrib/openpam/lib/libpam/ |
| H A D | openpam_features.c | 40 #define STRUCT_OPENPAM_FEATURE(name, descr, dflt) \ argument 44 dflt \
|
| /freebsd-13.1/usr.sbin/lpr/common_source/ |
| H A D | printcap.c | 373 const char *dflt, char **result) in capdb_getaltstr() argument 383 if (dflt) { in capdb_getaltstr() 384 *result = strdup(dflt); in capdb_getaltstr() 396 capdb_getaltnum(char *bp, const char *shrt, const char *lng, long dflt, in capdb_getaltnum() argument 407 *result = dflt; in capdb_getaltnum()
|
| /freebsd-13.1/contrib/ncurses/progs/ |
| H A D | tset.c | 167 askuser(const char *dflt) in askuser() argument 180 if (dflt) in askuser() 181 (void) fprintf(stderr, "Terminal type? [%s] ", dflt); in askuser() 187 if (dflt == 0) { in askuser() 191 return (dflt); in askuser() 198 if (dflt != 0) in askuser() 199 return (dflt); in askuser()
|
| /freebsd-13.1/sys/netpfil/ipfw/test/ |
| H A D | test_dn_sched.c | 73 ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg) in ipdn_bound_var() argument 77 *v = dflt; in ipdn_bound_var()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | dispatch.c | 62 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt) in ssh_dispatch_init() argument 66 ssh->dispatch[i] = dflt; in ssh_dispatch_init()
|
| /freebsd-13.1/usr.sbin/pw/ |
| H A D | pw.h | 104 int boolean_val(char const * str, int dflt); 105 int passwd_val(char const * str, int dflt);
|
| H A D | pw_conf.c | 177 boolean_val(char const * str, int dflt) in boolean_val() argument 189 return dflt; in boolean_val() 193 passwd_val(char const * str, int dflt) in passwd_val() argument 215 return dflt; in passwd_val()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | disklabel.c | 98 #define getnumdflt(field, dname, dflt) \ in getdiskbyname() argument 99 { long f; (field) = (cgetnum(buf, dname, &f) == -1) ? (dflt) : f; } in getdiskbyname()
|
| /freebsd-13.1/sys/netpfil/ipfw/ |
| H A D | dn_sched.h | 164 int ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg);
|
| H A D | ip_dummynet.c | 156 ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg) in ipdn_bound_var() argument 160 if (dflt < lo) in ipdn_bound_var() 161 dflt = lo; in ipdn_bound_var() 162 if (dflt > hi) in ipdn_bound_var() 163 dflt = hi; in ipdn_bound_var() 165 *v = dflt; in ipdn_bound_var()
|
| /freebsd-13.1/sys/contrib/openzfs/module/lua/ |
| H A D | lstrlib.c | 440 goto dflt; /* no; go to default */ in match() 477 default: goto dflt; in match() 481 default: dflt: { /* pattern class plus optional suffix */ in match()
|
| /freebsd-13.1/contrib/pf/libevent/ |
| H A D | event.c | 716 struct timeval dflt = TIMEOUT_DEFAULT; in timeout_next() local 722 *tv = dflt; in timeout_next()
|
| /freebsd-13.1/sys/dev/netmap/ |
| H A D | netmap.c | 688 nm_bound_var(u_int *v, u_int dflt, u_int lo, u_int hi, const char *msg) in nm_bound_var() argument 693 if (dflt < lo) in nm_bound_var() 694 dflt = lo; in nm_bound_var() 695 if (dflt > hi) in nm_bound_var() 696 dflt = hi; in nm_bound_var() 698 *v = dflt; in nm_bound_var()
|
| H A D | netmap_kern.h | 1490 u_int nm_bound_var(u_int *v, u_int dflt, u_int lo, u_int hi, const char *msg);
|
| /freebsd-13.1/contrib/expat/lib/ |
| H A D | expat.h | 200 const XML_Char *att_type, const XML_Char *dflt, int isrequired);
|
| /freebsd-13.1/contrib/ncurses/include/ |
| H A D | curses.tail | 174 #define OPTIMIZE_ALL 0xff /* enable all optimizations (dflt) */
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lstrlib.c | 586 goto dflt; /* no; go to default */ in match() 622 default: goto dflt; in match() 626 default: dflt: { /* pattern class plus optional suffix */ in match()
|
| /freebsd-13.1/sys/netpfil/pf/ |
| H A D | pf_nv.c | 45 type *val, type dflt) \ 49 *val = dflt; \
|
| /freebsd-13.1/contrib/expat/tests/ |
| H A D | runtests.c | 277 const XML_Char *dflt, int isrequired) { in dummy_attlist_decl_handler() argument 282 UNUSED_P(dflt); in dummy_attlist_decl_handler()
|
| /freebsd-13.1/contrib/sqlite3/ |
| H A D | sqlite3.c | 129553 static u8 getSafetyLevel(const char *z, int omitFull, u8 dflt){ 129572 return dflt; 129578 SQLITE_PRIVATE u8 sqlite3GetBoolean(const char *z, u8 dflt){ 129579 return getSafetyLevel(z,1,dflt)!=0;
|