Lines Matching refs:LocalPointerBase
135 class LocalMemory : public LocalPointerBase<T> {
137 using LocalPointerBase<T>::operator*;
138 using LocalPointerBase<T>::operator->;
143 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}
148 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory()
155 uprv_free(LocalPointerBase<T>::ptr); in ~LocalMemory()
175 uprv_free(LocalPointerBase<T>::ptr); in moveFrom()
176 LocalPointerBase<T>::ptr=src.ptr; in moveFrom()
185 T *temp=LocalPointerBase<T>::ptr; in swap()
186 LocalPointerBase<T>::ptr=other.ptr; in swap()
203 uprv_free(LocalPointerBase<T>::ptr); in adoptInstead()
204 LocalPointerBase<T>::ptr=p; in adoptInstead()
233 T &operator[](ptrdiff_t i) const { return LocalPointerBase<T>::ptr[i]; }
242 uprv_free(LocalPointerBase<T>::ptr); in allocateInsteadAndReset()
243 LocalPointerBase<T>::ptr=p; in allocateInsteadAndReset()
261 uprv_memcpy(p, LocalPointerBase<T>::ptr, (size_t)length*sizeof(T)); in allocateInsteadAndCopy()
263 uprv_free(LocalPointerBase<T>::ptr); in allocateInsteadAndCopy()
264 LocalPointerBase<T>::ptr=p; in allocateInsteadAndCopy()