/aosp_15_r20/external/harfbuzz_ng/src/ |
H A D | hb-cplusplus.hh | 90 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() function 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 …]
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | rval-references-examples.cpp | 4 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
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/move/include/boost/move/ |
D | unique_ptr.hpp | 354 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
|
/aosp_15_r20/external/rust/cxx/tests/ |
D | test.rs | 119 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
|
D | unique_ptr.rs | 6 let unique_ptr = UniquePtr::<CxxString>::null(); in test_deref_null() localVariable
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/tests/ |
H A D | test.rs | 119 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
|
H A D | unique_ptr.rs | 6 let unique_ptr = UniquePtr::<CxxString>::null(); in test_deref_null() localVariable
|
/aosp_15_r20/external/clang/test/CodeGenCXX/ |
H A D | debug-info-template-array.cpp | 4 struct unique_ptr { struct 5 unique_ptr() {} in unique_ptr() argument
|
H A D | pr18635.cpp | 9 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
|
H A D | debug-info-template-partial-specialization.cpp | 24 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
|
/aosp_15_r20/external/flatbuffers/include/flatbuffers/ |
H A D | stl_emulation.h | 108 template <class T> using unique_ptr = std::unique_ptr<T>; variable 117 unique_ptr() {} in unique_ptr() function 118 explicit unique_ptr(T* p) : std::unique_ptr<T>(p) {} in unique_ptr() function 119 unique_ptr(std::unique_ptr<T>&& u) { *this = std::move(u); } in unique_ptr() function 120 unique_ptr(unique_ptr&& u) { *this = std::move(u); } in unique_ptr() function
|
/aosp_15_r20/prebuilts/android-emulator/linux-x86_64/include/flatbuffers/ |
H A D | stl_emulation.h | 108 template <class T> using unique_ptr = std::unique_ptr<T>; variable 117 unique_ptr() {} in unique_ptr() function 118 explicit unique_ptr(T* p) : std::unique_ptr<T>(p) {} in unique_ptr() function 119 unique_ptr(std::unique_ptr<T>&& u) { *this = std::move(u); } in unique_ptr() function 120 unique_ptr(unique_ptr&& u) { *this = std::move(u); } in unique_ptr() function
|
/aosp_15_r20/system/memory/libmemunreachable/ |
D | Allocator.h | 76 using unique_ptr = std::unique_ptr<T, std::function<void(void*)>>; variable 175 using unique_ptr = Heap::unique_ptr<T>; variable
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/src/ |
H A D | lib.rs | 473 mod unique_ptr; module
|
/aosp_15_r20/external/rust/cxx/src/ |
D | lib.rs | 472 mod unique_ptr; module
|
/aosp_15_r20/frameworks/native/libs/ftl/ |
H A D | non_null_test.cpp | 42 auto unique_ptr = std::move(non_null_ptr).take(); in dupe_if() local
|
/aosp_15_r20/trusty/user/base/lib/libstdc++-trusty/test/ |
D | libcxx_test.cpp | 119 TEST_F(libcxx, unique_ptr) { in TEST_F() argument
|
/aosp_15_r20/external/swiftshader/third_party/marl/include/marl/ |
H A D | memory.h | 110 using unique_ptr = std::unique_ptr<T, Deleter>; variable
|
/aosp_15_r20/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 5855 using unique_ptr = std::unique_ptr<wuffs_base__hasher_u32, decltype(&free)>; member 6006 using unique_ptr = std::unique_ptr<wuffs_base__image_decoder, decltype(&free)>; member 6147 using unique_ptr = std::unique_ptr<wuffs_base__io_transformer, decltype(&free)>; member 6225 using unique_ptr = std::unique_ptr<wuffs_base__token_decoder, decltype(&free)>; member 6365 using unique_ptr = std::unique_ptr<wuffs_adler32__hasher, decltype(&free)>; member 6649 using unique_ptr = std::unique_ptr<wuffs_bmp__decoder, decltype(&free)>; member 6933 using unique_ptr = std::unique_ptr<wuffs_cbor__decoder, decltype(&free)>; member 7121 using unique_ptr = std::unique_ptr<wuffs_crc32__ieee_hasher, decltype(&free)>; member 7381 using unique_ptr = std::unique_ptr<wuffs_deflate__decoder, decltype(&free)>; member 7611 using unique_ptr = std::unique_ptr<wuffs_lzw__decoder, decltype(&free)>; member [all …]
|
/aosp_15_r20/external/wuffs-mirror-release-c/release/c/ |
H A D | wuffs-v0.3.c | 5845 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 …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/wuffs/ |
H A D | wuffs-v0.4.c | 6054 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 …]
|
/aosp_15_r20/system/libbase/ |
H A D | result_test.cpp | 495 TEST(result, unique_ptr) { in TEST() argument
|