Searched defs:choices (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libadm/common/
H A Dputprmpt.c40 putprmpt(FILE *fp, char *prompt, char *choices[], char *defstr) argument
64 for (i = 0; choices && choices[i]; ++i) {
65 (void) strlcat(buffer, choices[i], sizeof (buffer));
H A Dckrange.c97 char *choices[2]; local
116 choices[0] = buffer;
117 choices[1] = NULL;
120 putprmpt(stderr, prompt, choices, defstr);
H A Dckyorn.c41 static char *choices[] = { "y", "n", NULL }; variable
90 putprmpt(stderr, prompt, choices, defstr);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dbootparam_xdr.c64 static struct xdr_discrim choices[] = { variable in typeref:struct:xdr_discrim
73 (char *)&objp->bp_address, choices, (xdrproc_t)NULL));
/illumos-gate/usr/src/cmd/refer/
H A Drefer2.c39 void choices(char *);
135 choices(answer);
187 choices(char *buff) function
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr.c491 const struct xdr_discrim *choices, const xdrproc_t dfault)
503 * search choices for a value that matches the discriminator.
506 for (; choices->proc != NULL_xdrproc_t; choices++) {
507 if (choices->value == dscm)
508 return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
490 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, const xdrproc_t dfault) argument
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr.c522 const struct xdr_discrim *choices, const xdrproc_t dfault)
535 * search choices for a value that matches the discriminator.
538 for (; choices->proc != NULL_xdrproc_t; choices++) {
539 if (choices->value == dscm)
540 return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
521 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, const xdrproc_t dfault) argument
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_login.c177 iscsit_handle_digest(iscsit_conn_t *ict, nvpair_t *choices,
617 * choices in range or we needed to change a boolean
850 * choices in range or we needed to change a boolean
2433 iscsit_handle_digest(iscsit_conn_t *ict, nvpair_t *choices, argument
2453 digest_choice = idm_get_next_listvalue(choices, NULL);
2456 * Loop through all choices. As soon as we find a choice
2480 digest_choice = idm_get_next_listvalue(choices,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c3861 * Prints all the choices available for an enum property [c1|c2|c3].
3869 boolean_t choices = B_FALSE; local
3911 if (!choices)
3913 (void) printf("%s%s", choices ? "|" : "", str);
3914 choices = B_TRUE;
3916 if (choices)
4062 /* print choices, won't print anything if there aren't any */
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c116 "choices", /* SC_CHOICES */
2519 lxml_get_tm_choices(entity_t *service, pgroup_t *pg, xmlNodePtr choices) argument
2526 for (cursor = choices->xmlChildrenNode;
2561 "choices for service %s.\n"), cursor->name,

Completed in 112 milliseconds