Searched refs:choice (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c298 int choice; local
327 choice = 0;
330 if (strcmp(words[choice], words[ti]) > 0)
331 choice = ti;
333 (void) Chomp(words[choice]);
334 if (words[choice][0] != '\0' &&
335 strcmp(lastword, words[choice]) != 0) {
336 (void) PutPW(pwp, words[choice]);
337 (void) strncpy(lastword, words[choice], MAXWORDLEN);
340 if (fgets(words[choice], MAXWORDLE
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dckitem.c64 #define NOTUNIQ "The entered text does not uniquely identify a menu choice."
65 #define BADNUM "Bad numeric choice specification"
143 if (menup->choice)
144 item[0] = menup->choice->token;
235 char **choice; local
241 choice = calloc((size_t)max, sizeof (char *));
261 chp = menup->choice;
268 choice[nchoice++] = chp->token;
276 chp = menup->choice;
313 choice[nchoic
323 setitem(CKMENU *menup, char *choice) argument
375 setinvis(CKMENU *menup, char *choice) argument
[all...]
/illumos-gate/usr/src/psm/stand/bootlst/common/
H A Dbootlst.c143 unsigned long choice; local
194 choice = strtoul(cp, NULL, 0);
201 if (choice == 0 || choice > menu_entry_count) {
207 printf("boot [<root-device>] -Z %s\n\n", datasets[choice - 1]);
/illumos-gate/usr/src/head/
H A Dvaltools.h47 *choice; member in struct:_menu_
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c321 struct cfstat *dp, *choice; local
328 choice = (struct cfstat *)0;
339 choice = dp;
341 } else if (!choice ||
342 (strcmp(choice->pkginst, dp->pkginst) > 0))
343 choice = dp;
345 if (!choice)
348 if (pkginfo(&info, choice->pkginst, ckarch, ckvers)) {
349 choice->installed = (-1);
368 choice
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dk5-int-pkinit.h96 } choice; member in struct:_krb5_trusted_ca
164 } choice; member in struct:_krb5_pa_pk_as_rep_draft9
177 } choice; member in struct:_krb5_pa_pk_as_rep
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c406 int i, svnodes, choice, select; local
411 choice = (-1);
423 choice = i;
431 if (choice < 0) {
435 sf[choice]->ept->volno = (char)volno;
437 btotal += sf[choice]->blks + (svnodes * DIRSIZE);
439 addclass(sf[choice]->ept->pkg_class, volno);
440 return (++choice); /* return non-zero if more work to do */
/illumos-gate/usr/src/lib/libpkg/common/
H A Dgpkglist.c55 extern int setinvis(CKMENU *menup, char *choice);
56 extern int setitem(CKMENU *menup, char *choice);
171 chp = menup->choice;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c1250 uint_t i, choice, num_wlans = 0; local
1288 (choice = atoi(choicestr)) >= 1 && choice <= (i + 1))
1292 if (choice == i + 1 || wlans[choice - 1].nww_essid[0] == '\0') {
1304 if (choice == i + 1) {
1317 security_mode = wlans[choice - 1].nww_security_mode;
1318 have_key = wlans[choice - 1].nww_have_key;
1336 (void) strlcpy(essid, wlans[choice - 1].nww_essid,
1338 (void) strlcpy(bssid, wlans[choice
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c389 char choice[2]; local
438 (void) gets(choice);
439 if (choice[0] == 'q' || choice[0] == 'Q' ||
440 choice[0] == 's' || choice[0] == 'S' ||
441 choice[0] == '\0') {
447 if (choice[0] == 'q' || choice[0] == 'Q') {
2778 char choice[ local
[all...]
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c198 if (acctResp.choice == 0) {
203 } else if (acctResp.choice == 1) {
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dlibadm.h85 extern int setitem __P((CKMENU *menup, char *choice));
86 extern int setinvis __P((CKMENU *menup, char *choice));
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ami.h51 unsigned short choice; member in struct:ami_name
91 unsigned short choice; member in struct:CaseIgnoreString
231 unsigned short choice; member in struct:ami_rc2_cbc_param
356 unsigned short choice; member in struct:ami_extcert_or_cert
501 unsigned short choice; member in struct:ami_challenge_pwd
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_srv.c759 rep->choice = choice_pa_pk_as_rep_encKeyPack;
768 rep9->choice = choice_pa_pk_as_rep_draft9_encKeyPack;
781 rep->choice = choice_pa_pk_as_rep_dhInfo;
788 rep9->choice = choice_pa_pk_as_rep_draft9_dhSignedData;
792 if (((rep != NULL) && (rep->choice == choice_pa_pk_as_rep_dhInfo)) ||
793 ((rep9 != NULL) && rep9->choice ==
807 rep9->choice == choice_pa_pk_as_rep_draft9_dhSignedData) ||
808 (rep != NULL && rep->choice == choice_pa_pk_as_rep_dhInfo)) {
928 rep->choice = choice_pa_pk_as_rep_encKeyPack;
958 rep9->choice
[all...]
H A Dpkinit_lib.c193 switch ((*in)->choice) {
241 switch((*in)[i]->choice) {
H A Dpkinit_clnt.c725 switch(kdc_reply->choice) {
756 pkiDebug("unknown as_rep type %d\n", kdc_reply->choice);
788 switch(kdc_reply->choice) {
902 pkiDebug("unknow as_rep type %d\n", kdc_reply->choice);
H A Dpkinit_crypto_openssl.c3579 * that if there is no error, choice will be set to one of:
3588 int *choice)
3603 assert(choice != NULL);
3703 *choice = i; /* chosen entry of token_choices->token_array */
3706 *choice = RESCAN_TOKENS; /* rescan for new smartcard */
3709 *choice = SKIP_TOKENS; /* skip smartcard auth */
3918 * client criteria the user is prompted to make a choice if in client context.
3937 int choice = 0; local
4237 if ((r = pkinit_choose_tokens(context, cctx, &token_choices, &choice)) != 0) {
4244 if (choice
3585 pkinit_choose_tokens(krb5_context context, pkinit_identity_crypto_context cctx, struct _token_choices *token_choices, int *choice) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c1220 val->choice = choice_trusted_cas_principalName;
1222 val->choice = choice_trusted_cas_caName;
1238 val->choice = choice_trusted_cas_issuerAndSerial;
1264 val->choice = choice_trusted_cas_principalName;
1267 val->choice = choice_trusted_cas_caName;
1270 val->choice = choice_trusted_cas_issuerAndSerial;
1532 val->choice = choice_pa_pk_as_rep_dhInfo;
1535 val->choice = choice_pa_pk_as_rep_encKeyPack;
1539 val->choice = choice_pa_pk_as_rep_UNKNOWN;
1551 val->choice
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c466 int choice = 0; local
486 choice = 1;
554 if (choice == 0) {
/illumos-gate/usr/src/cmd/allocate/
H A Ddisk_clean.sh159 # get_reply prompt choice ...
168 for choice in $*
170 if [ "$choice" = "$reply" ]
/illumos-gate/usr/src/cmd/format/
H A Dmenu_command.c1558 int choice; local
1577 choice = input(FIO_INT, "Specify Label type", ':',
1579 if ((choice == L_TYPE_SOLARIS) &&
1583 } else if ((choice == L_TYPE_EFI) &&
1587 switch (choice) {
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Dcapacity.notes.txt145 You don't have much choice but to assume that [1]*[3]*[6] is the
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtclsqlite.c491 int choice; local
515 if( Tcl_GetIndexFromObj(interp, objv[1], DB_strs, "option", 0, &choice) ){
519 switch( (enum DB_enum)choice ){
/illumos-gate/usr/src/common/lzma/
H A DLzmaEnc.c205 CLzmaProb choice; member in struct:__anon1990
744 p->choice = p->choice2 = kProbInitValue;
757 RangeEnc_EncodeBit(rc, &p->choice, 0);
762 RangeEnc_EncodeBit(rc, &p->choice, 1);
778 UInt32 a0 = GET_PRICE_0a(p->choice);
779 UInt32 a1 = GET_PRICE_1a(p->choice);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sldap.h375 int choice; member in struct:AcctUsableResponse

Completed in 232 milliseconds

12