Home
last modified time | relevance | path

Searched defs:Deleter (Results 1 – 19 of 19) sorted by relevance

/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/
H A Dget_deleter.pass.cpp21 struct Deleter { struct
22 TEST_CONSTEXPR_CXX23 Deleter() {} in Deleter() function
34 std::unique_ptr<int, Deleter> p; in test_basic() argument
/llvm-project/flang/tools/f18-parse-demo/
H A Dstub-evaluate.cpp18 void GenericExprWrapper::Deleter(GenericExprWrapper *) {} in Deleter() function in Fortran::evaluate::GenericExprWrapper
22 void GenericAssignmentWrapper::Deleter(GenericAssignmentWrapper *) {} in Deleter() function in Fortran::evaluate::GenericAssignmentWrapper
26 void ProcedureRef::Deleter(ProcedureRef *) {} in Deleter() function in Fortran::evaluate::ProcedureRef
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/
H A Dmain.cpp4 struct Deleter { struct
21 std::unique_ptr<char, Deleter> ndp; in main() argument
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
H A Ddeduct.pass.cpp26 struct Deleter { struct
35 // Cannot deduce from (ptr, Deleter&&). in main() argument
H A Dpointer_deleter.verify.cpp17 struct Deleter { struct
22 // expected-error@+1 {{call to deleted constructor of 'std::unique_ptr<int, const Deleter &>}} in main() argument
H A Dauto_pointer.pass.cpp46 struct Deleter { struct
54 using U = std::unique_ptr<int, Deleter>; in test_sfinae() argument
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.dtor/
H A Dnull.pass.cpp20 class Deleter { class
27 TEST_CONSTEXPR_CXX23 Deleter() : state_(0) {} in Deleter() function in Deleter
/llvm-project/libcxx/test/support/
H A Ddeleter_types.h36 TEST_CONSTEXPR_CXX23 Deleter(Deleter&& r) : state_(r.state_) { r.state_ = 0; } in Deleter() function
43 TEST_CONSTEXPR_CXX23 Deleter() : state_(0) {} in Deleter() function
44 TEST_CONSTEXPR_CXX23 explicit Deleter(int s) : state_(s) {} in Deleter() function
75 TEST_CONSTEXPR_CXX23 Deleter(Deleter&& r) : state_(r.state_) { r.state_ = 0; } in Deleter() function
82 TEST_CONSTEXPR_CXX23 Deleter() : state_(0) {} in Deleter() function
83 TEST_CONSTEXPR_CXX23 explicit Deleter(int s) : state_(s) {} in Deleter() function
102 Deleter() : state_(0) {} in Deleter() function
103 explicit Deleter(int s) : state_(s) {} in Deleter() function
105 Deleter(Deleter const& other) : state_(other.state_) { other.state_ = 0; } in Deleter() function
132 Deleter(Deleter const& other) : state_(other.state_) { other.state_ = 0; } in Deleter() function
[all …]
/llvm-project/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dfunction_type_default_deleter.verify.cpp30 struct Deleter { global() struct
45 operator ()Deleter main() argument
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/
H A Dpointer_type.pass.cpp20 struct Deleter { struct
41 typedef std::unique_ptr<VT, Deleter> P; in test_basic() argument
/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A Dpr40459.pass.cpp35 struct Deleter { struct
48 std::shared_ptr<B> sp = std::shared_ptr<B>(pb, Deleter()); in main() argument
/llvm-project/compiler-rt/lib/scudo/standalone/benchmarks/
H A Dmalloc_benchmark.cpp
/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dtsd_test.cpp77 auto Deleter = [](AllocatorT *A) { in TEST() local
92 auto Deleter = [](AllocatorT *A) { in testRegistry() local
160 auto Deleter = [](AllocatorT *A) { in testRegistryThreaded() local
212 auto Deleter = [](AllocatorT *A) { in TEST() local
/llvm-project/clang/test/Analysis/
H A Ddtor.cpp35 SmartPointer Deleter(mem); in testSmartPointer() local
46 SmartPointer Deleter(mem); in testSmartPointer2() local
63 Subclass Deleter(mem); in testSubclassSmartPointer() local
80 MultipleInheritance Deleter(mem, 0); in testMultipleInheritance1() local
91 MultipleInheritance Deleter(0, mem); in testMultipleInheritance2() local
102 MultipleInheritance Deleter(mem, mem); in testMultipleInheritance3() local
120 SmartPointerMember Deleter(mem); in testSmartPointerMember() local
/llvm-project/llvm/lib/Support/
H A DParallel.cpp97 struct Deleter { global() struct in llvm::parallel::detail::__anon5042709c0111::ThreadPoolExecutor
98 callllvm::parallel::detail::__anon5042709c0111::ThreadPoolExecutor::Deleter call() argument
/llvm-project/flang/lib/Evaluate/
H A Dexpression.cpp316 void GenericExprWrapper::Deleter(GenericExprWrapper *p) { delete p; } Deleter() function in Fortran::evaluate::GenericExprWrapper
320 void GenericAssignmentWrapper::Deleter(GenericAssignmentWrapper *p) { Deleter() function in Fortran::evaluate::GenericAssignmentWrapper
H A Dcall.cpp248 void ProcedureRef::Deleter(ProcedureRef *p) { delete p; } in Deleter() function in Fortran::evaluate::ProcedureRef
/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp457 typedef decltype(&::free) Deleter; __current_path() typedef
481 struct Deleter { __current_path() struct
482 operator ()__current_path::Deleter __current_path() argument
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1713 struct Deleter : public SelectionDAG::DAGNodeDeletedListener { global() struct
1715 Deleter__anon9dd6b35a0e11::Deleter Deleter() argument
1716 __anon9dd6b35a0f02__anon9dd6b35a0e11::Deleter Deleter() argument