/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal2.c | 818 memset(strval, 0, sizeof(strval)); 829 memset(strval, 0, sizeof(strval)); 862 memset(strval, 0, sizeof(strval)); 873 memset(strval, 0, sizeof(strval)); 888 memset(strval, 0, sizeof(strval)); 912 memset(strval, 0, sizeof(strval)); 949 memset(strval, 0, sizeof(strval)); 968 memset(strval, 0, sizeof(strval)); 1065 memset(strval, 0, sizeof(strval)); 1082 memset(strval, 0, sizeof(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)) != 0) 152 memset(strval, 0, sizeof(strval)); 153 strval[0] = "krbTicketPolicyAux"; [all …]
|
H A D | ldap_services.c | 54 char **rdns=NULL, *realmattr=NULL, *strval[3]={NULL}; local 72 memset(strval, 0, sizeof(strval)); 73 strval[0] = "krbService"; 75 strval[1] = "krbKdcService"; 78 strval[1] = "krbAdmService"; 81 strval[1] = "krbPwdService"; 84 strval[1] = "krbKdcService"; 87 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) != 0) 95 memset(strval, 0, sizeof(strval)); 96 strval[0] = rdns[0]; [all …]
|
H A D | ldap_realm.c | 474 strval)) != 0) { 815 strval[1] = NULL; 826 strval[0] = rdns[0]; 827 strval[1] = NULL; 838 strval[1] = NULL; 840 strval)) != 0) 875 strval[1] = NULL; 1009 strval[0] = realm_name; 1010 strval[1] = NULL; 1014 strval[0] = "top"; [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)) != 0)
|
H A D | ldap_pwd_policy.c | 60 char **rdns=NULL, *strval[2]={NULL}, *policy_dn; local 84 strval[0] = rdns[0]; 85 if ((st=krb5_add_str_mem_ldap_mod(&mods, "cn", LDAP_MOD_ADD, strval)) != 0) 88 strval[0] = "krbPwdPolicy"; 89 if ((st=krb5_add_str_mem_ldap_mod(&mods, "objectclass", LDAP_MOD_ADD, strval)) != 0)
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckkeywd.c | 40 match(char *strval, char *set[]) in match() argument 45 len = (int)strlen(strval); in match() 49 if (strncmp(set[i], strval, len) == 0) { in match() 57 (void) strcpy(strval, found); in match() 64 ckkeywd(char *strval, char *keyword[], char *defstr, char *error, char *help, in ckkeywd() argument 92 (void) strcpy(strval, defstr); in ckkeywd() 103 (void) strcpy(strval, input); in ckkeywd() 115 (void) strcpy(strval, input); in ckkeywd()
|
H A D | ckitem.c | 131 char strval[MAX_INPUT]; in ckitem() local 169 if (strcmp(strval, "??") == 0) { in ckitem() 176 list = match(menup, strval, (int)max); in ckitem() 197 pt = strval; in getnum() 244 if (pt = strpbrk(strval, " \t,")) { 255 isdigit((unsigned char)*strval)) { 278 len = (int)strlen(strval); 294 len = (int)strlen(strval); 295 if (strncmp(menup->invis[i], strval, 534 (void) strcpy(strval, defstr); [all …]
|
H A D | getvol.c | 290 char strval[16], prmpt[BUFSIZ]; in insert() local 409 if (n = ckkeywd(strval, keyword, NULL, NULL, NULL, pt)) in insert() 413 if (*strval == 'f') { in insert() 419 } else if (*strval == 'm') { in insert() 422 } else if (*strval == 'e' || *strval == 'u') { in insert() 425 } else if (*strval == 'w') { in insert() 428 } else if (*strval == 'o') in insert()
|
H A D | ckstr.c | 142 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error, in ckstr() argument 163 (void) strcpy(strval, defstr); in ckstr() 176 (void) strcpy(strval, input); in ckstr() 185 (void) strcpy(strval, input); in ckstr()
|
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | captoinfo.c | 322 if (strval[uselevel][i]) { in filltables() 331 if (strval[uselevel][i] && (strval[uselevel][i][0] == '\0')) { in filltables() 335 strval[uselevel][i] = NULL; in filltables() 507 return (strval[uselevel][i]); in getinfostr() 1065 strval[uselevel][i] = to; in changecalculations() 1251 if (strval[0][i]) in print_no_use_entry() 1253 strval[0][i]); in print_no_use_entry() 1288 if (strval[0][i] && ((strval[1][i] == NULL) || in print_use_entry() 1289 (strcmp(strval[0][i], strval[1][i]) != 0))) in print_use_entry() 1291 strval[0][i]); in print_use_entry() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zcp_get.c | 338 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 383 error = dsl_get_prev_snap(ds, strval); in get_special_prop() 386 dsl_dataset_name(ds, strval); in get_special_prop() 438 if (strcmp(strval, "") == 0) { in get_special_prop() 443 if (strcmp(strval, "") == 0) in get_special_prop() 477 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 487 (void) lua_pushstring(state, strval); in get_special_prop() 494 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 501 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 528 (void) lua_pushstring(state, strval); in get_zap_prop() [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SSrvMsg.java | 1041 String strval = valTok.toString().trim(); in parseValue() local 1045 if (strval.startsWith(WILDCARD)) { in parseValue() 1047 strval = strval.substring(1, strval.length()); in parseValue() 1051 if (strval.endsWith(WILDCARD)) { in parseValue() 1053 strval = strval.substring(0, strval.length()-1); in parseValue() 1060 ServiceLocationAttributeV1.evaluate(strval, charCode); in parseValue() 1065 strval = in parseValue() 1072 strval = WILDCARD + strval; in parseValue() 1077 strval = strval + WILDCARD; in parseValue() 1082 strval = val.toString(); in parseValue() [all …]
|
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckkeywd.c | 82 char *strval; in main() local 167 strval = (char *)malloc(len); in main() 168 if (!strval) { in main() 173 n = ckkeywd(strval, keyword, deflt, error, help, prompt); in main() 179 (void) fputs(strval, stdout); in main()
|
H A D | ckuid.c | 114 char *strval; in main() local 218 strval = (char *)malloc(len); in main() 219 if (!strval) { in main() 224 n = ckuid(strval, disp, deflt, error, help, prompt); in main() 230 (void) fputs(strval, stdout); in main()
|
H A D | ckstr.c | 113 char *strval; in main() local 254 strval = (char *)malloc(len); in main() 255 if (!strval) { in main() 260 n = ckstr(strval, regexp, length, deflt, error, help, prompt); in main() 266 (void) fputs(strval, stdout); in main()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 357 yylval.strval = create_token(yytext); 362 yylval.strval = create_token(yytext); 367 yylval.strval = create_token(yytext); 372 yylval.strval = create_token(yytext + 1); 373 if (yylval.strval[yyleng - 2] == '"') 374 yylval.strval[yyleng - 2] = 0; 379 yylval.strval = create_token(yytext + 1); 380 if (yylval.strval[yyleng - 2] == '"') 381 yylval.strval[yyleng - 2] = 0;
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 1294 char strval[IPMGMT_STRSIZE]; in i_ipmgmt_node2nvl() local 1342 IPADM_NVP_IPNUMADDR, strval)) != 0) { in i_ipmgmt_node2nvl() 1379 char *name, *strval = NULL; in ipmgmt_aobjmap_init() local 1392 (void) strlcpy(node.am_aobjname, strval, in ipmgmt_aobjmap_init() 1395 (void) strlcpy(node.am_ifname, strval, in ipmgmt_aobjmap_init() 1398 node.am_lnum = atoi(strval); in ipmgmt_aobjmap_init() 1400 node.am_family = (sa_family_t)atoi(strval); in ipmgmt_aobjmap_init() 1402 node.am_flags = atoi(strval); in ipmgmt_aobjmap_init() 1408 if (strcmp(strval, "default") == 0) { in ipmgmt_aobjmap_init() 1413 (void) inet_pton(AF_INET6, strval, in ipmgmt_aobjmap_init() [all …]
|
/illumos-gate/usr/src/cmd/infocmp/ |
H A D | infocmp.c | 630 register char *strval; in check_nth_terminal() local 796 if (!EQUAL(strval, str[i].secondval)) { in check_nth_terminal() 806 PR(stderr, strval); in check_nth_terminal() 810 if (strval != NULL) { in check_nth_terminal() 812 str[i].secondval = strval; in check_nth_terminal() 814 if (!EQUAL(str[i].val, strval)) in check_nth_terminal() 821 if (strval != NULL) { in check_nth_terminal() 824 str[i].fullname, strval); in check_nth_terminal() 829 PR(stdout, strval); in check_nth_terminal() 838 PR(stdout, strval); in check_nth_terminal() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 222 yylval.strval = safe_strdup(yytext); 227 yylval.strval = safe_strdup(yytext); 232 yylval.strval = safe_strdup(yytext); 237 yylval.strval = safe_strdup(yytext);
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | llp.c | 297 char *strval; in upgrade_llp_config() local 374 strval = wp->llp_ipv4addrstr; in upgrade_llp_config() 375 if ((err = nwamd_set_ncu_string(ip_ncu, &strval, 1, in upgrade_llp_config() 391 strval = wp->llp_ipv6addrstr; in upgrade_llp_config() 392 if ((err = nwamd_set_ncu_string(ip_ncu, &strval, 1, in upgrade_llp_config()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 965 char *strval; in zfs_valid_proplist() local 1060 strval, &intval) != 0) { in zfs_valid_proplist() 1250 if (strcmp(strval, hex) == 0) { in zfs_valid_proplist() 1357 strcmp(strval, "on") != 0 && in zfs_valid_proplist() 2540 const char *strval) in zcp_check() argument 2590 strval, str_ans); in zcp_check() 2615 const char *strval; in zfs_prop_get() local 2951 zcp_check(zhp, prop, 0, strval); in zfs_prop_get() 4602 char *strval; in zfs_expand_proplist() local 5441 char *strval; in zvol_volsize_to_reservation() local [all …]
|
H A D | libzfs_pool.c | 257 const char *strval; in zpool_get_prop() local 394 (void) strlcpy(buf, strval, len); in zpool_get_prop() 451 char *strval; in zpool_valid_proplist() local 523 &strval, &intval, errbuf) != 0) in zpool_valid_proplist() 610 if (strval[0] != '/') { in zpool_valid_proplist() 619 if (strval[0] == '\0') in zpool_valid_proplist() 622 if (strcmp(strval, "none") == 0) in zpool_valid_proplist() 625 if (strval[0] != '/') { in zpool_valid_proplist() 633 slash = strrchr(strval, '/'); in zpool_valid_proplist() 645 if (strval[0] != '\0' && in zpool_valid_proplist() [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 ) in write_string_attr_value() argument 1095 if ( strval == NULL ) { in write_string_attr_value() 1096 strval = ""; in write_string_attr_value() 1099 write_ldif_value( attrname, strval, strlen( strval ), 0 ); in write_string_attr_value() 1101 printf( "%s\n", strval ); in write_string_attr_value() 1103 printf( "%s%s%s\n", attrname, sep, strval ); in write_string_attr_value()
|
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_engine.c | 154 const char *strval; in scsi_parse_mtbf() local 157 if ((strval = getenv(envvar)) != NULL && in scsi_parse_mtbf() 158 (intval = atoi(strval)) > 0) { in scsi_parse_mtbf()
|