/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-use-after-move.cpp | 87 constexpr typename std::remove_reference<_Tp>::type &&move(_Tp &&__t) noexcept { in move() function 126 A other_a = std::move(a); in simple() 136 A other_a = std::move(a); in onlyFlagOneUseAfterMove() 147 std::move(a); in moveAfterMove() 148 std::move(a); in moveAfterMove() 157 std::move(a); in moveAfterMove() 167 std::move(a); in parameters() 179 std::move(ptr); in standardSmartPtr() 188 std::move(ptr); in standardSmartPtr() 195 std::move(ptr); in standardSmartPtr() [all …]
|
D | performance-move-const-arg.cpp | 23 constexpr typename std::remove_reference<_Tp>::type &&move(_Tp &&__t) { in move() function 50 f(std::move(obj)); in g() 56 return std::move(42); in f1() 62 return std::move(x2); in f2() 68 return std::move(x3); in f3() 73 A f4(A x4) { return std::move(x4); } in f4() 76 return std::move(x5); in f5() 83 return std::move(x6); in f6() 91 M1(A b = std::move(a);) in f8() 96 #define M2(x) std::move(x) [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | stringToDouble.vert.out | 9 0:5 move second child to first child ( temp float) 14 0:6 move second child to first child ( temp float) 19 0:7 move second child to first child ( temp float) 24 0:8 move second child to first child ( temp float) 29 0:9 move second child to first child ( temp float) 34 0:10 move second child to first child ( temp double) 39 0:11 move second child to first child ( temp double) 44 0:12 move second child to first child ( temp double) 49 0:13 move second child to first child ( temp double) 54 0:14 move second child to first child ( temp double) [all …]
|
D | numeral.frag.out | 25 0:5 move second child to first child ( temp int) 30 0:6 move second child to first child ( temp int) 35 0:7 move second child to first child ( temp int) 40 0:8 move second child to first child ( temp int) 45 0:9 move second child to first child ( temp int) 50 0:10 move second child to first child ( temp int) 55 0:11 move second child to first child ( temp int) 60 0:12 move second child to first child ( temp int) 65 0:13 move second child to first child ( temp int) 70 0:14 move second child to first child ( temp int) [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-pessmizing-move.cpp | 12 template <class T> typename remove_reference<T>::type &&move(T &&t); 34 return std::move(a1); in test1() 35 return std::move(a2); in test1() 47 return std::move(a1); in test2() 48 return std::move(a2); in test2() 53 return std::move(b1); in test2() 54 return std::move(b2); in test2() 62 return std::move(A()); in test2() 67 return std::move(test1(a2)); in test2() 78 return std::move(global_a); in test3() [all …]
|
D | warn-self-move.cpp | 10 template <class T> typename remove_reference<T>::type &&move(T &&t); 16 x = std::move(x); // expected-warning{{explicitly moving}} in int_test() 17 (x) = std::move(x); // expected-warning{{explicitly moving}} in int_test() 19 using std::move; in int_test() 20 x = move(x); // expected-warning{{explicitly moving}} in int_test() 25 global = std::move(global); // expected-warning{{explicitly moving}} in global_int_test() 26 (global) = std::move(global); // expected-warning{{explicitly moving}} in global_int_test() 28 using std::move; in global_int_test() 29 global = move(global); // expected-warning{{explicitly moving}} in global_int_test() 35 x = std::move(x); // expected-warning{{explicitly moving}} in field_test() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_fluent.cpp | 44 Derived move(std::move(*this)); in notation() local 46 move.fMacros.notation = notation; in notation() 47 return move; in notation() 61 Derived move(std::move(*this)); in unit() local 63 move.fMacros.unit = unit; in unit() 64 return move; in unit() 75 copy.fMacros.unit = std::move(*unit); in adoptUnit() 83 Derived move(std::move(*this)); in adoptUnit() local 87 move.fMacros.unit = std::move(*unit); in adoptUnit() 90 return move; in adoptUnit() [all …]
|
D | numrange_fluent.cpp | 41 Derived move(std::move(*this)); in numberFormatterBoth() local 42 move.fMacros.formatter1 = formatter; in numberFormatterBoth() 43 move.fMacros.singleFormatter = true; in numberFormatterBoth() 44 touchRangeLocales(move.fMacros); in numberFormatterBoth() 45 return move; in numberFormatterBoth() 51 copy.fMacros.formatter1 = std::move(formatter); in numberFormatterBoth() 59 Derived move(std::move(*this)); in numberFormatterBoth() local 60 move.fMacros.formatter1 = std::move(formatter); in numberFormatterBoth() 61 move.fMacros.singleFormatter = true; in numberFormatterBoth() 62 touchRangeLocales(move.fMacros); in numberFormatterBoth() [all …]
|
/external/skia/src/sksl/dsl/ |
D | DSLCore.cpp | 63 return ir.call(/*offset=*/-1, ir.convertIdentifier(-1, name), std::move(argArray)); in Call() 95 std::move(stmt))); in DeclareGlobal() 179 statements.push_back(std::move(c.fStatements)); in Switch() 181 return DSLWriter::ConvertSwitch(value.release(), std::move(values), std::move(statements), in Switch() 232 return DSLStatement(DSLCore::Do(std::move(stmt), std::move(test)), pos); in Do() 237 return DSLStatement(DSLCore::For(std::move(initializer), std::move(test), std::move(next), in For() 238 std::move(stmt), pos), pos); in For() 242 return DSLStatement(DSLCore::If(std::move(test), std::move(ifTrue), std::move(ifFalse), in If() 248 return DSLCore::Return(std::move(expr), pos); in Return() 253 return DSLExpression(DSLCore::Select(std::move(test), std::move(ifTrue), std::move(ifFalse)), in Select() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-pessmizing-move.cpp | 11 template <class T> typename remove_reference<T>::type &&move(T &&t); 25 return std::move(a1); in test1() 26 return std::move(a2); in test1() 38 return std::move(a1); in test2() 39 return std::move(a2); in test2() 44 return std::move(b1); in test2() 45 return std::move(b2); in test2() 56 return std::move(global_a); in test3() 59 return std::move(static_a); in test3() 67 return std::move(A()); in test4() [all …]
|
D | warn-self-move.cpp | 10 template <class T> typename remove_reference<T>::type &&move(T &&t); 16 x = std::move(x); // expected-warning{{explicitly moving}} in int_test() 17 (x) = std::move(x); // expected-warning{{explicitly moving}} in int_test() 19 using std::move; in int_test() 20 x = move(x); // expected-warning{{explicitly moving}} in int_test() 25 global = std::move(global); // expected-warning{{explicitly moving}} in global_int_test() 26 (global) = std::move(global); // expected-warning{{explicitly moving}} in global_int_test() 28 using std::move; in global_int_test() 29 global = move(global); // expected-warning{{explicitly moving}} in global_int_test() 35 x = std::move(x); // expected-warning{{explicitly moving}} in field_test() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | use-after-move.cpp | 90 moveconstruct(std::move(*a)); in A() 93 …A(A &&other) : i(other.i), d(other.d), b(std::move(other.b)) { // aggressive-note{{Object 'b' is m… in A() 96 moveconstruct(std::move(other)); in A() 105 moveconstruct(std::move(other)); in operator =() 122 A b = std::move(a); in testUpdateField() 128 A b = std::move(a); in testUpdateFieldDouble() 137 A b = std::move(a); in moveInsideFunctionCall() 156 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveCtorTest() 175 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveCtorTest() 181 A b = std::move(a); // peaceful-note {{Object 'a' is moved}} in simpleMoveCtorTest() [all …]
|
/external/libffi/src/m68k/ |
D | sysv.S | 64 move.l %d2,-(%sp) 71 move.l 8(%fp),-(%sp) 76 move.l _current_shared_library_a5_offset_(%a5),%a0 77 move.l CALLFUNC(ffi_prep_args@GOT)(%a0),%a0 80 move.l #_GLOBAL_OFFSET_TABLE_@GOTPC,%a0 82 move.l CALLFUNC(ffi_prep_args@GOT)(%a0),%a0 91 move.l %d0,%a1 93 move.l %a0,%a1 97 move.l 24(%fp),%a0 104 move.l 20(%fp),%a1 [all …]
|
/external/llvm-project/flang/lib/Evaluate/ |
D | tools.cpp | 33 return AsGenericExpr(Parentheses<T>{std::move(y)}); in Parenthesize() 35 std::move(x.u)); in Parenthesize() 38 std::move(expr.u)); in Parenthesize() 84 defaultRealKind, std::move(ix)), in ConvertRealOperands() 86 defaultRealKind, std::move(iy)))}; in ConvertRealOperands() 91 ConvertTo(ry, std::move(ix)), std::move(ry))}; in ConvertRealOperands() 96 std::move(rx), ConvertTo(rx, std::move(iy)))}; in ConvertRealOperands() 101 std::move(rx), std::move(ry))}; in ConvertRealOperands() 107 defaultRealKind, std::move(ix)), in ConvertRealOperands() 109 defaultRealKind, std::move(by)))}; in ConvertRealOperands() [all …]
|
D | fold.cpp | 16 ss = FoldOperation(context, std::move(ss)); in GetConstantSubscript() 47 return Constant<SubscriptInteger>{std::move(values), in GetConstantSubscript() 62 for (auto &&[symbol, value] : std::move(structure)) { in FoldOperation() 63 auto expr{Fold(context, std::move(value.value()))}; in FoldOperation() 69 expr = ScalarConstantExpander{std::move(*componentShape)}.Expand( in FoldOperation() 70 std::move(expr)); in FoldOperation() 81 ctor.Add(symbol, Fold(context, std::move(expr))); in FoldOperation() 84 return Expr<SomeDerived>{Constant<SomeDerived>{std::move(ctor)}}; in FoldOperation() 86 return Expr<SomeDerived>{std::move(ctor)}; in FoldOperation() 91 return {FoldOperation(context, std::move(component.base())), in FoldOperation() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/m68k/ |
D | sysv.S | 64 move.l %d2,-(%sp) 71 move.l 8(%fp),-(%sp) 82 move.l %d0,%a1 84 move.l %a0,%a1 88 move.l 24(%fp),%a0 95 move.l 20(%fp),%a1 98 move.l 16(%fp),%d2 111 move.l %d0,(%a1) 117 move.l %d0,(%a1) 118 move.l %d1,4(%a1) [all …]
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | or.ll | 30 ; MM: move $2, $[[T0]] 45 ; MM: move $2, $[[T0]] 60 ; MM: move $2, $[[T0]] 77 ; MM32: move $2, $[[T0]] 97 ; MM32: move $2, $[[T0]] 98 ; MM32: move $3, $[[T1]] 142 ; ALL: move $2, $4 183 ; GP32: move $2, $4 188 ; MM32: move $2, $4 201 ; GP32: move $2, $4 [all …]
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_piecewise_pair.pass.cpp | 45 A.construct(ptr, std::piecewise_construct, std::move(ttuple), std::move(utuple)); in doTest() 62 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 68 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 74 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 80 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 91 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 97 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 103 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 109 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 138 std::tuple<int&, double&&> t2(x, std::move(dx)); in main() [all …]
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_piecewise_pair.pass.cpp | 47 A.construct(ptr, std::piecewise_construct, std::move(ttuple), std::move(utuple)); in doTest() 64 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 70 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 76 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 82 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator() 93 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 99 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 105 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 111 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator() 140 std::tuple<int&, double&&> t2(x, std::move(dx)); in main() [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
D | get_const_rv.pass.cpp | 33 static_assert(std::is_same<const int&&, decltype(std::get<0>(std::move(t)))>::value, ""); in main() 34 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main() 35 const int&& i = std::get<0>(std::move(t)); in main() 42 … static_assert(std::is_same<const std::string&&, decltype(std::get<0>(std::move(t)))>::value, ""); in main() 43 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main() 44 static_assert(std::is_same<const int&&, decltype(std::get<1>(std::move(t)))>::value, ""); in main() 45 static_assert(noexcept(std::get<1>(std::move(t))), ""); in main() 46 const std::string&& s = std::get<0>(std::move(t)); in main() 47 const int&& i = std::get<1>(std::move(t)); in main() 56 static_assert(std::is_same<int&, decltype(std::get<0>(std::move(p)))>::value, ""); in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
D | get_const_rv.pass.cpp | 32 static_assert(std::is_same<const int&&, decltype(std::get<0>(std::move(t)))>::value, ""); in main() 33 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main() 34 const int&& i = std::get<0>(std::move(t)); in main() 41 … static_assert(std::is_same<const std::string&&, decltype(std::get<0>(std::move(t)))>::value, ""); in main() 42 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main() 43 static_assert(std::is_same<const int&&, decltype(std::get<1>(std::move(t)))>::value, ""); in main() 44 static_assert(noexcept(std::get<1>(std::move(t))), ""); in main() 45 const std::string&& s = std::get<0>(std::move(t)); in main() 46 const int&& i = std::get<1>(std::move(t)); in main() 55 static_assert(std::is_same<int&, decltype(std::get<0>(std::move(p)))>::value, ""); in main() [all …]
|
/external/perfetto/src/trace_processor/metrics/chrome/ |
D | scroll_jank_cause_blocking_touch_move.sql | 27 move.* 32 FROM slice move 34 ) move JOIN ( 46 ) flow ON flow.begin_flow_trace_id = move.trace_id; 58 move.* 59 FROM touch_move_and_begin_flow move LEFT JOIN ( 72 flow.end_flow_trace_id = move.trace_id AND 73 move.begin_flow_track_id = flow.end_flow_track_id AND 74 flow.end_flow_id != move.begin_flow_id 88 move.* [all …]
|
/external/libcxx/test/std/utilities/variant/variant.get/ |
D | get_index.pass.cpp | 88 const V v(std::move(x)); in test_const_lvalue_get() 95 const V v(std::move(x)); in test_const_lvalue_get() 135 V v(std::move(x)); in test_lvalue_get() 142 V v(std::move(x)); in test_lvalue_get() 153 ASSERT_NOT_NOEXCEPT(std::get<0>(std::move(v))); in test_rvalue_get() 154 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &&); in test_rvalue_get() 155 assert(std::get<0>(std::move(v)) == 42); in test_rvalue_get() 160 ASSERT_SAME_TYPE(decltype(std::get<1>(std::move(v))), const long &&); in test_rvalue_get() 161 assert(std::get<1>(std::move(v)) == 42); in test_rvalue_get() 169 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &); in test_rvalue_get() [all …]
|
D | get_type.pass.cpp | 82 const V v(std::move(x)); in test_const_lvalue_get() 89 const V v(std::move(x)); in test_const_lvalue_get() 129 V v(std::move(x)); in test_lvalue_get() 136 V v(std::move(x)); in test_lvalue_get() 147 ASSERT_NOT_NOEXCEPT(std::get<int>(std::move(v))); in test_rvalue_get() 148 ASSERT_SAME_TYPE(decltype(std::get<int>(std::move(v))), int &&); in test_rvalue_get() 149 assert(std::get<int>(std::move(v)) == 42); in test_rvalue_get() 154 ASSERT_SAME_TYPE(decltype(std::get<const long>(std::move(v))), in test_rvalue_get() 156 assert(std::get<const long>(std::move(v)) == 42); in test_rvalue_get() 164 ASSERT_SAME_TYPE(decltype(std::get<int &>(std::move(v))), int &); in test_rvalue_get() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.get/ |
D | get_index.pass.cpp | 90 const V v(std::move(x)); in test_const_lvalue_get() 97 const V v(std::move(x)); in test_const_lvalue_get() 137 V v(std::move(x)); in test_lvalue_get() 144 V v(std::move(x)); in test_lvalue_get() 155 ASSERT_NOT_NOEXCEPT(std::get<0>(std::move(v))); in test_rvalue_get() 156 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &&); in test_rvalue_get() 157 assert(std::get<0>(std::move(v)) == 42); in test_rvalue_get() 162 ASSERT_SAME_TYPE(decltype(std::get<1>(std::move(v))), const long &&); in test_rvalue_get() 163 assert(std::get<1>(std::move(v)) == 42); in test_rvalue_get() 171 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &); in test_rvalue_get() [all …]
|