Lines Matching refs:profileName
45 UStringPrepProfileType getTypeFromProfileName(const char* profileName);
724 UStringPrepProfileType getTypeFromProfileName(const char* profileName) { in getTypeFromProfileName() argument
725 if (uprv_strcmp(profileName, "RFC4013_SASLPREP") == 0) { in getTypeFromProfileName()
727 } else if (uprv_strcmp(profileName, "RFC4011_MIB") == 0) { in getTypeFromProfileName()
729 } else if (uprv_strcmp(profileName, "RFC4505_TRACE") == 0) { in getTypeFromProfileName()
731 } else if (uprv_strcmp(profileName, "RFC4518_LDAP") == 0) { in getTypeFromProfileName()
733 } else if (uprv_strcmp(profileName, "RFC4518_LDAP_CI") == 0) { in getTypeFromProfileName()
735 } else if (uprv_strcmp(profileName, "RFC3920_RESOURCEPREP") == 0) { in getTypeFromProfileName()
737 } else if (uprv_strcmp(profileName, "RFC3920_NODEPREP") == 0) { in getTypeFromProfileName()
739 } else if (uprv_strcmp(profileName, "RFC3722_ISCSI") == 0) { in getTypeFromProfileName()
741 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP") == 0) { in getTypeFromProfileName()
743 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP_CI") == 0) { in getTypeFromProfileName()
745 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CIS_PREP") == 0) { in getTypeFromProfileName()
747 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_MIXED_PREP_PREFIX") == 0) { in getTypeFromProfileName()
749 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_MIXED_PREP_SUFFIX") == 0) { in getTypeFromProfileName()
757 const char *profileName = NULL; in TestStringPrepProfiles() local
771 profileName = profile_test_case[i]; in TestStringPrepProfiles()
772 sprep = usprep_openByType(getTypeFromProfileName(profileName), &status); in TestStringPrepProfiles()
774 log_data_err("Unable to open String Prep Profile with: %s\n", profileName); in TestStringPrepProfiles()
791 log_err("Error occurred on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
798 log_err("Error expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
802 … log_err("Results do not match expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()