Searched refs:str2 (Results 1 – 6 of 6) sorted by relevance
/ndk/tests/device/test-stlport/unit/ |
D | collate_facets_test.cpp | 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() [all …]
|
D | string_test.cpp | 513 string str2("2345"); in insert() local 514 str0.insert(str0.size(), str2, 1, 2); in insert() 867 static string str2; in assign() local 872 str2 = "1234567890123456789012345678901234567890"; in assign() 875 CPPUNIT_ASSERT(str2[29] == '0'); in assign() 907 string str2; in compare() local 909 str2 = "abcdef"; in compare() 910 CPPUNIT_ASSERT( str1.compare(str2) == 0 ); in compare() 911 str2 = "abcde"; in compare() 912 CPPUNIT_ASSERT( str1.compare(str2) > 0 ); in compare() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | collate_facets_test.cpp | 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() [all …]
|
D | string_test.cpp | 513 string str2("2345"); in insert() local 514 str0.insert(str0.size(), str2, 1, 2); in insert() 867 static string str2; in assign() local 872 str2 = "1234567890123456789012345678901234567890"; in assign() 875 CPPUNIT_ASSERT(str2[29] == '0'); in assign() 907 string str2; in compare() local 909 str2 = "abcdef"; in compare() 910 CPPUNIT_ASSERT( str1.compare(str2) == 0 ); in compare() 911 str2 = "abcde"; in compare() 912 CPPUNIT_ASSERT( str1.compare(str2) > 0 ); in compare() [all …]
|
/ndk/sources/cxx-stl/stlport/src/ |
D | messages.cpp | 160 …const char* str2 = _Locale_catgets(_M_message_obj, _STLP_MUTABLE(_Messages_impl, _M_cat)[thecat], … in do_get() local 161 if (!str2 || ((str2[0] == '*') && (str2[1] == '\0'))) in do_get()
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 4655 static const ::std::string str2(str1); in TEST() local 4656 EXPECT_EQ(str1, str2); in TEST() 4722 const ::string str2(str1); in TEST() local 4723 ASSERT_EQ(str1, str2); in TEST()
|