Home
last modified time | relevance | path

Searched refs:nonConstThis (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/i18n/
Dbrktrans.cpp83 BreakTransliterator *nonConstThis = const_cast<BreakTransliterator *>(this); in handleTransliterate() local
84 boundaries = std::move(nonConstThis->cachedBoundaries); in handleTransliterate()
85 bi = std::move(nonConstThis->cachedBI); in handleTransliterate()
148 BreakTransliterator *nonConstThis = const_cast<BreakTransliterator *>(this); in handleTransliterate() local
149 if (nonConstThis->cachedBI.isNull()) { in handleTransliterate()
150 nonConstThis->cachedBI = std::move(bi); in handleTransliterate()
152 if (nonConstThis->cachedBoundaries.isNull()) { in handleTransliterate()
153 nonConstThis->cachedBoundaries = std::move(boundaries); in handleTransliterate()
Dnumber_patternmodifier.cpp163 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in processQuantity() local
166 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity()
168 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
177 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in apply() local
178 int32_t prefixLen = nonConstThis->insertPrefix(output, leftIndex, status); in apply()
179 int32_t suffixLen = nonConstThis->insertSuffix(output, rightIndex + prefixLen, status); in apply()
206 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in getPrefixLength() local
210 nonConstThis->prepareAffix(true); in getPrefixLength()
218 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in getCodePointCount() local
222 nonConstThis->prepareAffix(true); in getCodePointCount()
[all …]
Dtznames_impl.cpp395 TextTrieMap *nonConstThis = const_cast<TextTrieMap *>(this); in search() local
396 nonConstThis->buildTrie(status); in search()
1214 TimeZoneNamesImpl *nonConstThis = const_cast<TimeZoneNamesImpl *>(this); in getMetaZoneDisplayName() local
1219 znames = nonConstThis->loadMetaZoneNames(mzID, status); in getMetaZoneDisplayName()
1240 TimeZoneNamesImpl *nonConstThis = const_cast<TimeZoneNamesImpl *>(this); in getTimeZoneDisplayName() local
1245 tznames = nonConstThis->loadTimeZoneNames(tzID, status); in getTimeZoneDisplayName()
1263 TimeZoneNamesImpl *nonConstThis = const_cast<TimeZoneNamesImpl *>(this); in getExemplarLocationName() local
1268 tznames = nonConstThis->loadTimeZoneNames(tzID, status); in getExemplarLocationName()
1356 TimeZoneNamesImpl* nonConstThis = const_cast<TimeZoneNamesImpl*>(this); in find() local
1374 nonConstThis->addAllNamesIntoTrie(status); in find()
[all …]
Dchnsecal.cpp325 ChineseCalendar *nonConstThis = (ChineseCalendar*)this; // cast away const in handleComputeMonthStart() local
349 nonConstThis->computeGregorianFields(julianDay, status); in handleComputeMonthStart()
354 nonConstThis->computeChineseFields(newMoon, getGregorianYear(), in handleComputeMonthStart()
363 nonConstThis->internalSet(UCAL_MONTH, saveMonth); in handleComputeMonthStart()
364 nonConstThis->internalSet(UCAL_IS_LEAP_MONTH, saveIsLeapMonth); in handleComputeMonthStart()
Dtzgnames.cpp493 TZGNCore *nonConstThis = const_cast<TZGNCore *>(this); in getGenericLocationName() local
496 locname = nonConstThis->getGenericLocationName(tzCanonicalID); in getGenericLocationName()
748 TZGNCore *nonConstThis = const_cast<TZGNCore *>(this); in getPartialLocationName() local
751 uplname = nonConstThis->getPartialLocationName(tzCanonicalID, mzID, isLong, mzDisplayName); in getPartialLocationName()
1014 TZGNCore *nonConstThis = const_cast<TZGNCore *>(this); in findLocal() local
1057 nonConstThis->loadStrings(*tzID); in findLocal()
1065 nonConstThis->fGNamesTrieFullyLoaded = TRUE; in findLocal()
Dnumrange_fluent.cpp365 auto* nonConstThis = const_cast<LocalizedNumberRangeFormatter*>(this); in getFormatter() local
366 if (!nonConstThis->fAtomicFormatter.compare_exchange_strong(ptr, temp)) { in getFormatter()
Dgregocal.cpp535 GregorianCalendar *nonConstThis = (GregorianCalendar*)this; // cast away const in handleComputeMonthStart() local
547 nonConstThis->fIsGregorian = (eyear >= fGregorianCutoverYear); in handleComputeMonthStart()
553 nonConstThis->fIsGregorian = !fIsGregorian; in handleComputeMonthStart()
Ddecimfmt.cpp1662 auto* nonConstThis = const_cast<DecimalFormat*>(this); in getParser() local
1663 if (!nonConstThis->fields->atomicParser.compare_exchange_strong(ptr, temp)) { in getParser()
1691 auto* nonConstThis = const_cast<DecimalFormat*>(this); in getCurrencyParser() local
1692 if (!nonConstThis->fields->atomicCurrencyParser.compare_exchange_strong(ptr, temp)) { in getCurrencyParser()
Dtzfmt.cpp1393 TimeZoneFormat *nonConstThis = const_cast<TimeZoneFormat *>(this); in getTimeZoneGenericNames() local
1394 nonConstThis->fTimeZoneGenericNames = TimeZoneGenericNames::createInstance(fLocale, status); in getTimeZoneGenericNames()
1413 TimeZoneFormat *nonConstThis = const_cast<TimeZoneFormat *>(this); in getTZDBTimeZoneNames() local
1414 nonConstThis->fTZDBTimeZoneNames = tzdbNames; in getTZDBTimeZoneNames()
/external/skia/src/gpu/vk/
DGrVkCommandPool.cpp93 GrVkCommandPool* nonConstThis = const_cast<GrVkCommandPool*>(this); in freeGPUData() local
94 nonConstThis->close(); in freeGPUData()
95 nonConstThis->releaseResources(gpu); in freeGPUData()
DGrVkCaps.cpp722 GrVkCaps* nonConstThis = const_cast<GrVkCaps*>(this); in getFormatInfo() local
723 return nonConstThis->getFormatInfo(format); in getFormatInfo()
/external/skqp/src/utils/
DSkFrontBufferedStream.cpp168 FrontBufferedStream* nonConstThis = const_cast<FrontBufferedStream*>(this); in peek() local
169 const size_t bytesRead = nonConstThis->read(dst, size); in peek()
170 nonConstThis->fOffset = start; in peek()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp168 FrontBufferedStream* nonConstThis = const_cast<FrontBufferedStream*>(this); in peek() local
169 const size_t bytesRead = nonConstThis->read(dst, size); in peek()
170 nonConstThis->fOffset = start; in peek()
/external/skqp/src/core/
DSkImageFilter.cpp447 SkImageFilter* nonConstThis = const_cast<SkImageFilter*>(this); in makeWithLocalMatrix() local
448 return SkLocalMatrixImageFilter::Make(matrix, sk_ref_sp<SkImageFilter>(nonConstThis)); in makeWithLocalMatrix()
DSkStream.cpp341 SkMemoryStream* nonConstThis = const_cast<SkMemoryStream*>(this); in peek() local
342 const size_t bytesRead = nonConstThis->read(buffer, size); in peek()
343 nonConstThis->fOffset = currentOffset; in peek()
/external/skia/src/core/
DSkStream.cpp340 SkMemoryStream* nonConstThis = const_cast<SkMemoryStream*>(this); in peek() local
341 const size_t bytesRead = nonConstThis->read(buffer, size); in peek()
342 nonConstThis->fOffset = currentOffset; in peek()
/external/icu/icu4c/source/common/
Dlocdspnm.cpp451 LocaleDisplayNamesImpl *nonConstThis = (LocaleDisplayNamesImpl *)this; in initialize() local
452 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize()