• Home
  • Raw
  • Download

Lines Matching refs:col

20     collate<char> const& col = use_facet<collate<char> >(locale::classic());  in collate_facet()  local
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()
40 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet() local
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()
56 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet() local
62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
73 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
74 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
75 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
76 …CPPUNIT_ASSERT( col.transform(strs[3].data(), strs[3].data() + strs[3].size()) == transformed[3] ); in collate_facet()
79 CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data()).empty() ); in collate_facet()
82 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + 2) == col.transform(strs[1].data(),… in collate_facet()
87 collate<wchar_t> const& col = use_facet<collate<wchar_t> >(loc); in collate_facet() local
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()
104 collate<wchar_t> const& col = use_facet<collate<wchar_t> >(loc); in collate_facet() local
113 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
124 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
125 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
126 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
127 …CPPUNIT_ASSERT( col.transform(strs[3].data(), strs[3].data() + strs[3].size()) == transformed[3] ); in collate_facet()
129 CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data()).empty() ); in collate_facet()
131 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + 2) == col.transform(strs[1].data(),… in collate_facet()