/ndk/tests/device/test-stlport/unit/ |
D | collate_facets_test.cpp | 25 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; 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() 45 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; 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() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | collate_facets_test.cpp | 25 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; 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() 45 const size_t size2 = sizeof(str2) / sizeof(str2[0]) - 1; 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() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.general/ |
D | integer_seq.pass.cpp | 36 using size2 = std::index_sequence_for<int, size_t>; // generates size_t: 0,1 in main() typedef 50 static_assert ( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" ); in main() 51 static_assert ( size2::size () == 2, "size2 size wrong" ); in main() 74 auto t2 = extract ( tup, size2 ()); in main() 75 static_assert ( std::tuple_size<decltype(t2)>::value == size2::size (), "t2 size wrong"); in main()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_wlocale_win32.c | 203 DWORD size2 = trim_size_t_to_DWORD(n2); in _WLocale_strcmp_aux() local 204 result = CompareStringW(lcol->lc.id, 0, s1, size1, s2, size2); in _WLocale_strcmp_aux() 208 n2 -= size2; in _WLocale_strcmp_aux()
|
D | c_locale_win32.c | 1093 DWORD size2 = trim_size_t_to_DWORD(n2); in _Locale_strcmp_auxA() local 1094 result = CompareStringA(lcol->lc.id, 0, s1, size1, s2, size2); in _Locale_strcmp_auxA() 1098 n2 -= size2; in _Locale_strcmp_auxA() 1112 size_t size1, size2; in _Locale_strcmp() local 1114 buf2 = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), s2, n2, &size2); in _Locale_strcmp() 1116 result = _Locale_strcmp_auxA(lcol, buf1, size1, buf2, size2); in _Locale_strcmp()
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 5460 size_t size2, CharType** array2) { in AssertStringArrayEq() argument 5461 ASSERT_EQ(size1, size2) << " Array sizes different."; in AssertStringArrayEq()
|