/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/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/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 | 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()
|