Home
last modified time | relevance | path

Searched refs:LocalMemory (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/common/
Dcmemory.h156 class LocalMemory : public LocalPointerBase<T> {
164 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}
170 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory() function
177 ~LocalMemory() { in ~LocalMemory()
187 LocalMemory<T> &operator=(LocalMemory<T> &&src) U_NOEXCEPT {
199 LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT { in moveFrom()
209 void swap(LocalMemory<T> &other) U_NOEXCEPT { in swap()
219 friend inline void swap(LocalMemory<T> &p1, LocalMemory<T> &p2) U_NOEXCEPT { in swap()
262 inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) { in allocateInsteadAndReset()
278 inline T *LocalMemory<T>::allocateInsteadAndCopy(int32_t newCapacity, int32_t length) { in allocateInsteadAndCopy()
Dusprep.cpp335 LocalMemory<UStringPrepProfile> newProfile; in usprep_getProfile()
354 LocalMemory<UStringPrepKey> key; in usprep_getProfile()
355 LocalMemory<char> keyName; in usprep_getProfile()
356 LocalMemory<char> keyPath; in usprep_getProfile()
Dfilteredbrk.cpp579 LocalMemory<int> partials; in build()
Duloc.cpp2384 LocalMemory<const char*> strs(NULL); in uloc_acceptLanguageFromHTTP()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp80 using icu::LocalMemory;
980 icu::LocalMemory<uint8_t> buffer; in addCollation()
1456 LocalMemory<char> string(getInvariantString(state, &line, NULL, status)); in parseBinary()
1475 LocalMemory<uint8_t> value; in parseBinary()
1569 LocalMemory<char> filename(getInvariantString(state, &line, NULL, status)); in parseImport()
1605 LocalMemory<uint8_t> data; in parseImport()
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp434 LocalMemory<MessageFormat *> localFormatters( in put()
582 LocalMemory<MessageFormat *> localFormatters( in searchInLocaleChain()
653 LocalMemory<MessageFormat *> localFormatters ( in searchInLocaleChain()
Dcollationdatawriter.cpp37 LocalMemory<uint8_t> buffer((uint8_t *)uprv_malloc(20000)); in cloneRuleData()
Ddtptngen.cpp447 LocalMemory<int32_t> list; in put()
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp331 icu::LocalMemory<uint8_t> data((uint8_t *)uprv_malloc(length)); in readFile()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1440 LocalMemory<uint8_t> mergedKey; in getMergedCollationKey()