/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/host-tools/sed-4.2.1/lib/ |
D | regex.c | 38 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument 39 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
|
/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()
|