Home
last modified time | relevance | path

Searched refs:moved (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dtry.emplace.pass.cpp54 bool moved() const {return int_ == -1;} in moved() function in Moveable
75 assert(!mv1.moved()); // was not moved from in main()
82 assert(mv1.moved()); // was moved from in main()
90 assert(mv2.moved()); // was moved from in main()
98 assert(mv2.moved()); // was moved from in main()
117 assert(!mv1.moved()); // was not moved from in main()
118 assert(!mvkey1.moved()); // was not moved from in main()
125 assert(mv1.moved()); // was moved from in main()
126 assert(mvkey2.moved()); // was moved from in main()
145 assert(!mv1.moved()); // was not moved from in main()
[all …]
Dinsert_or_assign.pass.cpp56 bool moved() const {return int_ == -1;} in moved() function in Moveable
77 assert(mv.moved()); // was moved from in main()
86 assert(mv1.moved()); // was moved from in main()
94 assert(mv2.moved()); // was moved from in main()
102 assert(mv3.moved()); // was moved from in main()
120 assert(!mvkey1.moved()); // was not moved from in main()
121 assert(mv1.moved()); // was moved from in main()
130 assert(mv2.moved()); // was moved from in main()
131 assert(mvkey2.moved()); // was moved from in main()
147 assert(mv1.moved()); // was moved from in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dtry.emplace.pass.cpp55 bool moved() const {return int_ == -1;} in moved() function in Moveable
82 assert(!mv1.moved()); // was not moved from in main()
89 assert(mv1.moved()); // was moved from in main()
97 assert(mv2.moved()); // was moved from in main()
105 assert(mv2.moved()); // was moved from in main()
124 assert(!mv1.moved()); // was not moved from in main()
125 assert(!mvkey1.moved()); // was not moved from in main()
132 assert(mv1.moved()); // was moved from in main()
133 assert(mvkey2.moved()); // was moved from in main()
152 assert(!mv1.moved()); // was not moved from in main()
[all …]
Dinsert_or_assign.pass.cpp56 bool moved() const {return int_ == -1;} in moved() function in Moveable
83 assert(mv.moved()); // was moved from in main()
92 assert(mv1.moved()); // was moved from in main()
100 assert(mv2.moved()); // was moved from in main()
108 assert(mv3.moved()); // was moved from in main()
126 assert(!mvkey1.moved()); // was not moved from in main()
127 assert(mv1.moved()); // was moved from in main()
136 assert(mv2.moved()); // was moved from in main()
137 assert(mvkey2.moved()); // was moved from in main()
153 assert(mv1.moved()); // was moved from in main()
[all …]
/external/libcxx/test/support/
Dany_helpers.h103 static int moved; member
109 small_type::moved = 0; in reset()
144 ++moved; in small_type()
164 int small_type<Dummy>::moved = 0;
183 static int moved; member
189 large_type::moved = 0; in reset()
225 ++moved; in large_type()
246 int large_type<Dummy>::moved = 0;
276 static int moved; member
277 static void reset() { count = copied = moved = 0; } in reset()
[all …]
Dexperimental_any_helpers.h79 static int moved; member
85 small_type::moved = 0; in reset()
114 ++moved; in throw()
134 int small_type<Dummy>::moved = 0;
153 static int moved; member
159 large_type::moved = 0; in reset()
189 ++moved; in large_type()
210 int large_type<Dummy>::moved = 0;
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dassign_rv_pair.pass.cpp40 static int moved; member
41 static void reset() { copied = moved = 0; } in reset()
44 CountAssign& operator=(CountAssign&&) { ++moved; return *this; } in operator =()
47 int CountAssign::moved = 0; member in CountAssign
83 assert(CountAssign::moved == 0); in main()
93 assert(CountAssign::moved == 1); in main()
Dassign_pair.pass.cpp41 static int moved; member
42 static void reset() { copied = moved = 0; } in reset()
45 CountAssign& operator=(CountAssign&&) { ++moved; return *this; } in operator =()
48 int CountAssign::moved = 0; member in CountAssign
86 assert(CountAssign::moved == 0); in main()
/external/libcxx/test/std/utilities/tuple/tuple.general/
Dignore.pass.cpp30 auto moved = std::move(copy); in test_ignore_constexpr() local
31 ((void)moved); in test_ignore_constexpr()
36 auto moved = std::ignore; in test_ignore_constexpr() local
37 moved = std::move(copy); in test_ignore_constexpr()
/external/libcxx/test/std/experimental/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp122 assert(Type::moved == 1); in test_cast_to_reference()
170 assert(Type::moved == 1); in test_cast_to_reference()
183 assert(Type::moved == 1); in test_cast_to_value()
202 assert(Type::moved == 0); in test_cast_to_value()
216 assert(Type::moved == 0); in test_cast_to_value()
230 assert(Type::moved == 0); in test_cast_to_value()
244 assert(Type::moved == 0); in test_cast_to_value()
258 assert(Type::moved == 0); in test_cast_to_value()
272 assert(Type::moved == 0); in test_cast_to_value()
/external/webrtc/webrtc/common_audio/
Daudio_ring_buffer.cc61 const size_t moved = in MoveReadPositionForward() local
63 RTC_CHECK_EQ(moved, frames); in MoveReadPositionForward()
69 const size_t moved = static_cast<size_t>( in MoveReadPositionBackward() local
71 RTC_CHECK_EQ(moved, frames); in MoveReadPositionBackward()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
Dmove.pass.cpp41 static int moved; member
42 static void reset() { copied = moved = 0; } in reset()
45 CountAssign& operator=(CountAssign&&) { ++moved; return *this; } in operator =()
48 int CountAssign::moved = 0; member in CountAssign
123 assert(CountAssign::moved == 0); in main()
/external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp127 assert(Type::moved == 1); in test_cast_to_reference()
186 assert(Type::moved == 1); in test_cast_to_reference()
199 assert(Type::moved == 1); in test_cast_to_value()
218 assert(Type::moved == 0); in test_cast_to_value()
232 assert(Type::moved == 0); in test_cast_to_value()
246 assert(Type::moved == 0); in test_cast_to_value()
257 assert(Type::moved == 1); in test_cast_to_value()
276 assert(Type::moved == 1); in test_cast_to_value()
292 assert(Type::moved == 0); in test_cast_to_value()
/external/libcxx/test/std/experimental/any/any.class/any.assign/
Dvalue.pass.cpp61 assert(RHS::moved == 1); in test_assign_value()
65 assert(RHS::moved >= 1); in test_assign_value()
91 assert(RHS::moved >= 0); in test_assign_value_empty()
100 assert(RHS::moved == 0); in test_assign_value_empty()
106 assert(RHS::moved >= 1); in test_assign_value_empty()
/external/libcxx/test/std/utilities/any/any.class/any.assign/
Dvalue.pass.cpp62 assert(RHS::moved == 1); in test_assign_value()
66 assert(RHS::moved >= 1); in test_assign_value()
94 assert(RHS::moved >= 0); in test_assign_value_empty()
103 assert(RHS::moved == 0); in test_assign_value_empty()
109 assert(RHS::moved >= 1); in test_assign_value_empty()
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dmove.pass.cpp73 assert(Type::moved == 1); in test_move()
80 … assert(Type::moved == 1 || Type::moved == 2); // zero or more move operations can be performed. in test_move()
Din_place_type.pass.cpp47 assert(Type::moved == 0); in test_in_place_type()
57 assert(Type::moved == 0); in test_in_place_type()
67 assert(Type::moved == 0); in test_in_place_type()
77 assert(Type::moved == 0); in test_in_place_type()
/external/valgrind/none/tests/linux/
Dmremap.stderr.exp-glibc273 grow, nomove: p=0x........ np=0x........: shrink moved?!
4 grow, maymove: p=0x........ np=0x........: shrink moved?!
/external/libcxx/test/std/utilities/any/any.nonmembers/
Dmake_any.pass.cpp40 assert(Type::moved == 0); in test_make_any_type()
50 assert(Type::moved == 0); in test_make_any_type()
60 assert(Type::moved == 0); in test_make_any_type()
/external/linux-kselftest/tools/testing/selftests/exec/
DMakefile8 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx*
/external/llvm/test/Transforms/TailCallElim/
Ddont_reorder_load.ll11 ; This load can't be safely moved above the call because the load is from an
30 ; This load can't be safely moved above the call because function may write to the pointer.
48 ; This load can't be safely moved above the call because that would change the
66 ; This load can NOT be moved above the call because the a_arg is not
Dreorder_load.ll14 ; This load can be moved above the call because the function won't write to it
38 ; This load can be moved above the call because the function won't write to it
69 ; This load can be safely moved above the call (even though it's from an
93 ; The second load can be safely moved above the call even though it's from an
126 ; This load can be moved above the call because the function won't write to it
/external/libcxx/test/std/experimental/any/any.class/any.cons/
Dmove.pass.cpp73 assert(Type::moved == 1); in test_move()
80 assert(Type::moved >= 1); // zero or more move operations can be performed. in test_move()
Dvalue.pass.cpp91 assert(Type::moved == 0); in test_copy_move_value()
104 assert(Type::moved == 1); in test_copy_move_value()
/external/swiftshader/third_party/LLVM/test/Transforms/TailCallElim/
Dreorder_load.ll12 ; This load can be moved above the call because the function won't write to it
31 ; This load can be moved above the call because the function won't write to it
57 ; This load can be safely moved above the call (even though it's from an
76 ; The second load can be safely moved above the call even though it's from an

12345678910>>...20