Lines Matching refs:str1

22     char const str1[] = "abcdef1";  in collate_facet()  local
24 const size_t size1 = sizeof(str1) / sizeof(str1[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()
42 char const str1[] = "abcdef1"; in collate_facet() local
44 const size_t size1 = sizeof(str1) / sizeof(str1[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()
89 wchar_t const str1[] = L"abcdef1"; in collate_facet() local
91 const size_t size1 = sizeof(str1) / sizeof(str1[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()
216 char const str1[] = "abcdef1"; in collate_by_name() local
218 const size_t size1 = sizeof(str1) / sizeof(str1[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()