Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 25 of 26) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/
Dmember_swap.pass.cpp23 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 …]
Dnonmember_swap.pass.cpp25 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 …]
Dmove.pass.cpp23 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/
Dmove.pass.cpp23 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/
Dcmp_win.c69 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/
Dcstring_test.cpp45 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()
Ddeque_test.cpp204 char buf1[1024]; in allocator_with_state() local
205 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dhash_test.cpp380 char buf1[2048]; in allocator_with_state() local
381 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dlist_test.cpp274 char buf1[1024]; in allocator_with_state() local
275 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dvector_test.cpp375 char buf1[1024]; in allocator_with_state() local
376 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dmap_test.cpp269 char buf1[1024]; in allocator_with_state() local
270 StackAllocator<pair<const int, int> > stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dset_test.cpp278 char buf1[1024]; in allocator_with_state() local
279 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dslist_test.cpp333 char buf1[1024]; in allocator_with_state() local
334 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dstring_test.cpp1304 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/
Dcstring_test.cpp45 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()
Ddeque_test.cpp204 char buf1[1024]; in allocator_with_state() local
205 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dhash_test.cpp380 char buf1[2048]; in allocator_with_state() local
381 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dlist_test.cpp274 char buf1[1024]; in allocator_with_state() local
275 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dvector_test.cpp375 char buf1[1024]; in allocator_with_state() local
376 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dmap_test.cpp269 char buf1[1024]; in allocator_with_state() local
270 StackAllocator<pair<const int, int> > stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dset_test.cpp278 char buf1[1024]; in allocator_with_state() local
279 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dslist_test.cpp333 char buf1[1024]; in allocator_with_state() local
334 StackAllocator<int> stack1(buf1, buf1 + sizeof(buf1)); in allocator_with_state()
Dstring_test.cpp1304 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/
Dc_locale_dummy.c274 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/
Dc_locale_glibc2.c366 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()

12