Lines Matching refs:LocalPointerBase
138 class LocalMemory : public LocalPointerBase<T> {
140 using LocalPointerBase<T>::operator*;
141 using LocalPointerBase<T>::operator->;
146 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}
151 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory()
158 uprv_free(LocalPointerBase<T>::ptr); in ~LocalMemory()
167 uprv_free(LocalPointerBase<T>::ptr);
168 LocalPointerBase<T>::ptr=src.ptr;
177 T *temp=LocalPointerBase<T>::ptr; in swap()
178 LocalPointerBase<T>::ptr=other.ptr; in swap()
195 uprv_free(LocalPointerBase<T>::ptr); in adoptInstead()
196 LocalPointerBase<T>::ptr=p; in adoptInstead()
225 T &operator[](ptrdiff_t i) const { return LocalPointerBase<T>::ptr[i]; }
234 uprv_free(LocalPointerBase<T>::ptr); in allocateInsteadAndReset()
235 LocalPointerBase<T>::ptr=p; in allocateInsteadAndReset()
253 uprv_memcpy(p, LocalPointerBase<T>::ptr, (size_t)length*sizeof(T)); in allocateInsteadAndCopy()
255 uprv_free(LocalPointerBase<T>::ptr); in allocateInsteadAndCopy()
256 LocalPointerBase<T>::ptr=p; in allocateInsteadAndCopy()