Lines Matching refs:str2

23     char const str2[] = "abcdef2";  in collate_facet()  local
25 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; in collate_facet()
27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet()
32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet()
43 char const str2[] = "abcdef2"; in collate_facet() local
45 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; in collate_facet()
47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet()
52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet()
90 wchar_t const str2[] = L"abcdef2"; in collate_facet() local
92 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; in collate_facet()
94 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); in collate_facet()
95 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); in collate_facet()
98 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); in collate_facet()
99 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); in collate_facet()
217 char const str2[] = "abcdef2"; in collate_by_name() local
219 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; in collate_by_name()
221 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == in collate_by_name()
222 cfacet.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) ); in collate_by_name()
223 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1, str2, str2 + size2) == in collate_by_name()
224 cfacet.compare(str1, str1 + size1, str2, str2 + size2) ); in collate_by_name()
227 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == in collate_by_name()
228 cfacet.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) ); in collate_by_name()
229 CPPUNIT_ASSERT( cfacet_byname.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == in collate_by_name()
230 cfacet.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) ); in collate_by_name()