Lines Matching refs:profileName

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