Home
last modified time | relevance | path

Searched refs:nonConstThis (Results 1 – 19 of 19) 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.cpp174 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in processQuantity() local
177 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity()
179 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
188 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in apply() local
189 int32_t prefixLen = nonConstThis->insertPrefix(output, leftIndex, status); in apply()
190 int32_t suffixLen = nonConstThis->insertSuffix(output, rightIndex + prefixLen, status); in apply()
217 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in getPrefixLength() local
221 nonConstThis->prepareAffix(true); in getPrefixLength()
229 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in getCodePointCount() local
233 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.cpp367 auto* nonConstThis = const_cast<LocalizedNumberRangeFormatter*>(this); in getFormatter() local
368 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.cpp1683 auto* nonConstThis = const_cast<DecimalFormat*>(this); in getParser() local
1684 if (!nonConstThis->fields->atomicParser.compare_exchange_strong(ptr, temp)) { in getParser()
1712 auto* nonConstThis = const_cast<DecimalFormat*>(this); in getCurrencyParser() local
1713 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.cpp100 GrVkCommandPool* nonConstThis = const_cast<GrVkCommandPool*>(this); in freeGPUData() local
101 nonConstThis->close(); in freeGPUData()
102 nonConstThis->releaseResources(); in freeGPUData()
DGrVkFramebuffer.cpp101 GrVkFramebuffer* nonConstThis = const_cast<GrVkFramebuffer*>(this); in freeGPUData() local
102 nonConstThis->releaseResources(); in freeGPUData()
DGrVkCaps.cpp821 GrVkCaps* nonConstThis = const_cast<GrVkCaps*>(this); in getFormatInfo() local
822 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/client_utils/android/
DFrontBufferedStream.cpp196 FrontBufferedStream* nonConstThis = const_cast<FrontBufferedStream*>(this); in peek() local
197 const size_t bytesRead = nonConstThis->read(dst, size); in peek()
198 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.cpp352 SkMemoryStream* nonConstThis = const_cast<SkMemoryStream*>(this); in peek() local
353 const size_t bytesRead = nonConstThis->read(buffer, size); in peek()
354 nonConstThis->fOffset = currentOffset; in peek()
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp332 GrD3DCaps* nonConstThis = const_cast<GrD3DCaps*>(this); in getFormatInfo() local
333 return nonConstThis->getFormatInfo(format); in getFormatInfo()
/external/icu/icu4c/source/common/
Dlocdspnm.cpp451 LocaleDisplayNamesImpl *nonConstThis = (LocaleDisplayNamesImpl *)this; in initialize() local
452 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize()