| /netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
| H A D | sasl.c | 114 const char *dflt = interact->defresult; in interaction() local 122 if( defaults ) dflt = defaults->realm; in interaction() 125 if( defaults ) dflt = defaults->authcid; in interaction() 128 if( defaults ) dflt = defaults->passwd; in interaction() 132 if( defaults ) dflt = defaults->authzid; in interaction() 143 if( dflt && !*dflt ) dflt = NULL; in interaction() 146 ( dflt || interact->id == SASL_CB_USER ) ) in interaction() 162 if( dflt ) { in interaction() 163 fprintf( stderr, _("Default: %s\n"), dflt ); in interaction() 209 interact->result = (dflt && *dflt) ? dflt : ""; in interaction()
|
| /netbsd-src/usr.bin/tset/ |
| H A D | term.c | 125 askuser(const char *dflt) in askuser() argument 136 if (dflt) in askuser() 137 (void)fprintf(stderr, "Terminal type? [%s] ", dflt); in askuser() 143 if (dflt == NULL) { in askuser() 147 return (dflt); in askuser() 154 if (dflt != NULL) in askuser() 155 return (dflt); in askuser()
|
| /netbsd-src/external/bsd/libbind/dist/tests/ |
| H A D | subr.c | 95 StringToClass(class, dflt, errorfile) in StringToClass() argument 97 int dflt; 108 return(dflt); 124 StringToType(type, dflt, errorfile) in StringToType() argument 126 int dflt; 137 return (dflt);
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | pbetest.c | 134 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()
|
| /netbsd-src/usr.bin/rpcgen/ |
| H A D | rpc_cout.c | 337 declaration *dflt; in emit_union() local 368 dflt = def->def.un.default_decl; in emit_union() 370 if (dflt != NULL) { in emit_union() 371 if (!streq(dflt->type, "void")) { in emit_union() 373 strlen(dflt->name) + 1); in emit_union() 374 if (isvectordef(dflt->type, dflt->rel)) { in emit_union() 376 dflt->name); in emit_union() 379 dflt->name); in emit_union() 381 print_ifstat(2, dflt->prefix, dflt->type, dflt->rel, in emit_union() 382 dflt->array_max, object, dflt->name); in emit_union()
|
| /netbsd-src/sys/dev/ |
| H A D | midictl.c | 84 uint_fast16_t key, uint_fast16_t dflt); 341 uint_fast16_t dflt) in midictl_read() argument 357 val = C1_SET | (dflt > 63); /* convert to boolean */ in midictl_read() 365 val = C7_SET | (dflt & 0x7f); in midictl_read() 371 return read14(mc, chan, c, key, dflt); in midictl_read() 381 uint_fast16_t dflt) in midictl_rpn_read() argument 387 return read14(mc, chan, RPN, ctlr, dflt); in midictl_rpn_read() 392 uint_fast16_t dflt) in midictl_nrpn_read() argument 398 return read14(mc, chan, NRPN, ctlr, dflt); in midictl_nrpn_read() 473 uint_fast16_t dflt) in read14() argument [all …]
|
| /netbsd-src/external/bsd/openpam/dist/lib/libpam/ |
| H A D | openpam_features.c | 43 #define STRUCT_OPENPAM_FEATURE(name, descr, dflt) \ argument 47 dflt \
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tsp_policy.c | 49 BYTE *dflt = (BYTE *)"TSS Authentication Dialog"; in popup_GetSecret() local 54 popup_str = dflt; in popup_GetSecret()
|
| /netbsd-src/usr.sbin/sysinst/ |
| H A D | wskbd.c | 94 const char *dflt = msg_string(MSG_kb_default); in get_kb_encoding() local 114 if (strcmp(kb_types[i].kb_name, dflt) == 0) in get_kb_encoding()
|
| H A D | main.c | 124 const char *dflt; member 192 strlcpy(arg->var, arg->dflt, arg->size); in init()
|
| H A D | bsddisklabel.c | 564 char answer[16], dflt[16]; in set_ptn_size() local 614 snprintf(dflt, sizeof dflt, "%" PRIu64 "%s", in set_ptn_size() 617 snprintf(dflt, sizeof dflt, "%" PRIu64 "%s", in set_ptn_size() 623 dflt, answer, sizeof answer, "%s%s", p->mount, in set_ptn_size() 641 if (strcmp(answer, dflt) == 0) in set_ptn_size()
|
| H A D | label.c | 2239 daddr_t partstart, daddr_t dflt) in getpartsize() argument 2255 dflt_r = (partstart + dflt) / sizemult - partstart / sizemult; in getpartsize() 2256 if (max == dflt) in getpartsize() 2261 if (dflt > max) in getpartsize() 2262 dflt = max; in getpartsize() 2303 (dflt != 0) ? dsize : 0, isize, sizeof isize); in getpartsize() 2309 return dflt; in getpartsize()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| 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()
|
| /netbsd-src/external/bsd/iscsi/dist/src/lib/ |
| H A D | parameters.c | 66 param_list_add(iscsi_parameter_t ** head, int type, const char *key, const char *dflt, const char *… in param_list_add() argument 92 (void) strlcpy(param->dflt, dflt, sizeof(param->dflt)); /* default value */ in param_list_add() 109 (void) strlcpy(param->value_l->value, dflt, sizeof(param->value_l->value)); in param_list_add() 156 param->key, param->valid, param->dflt, param->value_l->value); in param_list_add() 972 if (strlen(param->dflt)) { in param_text_parse() 982 if (strcmp(param->dflt, offer) == 0) { in param_text_parse()
|
| /netbsd-src/external/bsd/iscsi/dist/doc/ |
| H A D | README | 70 Usage: -t <name> iSCSI TargetName (dflt "iqn.com.intel.abc123") 71 -p <port> Port Number (dflt 3260) 72 -b <block len> Block Length (dflt 512) 73 -n <num blocks> Number of Blocks (dflt 204800)
|
| /netbsd-src/lib/libc/gen/ |
| H A D | disklabel.c | 135 #define getnumdflt(field, dname, dflt) \ in getdiskbyname() argument 136 (field) = ((cgetnum(buf, dname, &f) == -1) ? (dflt) : (u_int32_t) f) in getdiskbyname()
|
| /netbsd-src/games/rogue/ |
| H A D | init.c | 357 init_str(char **str, const char *dflt) in init_str() argument 364 (void)strlcpy(*str, dflt, MAX_OPT_LEN + 2); in init_str()
|
| /netbsd-src/bin/sh/ |
| H A D | options.h | 55 unsigned char dflt; /* default value of flag */ member
|
| /netbsd-src/external/gpl2/groff/dist/src/preproc/pic/ |
| H A D | main.cpp | 488 static char *fix_program_name(char *arg, char *dflt) in fix_program_name() argument 491 return dflt; in fix_program_name()
|
| /netbsd-src/external/bsd/iscsi/dist/include/ |
| H A D | parameters.h | 117 char dflt[ISCSI_PARAM_MAX_LEN]; /* default value */ member
|
| /netbsd-src/sbin/fdisk/ |
| H A D | fdisk.c | 101 /* We same the dflt 'boot partition' as a disk block, with some magic values. */ 2839 decimal(const char *prompt, int64_t dflt, int flags, int64_t minval, int64_t maxval) in write_mbr() 2850 dflt, SEC_TO_CYL(dflt), SEC_TO_MB(dflt)); in yesno() 2853 prompt, minval, maxval, dflt); in yesno() 2861 return dflt; in yesno() 2865 decimal(const char * prompt,int64_t dflt,int flags,int64_t minval,int64_t maxval) decimal() argument
|
| /netbsd-src/usr.bin/config/ |
| H A D | sem.c | 946 struct nvlist *dflt, int part) in resolve() argument 963 * Make sure to retain NODEVness, if this is dflt's disposition. in resolve() 965 if ((dev_t)dflt->nv_num != NODEV) { in resolve() 966 maj = major(dflt->nv_num); in resolve() 967 min = ((minor(dflt->nv_num) / maxpartitions) * in resolve()
|
| /netbsd-src/external/mit/expat/dist/lib/ |
| H A D | expat.h | 197 const XML_Char *att_type, const XML_Char *dflt, int isrequired);
|
| /netbsd-src/external/gpl3/gcc/dist/libcpp/ |
| H A D | lex.cc | 4996 goto dflt; in cpp_directive_only_process() 5031 goto dflt; in cpp_directive_only_process() 5037 goto dflt; in cpp_directive_only_process() 5224 goto dflt; in cpp_directive_only_process() 5327 goto dflt; in cpp_directive_only_process() 5372 goto dflt; in cpp_directive_only_process() 5375 dflt: in cpp_directive_only_process()
|
| /netbsd-src/external/mit/lua/dist/src/ |
| H A D | lstrlib.c | 597 goto dflt; /* no; go to default */ in match() 633 default: goto dflt; in match() 637 default: dflt: { /* pattern class plus optional suffix */ in match()
|