/ndk/tests/device/test-gnustl-full/unit/ |
D | collate_facets_test.cpp | 24 const size_t size1 = sizeof(str1) / sizeof(str1[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() 44 const size_t size1 = sizeof(str1) / sizeof(str1[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-stlport/unit/ |
D | collate_facets_test.cpp | 24 const size_t size1 = sizeof(str1) / sizeof(str1[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() 44 const size_t size1 = sizeof(str1) / sizeof(str1[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.intseq/ |
D | integer_seq.pass.cpp | 30 using size1 = std::integer_sequence<size_t, 7>; in main() typedef 38 static_assert ( std::is_same<size1::value_type, size_t>::value, "size1 type wrong" ); in main() 39 static_assert ( size1::size() == 1, "size1 size wrong" ); in main()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_wlocale_win32.c | 202 DWORD size1 = trim_size_t_to_DWORD(n1); in _WLocale_strcmp_aux() local 204 result = CompareStringW(lcol->lc.id, 0, s1, size1, s2, size2); in _WLocale_strcmp_aux() 207 n1 -= size1; in _WLocale_strcmp_aux()
|
D | c_locale_win32.c | 1092 DWORD size1 = trim_size_t_to_DWORD(n1); in _Locale_strcmp_auxA() local 1094 result = CompareStringA(lcol->lc.id, 0, s1, size1, s2, size2); in _Locale_strcmp_auxA() 1097 n1 -= size1; in _Locale_strcmp_auxA() 1112 size_t size1, size2; in _Locale_strcmp() local 1113 buf1 = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), s1, n1, &size1); 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 | 5459 static void AssertStringArrayEq(size_t size1, CharType** array1, in AssertStringArrayEq() argument 5461 ASSERT_EQ(size1, size2) << " Array sizes different."; in AssertStringArrayEq() 5463 for (size_t i = 0; i != size1; i++) { in AssertStringArrayEq()
|