Searched refs:ptr_ (Results 1 – 5 of 5) sorted by relevance
42 void reset(const T* p_value) { ptr_.reset(p_value); } in reset()55 if (ptr_ == nullptr && errmsg != nullptr) in GetValue()58 return ptr_.release(); in GetValue()63 std::unique_ptr<const T> ptr_;
311 return ptr_; in get()317 if (ptr == ptr_) {321 if (ptr_) {322 ptr_->weak_ptrs_.erase(323 std::remove(ptr_->weak_ptrs_.begin(), ptr_->weak_ptrs_.end(), this));326 ptr_ = ptr;327 if (ptr_) {328 ptr_->weak_ptrs_.push_back(this);334 T* ptr_ = nullptr;343 weak->ptr_ = nullptr;
40 explicit OwnedArrayWrapper(T* o) : ptr_(o) {} in OwnedArrayWrapper()41 ~OwnedArrayWrapper() { delete[] ptr_; } in ~OwnedArrayWrapper()42 T* get() const { return ptr_; } in get()44 ptr_ = other.ptr_; in OwnedArrayWrapper()45 other.ptr_ = NULL; in OwnedArrayWrapper()49 mutable T* ptr_; member in __anon2d15a2e60111::OwnedArrayWrapper
37 void* Get() { return reinterpret_cast<void*>(~ptr_); } in Get()44 void Set(void* ptr) { ptr_ = ~reinterpret_cast<uintptr_t>(ptr); } in Set()45 volatile uintptr_t ptr_; member in android::HiddenPointer
117 constexpr Span(T* array, size_t length) : ptr_(array), len_(length) {} in Span()123 constexpr T* data() const { return ptr_; } in data()132 T* ptr_;