Lines Matching refs:p2
913 const UChar *p2 = (const UChar*) key2.pointer;
914 if (p1 == p2) {
917 if (p1 == NULL || p2 == NULL) {
920 while (*p1 != 0 && *p1 == *p2) {
922 ++p2;
924 return (UBool)(*p1 == *p2);
930 const char *p2 = (const char*) key2.pointer;
931 if (p1 == p2) {
934 if (p1 == NULL || p2 == NULL) {
937 while (*p1 != 0 && *p1 == *p2) {
939 ++p2;
941 return (UBool)(*p1 == *p2);
947 const char *p2 = (const char*) key2.pointer;
948 if (p1 == p2) {
951 if (p1 == NULL || p2 == NULL) {
954 while (*p1 != 0 && uprv_tolower(*p1) == uprv_tolower(*p2)) {
956 ++p2;
958 return (UBool)(*p1 == *p2);