/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckkeywd.c | 41 match(char *strval, char *set[]) argument 46 len = (int)strlen(strval); 50 if (strncmp(set[i], strval, len) == 0) { 58 (void) strcpy(strval, found); 65 ckkeywd(char *strval, char *keyword[], char *defstr, char *error, char *help, argument 93 (void) strcpy(strval, defstr); 104 (void) strcpy(strval, input); 116 (void) strcpy(strval, input);
|
H A D | ckstr.c | 142 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error, argument 163 (void) strcpy(strval, defstr); 176 (void) strcpy(strval, input); 185 (void) strcpy(strval, input);
|
H A D | ckitem.c | 131 char strval[MAX_INPUT]; local 164 if (n = getstr(strval, defstr, error, help, prompt)) { 169 if (strcmp(strval, "??") == 0) { 172 if ((defstr) && (strcmp(strval, defstr) == 0)) { 176 list = match(menup, strval, (int)max); 191 getnum(char *strval, int max, int *begin, int *end) argument 197 pt = strval; 232 match(CKMENU *menup, char *strval, int max) argument 244 if (pt = strpbrk(strval, " \t,")) { 255 isdigit((unsigned char)*strval)) { 509 getstr(char *strval, char *defstr, char *error, char *help, char *prompt) argument [all...] |
H A D | getvol.c | 290 char strval[16], prmpt[BUFSIZ]; local 409 if (n = ckkeywd(strval, keyword, NULL, NULL, NULL, pt)) 413 if (*strval == 'f') { 419 } else if (*strval == 'm') { 422 } else if (*strval == 'e' || *strval == 'u') { 425 } else if (*strval == 'w') { 428 } else if (*strval == 'o')
|
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckkeywd.c | 85 char *strval; local 170 strval = (char *)malloc(len); 171 if (!strval) { 176 n = ckkeywd(strval, keyword, deflt, error, help, prompt); 182 (void) fputs(strval, stdout);
|
H A D | ckuid.c | 117 char *strval; local 221 strval = (char *)malloc(len); 222 if (!strval) { 227 n = ckuid(strval, disp, deflt, error, help, prompt); 233 (void) fputs(strval, stdout);
|
H A D | ckstr.c | 116 char *strval; local 257 strval = (char *)malloc(len); 258 if (!strval) { 263 n = ckstr(strval, regexp, length, deflt, error, help, prompt); 269 (void) fputs(strval, stdout);
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | bootconf.c | 279 char *strval; local 290 if (nvlist_lookup_string(nvl, BC_ENCRYPTION_TYPE, &strval) == 0) { 291 if (strlen(strval) > 0) { 292 if (strcmp(strval, BC_ENCRYPTION_3DES) != 0 && 293 strcmp(strval, BC_ENCRYPTION_AES) != 0) { 314 char *strval; local 325 if (nvlist_lookup_string(nvl, BC_SIGNATURE_TYPE, &strval) == 0) { 326 if (strlen(strval) > 0) { 327 if (strcmp(strval, BC_SIGNATURE_SHA1) != 0) { 349 char *strval; local 383 char *strval; local 417 char *strval; local 463 char *strval; local 614 char *strval; local [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_pwd_policy.c | 62 char **rdns=NULL, *strval[2]={NULL}, *policy_dn; local 86 strval[0] = rdns[0]; 87 if ((st=krb5_add_str_mem_ldap_mod(&mods, "cn", LDAP_MOD_ADD, strval)) != 0) 90 strval[0] = "krbPwdPolicy"; 91 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) != 0)
|
H A D | ldap_services.c | 56 char **rdns=NULL, *realmattr=NULL, *strval[3]={NULL}; local 74 memset(strval, 0, sizeof(strval)); 75 strval[0] = "krbService"; 77 strval[1] = "krbKdcService"; 80 strval[1] = "krbAdmService"; 83 strval[1] = "krbPwdService"; 86 strval[1] = "krbKdcService"; 89 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) != 0) 97 memset(strval, [all...] |
H A D | ldap_tkt_policy.c | 50 char *strval[3]={NULL}, *policy_dn = NULL; local 69 memset(strval, 0, sizeof(strval)); 70 strval[0] = policy->policy; 71 if ((st=krb5_add_str_mem_ldap_mod(&mods, "cn", LDAP_MOD_ADD, strval)) != 0) 74 memset(strval, 0, sizeof(strval)); 75 strval[0] = "krbTicketPolicy"; 76 strval[1] = "krbTicketPolicyaux"; 77 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) ! 127 char *attrvalues[]={"krbTicketPolicy", "krbTicketPolicyAux", NULL}, *strval[2]={NULL}; local [all...] |
H A D | ldap_principal.c | 262 char *user=NULL, *DN=NULL, *strval[10] = {NULL}; local 309 memset(strval, 0, sizeof(strval)); 310 strval[0] = user; 312 strval)) != 0) 350 memset(strval, 0, sizeof(strval)); 353 strval[r++] = attrvalues[q]; 354 strval[r] = NULL; 357 strval)) ! [all...] |
H A D | ldap_realm.c | 397 char **strval=NULL, *strvalprc[5]={NULL}; local 473 strval = rparams->subtree; 475 strval)) != 0) { 786 char *strval[2]={NULL}, *kerberoscontdn=NULL, **rdns=NULL; local 815 strval[0] = "krbContainer"; 816 strval[1] = NULL; 817 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) != 0) 827 strval[0] = rdns[0]; 828 strval[1] = NULL; 829 if ((st=krb5_add_str_mem_ldap_mod(&mods, "cn", LDAP_MOD_ADD, strval)) ! 962 char *strval[4]={NULL}; local [all...] |
H A D | ldap_principal2.c | 463 char **values=NULL, *strval[10]={NULL}, errbuf[1024]; local 820 memset(strval, 0, sizeof(strval)); 821 if ((strval[0]=getstringtime(entries->last_success)) == NULL) 823 if ((st=krb5_add_str_mem_ldap_mod(&mods, "krbLastSuccessfulAuth", LDAP_MOD_REPLACE, strval)) != 0) { 824 free (strval[0]); 827 free (strval[0]); 831 memset(strval, 0, sizeof(strval)); 832 if ((strval[ [all...] |
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_engine.c | 153 const char *strval; local 156 if ((strval = getenv(envvar)) != NULL && 157 (intval = atoi(strval)) > 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | llp.c | 297 char *strval; local 374 strval = wp->llp_ipv4addrstr; 375 if ((err = nwamd_set_ncu_string(ip_ncu, &strval, 1, 391 strval = wp->llp_ipv6addrstr; 392 if ((err = nwamd_set_ncu_string(ip_ncu, &strval, 1,
|
H A D | ncu.c | 80 nwamd_set_ncu_string(nwam_ncu_handle_t ncuh, char **strval, uint_t cnt, argument 86 if ((err = nwam_value_create_string_array(strval, cnt, &val)) 110 nwamd_get_ncu_string(nwam_ncu_handle_t ncuh, nwam_value_t *val, char ***strval, argument 117 return (nwam_value_get_string_array(*val, strval, cnt));
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 843 char strval[IPMGMT_STRSIZE]; local 855 (void) snprintf(strval, IPMGMT_STRSIZE, "%d", sargp->ia_family); 856 if ((err = nvlist_add_string(nvl, IPADM_NVP_FAMILY, strval)) != 0)
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 840 char *strval = NULL; local 874 &strval) != 0) { 881 if (unctime(strval, ddate) < 0) {
|
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_engine.c | 253 const char *strval; local 256 if ((strval = getenv(envvar)) != NULL && 257 (intval = atoi(strval)) > 0) {
|
/illumos-gate/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 180 char strval[255]; local 199 scf_value_get_astring(value, strval, 255) == -1) { 204 *val = strdup(strval);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | streval.c | 857 * NOTE: (*convert)() may call strval() 860 Sfdouble_t strval(const char *s,char **end,Sfdouble_t(*conv)(const char**,struct lval*,int,Sfdouble_t),int emode) function
|
/illumos-gate/usr/src/cmd/infocmp/ |
H A D | infocmp.c | 616 register char *strval; local 765 strval = tgetstr(str[i].capname, (char **)0); 767 if (str[i].seenagain && (strval != NULL)) { 768 if (!EQUAL(strval, str[i].secondval)) { 778 PR(stderr, strval); 782 if (strval != NULL) { 784 str[i].secondval = strval; 786 if (!EQUAL(str[i].val, strval)) 793 if (strval != NULL) { 796 str[i].fullname, strval); [all...] |
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | captoinfo.c | 126 static char **strval[2]; /* dynamic array of string pointers */ variable 129 static char *capbuffer; /* string table, pointed at by strval */ 320 strval[uselevel][i] = otgetstr(strcodes[i], &nextstring); 324 if (strval[uselevel][i]) { 326 tpr(trace, strval[uselevel][i]); 333 if (strval[uselevel][i] && (strval[uselevel][i][0] == '\0')) { 337 strval[uselevel][i] = NULL; 446 tpr(trace, strval[uselevel][i]); 449 return (strval[useleve [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapsearch.c | 46 static void write_string_attr_value( char *attrname, char *strval, 1093 write_string_attr_value( char *attrname, char *strval, unsigned long opts ) argument 1095 if ( strval == NULL ) { 1096 strval = ""; 1099 write_ldif_value( attrname, strval, strlen( strval ), 0 ); 1101 printf( "%s\n", strval ); 1103 printf( "%s%s%s\n", attrname, sep, strval );
|