Home
last modified time | relevance | path

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

12

/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dspecial_member_generation_test.pass.cpp34 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test()
37 static_assert(std::is_copy_constructible<P1>::value == CanCopy, ""); in test()
39 static_assert(std::is_copy_constructible<P2>::value == CanCopy, ""); in test()
82 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test()
85 static_assert(std::is_copy_assignable<P1>::value == CanCopy, ""); in test()
87 static_assert(std::is_copy_assignable<P2>::value == CanCopy, ""); in test()
Dconst_first_const_second.pass.cpp39 bool CanCopy = true, bool CanConvert = CanCopy>
45 static_assert(std::is_constructible<P1, T1Arg, T2>::value == CanCopy, ""); in test_sfinae()
47 static_assert(std::is_constructible<P2, T2, T1Arg>::value == CanCopy, ""); in test_sfinae()
DU_V.pass.cpp29 bool CanCopy = true, bool CanConvert = CanCopy>
34 static_assert(std::is_constructible<P1, T1Arg, T2>::value == CanCopy, ""); in test_sfinae()
36 static_assert(std::is_constructible<P2, T2, T1Arg>::value == CanCopy, ""); in test_sfinae()
Drv_pair_U_V.pass.cpp28 bool CanCopy = true, bool CanConvert = CanCopy>
35 static_assert(std::is_constructible<P1, UP1>::value == CanCopy, ""); in test_pair_rv()
37 static_assert(std::is_constructible<P2, UP2>::value == CanCopy, ""); in test_pair_rv()
Dconst_pair_U_V.pass.cpp26 template <class T1, class U1, bool CanCopy = true, bool CanConvert = CanCopy>
32 static_assert(std::is_constructible<P1, UP1>::value == CanCopy, ""); in test_pair_const()
34 static_assert(std::is_constructible<P2, UP2>::value == CanCopy, ""); in test_pair_const()
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dspecial_member_generation_test.pass.cpp33 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test()
36 static_assert(std::is_copy_constructible<P1>::value == CanCopy, ""); in test()
38 static_assert(std::is_copy_constructible<P2>::value == CanCopy, ""); in test()
81 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test()
84 static_assert(std::is_copy_assignable<P1>::value == CanCopy, ""); in test()
86 static_assert(std::is_copy_assignable<P2>::value == CanCopy, ""); in test()
Dconst_first_const_second.pass.cpp38 bool CanCopy = true, bool CanConvert = CanCopy>
44 static_assert(std::is_constructible<P1, T1Arg, T2>::value == CanCopy, ""); in test_sfinae()
46 static_assert(std::is_constructible<P2, T2, T1Arg>::value == CanCopy, ""); in test_sfinae()
DU_V.pass.cpp28 bool CanCopy = true, bool CanConvert = CanCopy>
33 static_assert(std::is_constructible<P1, T1Arg, T2>::value == CanCopy, ""); in test_sfinae()
35 static_assert(std::is_constructible<P2, T2, T1Arg>::value == CanCopy, ""); in test_sfinae()
Drv_pair_U_V.pass.cpp27 bool CanCopy = true, bool CanConvert = CanCopy>
34 static_assert(std::is_constructible<P1, UP1>::value == CanCopy, ""); in test_pair_rv()
36 static_assert(std::is_constructible<P2, UP2>::value == CanCopy, ""); in test_pair_rv()
Dconst_pair_U_V.pass.cpp26 bool CanCopy = true, bool CanConvert = CanCopy>
33 static_assert(std::is_constructible<P1, UP1>::value == CanCopy, ""); in test_pair_const()
35 static_assert(std::is_constructible<P2, UP2>::value == CanCopy, ""); in test_pair_const()
/external/llvm-project/llvm/unittests/ADT/
DSTLExtrasTest.cpp134 template <bool B> struct CanCopy {}; struct
135 template <> struct CanCopy<false> { struct
136 CanCopy(const CanCopy &) = delete;
138 CanCopy() = default;
139 CanCopy(CanCopy &&) = default;
143 struct Range : CanMove<Moveable>, CanCopy<Copyable> {
145 Range(const Range &R) : CanCopy<Copyable>(R), C(R.C), M(R.M), D(R.D) { ++C; } in Range()
/external/pdfium/xfa/fxfa/
Dcxfa_ffdatetimeedit.h44 bool CanCopy() override;
Dcxfa_fftextedit.h51 bool CanCopy() override;
Dcxfa_ffcombobox.h34 bool CanCopy() override;
Dcxfa_ffdatetimeedit.cpp236 bool CXFA_FFDateTimeEdit::CanCopy() { in CanCopy() function in CXFA_FFDateTimeEdit
Dcxfa_ffwidget.h130 virtual bool CanCopy();
Dcxfa_ffwidget.cpp506 bool CXFA_FFWidget::CanCopy() { in CanCopy() function in CXFA_FFWidget
527 return CanCopy(); in CanDeSelect()
Dcxfa_ffwidgethandler.cpp155 if (!widget->CanCopy()) in GetSelectedText()
Dcxfa_ffcombobox.cpp235 bool CXFA_FFComboBox::CanCopy() { in CanCopy() function in CXFA_FFComboBox
Dcxfa_fftextedit.cpp396 bool CXFA_FFTextEdit::CanCopy() { in CanCopy() function in CXFA_FFTextEdit
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp177 bool CanCopy = checkCopyToDefsPossible(DstOps); in buildInstr() local
182 if (!CanCopy) { in buildInstr()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp207 bool CanCopy = checkCopyToDefsPossible(DstOps); in buildInstr() local
212 if (!CanCopy) { in buildInstr()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit.h80 bool CanCopy() const;
Dcpwl_edit.cpp89 bool CPWL_Edit::CanCopy() const { in CanCopy() function in CPWL_Edit
95 return CanCopy() && !IsReadOnly(); in CanCut()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.cpp578 bool CanCopy = true; in doConversion() local
646 CanCopy = false; in doConversion()
678 bool UseCopy = CanCopy && ((VarNameFromAlias && !AliasVarIsRef) || in doConversion()

12