Lines Matching refs:profileName
45 UStringPrepProfileType getTypeFromProfileName(const char* profileName);
723 UStringPrepProfileType getTypeFromProfileName(const char* profileName) { in getTypeFromProfileName() argument
724 if (uprv_strcmp(profileName, "RFC4013_SASLPREP") == 0) { in getTypeFromProfileName()
726 } else if (uprv_strcmp(profileName, "RFC4011_MIB") == 0) { in getTypeFromProfileName()
728 } else if (uprv_strcmp(profileName, "RFC4505_TRACE") == 0) { in getTypeFromProfileName()
730 } else if (uprv_strcmp(profileName, "RFC4518_LDAP") == 0) { in getTypeFromProfileName()
732 } else if (uprv_strcmp(profileName, "RFC4518_LDAP_CI") == 0) { in getTypeFromProfileName()
734 } else if (uprv_strcmp(profileName, "RFC3920_RESOURCEPREP") == 0) { in getTypeFromProfileName()
736 } else if (uprv_strcmp(profileName, "RFC3920_NODEPREP") == 0) { in getTypeFromProfileName()
738 } else if (uprv_strcmp(profileName, "RFC3722_ISCSI") == 0) { in getTypeFromProfileName()
740 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP") == 0) { in getTypeFromProfileName()
742 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP_CI") == 0) { in getTypeFromProfileName()
744 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CIS_PREP") == 0) { in getTypeFromProfileName()
746 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_MIXED_PREP_PREFIX") == 0) { in getTypeFromProfileName()
748 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_MIXED_PREP_SUFFIX") == 0) { in getTypeFromProfileName()
756 const char *profileName = NULL; in TestStringPrepProfiles() local
770 profileName = profile_test_case[i]; in TestStringPrepProfiles()
771 sprep = usprep_openByType(getTypeFromProfileName(profileName), &status); in TestStringPrepProfiles()
773 log_data_err("Unable to open String Prep Profile with: %s\n", profileName); in TestStringPrepProfiles()
790 log_err("Error occurred on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
797 log_err("Error expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()
801 … log_err("Results do not match expected on test[%d] for profile: %s\n", testNum, profileName); in TestStringPrepProfiles()