/ndk/tests/device/test-stlport/unit/ |
D | mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; in mismatch0() local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); in mismatch0() 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); in mismatch0() 72 char const* n2[size]; in mismatch2() local 73 copy(n1, n1 + 5, (char const**)n2); in mismatch2() 74 …const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); in mismatch2() 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); in mismatch2() 78 n2[2] = "QED"; in mismatch2() 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); in mismatch2() 80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size)); in mismatch2()
|
D | lexcmp_test.cpp | 35 char n2[size] = "shine"; in lexcmp1() local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); in lexcmp1() 44 char n2[size] = "shine"; in lexcmp2() local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>()); in lexcmp2()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; in mismatch0() local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); in mismatch0() 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); in mismatch0() 72 char const* n2[size]; in mismatch2() local 73 copy(n1, n1 + 5, (char const**)n2); in mismatch2() 74 …const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); in mismatch2() 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); in mismatch2() 78 n2[2] = "QED"; in mismatch2() 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); in mismatch2() 80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size)); in mismatch2()
|
D | lexcmp_test.cpp | 35 char n2[size] = "shine"; in lexcmp1() local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); in lexcmp1() 44 char n2[size] = "shine"; in lexcmp2() local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>()); in lexcmp2()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 272 const char* s1, size_t n1, const char* s2, size_t n2) { in _Locale_strcmp() argument 275 while (n1 > 0 || n2 > 0) { in _Locale_strcmp() 277 size_t bufsize2 = n2 < 63 ? n2 : 63; in _Locale_strcmp() 284 s2 += bufsize2; n2 -= bufsize2; in _Locale_strcmp() 292 const wchar_t* s1, size_t n1, const wchar_t* s2, size_t n2) { in _WLocale_strcmp() argument 295 while (n1 > 0 || n2 > 0) { in _WLocale_strcmp() 297 size_t bufsize2 = n2 < 63 ? n2 : 63; in _WLocale_strcmp() 304 s2 += bufsize2; n2 -= bufsize2; in _WLocale_strcmp()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
D | c_locale_glibc2.c | 364 const char *s2, size_t n2) { in _Locale_strcmp() argument 367 while (n1 > 0 || n2 > 0) { in _Locale_strcmp() 369 size_t bufsize2 = n2 < 63 ? n2 : 63; in _Locale_strcmp() 376 s2 += bufsize2; n2 -= bufsize2; in _Locale_strcmp() 384 const wchar_t *s2, size_t n2) { in _WLocale_strcmp() argument 387 while (n1 > 0 || n2 > 0) { in _WLocale_strcmp() 389 size_t bufsize2 = n2 < 63 ? n2 : 63; in _WLocale_strcmp() 396 s2 += bufsize2; n2 -= bufsize2; in _WLocale_strcmp()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_wlocale_win32.c | 199 const wchar_t* s2, size_t n2) { in _WLocale_strcmp_aux() argument 201 while (n1 > 0 || n2 > 0) { in _WLocale_strcmp_aux() 203 DWORD size2 = trim_size_t_to_DWORD(n2); in _WLocale_strcmp_aux() 208 n2 -= size2; in _WLocale_strcmp_aux() 215 const wchar_t* s2, size_t n2) { in _WLocale_strcmp() argument 217 result = _WLocale_strcmp_aux(lcol, s1, n1, s2, n2); in _WLocale_strcmp()
|
D | c_locale_win32.c | 1089 const char* s2, size_t n2) { in _Locale_strcmp_auxA() argument 1091 while (n1 > 0 || n2 > 0) { in _Locale_strcmp_auxA() 1093 DWORD size2 = trim_size_t_to_DWORD(n2); in _Locale_strcmp_auxA() 1098 n2 -= size2; in _Locale_strcmp_auxA() 1105 const char* s2, size_t n2) { in _Locale_strcmp() argument 1108 result = _Locale_strcmp_auxA(lcol, s1, n1, s2, n2); in _Locale_strcmp() 1114 buf2 = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), s2, n2, &size2); in _Locale_strcmp()
|
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/ |
D | andor | 26 "1\n2 true\n3\n4\n5\n6 true\n7\n8 se hi\n9 there\n10\n"); 48 … "short-circuit\n1\n2 true\n3 true\n4 z\n5 true\n6 true\n7 b\n8 true\n9 z hi\n10 truethere\n11\n");
|
D | if | 30 $answer = "1 false\n2\n3\n4 true\n5 true\n6 false\n7 true\n8 false\n9 true hi\n10 fal,sethere\n11 f…
|
/ndk/sources/host-tools/nawk-20071023/ |
D | lib.c | 71 void makefields(int n1, int n2) /* create $n1..$n2 inclusive */ in makefields() argument 76 for (i = n1; i <= n2; i++) { in makefields() 357 void cleanfld(int n1, int n2) /* clean out fields n1 .. n2 inclusive */ in cleanfld() argument 362 for (i = n1; i <= n2; i++) { in cleanfld()
|
D | run.c | 1147 int n1, n2; in cat() local 1155 n2 = strlen(y->sval); in cat() 1156 s = (char *) malloc(n1 + n2 + 1); in cat()
|