/third_party/skia/src/core/ |
D | SkImageFilterTypes.h | 78 explicit ParameterSpace(const T& data) : fData(data) {} in ParameterSpace() 79 explicit ParameterSpace(T&& data) : fData(std::move(data)) {} in ParameterSpace() 81 explicit operator const T&() const { return fData; } 87 T fData; 100 explicit DeviceSpace(const T& data) : fData(data) {} in DeviceSpace() 101 explicit DeviceSpace(T&& data) : fData(std::move(data)) {} in DeviceSpace() 103 explicit operator const T&() const { return fData; } 106 T fData; 128 explicit LayerSpace(const IVector& geometry) : fData(geometry) {} in LayerSpace() 129 explicit LayerSpace(IVector&& geometry) : fData(std::move(geometry)) {} in LayerSpace() [all …]
|
D | SkMaskCache.cpp | 15 SkCachedData* fData; member 42 fValue.fData = data; in RRectBlurRec() 43 fValue.fData->attachToCacheAndRef(); in RRectBlurRec() 46 fValue.fData->detachFromCacheAndUnref(); in ~RRectBlurRec() 53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() 56 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable() 63 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 84 mask->fImage = (uint8_t*)(result.fData->data()); in FindAndRef() 85 return result.fData; in FindAndRef() 133 fValue.fData = data; in RectsBlurRec() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_matrix.cpp | 57 fData [row] [col] = 0.0; in dng_matrix() 76 fData [row] [col] = m.fData [row] [col]; in dng_matrix() 102 fData [j] [j] = 1.0; in SetIdentity() 125 if (fData [j] [k] != m.fData [j] [k]) in operator ==() 160 if (fData [j] [k] != 0.0) in IsDiagonal() 185 real64 m = fData [0] [0]; in MaxEntry() 191 m = Max_real64 (m, fData [j] [k]); in MaxEntry() 211 real64 m = fData [0] [0]; in MinEntry() 217 m = Min_real64 (m, fData [j] [k]); in MinEntry() 234 fData [j] [k] *= factor; in Scale() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | number_utils.cpp | 104 U_ASSERT(fContext.digits == other.fData.getCapacity()); in DecNum() 106 void* p = fData.resize(fContext.digits, 0); in DecNum() 114 uprv_memcpy(fData.getAlias(), other.fData.getAlias(), sizeof(decNumber)); in DecNum() 115 uprv_memcpy(fData.getArrayStart(), in DecNum() 116 other.fData.getArrayStart(), in DecNum() 117 other.fData.getArrayLimit() - other.fData.getArrayStart()); in DecNum() 159 fData.getAlias()->exponent += point - length; in setTo() 160 fData.getAlias()->bits |= static_cast<uint8_t>(std::signbit(d) ? DECNEG : 0); in setTo() 165 fData.resize(maxDigits, 0); in _setTo() 172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo() [all …]
|
D | rbt.cpp | 36 fData = 0; in _construct() 55 fData = (TransliterationRuleData*)parser.dataVector.orphanElementAt(0); in _construct() 56 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct() 145 fData((TransliterationRuleData*)theData), // cast away const in RuleBasedTransliterator() 147 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator() 157 fData(theData), in RuleBasedTransliterator() 159 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator() 167 Transliterator(other), fData(other.fData), in RuleBasedTransliterator() 180 fData = new TransliterationRuleData(*other.fData); in RuleBasedTransliterator() 190 delete fData; in ~RuleBasedTransliterator() [all …]
|
D | numrange_capi.cpp | 49 UFormattedNumberRangeData fData; member 53 : fImpl(&fData) { in UFormattedNumberRangeImpl() 59 fImpl.fData = nullptr; in ~UFormattedNumberRangeImpl() 80 return &result->fData; in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL() 118 result->fData.resetString(); in unumrf_formatDoubleRange() 119 result->fData.quantity1.clear(); in unumrf_formatDoubleRange() 120 result->fData.quantity2.clear(); in unumrf_formatDoubleRange() 121 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 122 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange() 123 formatter->fFormatter.formatImpl(result->fData, first == second, *ec); in unumrf_formatDoubleRange() [all …]
|
D | number_capi.cpp | 48 UFormattedNumberData fData; member 52 : fImpl(&fData) { in UFormattedNumberImpl() 58 fImpl.fData = nullptr; in ~UFormattedNumberImpl() 79 return &result->fData.quantity; in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL() 119 result->fData.resetString(); in unumf_formatInt() 120 result->fData.quantity.clear(); in unumf_formatInt() 121 result->fData.quantity.setToLong(value); in unumf_formatInt() 122 formatter->fFormatter.formatImpl(&result->fData, *ec); in unumf_formatInt() 132 result->fData.resetString(); in unumf_formatDouble() 133 result->fData.quantity.clear(); in unumf_formatDouble() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_utils.cpp | 104 U_ASSERT(fContext.digits == other.fData.getCapacity()); in DecNum() 106 void* p = fData.resize(fContext.digits, 0); in DecNum() 114 uprv_memcpy(fData.getAlias(), other.fData.getAlias(), sizeof(decNumber)); in DecNum() 115 uprv_memcpy(fData.getArrayStart(), in DecNum() 116 other.fData.getArrayStart(), in DecNum() 117 other.fData.getArrayLimit() - other.fData.getArrayStart()); in DecNum() 159 fData.getAlias()->exponent += point - length; in setTo() 160 fData.getAlias()->bits |= static_cast<uint8_t>(std::signbit(d) ? DECNEG : 0); in setTo() 165 fData.resize(maxDigits, 0); in _setTo() 172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo() [all …]
|
D | rbt.cpp | 36 fData = 0; in _construct() 55 fData = (TransliterationRuleData*)parser.dataVector.orphanElementAt(0); in _construct() 56 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct() 145 fData((TransliterationRuleData*)theData), // cast away const in RuleBasedTransliterator() 147 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator() 157 fData(theData), in RuleBasedTransliterator() 159 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator() 167 Transliterator(other), fData(other.fData), in RuleBasedTransliterator() 180 fData = new TransliterationRuleData(*other.fData); in RuleBasedTransliterator() 190 delete fData; in ~RuleBasedTransliterator() [all …]
|
D | numrange_capi.cpp | 49 UFormattedNumberRangeData fData; member 53 : fImpl(&fData) { in UFormattedNumberRangeImpl() 59 fImpl.fData = nullptr; in ~UFormattedNumberRangeImpl() 80 return &result->fData; in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL() 119 result->fData.resetString(); in unumrf_formatDoubleRange() 120 result->fData.quantity1.clear(); in unumrf_formatDoubleRange() 121 result->fData.quantity2.clear(); in unumrf_formatDoubleRange() 122 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 123 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange() 124 formatter->fFormatter.formatImpl(result->fData, first == second, *ec); in unumrf_formatDoubleRange() [all …]
|
D | number_simple.cpp | 34 SimpleNumber::SimpleNumber(UFormattedNumberData* data, UErrorCode& status) : fData(data) { in SimpleNumber() 38 if (fData == nullptr) { in SimpleNumber() 42 if (fData->quantity.isNegative()) { in SimpleNumber() 50 delete fData; in cleanup() 51 fData = nullptr; in cleanup() 58 if (fData == nullptr) { in multiplyByPowerOfTen() 62 fData->quantity.adjustMagnitude(power); in multiplyByPowerOfTen() 69 if (fData == nullptr) { in roundTo() 73 fData->quantity.roundToMagnitude(position, roundingMode, status); in roundTo() 80 if (fData == nullptr) { in setMinimumIntegerDigits() [all …]
|
D | number_capi.cpp | 68 UFormattedNumberData fData; member 74 : fImpl(&fData) { in UFormattedNumberImpl() 80 fImpl.fData = nullptr; in ~UFormattedNumberImpl() 84 fData = std::move(*value.fData); in setTo() 105 return &result->fData.quantity; in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL() 146 result->fData.resetString(); in unumf_formatInt() 147 result->fData.quantity.clear(); in unumf_formatInt() 148 result->fData.quantity.setToLong(value); in unumf_formatInt() 149 formatter->fFormatter.formatImpl(&result->fData, *ec); in unumf_formatInt() 159 result->fData.resetString(); in unumf_formatDouble() [all …]
|
D | number_output.cpp | 27 fData->quantity.toDecNum(decnum, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 34 fData->getAllFieldPositions(fpih, status); in getAllFieldPositionsImpl() 39 return fData->outputUnit; in getOutputUnit() 44 const char *nounClass = fData->gender; in getNounClass() 50 output = fData->quantity; in getDecimalQuantity() 65 fData->quantity1.toDecNum(decnum1, status).toString(sink1, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 66 fData->quantity2.toDecNum(decnum2, status).toString(sink2, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 71 return fData->identityResult; in getIdentityResult() 76 return fData; in getData()
|
/third_party/skia/src/gpu/ |
D | GrDrawIndirectCommand.h | 42 GrDrawIndirectWriter(void* data) : fData(static_cast<GrDrawIndirectCommand*>(data)) {} in GrDrawIndirectWriter() 48 fData = that.fData; 49 that.fData = nullptr; 53 bool operator==(const GrDrawIndirectWriter& that) { return fData == that.fData; } 55 operator bool() const { return fData != nullptr; } 57 GrDrawIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset() 61 *fData++ = {vertexCount, instanceCount, baseVertex, baseInstance}; in write() 65 GrDrawIndirectCommand* fData; 77 : fData(static_cast<GrDrawIndexedIndirectCommand*>(data)) {} in GrDrawIndexedIndirectWriter() 83 fData = that.fData; [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_utils.cpp | 104 U_ASSERT(fContext.digits == other.fData.getCapacity()); in DecNum() 106 void* p = fData.resize(fContext.digits, 0); in DecNum() 114 uprv_memcpy(fData.getAlias(), other.fData.getAlias(), sizeof(decNumber)); in DecNum() 115 uprv_memcpy(fData.getArrayStart(), in DecNum() 116 other.fData.getArrayStart(), in DecNum() 117 other.fData.getArrayLimit() - other.fData.getArrayStart()); in DecNum() 159 fData.getAlias()->exponent += point - length; in setTo() 160 fData.getAlias()->bits |= static_cast<uint8_t>(std::signbit(d) ? DECNEG : 0); in setTo() 165 fData.resize(maxDigits, 0); in _setTo() 172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo() [all …]
|
D | rbt.cpp | 36 fData = 0; in _construct() 55 fData = (TransliterationRuleData*)parser.dataVector.orphanElementAt(0); in _construct() 56 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct() 145 fData((TransliterationRuleData*)theData), // cast away const in RuleBasedTransliterator() 147 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator() 157 fData(theData), in RuleBasedTransliterator() 159 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator() 167 Transliterator(other), fData(other.fData), in RuleBasedTransliterator() 180 fData = new TransliterationRuleData(*other.fData); in RuleBasedTransliterator() 190 delete fData; in ~RuleBasedTransliterator() [all …]
|
D | numrange_capi.cpp | 49 UFormattedNumberRangeData fData; member 53 : fImpl(&fData) { in UFormattedNumberRangeImpl() 59 fImpl.fData = nullptr; in ~UFormattedNumberRangeImpl() 80 return &result->fData; in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL() 118 result->fData.getStringRef().clear(); in unumrf_formatDoubleRange() 119 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 120 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange() 121 formatter->fFormatter.formatImpl(result->fData, first == second, *ec); in unumrf_formatDoubleRange() 135 result->fData.getStringRef().clear(); in unumrf_formatDecimalRange() 136 result->fData.quantity1.setToDecNumber({first, firstLen}, *ec); in unumrf_formatDecimalRange() [all …]
|
D | number_capi.cpp | 48 UFormattedNumberData fData; member 52 : fImpl(&fData) { in UFormattedNumberImpl() 58 fImpl.fData = nullptr; in ~UFormattedNumberImpl() 79 return &result->fData.quantity; in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL() 119 result->fData.getStringRef().clear(); in unumf_formatInt() 120 result->fData.quantity.setToLong(value); in unumf_formatInt() 121 formatter->fFormatter.formatImpl(&result->fData, *ec); in unumf_formatInt() 131 result->fData.getStringRef().clear(); in unumf_formatDouble() 132 result->fData.quantity.setToDouble(value); in unumf_formatDouble() 133 formatter->fFormatter.formatImpl(&result->fData, *ec); in unumf_formatDouble() [all …]
|
D | number_output.cpp | 27 fData->quantity.toDecNum(decnum, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 34 fData->getAllFieldPositions(fpih, status); in getAllFieldPositionsImpl() 39 return fData->outputUnit; in getOutputUnit() 44 return fData->gender; in getGender() 49 output = fData->quantity; in getDecimalQuantity() 64 fData->quantity1.toDecNum(decnum1, status).toString(sink1, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 65 fData->quantity2.toDecNum(decnum2, status).toString(sink2, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 70 return fData->identityResult; in getIdentityResult() 75 return fData; in getData()
|
/third_party/icu/icu4c/source/common/ |
D | rbbi.cpp | 69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 71 if(fData == nullptr) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 75 if (fData->fForwardTable->fLookAheadResultsSize > 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 77 uprv_malloc(fData->fForwardTable->fLookAheadResultsSize * sizeof(int32_t))); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 120 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator() 122 if(fData == nullptr) { in RuleBasedBreakIterator() 126 if (fData->fForwardTable->fLookAheadResultsSize > 0) { in RuleBasedBreakIterator() 128 uprv_malloc(fData->fForwardTable->fLookAheadResultsSize * sizeof(int32_t))); in RuleBasedBreakIterator() 147 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator() 149 if(fData == nullptr) { in RuleBasedBreakIterator() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | rbbi.cpp | 69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 71 if(fData == nullptr) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 75 if (fData->fForwardTable->fLookAheadResultsSize > 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 77 uprv_malloc(fData->fForwardTable->fLookAheadResultsSize * sizeof(int32_t))); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 107 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator() 109 if(fData == nullptr) { in RuleBasedBreakIterator() 113 if (fData->fForwardTable->fLookAheadResultsSize > 0) { in RuleBasedBreakIterator() 115 uprv_malloc(fData->fForwardTable->fLookAheadResultsSize * sizeof(int32_t))); in RuleBasedBreakIterator() 134 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator() 136 if(fData == nullptr) { in RuleBasedBreakIterator() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | rbbi.cpp | 68 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 70 if(fData == nullptr) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 74 if (fData->fForwardTable->fLookAheadResultsSize > 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 76 uprv_malloc(fData->fForwardTable->fLookAheadResultsSize * sizeof(int32_t))); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 118 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator() 120 if(fData == nullptr) { in RuleBasedBreakIterator() 124 if (fData->fForwardTable->fLookAheadResultsSize > 0) { in RuleBasedBreakIterator() 126 uprv_malloc(fData->fForwardTable->fLookAheadResultsSize * sizeof(int32_t))); in RuleBasedBreakIterator() 144 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator() 146 if(fData == nullptr) { in RuleBasedBreakIterator() [all …]
|
/third_party/skia/include/core/ |
D | SkStringView.h | 29 : fData(nullptr) in string_view() 35 : fData(data) in string_view() 47 return fData; in begin() 51 return fData + fLength; in end() 55 return fData[idx]; 59 return fData[0]; in front() 63 return fData[fLength - 1]; in back() 67 return fData; in data() 86 return s.length() == 0 || !memcmp(fData, s.fData, s.length()); in starts_with() 97 return s.length() == 0 || !memcmp(this->end() - s.length(), s.fData, s.length()); in ends_with() [all …]
|
/third_party/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 343 args[i + 2] = fParticles.fData[i].get() + start; in runParticleScript() 388 fParticles.fData[SkParticles::kAge][i] += in advanceTime() 389 fParticles.fData[SkParticles::kLifetime][i] * deltaTime; in advanceTime() 390 if (fParticles.fData[SkParticles::kAge][i] > 1.0f) { in advanceTime() 393 fParticles.fData[j][i] = fParticles.fData[j][fCount - 1]; in advanceTime() 426 fParticles.fData[SkParticles::kAge ][fCount] = 0.0f; in advanceTime() 427 fParticles.fData[SkParticles::kLifetime ][fCount] = 0.0f; in advanceTime() 428 fParticles.fData[SkParticles::kPositionX ][fCount] = fState.fPosition.fX; in advanceTime() 429 fParticles.fData[SkParticles::kPositionY ][fCount] = fState.fPosition.fY; in advanceTime() 430 fParticles.fData[SkParticles::kHeadingX ][fCount] = fState.fHeading.fX; in advanceTime() [all …]
|
/third_party/skia/modules/skunicode/src/ |
D | SkUnicode_client.cpp | 101 : fData(std::make_shared<Data>(text, in SkUnicode_client() 106 : fData(origin->fData) {} in SkUnicode_client() 115 void reset() { fData->reset(); } in reset() 214 for (auto& lineBreak : fData->fLineBreaks) { in computeCodeUnitFlags() 220 for (auto& grapheme : fData->fGraphemeBreaks) { in computeCodeUnitFlags() 256 for (auto& lineBreak : fData->fLineBreaks) { in computeCodeUnitFlags() 262 for (auto& grapheme : fData->fGraphemeBreaks) { in computeCodeUnitFlags() 269 *results = fData->fWords; in getWords() 275 return SkString(fData->fText8.data(), fData->fText8.size()); in toUpper() 286 std::shared_ptr<Data> fData; member in SkUnicode_client [all …]
|