Home
last modified time | relevance | path

Searched refs:LocalPointerBase (Results 1 – 7 of 7) sorted by relevance

/external/icu/libandroidicu/include/unicode/
Dlocalpointer.h68 class LocalPointerBase {
82 explicit LocalPointerBase(T *p=NULL) : ptr(p) {} in ptr()
88 ~LocalPointerBase() { /* delete ptr; */ } in ~LocalPointerBase()
165 bool operator==(const LocalPointerBase<T> &other);
166 bool operator!=(const LocalPointerBase<T> &other);
168 LocalPointerBase(const LocalPointerBase<T> &other);
169 void operator=(const LocalPointerBase<T> &other);
191 class LocalPointer : public LocalPointerBase<T> {
193 using LocalPointerBase<T>::operator*;
194 using LocalPointerBase<T>::operator->;
[all …]
/external/icu/icu4c/source/common/unicode/
Dlocalpointer.h68 class LocalPointerBase {
82 explicit LocalPointerBase(T *p=NULL) : ptr(p) {} in ptr()
88 ~LocalPointerBase() { /* delete ptr; */ } in ~LocalPointerBase()
165 bool operator==(const LocalPointerBase<T> &other);
166 bool operator!=(const LocalPointerBase<T> &other);
168 LocalPointerBase(const LocalPointerBase<T> &other);
169 void operator=(const LocalPointerBase<T> &other);
191 class LocalPointer : public LocalPointerBase<T> {
193 using LocalPointerBase<T>::operator*;
194 using LocalPointerBase<T>::operator->;
[all …]
/external/icu/icu4c/source/common/
Dcmemory.h138 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()
[all …]
/external/icu/icu4c/source/i18n/
Derarules.h26 template class U_I18N_API LocalPointerBase<int32_t>; variable
Dnumber_decimfmtprops.h29 template class U_I18N_API LocalPointerBase<CurrencyPluralInfo>; variable
Dnumber_patternmodifier.h29 template class U_I18N_API LocalPointerBase<number::impl::AdoptingModifierStore>; variable
/external/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp63 using icu::LocalPointerBase;