/external/icu/icu4c/source/i18n/ |
D | brktrans.cpp | 81 BreakTransliterator *nonConstThis = const_cast<BreakTransliterator *>(this); in handleTransliterate() local 82 boundaries.moveFrom(nonConstThis->cachedBoundaries); in handleTransliterate() 83 bi.moveFrom(nonConstThis->cachedBI); in handleTransliterate() 146 BreakTransliterator *nonConstThis = const_cast<BreakTransliterator *>(this); in handleTransliterate() local 147 if (nonConstThis->cachedBI.isNull()) { in handleTransliterate() 148 nonConstThis->cachedBI.moveFrom(bi); in handleTransliterate() 150 if (nonConstThis->cachedBoundaries.isNull()) { in handleTransliterate() 151 nonConstThis->cachedBoundaries.moveFrom(boundaries); in handleTransliterate()
|
D | number_patternmodifier.cpp | 164 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in processQuantity() local 169 nonConstThis->setNumberProperties(fq.signum(), utils::getStandardPlural(fRules, copy)); in processQuantity() 171 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity() 180 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in apply() local 181 int32_t prefixLen = nonConstThis->insertPrefix(output, leftIndex, status); in apply() 182 int32_t suffixLen = nonConstThis->insertSuffix(output, rightIndex + prefixLen, status); in apply() 209 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in getPrefixLength() local 213 nonConstThis->prepareAffix(true); in getPrefixLength() 221 auto nonConstThis = const_cast<MutablePatternModifier*>(this); in getCodePointCount() local 225 nonConstThis->prepareAffix(true); in getCodePointCount() [all …]
|
D | tznames_impl.cpp | 391 TextTrieMap *nonConstThis = const_cast<TextTrieMap *>(this); in search() local 392 nonConstThis->buildTrie(status); in search() 1210 TimeZoneNamesImpl *nonConstThis = const_cast<TimeZoneNamesImpl *>(this); in getMetaZoneDisplayName() local 1215 znames = nonConstThis->loadMetaZoneNames(mzID, status); in getMetaZoneDisplayName() 1236 TimeZoneNamesImpl *nonConstThis = const_cast<TimeZoneNamesImpl *>(this); in getTimeZoneDisplayName() local 1241 tznames = nonConstThis->loadTimeZoneNames(tzID, status); in getTimeZoneDisplayName() 1259 TimeZoneNamesImpl *nonConstThis = const_cast<TimeZoneNamesImpl *>(this); in getExemplarLocationName() local 1264 tznames = nonConstThis->loadTimeZoneNames(tzID, status); in getExemplarLocationName() 1352 TimeZoneNamesImpl* nonConstThis = const_cast<TimeZoneNamesImpl*>(this); in find() local 1370 nonConstThis->addAllNamesIntoTrie(status); in find() [all …]
|
D | chnsecal.cpp | 325 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()
|
D | tzgnames.cpp | 487 TZGNCore *nonConstThis = const_cast<TZGNCore *>(this); in getGenericLocationName() local 490 locname = nonConstThis->getGenericLocationName(tzCanonicalID); in getGenericLocationName() 742 TZGNCore *nonConstThis = const_cast<TZGNCore *>(this); in getPartialLocationName() local 745 uplname = nonConstThis->getPartialLocationName(tzCanonicalID, mzID, isLong, mzDisplayName); in getPartialLocationName() 1008 TZGNCore *nonConstThis = const_cast<TZGNCore *>(this); in findLocal() local 1051 nonConstThis->loadStrings(*tzID); in findLocal() 1059 nonConstThis->fGNamesTrieFullyLoaded = TRUE; in findLocal()
|
D | numrange_fluent.cpp | 351 auto* nonConstThis = const_cast<LocalizedNumberRangeFormatter*>(this); in getFormatter() local 352 if (!nonConstThis->fAtomicFormatter.compare_exchange_strong(ptr, temp)) { in getFormatter()
|
D | gregocal.cpp | 535 GregorianCalendar *nonConstThis = (GregorianCalendar*)this; // cast away const in handleComputeMonthStart() local 547 nonConstThis->fIsGregorian = (eyear >= fGregorianCutoverYear); in handleComputeMonthStart() 553 nonConstThis->fIsGregorian = !fIsGregorian; in handleComputeMonthStart()
|
D | decimfmt.cpp | 1211 auto* nonConstThis = const_cast<DecimalFormat*>(this); in getParser() local 1212 if (!nonConstThis->fields->atomicParser.compare_exchange_strong(ptr, temp)) { in getParser() 1240 auto* nonConstThis = const_cast<DecimalFormat*>(this); in getCurrencyParser() local 1241 if (!nonConstThis->fields->atomicCurrencyParser.compare_exchange_strong(ptr, temp)) { in getCurrencyParser()
|
D | tzfmt.cpp | 1388 TimeZoneFormat *nonConstThis = const_cast<TimeZoneFormat *>(this); in getTimeZoneGenericNames() local 1389 nonConstThis->fTimeZoneGenericNames = TimeZoneGenericNames::createInstance(fLocale, status); in getTimeZoneGenericNames() 1408 TimeZoneFormat *nonConstThis = const_cast<TimeZoneFormat *>(this); in getTZDBTimeZoneNames() local 1409 nonConstThis->fTZDBTimeZoneNames = tzdbNames; in getTZDBTimeZoneNames()
|
/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 168 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/utils/ |
D | SkFrontBufferedStream.cpp | 168 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/ |
D | SkImageFilter.cpp | 447 SkImageFilter* nonConstThis = const_cast<SkImageFilter*>(this); in makeWithLocalMatrix() local 448 return SkLocalMatrixImageFilter::Make(matrix, sk_ref_sp<SkImageFilter>(nonConstThis)); in makeWithLocalMatrix()
|
D | SkStream.cpp | 341 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/ |
D | SkImageFilter.cpp | 450 SkImageFilter* nonConstThis = const_cast<SkImageFilter*>(this); in makeWithLocalMatrix() local 451 return SkLocalMatrixImageFilter::Make(matrix, sk_ref_sp<SkImageFilter>(nonConstThis)); in makeWithLocalMatrix()
|
D | SkStream.cpp | 341 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/icu/icu4c/source/common/ |
D | locdspnm.cpp | 448 LocaleDisplayNamesImpl *nonConstThis = (LocaleDisplayNamesImpl *)this; in initialize() local 449 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize()
|