/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/ |
D | member_swap.pass.cpp | 23 std::stringbuf buf1("testing"); in main() local 25 buf.swap(buf1); in main() 27 assert(buf1.str() == ""); in main() 30 std::stringbuf buf1("testing", std::ios_base::in); in main() local 32 buf.swap(buf1); in main() 34 assert(buf1.str() == ""); in main() 37 std::stringbuf buf1("testing", std::ios_base::out); in main() local 39 buf.swap(buf1); in main() 41 assert(buf1.str() == ""); in main() 44 std::wstringbuf buf1(L"testing"); in main() local [all …]
|
D | nonmember_swap.pass.cpp | 25 std::stringbuf buf1("testing"); in main() local 27 swap(buf, buf1); in main() 29 assert(buf1.str() == ""); in main() 32 std::stringbuf buf1("testing", std::ios_base::in); in main() local 34 swap(buf, buf1); in main() 36 assert(buf1.str() == ""); in main() 39 std::stringbuf buf1("testing", std::ios_base::out); in main() local 41 swap(buf, buf1); in main() 43 assert(buf1.str() == ""); in main() 46 std::wstringbuf buf1(L"testing"); in main() local [all …]
|
D | move.pass.cpp | 23 std::stringbuf buf1("testing"); in main() local 25 buf = move(buf1); in main() 29 std::stringbuf buf1("testing", std::ios_base::in); in main() local 31 buf = move(buf1); in main() 35 std::stringbuf buf1("testing", std::ios_base::out); in main() local 37 buf = move(buf1); in main() 41 std::wstringbuf buf1(L"testing"); in main() local 43 buf = move(buf1); in main() 47 std::wstringbuf buf1(L"testing", std::ios_base::in); in main() local 49 buf = move(buf1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/ |
D | move.pass.cpp | 23 std::stringbuf buf1("testing"); in main() local 24 std::stringbuf buf(move(buf1)); in main() 28 std::stringbuf buf1("testing", std::ios_base::in); in main() local 29 std::stringbuf buf(move(buf1)); in main() 33 std::stringbuf buf1("testing", std::ios_base::out); in main() local 34 std::stringbuf buf(move(buf1)); in main() 38 std::wstringbuf buf1(L"testing"); in main() local 39 std::wstringbuf buf(move(buf1)); in main() 43 std::wstringbuf buf1(L"testing", std::ios_base::in); in main() local 44 std::wstringbuf buf(move(buf1)); in main() [all …]
|
/ndk/sources/host-tools/toolbox/ |
D | cmp_win.c | 69 char buf1[BUFSIZE], buf2[BUFSIZE]; in main() local 72 n1 = fread(buf1, 1, BUFSIZE, f1); in main() 74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0; in main()
|
/ndk/tests/device/test-stlport/unit/ |
D | cstring_test.cpp | 45 char buf1[1], buf2[1]; in import_checks() local 46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks() 47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks() 48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL ); in import_checks()
|
D | deque_test.cpp | 204 char buf1[1024]; in allocator_with_state() local 205 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | hash_test.cpp | 380 char buf1[2048]; in allocator_with_state() local 381 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | list_test.cpp | 274 char buf1[1024]; in allocator_with_state() local 275 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | vector_test.cpp | 375 char buf1[1024]; in allocator_with_state() local 376 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | map_test.cpp | 269 char buf1[1024]; in allocator_with_state() local 270 StackAllocator<pair<const int, int> > stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | set_test.cpp | 278 char buf1[1024]; in allocator_with_state() local 279 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | slist_test.cpp | 333 char buf1[1024]; in allocator_with_state() local 334 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | string_test.cpp | 1304 char buf1[1024]; in allocator_with_state() local 1305 StackAllocator<char> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | cstring_test.cpp | 45 char buf1[1], buf2[1]; in import_checks() local 46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks() 47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks() 48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL ); in import_checks()
|
D | deque_test.cpp | 204 char buf1[1024]; in allocator_with_state() local 205 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | hash_test.cpp | 380 char buf1[2048]; in allocator_with_state() local 381 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | list_test.cpp | 274 char buf1[1024]; in allocator_with_state() local 275 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | vector_test.cpp | 375 char buf1[1024]; in allocator_with_state() local 376 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | map_test.cpp | 269 char buf1[1024]; in allocator_with_state() local 270 StackAllocator<pair<const int, int> > stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | set_test.cpp | 278 char buf1[1024]; in allocator_with_state() local 279 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | slist_test.cpp | 333 char buf1[1024]; in allocator_with_state() local 334 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
D | string_test.cpp | 1304 char buf1[1024]; in allocator_with_state() local 1305 StackAllocator<char> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 274 char buf1[64], buf2[64]; in _Locale_strcmp() local 278 _STLP_STRNCPY(buf1, 64, s1, bufsize1); buf1[bufsize1] = 0; in _Locale_strcmp() 281 ret = strcmp(buf1, buf2); in _Locale_strcmp() 294 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local 298 _STLP_WCSNCPY(buf1, 64, s1, bufsize1); buf1[bufsize1] = 0; in _WLocale_strcmp() 301 ret = wcscmp(buf1, buf2); in _WLocale_strcmp()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
D | c_locale_glibc2.c | 366 char buf1[64], buf2[64]; in _Locale_strcmp() local 370 strncpy(buf1, s1, bufsize1); buf1[bufsize1] = 0; in _Locale_strcmp() 373 ret = strcoll_l(buf1, buf2, (locale_t)__loc); in _Locale_strcmp() 386 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local 390 wcsncpy(buf1, s1, bufsize1); buf1[bufsize1] = 0; in _WLocale_strcmp() 393 ret = wcscoll_l(buf1, buf2, (locale_t)__loc); in _WLocale_strcmp()
|