Home
last modified time | relevance | path

Searched refs:dflt (Results 1 – 25 of 25) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dpbetest.c134 static OSSL_PROVIDER *legacy, *dflt; variable
142 dflt = OSSL_PROVIDER_load(NULL, "default"); in setup_tests()
143 if (!TEST_ptr(legacy) || !TEST_ptr(dflt)) { in setup_tests()
164 OSSL_PROVIDER_unload(dflt); in cleanup_tests()
165 legacy = dflt = NULL; in cleanup_tests()
/freebsd/usr.bin/rpcgen/
H A Drpc_cout.c308 declaration *dflt; in emit_union() local
339 dflt = def->def.un.default_decl; in emit_union()
340 if (dflt != NULL) { in emit_union()
341 if (!streq(dflt->type, "void")) { in emit_union()
344 strlen(format) + strlen(dflt->name) + 1); in emit_union()
345 if (isvectordef (dflt->type, dflt->rel)) { in emit_union()
347 dflt->name); in emit_union()
350 dflt->name); in emit_union()
353 print_ifstat(2, dflt->prefix, dflt->type, dflt->rel, in emit_union()
354 dflt->array_max, object, dflt->name); in emit_union()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_qos.c77 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/contrib/openpam/lib/libpam/
H A Dopenpam_features.c38 #define STRUCT_OPENPAM_FEATURE(name, descr, dflt) \ argument
42 dflt \
/freebsd/usr.sbin/lpr/common_source/
H A Dprintcap.c365 const char *dflt, char **result) in capdb_getaltstr() argument
375 if (dflt) { in capdb_getaltstr()
376 *result = strdup(dflt); in capdb_getaltstr()
388 capdb_getaltnum(char *bp, const char *shrt, const char *lng, long dflt, in capdb_getaltnum() argument
399 *result = dflt; in capdb_getaltnum()
/freebsd/contrib/ncurses/progs/
H A Dtset.c167 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/sys/netpfil/ipfw/test/
H A Dtest_dn_sched.c72 ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg) in ipdn_bound_var() argument
76 *v = dflt; in ipdn_bound_var()
/freebsd/crypto/openssh/
H A Ddispatch.c61 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt) in ssh_dispatch_init() argument
65 ssh->dispatch[i] = dflt; in ssh_dispatch_init()
/freebsd/usr.sbin/pw/
H A Dpw.h102 int boolean_val(char const * str, int dflt);
103 int passwd_val(char const * str, int dflt);
H A Dpw_conf.c172 boolean_val(char const * str, int dflt) in boolean_val() argument
184 return dflt; in boolean_val()
188 passwd_val(char const * str, int dflt) in passwd_val() argument
210 return dflt; in passwd_val()
/freebsd/lib/libc/gen/
H A Ddisklabel.c94 #define getnumdflt(field, dname, dflt) \ in getdiskbyname() argument
95 { long f; (field) = (cgetnum(buf, dname, &f) == -1) ? (dflt) : f; } in getdiskbyname()
/freebsd/contrib/expat/tests/
H A Ddummy.c136 const XML_Char *dflt, int isrequired) { in dummy_attlist_decl_handler() argument
141 UNUSED_P(dflt); in dummy_attlist_decl_handler()
H A Ddummy.h102 const XML_Char *att_type, const XML_Char *dflt, int isrequired);
/freebsd/sys/netpfil/ipfw/
H A Ddn_sched.h162 int ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg);
H A Dip_dummynet.c166 ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg) in ipdn_bound_var() argument
170 if (dflt < lo) in ipdn_bound_var()
171 dflt = lo; in ipdn_bound_var()
172 if (dflt > hi) in ipdn_bound_var()
173 dflt = hi; in ipdn_bound_var()
175 *v = dflt; in ipdn_bound_var()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c439 goto dflt; /* no; go to default */ in match()
476 default: goto dflt; in match()
480 default: dflt: { /* pattern class plus optional suffix */ in match()
/freebsd/contrib/pf/libevent/
H A Devent.c716 struct timeval dflt = TIMEOUT_DEFAULT; in timeout_next() local
722 *tv = dflt; in timeout_next()
/freebsd/sys/dev/netmap/
H A Dnetmap.c687 nm_bound_var(u_int *v, u_int dflt, u_int lo, u_int hi, const char *msg) in nm_bound_var() argument
692 if (dflt < lo) in nm_bound_var()
693 dflt = lo; in nm_bound_var()
694 if (dflt > hi) in nm_bound_var()
695 dflt = hi; in nm_bound_var()
697 *v = dflt; in nm_bound_var()
H A Dnetmap_kern.h1532 u_int nm_bound_var(u_int *v, u_int dflt, u_int lo, u_int hi, const char *msg);
/freebsd/contrib/ncurses/include/
H A Dcurses.tail174 #define OPTIMIZE_ALL 0xff /* enable all optimizations (dflt) */
/freebsd/contrib/expat/lib/
H A Dexpat.h202 const XML_Char *att_type, const XML_Char *dflt, int isrequired);
/freebsd/contrib/lua/src/
H A Dlstrlib.c589 goto dflt; /* no; go to default */ in match()
625 default: goto dflt; in match()
629 default: dflt: { /* pattern class plus optional suffix */ in match()
/freebsd/sys/netpfil/pf/
H A Dpf_nv.c43 type *val, type dflt) \
47 *val = dflt; \
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td594 def OpSwitch: Op<251, (outs), (ins ID:$sel, ID:$dflt, variable_ops), "OpSwitch $sel $dflt">;
/freebsd/contrib/sqlite3/
H A Dsqlite3.c138787 static u8 getSafetyLevel(const char *z, int omitFull, u8 dflt){
138806 return dflt;
138812 SQLITE_PRIVATE u8 sqlite3GetBoolean(const char *z, u8 dflt){
138813 return getSafetyLevel(z,1,dflt)!=0;