Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-cplusplus.hh90 struct unique_ptr struct
92 using element_type = T;
94 using v = vtable<T>;
96 explicit unique_ptr (T *p = nullptr) : p (p) {} in unique_ptr() argument
98 unique_ptr (unique_ptr &&o) noexcept : p (o.p) { o.p = nullptr; } in unique_ptr() function
100 …tr& operator = (unique_ptr &&o) noexcept { v::destroy (p); p = o.p; o.p = nullptr; return *this; } in operator =()
101 ~unique_ptr () { v::destroy (p); p = nullptr; } in ~unique_ptr()
103 T* get() const { return p; } in get()
104 T* release () { T* v = p; p = nullptr; return v; } in release()
106 void swap (unique_ptr &o) noexcept { std::swap (p, o.p); } in swap()
[all …]
/external/clang/test/CodeGenCXX/
Ddebug-info-template-array.cpp4 struct unique_ptr { struct
5 unique_ptr() {} in unique_ptr() argument
Dpr18635.cpp9 template <typename T> class unique_ptr { class
16 constexpr unique_ptr() noexcept : data() {} in unique_ptr() function in unique_ptr
17 explicit unique_ptr(T *p) noexcept : data() {} in unique_ptr() function in unique_ptr
Ddebug-info-template-partial-specialization.cpp24 template <class _Tp, class _Dp = default_delete<_Tp> > class unique_ptr class
27 unique_ptr(pointer __p, _Dp __d) {} in unique_ptr() function in unique_ptr
/external/clang/test/SemaCXX/
Drval-references-examples.cpp4 class unique_ptr { class
10 unique_ptr() : ptr(0) { } in unique_ptr() function in unique_ptr
11 unique_ptr(unique_ptr &&other) : ptr(other.ptr) { other.ptr = 0; } in unique_ptr() function in unique_ptr
12 explicit unique_ptr(T *ptr) : ptr(ptr) { } in unique_ptr() function in unique_ptr
/external/rust/cxx/tests/
Dtest.rs119 let unique_ptr = ffi::c_return_unique_ptr(); in test_c_take() localVariable
252 let mut unique_ptr = ffi::c_return_unique_ptr(); in test_c_method_calls() localVariable
292 let unique_ptr = ffi2::ns_c_return_unique_ptr_ns(); in test_c_ns_method_calls() localVariable
326 let unique_ptr = ffi::c_return_unique_ptr(); in test_rust_name_attribute() localVariable
Dunique_ptr.rs6 let unique_ptr = UniquePtr::<CxxString>::null(); in test_deref_null() localVariable
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/tests/
Dtest.rs121 let unique_ptr = ffi::c_return_unique_ptr(); in test_c_take() localVariable
254 let mut unique_ptr = ffi::c_return_unique_ptr(); in test_c_method_calls() localVariable
294 let unique_ptr = ffi2::ns_c_return_unique_ptr_ns(); in test_c_ns_method_calls() localVariable
328 let unique_ptr = ffi::c_return_unique_ptr(); in test_rust_name_attribute() localVariable
Dunique_ptr.rs6 let unique_ptr = UniquePtr::<CxxString>::null(); in test_deref_null() localVariable
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/tests/
Dtest.rs121 let unique_ptr = ffi::c_return_unique_ptr(); in test_c_take() localVariable
254 let mut unique_ptr = ffi::c_return_unique_ptr(); in test_c_method_calls() localVariable
294 let unique_ptr = ffi2::ns_c_return_unique_ptr_ns(); in test_c_ns_method_calls() localVariable
328 let unique_ptr = ffi::c_return_unique_ptr(); in test_rust_name_attribute() localVariable
Dunique_ptr.rs6 let unique_ptr = UniquePtr::<CxxString>::null(); in test_deref_null() localVariable
/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h113 template <class T> using unique_ptr = std::unique_ptr<T>; variable
122 unique_ptr() {} in unique_ptr() function
123 explicit unique_ptr(T* p) : std::unique_ptr<T>(p) {} in unique_ptr() function
124 unique_ptr(std::unique_ptr<T>&& u) { *this = std::move(u); } in unique_ptr() function
125 unique_ptr(unique_ptr&& u) { *this = std::move(u); } in unique_ptr() function
/external/sdv/vsomeip/third_party/boost/move/include/boost/move/
Dunique_ptr.hpp354 class unique_ptr class
392 BOOST_MOVE_FORCEINLINE BOOST_CONSTEXPR unique_ptr() BOOST_NOEXCEPT in unique_ptr() function in boost::movelib::unique_ptr
403 …BOOST_MOVE_FORCEINLINE BOOST_CONSTEXPR unique_ptr(BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) BOOST_N… in unique_ptr() function in boost::movelib::unique_ptr
477 …BOOST_MOVE_FORCEINLINE unique_ptr(BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), BOOST_MOVE_SEEDOC(delet… in unique_ptr() function in boost::movelib::unique_ptr
515 …BOOST_MOVE_FORCEINLINE unique_ptr(BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), BOOST_MOVE_SEEDOC(delet… in unique_ptr() function in boost::movelib::unique_ptr
529 BOOST_MOVE_FORCEINLINE unique_ptr(BOOST_RV_REF(unique_ptr) u) BOOST_NOEXCEPT in unique_ptr() function in boost::movelib::unique_ptr
598 BOOST_MOVE_DOC1ST(unique_ptr&, typename bmupd::enable_up_moveconv_assign in BOOST_MOVE_DOC1ST() argument
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/src/
Dlib.rs474 mod unique_ptr; module
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/src/
Dlib.rs474 mod unique_ptr; module
/external/rust/cxx/src/
Dlib.rs472 mod unique_ptr; module
/external/swiftshader/third_party/marl/include/marl/
Dmemory.h110 using unique_ptr = std::unique_ptr<T, Deleter>; variable
/external/wuffs-mirror-release-c/release/c/
Dwuffs-v0.3.c5845 using unique_ptr = std::unique_ptr<wuffs_base__hasher_u32, decltype(&free)>; member
5996 using unique_ptr = std::unique_ptr<wuffs_base__image_decoder, decltype(&free)>; member
6137 using unique_ptr = std::unique_ptr<wuffs_base__io_transformer, decltype(&free)>; member
6215 using unique_ptr = std::unique_ptr<wuffs_base__token_decoder, decltype(&free)>; member
6355 using unique_ptr = std::unique_ptr<wuffs_adler32__hasher, decltype(&free)>; member
6639 using unique_ptr = std::unique_ptr<wuffs_bmp__decoder, decltype(&free)>; member
6923 using unique_ptr = std::unique_ptr<wuffs_cbor__decoder, decltype(&free)>; member
7111 using unique_ptr = std::unique_ptr<wuffs_crc32__ieee_hasher, decltype(&free)>; member
7372 using unique_ptr = std::unique_ptr<wuffs_deflate__decoder, decltype(&free)>; member
7602 using unique_ptr = std::unique_ptr<wuffs_lzw__decoder, decltype(&free)>; member
[all …]
/external/coreboot/src/vendorcode/wuffs/
Dwuffs-v0.4.c6054 using unique_ptr = std::unique_ptr<wuffs_base__hasher_u32, wuffs_unique_ptr_deleter>; member
6161 using unique_ptr = std::unique_ptr<wuffs_base__hasher_u64, wuffs_unique_ptr_deleter>; member
6359 using unique_ptr = std::unique_ptr<wuffs_base__image_decoder, wuffs_unique_ptr_deleter>; member
6531 using unique_ptr = std::unique_ptr<wuffs_base__io_transformer, wuffs_unique_ptr_deleter>; member
6640 using unique_ptr = std::unique_ptr<wuffs_base__token_decoder, wuffs_unique_ptr_deleter>; member
6813 using unique_ptr = std::unique_ptr<wuffs_adler32__hasher, wuffs_unique_ptr_deleter>; member
7147 using unique_ptr = std::unique_ptr<wuffs_bmp__decoder, wuffs_unique_ptr_deleter>; member
7502 using unique_ptr = std::unique_ptr<wuffs_bzip2__decoder, wuffs_unique_ptr_deleter>; member
7758 using unique_ptr = std::unique_ptr<wuffs_cbor__decoder, wuffs_unique_ptr_deleter>; member
7980 using unique_ptr = std::unique_ptr<wuffs_crc32__ieee_hasher, wuffs_unique_ptr_deleter>; member
[all …]