/external/harfbuzz_ng/src/ |
D | hb-cplusplus.hh | 93 struct unique_ptr struct 95 using element_type = T; 97 using v = vtable<T>; 99 explicit unique_ptr (T *p = nullptr) : p (p) {} in unique_ptr() function 101 unique_ptr (unique_ptr &&o) : p (o.p) { o.p = nullptr; } in unique_ptr() argument 103 unique_ptr& operator = (unique_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; } in operator =() 104 ~unique_ptr () { v::destroy (p); p = nullptr; } in ~unique_ptr() 106 T* get() const { return p; } in get() 107 T* release () { T* v = p; p = nullptr; return v; } in release() 109 void swap (unique_ptr &o) { std::swap (p, o.p); } in swap() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-template-array.cpp | 4 struct unique_ptr { struct 5 unique_ptr() {} in unique_ptr() argument
|
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
|
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
|
/external/clang/test/SemaCXX/ |
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
|
/external/rust/cxx/tests/ |
D | test.rs | 118 let unique_ptr = ffi::c_return_unique_ptr(); in test_c_take() localVariable 251 let mut unique_ptr = ffi::c_return_unique_ptr(); in test_c_method_calls() localVariable 291 let unique_ptr = ffi2::ns_c_return_unique_ptr_ns(); in test_c_ns_method_calls() localVariable 325 let unique_ptr = ffi::c_return_unique_ptr(); in test_rust_name_attribute() localVariable
|
D | unique_ptr.rs | 8 let unique_ptr = UniquePtr::<CxxString>::null(); in test_deref_null() localVariable
|
/external/flatbuffers/include/flatbuffers/ |
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
|
/external/rust/cxx/src/ |
D | lib.rs | 461 mod unique_ptr; module
|
/external/swiftshader/third_party/marl/include/marl/ |
D | memory.h | 110 using unique_ptr = std::unique_ptr<T, Deleter>; variable
|
/external/wuffs-mirror-release-c/release/c/ |
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 …]
|