Home
last modified time | relevance | path

Searched refs:move (Results 1 – 25 of 266) sorted by relevance

1234567891011

/ndk/sources/cxx-stl/llvm-libc++/test/input.output/string.streams/stringbuf/stringbuf.cons/
Dmove.pass.cpp24 std::stringbuf buf(move(buf1)); in main()
29 std::stringbuf buf(move(buf1)); in main()
34 std::stringbuf buf(move(buf1)); in main()
39 std::wstringbuf buf(move(buf1)); in main()
44 std::wstringbuf buf(move(buf1)); in main()
49 std::wstringbuf buf(move(buf1)); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/string.streams/stringbuf/stringbuf.assign/
Dmove.pass.cpp25 buf = move(buf1); in main()
31 buf = move(buf1); in main()
37 buf = move(buf1); in main()
43 buf = move(buf1); in main()
49 buf = move(buf1); in main()
55 buf = move(buf1); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/
Drv_value.pass.cpp32 q = std::move(x1); in test()
33 q = std::move(x2); in test()
34 q = std::move(x3); in test()
44 i = c.insert(i, std::move(x1)); in insert3at()
45 i = c.insert(++i, std::move(x2)); in insert3at()
46 c.insert(++i, std::move(x3)); in insert3at()
69 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
77 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
85 test(std::move(c1), 2, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
93 test(std::move(c1), 3, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.shared_future/
Dctor_future.pass.cpp25 std::shared_future<T> f = std::move(f0); in main()
32 std::shared_future<T> f = std::move(f0); in main()
40 std::shared_future<T> f = std::move(f0); in main()
47 std::shared_future<T> f = std::move(f0); in main()
55 std::shared_future<T> f = std::move(f0); in main()
62 std::shared_future<T> f = std::move(f0); in main()
Dmove_ctor.pass.cpp25 std::shared_future<T> f = std::move(f0); in main()
32 std::shared_future<T> f = std::move(f0); in main()
40 std::shared_future<T> f = std::move(f0); in main()
47 std::shared_future<T> f = std::move(f0); in main()
55 std::shared_future<T> f = std::move(f0); in main()
62 std::shared_future<T> f = std::move(f0); in main()
Dmove_assign.pass.cpp27 f = std::move(f0); in main()
35 f = std::move(f0); in main()
44 f = std::move(f0); in main()
52 f = std::move(f0); in main()
61 f = std::move(f0); in main()
69 f = std::move(f0); in main()
Dget.pass.cpp67 std::thread(func1, std::move(p)).detach(); in main()
75 std::thread(func2, std::move(p)).detach(); in main()
94 std::thread(func3, std::move(p)).detach(); in main()
102 std::thread(func4, std::move(p)).detach(); in main()
121 std::thread(func5, std::move(p)).detach(); in main()
129 std::thread(func6, std::move(p)).detach(); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.unique_future/
Dshare.pass.cpp25 std::shared_future<T> f = std::move(f0.share()); in main()
32 std::shared_future<T> f = std::move(f0.share()); in main()
40 std::shared_future<T> f = std::move(f0.share()); in main()
47 std::shared_future<T> f = std::move(f0.share()); in main()
55 std::shared_future<T> f = std::move(f0.share()); in main()
62 std::shared_future<T> f = std::move(f0.share()); in main()
Dmove_ctor.pass.cpp26 std::future<T> f = std::move(f0); in main()
33 std::future<T> f = std::move(f0); in main()
41 std::future<T> f = std::move(f0); in main()
48 std::future<T> f = std::move(f0); in main()
56 std::future<T> f = std::move(f0); in main()
63 std::future<T> f = std::move(f0); in main()
Dmove_assign.pass.cpp27 f = std::move(f0); in main()
35 f = std::move(f0); in main()
44 f = std::move(f0); in main()
52 f = std::move(f0); in main()
61 f = std::move(f0); in main()
69 f = std::move(f0); in main()
Dget.pass.cpp67 std::thread(func1, std::move(p)).detach(); in main()
75 std::thread(func2, std::move(p)).detach(); in main()
94 std::thread(func3, std::move(p)).detach(); in main()
102 std::thread(func4, std::move(p)).detach(); in main()
121 std::thread(func5, std::move(p)).detach(); in main()
129 std::thread(func6, std::move(p)).detach(); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_move.pass.cpp30 T t(std::allocator_arg, A1<int>(), std::move(t0)); in main()
35 T t(std::allocator_arg, A1<int>(), std::move(t0)); in main()
42 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
50 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
58 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
68 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
Dmove.pass.cpp26 T t = std::move(t0); in main()
31 T t = std::move(t0); in main()
37 T t = std::move(t0); in main()
44 T t = std::move(t0); in main()
Dconvert_move.pass.cpp42 T1 t1 = std::move(t0); in main()
49 T1 t1 = std::move(t0); in main()
57 T1 t1 = std::move(t0); in main()
67 T1 t1 = std::move(t0); in main()
77 T1 t1 = std::move(t0); in main()
Dalloc_convert_move.pass.cpp48 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
56 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
64 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
75 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.special/
Dmove.pass.cpp53 assert(std::move(c1.cbegin(), c1.cend(), c2.begin()) == c2.end()); in testN()
55 assert(std::move(c2.cbegin(), c2.cend(), c1.begin()) == c1.end()); in testN()
57 assert(std::move(c1.cbegin(), c1.cend(), RAI(c2.begin())) == RAI(c2.end())); in testN()
59 assert(std::move(c2.cbegin(), c2.cend(), RAI(c1.begin())) == RAI(c1.end())); in testN()
61 assert(std::move(RACI(c1.cbegin()), RACI(c1.cend()), c2.begin()) == c2.end()); in testN()
63 assert(std::move(RACI(c2.cbegin()), RACI(c2.cend()), c1.begin()) == c1.end()); in testN()
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.assign/
Dmove.pass.cpp27 t = std::move(t0); in main()
33 t = std::move(t0); in main()
40 t = std::move(t0); in main()
48 t = std::move(t0); in main()
Dconvert_move.pass.cpp44 t1 = std::move(t0); in main()
52 t1 = std::move(t0); in main()
61 t1 = std::move(t0); in main()
73 t1 = std::move(t0); in main()
83 t1 = std::move(t0); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.creation/
Dtuple_cat.pass.cpp114 std::tuple_cat(std::move(t1), t2); in main()
124 std::tuple_cat(t2, std::move(t1)); in main()
134 std::tuple_cat(std::move(t1), std::move(t2)); in main()
146 std::move(t1), in main()
147 std::move(t2)); in main()
157 std::tuple_cat(std::move(t1), in main()
159 std::move(t2)); in main()
169 std::tuple_cat(std::move(t1), in main()
170 std::move(t2), in main()
181 std::tuple_cat(std::move(t1), in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.promise/
Dset_rvalue.pass.cpp39 p.set_value(std::move(i)); in main()
43 p.set_value(std::move(i)); in main()
58 p.set_value(std::move(i)); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.tas/futures.task.members/
Doperator.pass.cpp76 std::thread(func0, std::move(p)).detach(); in main()
82 std::thread(func1, std::move(p)).detach(); in main()
96 std::thread t(func2, std::move(p)); in main()
102 std::thread t(func3, std::move(p)); in main()
Dmake_ready_at_thread_exit.pass.cpp76 std::thread(func0, std::move(p)).detach(); in main()
82 std::thread(func1, std::move(p)).detach(); in main()
96 std::thread(func2, std::move(p)).detach(); in main()
101 std::thread t(func3, std::move(p)); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/
Dtest_deleter.h55 test_deleter<T> t(std::move(x)); in swap()
56 x = std::move(y); in swap()
57 y = std::move(t); in swap()
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/ifstream.cons/
Dmove.pass.cpp25 std::ifstream fs = move(fso); in main()
32 std::wifstream fs = move(fso); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/queue/queue.cons.alloc/
Dctor_rqueue_alloc.pass.cpp45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test()
46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
56 test<MoveOnly> q2(std::move(q), test_allocator<MoveOnly>(5)); in main()

1234567891011