Lines Matching defs:s2
156 UnicodeString s2 = UnicodeString("\\u0441\\u0445\\u0455").unescape(); // Cyrillic "cxs"
157 int32_t checkResults = uspoof_areConfusableUnicodeString(sc, s1, s2, &status);
277 UnicodeString s2("A long string that wi11 overflow stack buffers. A long string that will overflow stack buffers. "
279 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, uspoof_areConfusableUnicodeString(sc, s1, s2, &status));
293 UnicodeString s2 = UnicodeString("abcd\\u0301\\u0302\\u0301ef").unescape();
294 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s2, &position, &status));
593 ScriptSet s2;
596 TEST_ASSERT(s1 == s2);
599 TEST_ASSERT(!(s1 == s2));
605 TEST_ASSERT(s1 == s2);
620 s2.setAll();
621 TEST_ASSERT(s2.contains(s1));
622 TEST_ASSERT(!s1.contains(s2));
623 TEST_ASSERT(s2.intersects(s1));
624 TEST_ASSERT(s1.intersects(s2));
625 s2.reset(USCRIPT_TAKRI, status);
626 TEST_ASSERT(!s2.contains(s1));
627 TEST_ASSERT(!s1.contains(s2));
628 TEST_ASSERT(s1.intersects(s2));
629 TEST_ASSERT(s2.intersects(s1));
636 s2 = s1;
637 TEST_ASSERT(s2 == s1);
638 TEST_ASSERT_EQ(2, s2.countMembers());
639 s2.intersect(s1);
640 TEST_ASSERT(s2 == s1);
641 s2.setAll();
642 TEST_ASSERT(!(s2 == s1));
643 TEST_ASSERT(s2.countMembers() >= USCRIPT_CODE_LIMIT);
644 s2.intersect(s1);
645 TEST_ASSERT(s2 == s1);
647 s2.setAll();
648 s2.reset(USCRIPT_COMMON, status);
649 s2.intersect(s1);
650 TEST_ASSERT(s2.countMembers() == 1);