/ndk/tests/device/test-gnustl-full/unit/ |
H A D | lexcmp_test.cpp | 35 char n2[size] = "shine"; local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); 44 char n2[size] = "shine"; local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>());
|
H A D | mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); 72 char const* n2[size]; local 73 copy(n1, n1 + 5, (char const**)n2); 74 pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); 78 n2[2] = "QED"; 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 80 CPPUNIT_ASSERT(!(result.first == n2 [all...] |
/ndk/tests/device/test-stlport/unit/ |
H A D | lexcmp_test.cpp | 35 char n2[size] = "shine"; local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); 44 char n2[size] = "shine"; local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>());
|
H A D | mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); 72 char const* n2[size]; local 73 copy(n1, n1 + 5, (char const**)n2); 74 pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); 78 n2[2] = "QED"; 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 80 CPPUNIT_ASSERT(!(result.first == n2 [all...] |
/ndk/sources/android/support/src/musl-multibyte/ |
H A D | mbsnrtowcs.c | 11 size_t l, cnt=0, n2; local 22 while ( s && wn && ( (n2=n/4)>=wn || n2>32 ) ) { 23 if (n2>=wn) n2=wn; 24 n -= n2; 25 l = mbsrtowcs(ws, &s, n2, st);
|
H A D | wcsnrtombs.c | 11 size_t l, cnt=0, n2; local 18 while ( ws && n && ( (n2=wn)>=n || n2>32 ) ) { 19 if (n2>=n) n2=n; 20 wn -= n2; 21 l = wcsrtombs(s, &ws, n2, 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/ |
H A D | size_size_size_char.pass.cpp | 13 // replace(size_type pos, size_type n1, size_type n2, charT c); 25 typename S::size_type n2, typename S::value_type c, 32 s.replace(pos, n1, n2, c); 37 typename S::size_type rlen = n2; 24 test(S s, typename S::size_type pos, typename S::size_type n1, typename S::size_type n2, typename S::value_type c, S expected) argument
|
H A 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, argument 32 s.replace(first, last, n2, c); 35 typename S::size_type rlen = n2;
|
H A D | iter_iter_pointer_size.pass.cpp | 26 typename S::size_type n2, S expected) 32 s.replace(first, last, str, n2); 35 typename S::size_type rlen = n2; 25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, typename S::size_type n2, S expected) argument
|
H A D | size_size_pointer_size.pass.cpp | 13 // replace(size_type pos, size_type n1, const charT* s, size_type n2); 27 const typename S::value_type* str, typename S::size_type n2, 34 s.replace(pos, n1, str, n2); 39 typename S::size_type rlen = n2; 26 test(S s, typename S::size_type pos, typename S::size_type n1, const typename S::value_type* str, typename S::size_type n2, S expected) argument
|
H A D | size_size_string_size_size.pass.cpp | 14 // size_type pos2, size_type n2=npos); 27 S str, typename S::size_type pos2, typename S::size_type n2, 34 s.replace(pos1, n1, str, pos2, n2); 39 typename S::size_type rlen = std::min(n2, str.size() - pos2); 26 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, typename S::size_type pos2, typename S::size_type n2, S expected) argument
|
/ndk/sources/host-tools/toolbox/ |
H A D | cmp_win.c | 70 int n1, n2, ret = 0; local 73 n2 = fread(buf2, 1, BUFSIZE, f2); 74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_pointer_size.pass.cpp | 12 // int compare(size_type pos, size_type n1, const charT *s, size_type n2) const; 32 const typename S::value_type* str, typename S::size_type n2, int x) 36 assert(sign(s.compare(pos, n1, str, n2)) == sign(x)); 31 test(const S& s, typename S::size_type pos, typename S::size_type n1, const typename S::value_type* str, typename S::size_type n2, int x) argument
|
H A D | size_size_string_size_size.pass.cpp | 13 // size_type pos2, size_type n2=npos) const; 34 const S& str, typename S::size_type pos2, typename S::size_type n2, int x) 38 assert(sign(s.compare(pos1, n1, str, pos2, n2)) == sign(x)); 33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, const S& str, typename S::size_type pos2, typename S::size_type n2, int x) argument
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessed/gcc/ |
H A D | bind.hpp | 137 typedef typename r1::next n2; typedef in struct:boost::mpl::bind1::apply 195 typedef typename r1::next n2; typedef in struct:boost::mpl::bind2::apply 198 typedef aux::replace_unnamed_arg< T2,n2 > r2; 258 typedef typename r1::next n2; typedef in struct:boost::mpl::bind3::apply 261 typedef aux::replace_unnamed_arg< T2,n2 > r2; 326 typedef typename r1::next n2; typedef in struct:boost::mpl::bind4::apply 329 typedef aux::replace_unnamed_arg< T2,n2 > r2; 401 typedef typename r1::next n2; typedef in struct:boost::mpl::bind5::apply 404 typedef aux::replace_unnamed_arg< T2,n2 > r2; 489 typedef typename r1::next n2; typedef in struct:boost::mpl::bind3::apply 537 typedef typename r1::next n2; typedef in struct:boost::mpl::bind3::apply [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
H A D | gtest_output_test_.cc | 260 // SCOPED_TRACE("Trace A"); | waits for n2 262 // notifies n2 | 277 Notification n2; member in struct:CheckPoints 287 check_points->n2.WaitForNotification(); 310 check_points.n2.Notify();
|
H A D | gtest_unittest.cc | 2162 bool SumIsEven2(int n1, int n2) { argument 2163 return IsEven(n1 + n2); 2169 bool operator()(int n1, int n2, int n3) { argument 2170 return IsEven(n1 + n2 + n3); 2178 int n1, int n2, int n3, int n4) { 2179 const int sum = n1 + n2 + n3 + n4; 2186 << " (" << n1 << " + " << n2 << " + " << n3 << " + " << n4 2196 const char* e5, int n1, int n2, int n3, int n4, int n5) { 2197 const int sum = n1 + n2 + n3 + n4 + n5; 2205 << n1 << " + " << n2 << " 2176 AssertSumIsEven4( const char* e1, const char* e2, const char* e3, const char* e4, int n1, int n2, int n3, int n4) argument 2194 operator ()( const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, int n1, int n2, int n3, int n4, int n5) argument 2271 const int n2 = 2; local 2289 const int n2 = 2; local 2306 int n2 = 0; local 2317 n1++, n2++, n3++, n4++, n5++) local [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
H A D | c_wlocale_win32.c | 199 const wchar_t* s2, size_t n2) {
201 while (n1 > 0 || n2 > 0) {
203 DWORD size2 = trim_size_t_to_DWORD(n2);
208 n2 -= size2;
215 const wchar_t* s2, size_t n2) {
217 result = _WLocale_strcmp_aux(lcol, s1, n1, s2, n2);
197 _WLocale_strcmp_aux(_Locale_collate_t* lcol, const wchar_t* s1, size_t n1, const wchar_t* s2, size_t n2) argument 213 _WLocale_strcmp(_Locale_collate_t* lcol, const wchar_t* s1, size_t n1, const wchar_t* s2, size_t n2) argument
|
H A D | c_locale_win32.c | 1089 const char* s2, size_t n2) { 1091 while (n1 > 0 || n2 > 0) { 1093 DWORD size2 = trim_size_t_to_DWORD(n2); 1098 n2 -= size2; 1105 const char* s2, size_t n2) { 1108 result = _Locale_strcmp_auxA(lcol, s1, n1, s2, n2); 1114 buf2 = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), s2, n2, &size2); 1087 _Locale_strcmp_auxA(_Locale_collate_t* lcol, const char* s1, size_t n1, const char* s2, size_t n2) argument 1103 _Locale_strcmp(_Locale_collate_t* lcol, const char* s1, size_t n1, const char* s2, size_t n2) argument
|
/ndk/sources/host-tools/nawk-20071023/ |
H A D | lib.c | 71 void makefields(int n1, int n2) /* create $n1..$n2 inclusive */ argument 76 for (i = n1; i <= n2; i++) { 357 void cleanfld(int n1, int n2) /* clean out fields n1 .. n2 inclusive */ argument 362 for (i = n1; i <= n2; i++) {
|
H A D | run.c | 1147 int n1, n2; local 1155 n2 = strlen(y->sval); 1156 s = (char *) malloc(n1 + n2 + 1);
|
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
H A D | c_locale_glibc2.c | 364 const char *s2, size_t n2) { 367 while (n1 > 0 || n2 > 0) { 369 size_t bufsize2 = n2 < 63 ? n2 : 63; 376 s2 += bufsize2; n2 -= bufsize2; 384 const wchar_t *s2, size_t n2) { 387 while (n1 > 0 || n2 > 0) { 389 size_t bufsize2 = n2 < 63 ? n2 : 63; 396 s2 += bufsize2; n2 362 _Locale_strcmp(struct _Locale_collate * __loc, const char *s1, size_t n1, const char *s2, size_t n2) argument 382 _WLocale_strcmp(struct _Locale_collate *__loc, const wchar_t *s1, size_t n1, const wchar_t *s2, size_t n2) argument [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
H A D | c_locale_dummy.c | 272 const char* s1, size_t n1, const char* s2, size_t n2) { 275 while (n1 > 0 || n2 > 0) { 277 size_t bufsize2 = n2 < 63 ? n2 : 63; 284 s2 += bufsize2; n2 -= bufsize2; 292 const wchar_t* s1, size_t n1, const wchar_t* s2, size_t n2) { 295 while (n1 > 0 || n2 > 0) { 297 size_t bufsize2 = n2 < 63 ? n2 : 63; 304 s2 += bufsize2; n2 271 _Locale_strcmp(struct _Locale_collate* lcol, const char* s1, size_t n1, const char* s2, size_t n2) argument 291 _WLocale_strcmp(struct _Locale_collate* lcol, const wchar_t* s1, size_t n1, const wchar_t* s2, size_t n2) argument [all...] |