Searched defs:strval (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/lib/libadm/common/
H A Dckkeywd.c41 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 Dckstr.c142 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 Dckitem.c131 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 Dgetvol.c290 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 Dckkeywd.c85 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 Dckuid.c117 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 Dckstr.c116 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/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.c62 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 Dldap_services.c56 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 Dldap_tkt_policy.c50 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 Dldap_principal.c262 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 Dldap_realm.c397 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 Dldap_principal2.c463 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/cmd/cmd-inet/lib/nwamd/
H A Dllp.c297 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 Dncu.c82 nwamd_set_ncu_string(nwam_ncu_handle_t ncuh, char **strval, uint_t cnt, argument
88 if ((err = nwam_value_create_string_array(strval, cnt, &val))
112 nwamd_get_ncu_string(nwam_ncu_handle_t ncuh, nwam_value_t *val, char ***strval, argument
119 return (nwam_value_get_string_array(*val, strval, cnt));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_get.c314 char *strval = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); local
338 kmem_free(strval, ZAP_MAXVALUELEN);
369 dsl_dir_get_origin(ds->ds_dir, strval);
380 error = get_objset_type_name(ds, strval);
383 error = dsl_get_prev_snap(ds, strval);
386 dsl_dataset_name(ds, strval);
389 error = dsl_get_mountpoint(ds, dsname, strval, setpoint);
435 VERIFY3U(strlcpy(strval, token, ZAP_MAXVALUELEN), <,
438 if (strcmp(strval, "") == 0) {
440 VERIFY3U(strlcpy(strval, toke
516 char *strval = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); local
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_dtime.c840 char *strval = NULL; local
874 &strval) != 0) {
881 if (unctime(strval, ddate) < 0) {
H A Dndmpd_zfs.c2044 char *strval; local
2065 err = nvlist_lookup_string(propval, ZPROP_VALUE, &strval);
2076 (void) strlcpy(propstr, strval, ZFS_MAXPROPLEN);
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_door.c859 char strval[IPMGMT_STRSIZE]; local
871 (void) snprintf(strval, IPMGMT_STRSIZE, "%d", sargp->ia_family);
872 if ((err = nvlist_add_string(nvl, IPADM_NVP_FAMILY, strval)) != 0)
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_engine.c154 const char *strval; local
157 if ((strval = getenv(envvar)) != NULL &&
158 (intval = atoi(strval)) > 0) {
/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c180 char strval[255]; local
199 scf_value_get_astring(value, strval, 255) == -1) {
204 *val = strdup(strval);
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c253 const char *strval; local
256 if ((strval = getenv(envvar)) != NULL &&
257 (intval = atoi(strval)) > 0) {
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c859 * NOTE: (*convert)() may call strval()
862 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 Dinfocmp.c630 register char *strval; local
793 strval = tgetstr(str[i].capname, (char **)0);
795 if (str[i].seenagain && (strval != NULL)) {
796 if (!EQUAL(strval, str[i].secondval)) {
806 PR(stderr, strval);
810 if (strval != NULL) {
812 str[i].secondval = strval;
814 if (!EQUAL(str[i].val, strval))
821 if (strval != NULL) {
824 str[i].fullname, strval);
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c46 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 );

Completed in 306 milliseconds

12