Home
last modified time | relevance | path

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

12

/src/crypto/openssl/test/
H A Dpbetest.c211 static OSSL_PROVIDER *legacy, *dflt; variable
219 dflt = OSSL_PROVIDER_load(NULL, "default"); in setup_tests()
220 if (!TEST_ptr(legacy) || !TEST_ptr(dflt)) { in setup_tests()
241 OSSL_PROVIDER_unload(dflt); in cleanup_tests()
242 legacy = dflt = NULL; in cleanup_tests()
/src/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()
/src/contrib/sqlite3/autosetup/teaish/
H A Dtester.tcl203 proc teaish-build-flag3 {flag tgtVar {dflt ""}} { argument
213 set tgt $dflt
224 proc teaish-build-flag {flag {dflt ""}} { argument
226 teaish-build-flag3 $flag tgt $dflt
/src/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()
613 cfg->vl_high_limit = (uint8_t) dflt->high_limit; 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()
[all …]
/src/contrib/openpam/lib/libpam/
H A Dopenpam_features.c38 #define STRUCT_OPENPAM_FEATURE(name, descr, dflt) \ argument
42 dflt \
/src/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()
/src/contrib/ncurses/progs/
H A Dtset.c167 askuser(const char *dflt) in askuser() argument
182 if (dflt) in askuser()
183 (void) fprintf(stderr, "Terminal type? [%s] ", dflt); in askuser()
189 if (dflt == NULL) { in askuser()
193 return (dflt); in askuser()
200 if (dflt != NULL) in askuser()
201 return (dflt); in askuser()
/src/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()
/src/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()
/src/usr.sbin/pw/
H A Dpw.h107 int boolean_val(char const * str, int dflt);
108 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()
/src/contrib/sqlite3/autosetup/
H A Dproj.tcl1497 proc proj-env-file {flag {dflt ""}} { argument
1502 return $dflt
1517 proc proj-get-env {var {dflt ""}} { argument
1518 get-env $var [proj-env-file $var $dflt]
2142 array set dflt {}
2170 set dflt($k) $v
2173 array set tgt [array get dflt]
2174 unset dflt
/src/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()
/src/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);
/src/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()
/src/contrib/expat/fuzz/
H A Dxml_lpm_fuzzer.cpp209 const XML_Char *dflt, int isrequired) { in AttlistDeclHandler() argument
214 TouchString(dflt); in AttlistDeclHandler()
/src/tools/build/options/
H A Dmakeman.lua505 for tgt, dflt in pairs(target_archs) do
506 if dflt then
/src/usr.sbin/pkg/
H A Dpkg.c514 goto dflt; in parse_sigtype()
519 goto dflt; in parse_sigtype()
526 dflt: in parse_sigtype()
/src/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c440 goto dflt; /* no; go to default */ in match()
477 default: goto dflt; in match()
481 default: dflt: { /* pattern class plus optional suffix */ in match()
/src/contrib/pf/libevent/
H A Devent.c716 struct timeval dflt = TIMEOUT_DEFAULT; in timeout_next() local
722 *tv = dflt; in timeout_next()
/src/sys/contrib/dev/rtw89/
H A Dregd.c1122 bool dflt = false; in rtw89_reg_6ghz_power_recalc() local
1145 dflt = true; in rtw89_reg_6ghz_power_recalc()
1154 if (!dflt && blocked[rtwvif_link->reg_6ghz_power]) { in rtw89_reg_6ghz_power_recalc()
/src/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()
/src/contrib/expat/lib/
H A Dexpat.h206 const XML_Char *att_type, const XML_Char *dflt, int isrequired);

12