Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 4 of 4) sorted by relevance

/ndk/tests/device/test-stlport/unit/
Dcollate_facets_test.cpp58 string strs[] = {"abdd", "ab�d", "abbd", "abcd"}; in collate_facet() local
62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
65 sort(strs, strs + 4, loc); in collate_facet()
66 CPPUNIT_ASSERT( strs[0] == "abbd" ); in collate_facet()
67 CPPUNIT_ASSERT( strs[1] == "abcd" ); in collate_facet()
68 CPPUNIT_ASSERT( strs[2] == "ab�d" ); in collate_facet()
69 CPPUNIT_ASSERT( strs[3] == "abdd" ); 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()
[all …]
Dmvctor_test.cpp625 vector<string> strs; in vector_test() local
630 strs.push_back(it->front()); in vector_test()
639 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); in vector_test()
640 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); in vector_test()
654 vector<string> strs; in vector_test() local
659 strs.push_back(it->front()); in vector_test()
668 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); in vector_test()
669 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); in vector_test()
678 vector<string> strs; in vector_test() local
683 strs.push_back(it->front()); in vector_test()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dcollate_facets_test.cpp58 string strs[] = {"abdd", "ab�d", "abbd", "abcd"}; in collate_facet() local
62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
65 sort(strs, strs + 4, loc); in collate_facet()
66 CPPUNIT_ASSERT( strs[0] == "abbd" ); in collate_facet()
67 CPPUNIT_ASSERT( strs[1] == "abcd" ); in collate_facet()
68 CPPUNIT_ASSERT( strs[2] == "ab�d" ); in collate_facet()
69 CPPUNIT_ASSERT( strs[3] == "abdd" ); 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()
[all …]
Dmvctor_test.cpp625 vector<string> strs; in vector_test() local
630 strs.push_back(it->front()); in vector_test()
639 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); in vector_test()
640 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); in vector_test()
654 vector<string> strs; in vector_test() local
659 strs.push_back(it->front()); in vector_test()
668 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); in vector_test()
669 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); in vector_test()
678 vector<string> strs; in vector_test() local
683 strs.push_back(it->front()); in vector_test()
[all …]