Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dcmemory.h135 class LocalMemory : public LocalPointerBase<T> {
143 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}
148 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory() function
154 ~LocalMemory() { in ~LocalMemory()
163 LocalMemory<T> &operator=(LocalMemory<T> &&src) U_NOEXCEPT {
174 LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT { in moveFrom()
184 void swap(LocalMemory<T> &other) U_NOEXCEPT { in swap()
194 friend inline void swap(LocalMemory<T> &p1, LocalMemory<T> &p2) U_NOEXCEPT { in swap()
237 inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) { in allocateInsteadAndReset()
253 inline T *LocalMemory<T>::allocateInsteadAndCopy(int32_t newCapacity, int32_t length) { in allocateInsteadAndCopy()
Dusprep.cpp337 LocalMemory<UStringPrepProfile> newProfile; in usprep_getProfile()
352 LocalMemory<UStringPrepKey> key; in usprep_getProfile()
353 LocalMemory<char> keyName; in usprep_getProfile()
354 LocalMemory<char> keyPath; in usprep_getProfile()
Dlocid.cpp950 LocalMemory<char> scratch; in toLanguageTag()
1418 LocalMemory<char> scratch; in getKeywordValue()
Dfilteredbrk.cpp579 LocalMemory<int> partials; in build()
Duloc.cpp2451 LocalMemory<const char*> strs(NULL); in uloc_acceptLanguageFromHTTP()
/external/icu/icu4c/source/i18n/
Derarules.h26 template class U_I18N_API LocalMemory<int32_t>; variable
83 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
87 LocalMemory<int32_t> startDates;
Derarules.cpp102 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules()
127 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance()
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.cpp516 LocalMemory<int32_t> list; in put()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp80 using icu::LocalMemory;
980 icu::LocalMemory<uint8_t> buffer; in addCollation()
1461 LocalMemory<char> string(getInvariantString(state, &line, NULL, status)); in parseBinary()
1480 LocalMemory<uint8_t> value; in parseBinary()
1574 LocalMemory<char> filename(getInvariantString(state, &line, NULL, status)); in parseImport()
1610 LocalMemory<uint8_t> data; in parseImport()
/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.cpp1436 LocalMemory<uint8_t> mergedKey; in getMergedCollationKey()