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