Home
last modified time | relevance | path

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

12345678910>>...31

/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.h106 static int moved; member
112 small_type::moved = 0; in reset()
147 ++moved; in small_type()
167 int small_type<Dummy>::moved = 0;
186 static int moved; member
192 large_type::moved = 0; in reset()
228 ++moved; in large_type()
249 int large_type<Dummy>::moved = 0;
279 static int moved; member
280 static void reset() { count = copied = moved = 0; } in reset()
[all …]
Dexperimental_any_helpers.h81 static int moved; member
87 small_type::moved = 0; in reset()
116 ++moved; in throw()
136 int small_type<Dummy>::moved = 0;
155 static int moved; member
161 large_type::moved = 0; in reset()
191 ++moved; in large_type()
212 int large_type<Dummy>::moved = 0;
/external/perfetto/src/base/
Dcircular_queue_unittest.cc110 CircularQueue<int> moved(std::move(queue)); in TEST() local
112 ASSERT_EQ(moved.size(), 2u); in TEST()
114 moved.emplace_back(3); in TEST()
115 moved.emplace_back(4); in TEST()
116 ASSERT_EQ(moved.size(), 4u); in TEST()
126 CircularQueue<int> moved; in TEST() local
127 moved.emplace_back(42); in TEST()
128 moved = std::move(queue); in TEST()
130 ASSERT_EQ(moved.size(), 3u); in TEST()
131 ASSERT_EQ(moved.size(), 3u); in TEST()
[all …]
/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/utilities/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp135 assert(Type::moved == 1); in test_cast_to_reference()
194 assert(Type::moved == 1); in test_cast_to_reference()
207 assert(Type::moved == 1); in test_cast_to_value()
226 assert(Type::moved == 0); in test_cast_to_value()
240 assert(Type::moved == 0); in test_cast_to_value()
254 assert(Type::moved == 0); in test_cast_to_value()
265 assert(Type::moved == 1); in test_cast_to_value()
284 assert(Type::moved == 1); in test_cast_to_value()
300 assert(Type::moved == 0); in test_cast_to_value()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
Dmove.pass.cpp42 static int moved; member
43 static void reset() { copied = moved = 0; } in reset()
46 CountAssign& operator=(CountAssign&&) { ++moved; return *this; } in operator =()
49 int CountAssign::moved = 0; member in CountAssign
124 assert(CountAssign::moved == 0); in main()
/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/any/any.class/any.assign/
Dvalue.pass.cpp70 assert(RHS::moved == 1); in test_assign_value()
74 assert(RHS::moved >= 1); in test_assign_value()
102 assert(RHS::moved >= 0); in test_assign_value_empty()
111 assert(RHS::moved == 0); in test_assign_value_empty()
117 assert(RHS::moved >= 1); in test_assign_value_empty()
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dmove.pass.cpp81 assert(Type::moved == 1); in test_move()
88 … assert(Type::moved == 1 || Type::moved == 2); // zero or more move operations can be performed. in test_move()
Din_place_type.pass.cpp55 assert(Type::moved == 0); in test_in_place_type()
65 assert(Type::moved == 0); in test_in_place_type()
75 assert(Type::moved == 0); in test_in_place_type()
85 assert(Type::moved == 0); in test_in_place_type()
/external/libcxx/test/std/utilities/any/any.nonmembers/
Dmake_any.pass.cpp48 assert(Type::moved == 0); in test_make_any_type()
58 assert(Type::moved == 0); in test_make_any_type()
68 assert(Type::moved == 0); in test_make_any_type()
/external/linux-kselftest/tools/testing/selftests/exec/
DMakefile9 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx*
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/TailCallElim/
Dreorder_load.ll15 ; This load can be moved above the call because the function won't write to it
39 ; This load can be moved above the call because the function won't write to it
70 ; This load can be safely moved above the call (even though it's from an
94 ; The second load can be safely moved above the call even though it's from an
127 ; This load can be moved above the call because the function won't write to it
150 ; This load can be moved above the call because the function call does not write to the memory the …
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
/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/re/re.results/re.results.const/
Dmove.pass.cpp45 assert(test_alloc_base::moved == 1); in main()
47 assert(test_alloc_base::moved == 2); in main()
/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
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/writeback/writeback_queue_io/
Dformat12 field:int moved; offset:56; size:4; signed:1;
15 …=%lu age=%ld enqueue=%d reason=%s", REC->name, REC->older, REC->age, REC->moved, __print_symbolic(…

12345678910>>...31