Searched refs:ptr_ (Results 1 – 8 of 8) sorted by relevance
224 unique_ptr() : ptr_(nullptr) {}225 explicit unique_ptr(T* p) : ptr_(p) {}248 T* operator->() const { return ptr_; }254 T* value = ptr_;255 ptr_ = nullptr;260 T* value = ptr_;261 ptr_ = p;266 T* temp_ptr = ptr_;267 ptr_ = u.ptr_;268 u.ptr_ = temp_ptr;[all …]
26 detail::SystemAlignedFree(ptr_); in ~Allocator()33 void* ret = static_cast<char*>(ptr_) + current_; in AllocateFast()113 detail::SystemAlignedFree(ptr_); in FreeAll()114 ptr_ = detail::SystemAlignedAlloc(new_size); in FreeAll()
87 ptr_ = ptr; in set()91 ptr_ = ptr; in set()94 void set(std::nullptr_t) { ptr_ = nullptr; } in set()97 return const_cast<T*>(ptr_); in get()99 const T* get() const { return ptr_; } in get()104 const T* ptr_ = nullptr; variable
91 void* ptr_ = nullptr; variable
16 #define container_of(ptr_, type_, member_) \ argument17 ((type_ *)((char *)ptr_ - OFFSETOF(type_, member_)))
1374 : ptr_{cloneUnique(that.ptr_)} {} in Comments()1377 : ptr_{std::move(that.ptr_)} {} in Comments()1380 ptr_ = cloneUnique(that.ptr_); in operator =()1385 ptr_ = std::move(that.ptr_); in operator =()1390 return ptr_ && !(*ptr_)[slot].empty(); in has()1394 if (!ptr_) in get()1396 return (*ptr_)[slot]; in get()1400 if (!ptr_) { in set()1401 ptr_ = std::unique_ptr<Array>(new Array()); in set()1405 (*ptr_)[slot] = std::move(comment); in set()
63 void* ptr_; member123 b->ptr_ = ptr; in AddMem()143 while (*b != NULL && (*b)->ptr_ != ptr) b = &(*b)->next_; in SubMem()
647 std::unique_ptr<Array> ptr_; variable
Completed in 14 milliseconds