Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.h179 std::string testName = LocalMemory() ? "local" : "global"; in SingleTestName()
228 LocalMemory(true); in ExecuteForEachParameterSet()
233 LocalMemory(false); in ExecuteForEachParameterSet()
378 void LocalMemory(bool local) {_localMemory = local;} in LocalMemory() function
379 bool LocalMemory() {return _localMemory;} in LocalMemory() function
404 if(LocalMemory()) in CurrentGroupNum()
430 using CBasicTest<HostAtomicType, HostDataType>::LocalMemory;
475 if(LocalMemory() && in ExecuteSingleTest()
564 using CBasicTestMemOrderScope<HostAtomicType, HostDataType>::LocalMemory;
678 std::string addressSpace = LocalMemory() ? "__local " : "__global "; in ProgramHeader()
[all …]
Dtest_atomics.cpp1600 using CBasicTestMemOrderScope<HostAtomicType, HostDataType>::LocalMemory;
1637 if (!LocalMemory() in ExecuteSingleTest()
1662 std::string(LocalMemory() ? "CLK_LOCAL_MEM_FENCE, " : "CLK_GLOBAL_MEM_FENCE, ") + in ProgramCore()
1664 …std::string(LocalMemory() ? "memory_scope_work_group" : (UseSVM() ? "memory_scope_all_svm_devices"… in ProgramCore()
1671 if (LocalMemory()) in ProgramCore()
1688 std::string(LocalMemory() ? "CLK_LOCAL_MEM_FENCE, " : "CLK_GLOBAL_MEM_FENCE, ") + in ProgramCore()
1690 …std::string(LocalMemory() ? "memory_scope_work_group" : (UseSVM() ? "memory_scope_all_svm_devices"… in ProgramCore()
1802 using CBasicTestMemOrderScope<HostAtomicType, HostDataType>::LocalMemory;
1817 if (LocalMemory()) in NumNonAtomicVariablesPerThread()
1870 && LocalMemory()) in ExecuteSingleTest()
[all …]
/external/icu/libicu/cts_headers/
Derarules.h27 template class U_I18N_API LocalMemory<int32_t>; variable
88 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
92 LocalMemory<int32_t> startDates;
Dcmemory.h138 class LocalMemory : public LocalPointerBase<T> {
146 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}
151 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory() function
157 ~LocalMemory() { in ~LocalMemory()
166 LocalMemory<T> &operator=(LocalMemory<T> &&src) U_NOEXCEPT {
176 void swap(LocalMemory<T> &other) U_NOEXCEPT { in swap()
186 friend inline void swap(LocalMemory<T> &p1, LocalMemory<T> &p2) U_NOEXCEPT { in swap()
229 inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) { in allocateInsteadAndReset()
245 inline T *LocalMemory<T>::allocateInsteadAndCopy(int32_t newCapacity, int32_t length) { in allocateInsteadAndCopy()
/external/icu/icu4c/source/i18n/
Derarules.h27 template class U_I18N_API LocalMemory<int32_t>; variable
88 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
92 LocalMemory<int32_t> startDates;
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules()
130 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.cpp538 LocalMemory<int32_t> list; in put()
/external/icu/icu4c/source/common/
Dcmemory.h138 class LocalMemory : public LocalPointerBase<T> {
146 explicit LocalMemory(T *p=NULL) : LocalPointerBase<T>(p) {}
151 LocalMemory(LocalMemory<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalMemory() function
157 ~LocalMemory() { in ~LocalMemory()
166 LocalMemory<T> &operator=(LocalMemory<T> &&src) U_NOEXCEPT {
176 void swap(LocalMemory<T> &other) U_NOEXCEPT { in swap()
186 friend inline void swap(LocalMemory<T> &p1, LocalMemory<T> &p2) U_NOEXCEPT { in swap()
229 inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) { in allocateInsteadAndReset()
245 inline T *LocalMemory<T>::allocateInsteadAndCopy(int32_t newCapacity, int32_t length) { in allocateInsteadAndCopy()
Dlocid.cpp578 LocalMemory<const char*>& types,
579 LocalMemory<int32_t>& replacementIndexes,
593 LocalMemory<const char*>& types,
594 LocalMemory<int32_t>& replacementIndexes,
605 LocalMemory<const char*>& types,
606 LocalMemory<int32_t>& replacementIndexes,
616 LocalMemory<const char*>& types,
617 LocalMemory<int32_t>& replacementIndexes,
627 LocalMemory<const char*>& types,
628 LocalMemory<int32_t>& replacementIndexes,
[all …]
Dusprep.cpp336 LocalMemory<UStringPrepProfile> newProfile; in usprep_getProfile()
351 LocalMemory<UStringPrepKey> key; in usprep_getProfile()
352 LocalMemory<char> keyName; in usprep_getProfile()
353 LocalMemory<char> keyPath; in usprep_getProfile()
Dloclikelysubtags.cpp82 LocalMemory<int32_t> languageIndexes, regionIndexes, lsrSubtagIndexes; in load()
117 LocalMemory<int32_t> partitionIndexes, paradigmSubtagIndexes; in load()
224 LocalMemory<int32_t> &indexes, int32_t &length, UErrorCode &errorCode) { in readStrings()
Ducnvsel.cpp695 LocalMemory<uint32_t> mask(theMask); in selectForMask()
698 LocalMemory<Enumerator> result(static_cast<Enumerator *>(uprv_malloc(sizeof(Enumerator)))); in selectForMask()
707 LocalMemory<UEnumeration> en(static_cast<UEnumeration *>(uprv_malloc(sizeof(UEnumeration)))); in selectForMask()
Duloc.cpp1370 LocalMemory<UKeywordsContext> myContext; in uloc_openKeywordList()
1371 LocalMemory<UEnumeration> result; in uloc_openKeywordList()
Dfilteredbrk.cpp579 LocalMemory<int> partials; in build()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp80 using icu::LocalMemory;
980 icu::LocalMemory<uint8_t> buffer; in addCollation()
1462 LocalMemory<char> string(getInvariantString(state, &line, NULL, stringLength, status)); in parseBinary()
1478 LocalMemory<uint8_t> value; in parseBinary()
1575 LocalMemory<char> filename(getInvariantString(state, &line, NULL, stringLength, status)); in parseImport()
1611 LocalMemory<uint8_t> data; in parseImport()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp70 using icu::LocalMemory;
1551 LocalMemory<char> cmd((char *)uprv_malloc(sizeof(char) * length)); in pkg_createWithAssemblyCode()
/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.cpp1437 LocalMemory<uint8_t> mergedKey; in getMergedCollationKey()