Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 25 of 41) sorted by relevance

12

/ndk/tests/device/test-stlport/unit/
Dmismatch_test.cpp40 int n1[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()
47 result = mismatch((int*)n1, (int*)n1 + 5, (int*)n3); in mismatch0()
48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5))); in mismatch0()
49 CPPUNIT_ASSERT((result.first - n1)==3); in mismatch0()
70 char const* n1[size] = { "Brett", "Graham", "Jack", "Mike", "Todd" }; in mismatch2() local
73 copy(n1, n1 + 5, (char const**)n2); in mismatch2()
74 …pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (ch… in mismatch2()
76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); in mismatch2()
[all …]
Dlexcmp_test.cpp34 char n1[size] = "shoe"; in lexcmp1() local
37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); in lexcmp1()
43 char n1[size] = "shoe"; in lexcmp2() local
46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>()); in lexcmp2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.operators/
Deq.pass.cpp23 std::locale n1(LOCALE_en_US_UTF_8); in main() local
25 std::locale noname1 = n1.combine<std::ctype<char> >(cloc); in main()
27 std::locale noname2 = n1.combine<std::ctype<char> >(cloc); in main()
31 assert(cloc != n1); in main()
39 assert(copy != n1); in main()
45 assert(n1 != cloc); in main()
46 assert(n1 != copy); in main()
47 assert(n1 == n1); in main()
48 assert(n1 == n2); in main()
49 assert(n1 != noname1); in main()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dmismatch_test.cpp40 int n1[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()
47 result = mismatch((int*)n1, (int*)n1 + 5, (int*)n3); in mismatch0()
48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5))); in mismatch0()
49 CPPUNIT_ASSERT((result.first - n1)==3); in mismatch0()
70 char const* n1[size] = { "Brett", "Graham", "Jack", "Mike", "Todd" }; in mismatch2() local
73 copy(n1, n1 + 5, (char const**)n2); in mismatch2()
74 …pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (ch… in mismatch2()
76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); in mismatch2()
[all …]
Dlexcmp_test.cpp34 char n1[size] = "shoe"; in lexcmp1() local
37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); in lexcmp1()
43 char n1[size] = "shoe"; in lexcmp2() local
46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>()); in lexcmp2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/
Dsplice_after_flist.pass.cpp31 int n1 = 0; in testd() local
32 for (; n1 < p; ++n1, ++i) in testd()
33 assert(*i == t1[n1]); in testd()
36 for (; n1 < size_t1; ++n1, ++i) in testd()
37 assert(*i == t1[n1]); in testd()
Dsplice_after_one.pass.cpp31 int n1 = 0; in testd() local
32 for (; n1 < p; ++n1, ++i) in testd()
33 assert(*i == t1[n1]); in testd()
36 for (; n1 < size_t1; ++n1, ++i) in testd()
37 assert(*i == t1[n1]); in testd()
Dsplice_after_range.pass.cpp32 int n1 = 0; in testd() local
33 for (; n1 < p; ++n1, ++i) in testd()
34 assert(*i == t1[n1]); in testd()
37 for (; n1 < size_t1; ++n1, ++i) in testd()
38 assert(*i == t1[n1]); in testd()
/ndk/sources/host-tools/toolbox/
Dcmp_win.c70 int n1, n2, ret = 0; in main() local
72 n1 = fread(buf1, 1, BUFSIZE, f1); in main()
74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0; in main()
75 } while (!ret && n1 == BUFSIZE); in main()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample3_unittest.cc105 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/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessed/gcc/
Dbind.hpp80 typedef typename r0::next n1; typedef
132 typedef typename r0::next n1; typedef
135 typedef aux::replace_unnamed_arg< T1,n1 > r1;
190 typedef typename r0::next n1; typedef
193 typedef aux::replace_unnamed_arg< T1,n1 > r1;
253 typedef typename r0::next n1; typedef
256 typedef aux::replace_unnamed_arg< T1,n1 > r1;
321 typedef typename r0::next n1; typedef
324 typedef aux::replace_unnamed_arg< T1,n1 > r1;
396 typedef typename r0::next n1; typedef
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/
Darithmetic_op.hpp46 template< typename T, T n1, T n2 >
49 BOOST_STATIC_CONSTANT(T, value = (n1 AUX778076_OP_TOKEN n2)); in BOOST_PP_CAT()
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/
Dc_locale_dummy.c272 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()
276 size_t bufsize1 = n1 < 63 ? n1 : 63; in _Locale_strcmp()
283 s1 += bufsize1; n1 -= bufsize1; 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()
296 size_t bufsize1 = n1 < 63 ? n1 : 63; in _WLocale_strcmp()
303 s1 += bufsize1; n1 -= bufsize1; in _WLocale_strcmp()
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dcall96 $answer = "1 2 3 4 5 6 7 8 9\n1 2 3 4 5\n1 2 3\n1 2 3\n";
Dandor48 … "short-circuit\n1\n2 true\n3 true\n4 z\n5 true\n6 true\n7 b\n8 true\n9 z hi\n10 truethere\n11\n");
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/
Dc_locale_glibc2.c363 const char *s1, size_t n1, in _Locale_strcmp() argument
367 while (n1 > 0 || n2 > 0) { in _Locale_strcmp()
368 size_t bufsize1 = n1 < 63 ? n1 : 63; in _Locale_strcmp()
375 s1 += bufsize1; n1 -= bufsize1; in _Locale_strcmp()
383 const wchar_t *s1, size_t n1, in _WLocale_strcmp() argument
387 while (n1 > 0 || n2 > 0) { in _WLocale_strcmp()
388 size_t bufsize1 = n1 < 63 ? n1 : 63; in _WLocale_strcmp()
395 s1 += bufsize1; n1 -= bufsize1; in _WLocale_strcmp()
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_wlocale_win32.c198 const wchar_t* s1, size_t n1, in _WLocale_strcmp_aux() argument
201 while (n1 > 0 || n2 > 0) { in _WLocale_strcmp_aux()
202 DWORD size1 = trim_size_t_to_DWORD(n1); in _WLocale_strcmp_aux()
207 n1 -= size1; in _WLocale_strcmp_aux()
214 const wchar_t* s1, size_t n1, in _WLocale_strcmp() argument
217 result = _WLocale_strcmp_aux(lcol, s1, n1, s2, n2); in _WLocale_strcmp()
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
DMAKELEVEL27 $answer = "MAKELEVEL is 0\necho \$MAKELEVEL\n1\n";
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_output_test_.cc276 Notification n1; member
286 check_points->n1.Notify(); in ThreadWithScopedTrace()
304 check_points.n1.WaitForNotification(); in TEST()
Dgtest_unittest.cc2162 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/host-tools/nawk-20071023/
Dlib.c71 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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/
Dsize_size_pointer.pass.cpp26 test(S s, typename S::size_type pos, typename S::size_type n1, in test() argument
33 s.replace(pos, n1, str); in test()
37 typename S::size_type xlen = std::min(n1, old_size - pos); in test()
Dsize_size_size_char.pass.cpp24 test(S s, typename S::size_type pos, typename S::size_type n1, in test() argument
32 s.replace(pos, n1, n2, c); in test()
36 typename S::size_type xlen = std::min(n1, old_size - pos); in test()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/
Dbind.hpp393 typedef mpl::arg<1> n1; in BOOST_PP_CAT() typedef
426 typedef typename r0::next n1; in BOOST_PP_CAT() typedef
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_compare/
Dsize_size_pointer.pass.cpp31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() argument
36 assert(sign(s.compare(pos1, n1, str)) == sign(x)); in test()

12