/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.operators/ |
D | eq.pass.cpp | 24 std::locale n2(LOCALE_en_US_UTF_8); in main() local 32 assert(cloc != n2); in main() 40 assert(copy != n2); in main() 48 assert(n1 == n2); in main() 53 assert(n2 != cloc); in main() 54 assert(n2 != copy); in main() 55 assert(n2 == n1); in main() 56 assert(n2 == n2); in main() 57 assert(n2 != noname1); in main() 58 assert(n2 != nonamec); in main() [all …]
|
/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/android/support/src/musl-multibyte/ |
D | wcsnrtombs.c | 11 size_t l, cnt=0, n2; in wcsnrtombs() local 18 while ( ws && n && ( (n2=wn)>=n || n2>32 ) ) { in wcsnrtombs() 19 if (n2>=n) n2=n; in wcsnrtombs() 20 wn -= n2; in wcsnrtombs() 21 l = wcsrtombs(s, &ws, n2, 0); in wcsnrtombs()
|
D | mbsnrtowcs.c | 11 size_t l, cnt=0, n2; in mbsnrtowcs() local 22 while ( s && wn && ( (n2=n/4)>=wn || n2>32 ) ) { in mbsnrtowcs() 23 if (n2>=wn) n2=wn; in mbsnrtowcs() 24 n -= n2; in mbsnrtowcs() 25 l = mbsrtowcs(ws, &s, n2, st); in mbsnrtowcs()
|
/ndk/sources/third_party/googletest/googletest/samples/ |
D | sample3_unittest.cc | 105 for ( const QueueNode<int> * n1 = q->Head(), * n2 = new_q->Head(); in MapTester() local 106 n1 != NULL; n1 = n1->next(), n2 = n2->next() ) { in MapTester() 107 EXPECT_EQ(2 * n1->element(), n2->element()); in MapTester()
|
/ndk/sources/host-tools/toolbox/ |
D | cmp_win.c | 70 int n1, n2, ret = 0; in main() local 73 n2 = fread(buf2, 1, BUFSIZE, f2); in main() 74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/ |
D | splice_after_flist.pass.cpp | 34 for (int n2 = 0; n2 < l; ++n2, ++i) in testd() local 35 assert(*i == t2[n2]); in testd()
|
D | splice_after_one.pass.cpp | 34 for (int n2 = f; n2 < f+1; ++n2, ++i) in testd() local 35 assert(*i == t2[n2]); in testd()
|
D | splice_after_range.pass.cpp | 35 for (int n2 = f; n2 < l-1; ++n2, ++i) in testd() local 36 assert(*i == t2[n2]); in testd()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/ |
D | arithmetic_op.hpp | 46 template< typename T, T n1, T n2 > 49 BOOST_STATIC_CONSTANT(T, value = (n1 AUX778076_OP_TOKEN n2)); in BOOST_PP_CAT()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessed/gcc/ |
D | bind.hpp | 137 typedef typename r1::next n2; typedef 195 typedef typename r1::next n2; typedef 198 typedef aux::replace_unnamed_arg< T2,n2 > r2; 258 typedef typename r1::next n2; typedef 261 typedef aux::replace_unnamed_arg< T2,n2 > r2; 326 typedef typename r1::next n2; typedef 329 typedef aux::replace_unnamed_arg< T2,n2 > r2; 401 typedef typename r1::next n2; typedef 404 typedef aux::replace_unnamed_arg< T2,n2 > r2; 489 typedef typename r1::next n2; typedef [all …]
|
/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/third_party/googletest/googletest/test/ |
D | gtest_output_test_.cc | 277 Notification n2; member 287 check_points->n2.WaitForNotification(); in ThreadWithScopedTrace() 310 check_points.n2.Notify(); in TEST()
|
D | gtest_unittest.cc | 2162 bool SumIsEven2(int n1, int n2) { in SumIsEven2() argument 2163 return IsEven(n1 + n2); in SumIsEven2() 2169 bool operator()(int n1, int n2, int n3) { in operator ()() 2170 return IsEven(n1 + n2 + n3); in operator ()() 2178 int n1, int n2, int n3, int n4) { in AssertSumIsEven4() argument 2179 const int sum = n1 + n2 + n3 + n4; in AssertSumIsEven4() 2186 << " (" << n1 << " + " << n2 << " + " << n3 << " + " << n4 in AssertSumIsEven4() 2196 const char* e5, int n1, int n2, int n3, int n4, int n5) { in operator ()() 2197 const int sum = n1 + n2 + n3 + n4 + n5; in operator ()() 2205 << n1 << " + " << n2 << " + " << n3 << " + " << n4 << " + " << n5 in operator ()() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/ |
D | iter_iter_size_char.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, typename S::size_type n2, in test() argument 32 s.replace(first, last, n2, c); in test() 35 typename S::size_type rlen = n2; in test()
|
D | size_size_size_char.pass.cpp | 25 typename S::size_type n2, typename S::value_type c, in test() argument 32 s.replace(pos, n1, n2, c); in test() 37 typename S::size_type rlen = n2; in test()
|
/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()
|