/aosp_15_r20/external/cronet/third_party/icu/source/i18n/ |
H A D | fmtable.cpp | 105 fValue.fInt64 = 0; in init() 127 fValue.fDate = date; in Formattable() 137 fValue.fDouble = value; in Formattable() 146 fValue.fInt64 = value; in Formattable() 156 fValue.fInt64 = value; in Formattable() 175 fValue.fString = new UnicodeString(stringToCopy); in Formattable() 186 fValue.fString = stringToAdopt; in Formattable() 193 fValue.fObject = objectToAdopt; in Formattable() 203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable() 204 fValue.fArrayAndCount.fCount = count; in Formattable() [all …]
|
H A D | number_usageprefs.cpp | 40 if (fValue != nullptr) { in operator =() 41 uprv_free(fValue); in operator =() 42 fValue = nullptr; in operator =() 44 if (other.fValue == nullptr) { in operator =() 52 fValue = (char *)uprv_malloc(other.fLength + 1); in operator =() 53 if (fValue == nullptr) { in operator =() 58 uprv_strncpy(fValue, other.fValue, fLength + 1); in operator =() 63 StringProp::StringProp(StringProp &&src) noexcept : fValue(src.fValue), in StringProp() 67 src.fValue = nullptr; in StringProp() 75 if (fValue != nullptr) { in operator =() [all …]
|
H A D | number_types.h | 315 fValue = other; in NullableValue() 322 fValue = other.fValue; 328 fValue = other; 335 … return fNull ? other.fNull : (other.fNull ? false : static_cast<bool>(fValue == other.fValue)); 351 return fValue; in get() 355 return fValue; in getNoError() 359 return fNull ? defaultValue : fValue; in getOrDefault() 364 T fValue; variable
|
/aosp_15_r20/external/icu/icu4c/source/i18n/ |
H A D | fmtable.cpp | 105 fValue.fInt64 = 0; in init() 127 fValue.fDate = date; in Formattable() 137 fValue.fDouble = value; in Formattable() 146 fValue.fInt64 = value; in Formattable() 156 fValue.fInt64 = value; in Formattable() 175 fValue.fString = new UnicodeString(stringToCopy); in Formattable() 186 fValue.fString = stringToAdopt; in Formattable() 193 fValue.fObject = objectToAdopt; in Formattable() 203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable() 204 fValue.fArrayAndCount.fCount = count; in Formattable() [all …]
|
H A D | number_usageprefs.cpp | 40 if (fValue != nullptr) { in operator =() 41 uprv_free(fValue); in operator =() 42 fValue = nullptr; in operator =() 44 if (other.fValue == nullptr) { in operator =() 52 fValue = (char *)uprv_malloc(other.fLength + 1); in operator =() 53 if (fValue == nullptr) { in operator =() 58 uprv_strncpy(fValue, other.fValue, fLength + 1); in operator =() 63 StringProp::StringProp(StringProp &&src) noexcept : fValue(src.fValue), in StringProp() 67 src.fValue = nullptr; in StringProp() 75 if (fValue != nullptr) { in operator =() [all …]
|
H A D | number_types.h | 319 fValue = other; in NullableValue() 326 fValue = other.fValue; 332 fValue = other; 339 … return fNull ? other.fNull : (other.fNull ? false : static_cast<bool>(fValue == other.fValue)); 355 return fValue; in get() 359 return fValue; in getNoError() 363 return fNull ? defaultValue : fValue; in getOrDefault() 368 T fValue; variable
|
/aosp_15_r20/external/skia/src/base/ |
H A D | SkTLazy.h | 23 explicit SkTLazy(const T* src) : fValue(src ? std::optional<T>(*src) : std::nullopt) {} in SkTLazy() 24 SkTLazy(const SkTLazy& that) : fValue(that.fValue) {} in SkTLazy() 25 SkTLazy(SkTLazy&& that) : fValue(std::move(that.fValue)) {} in SkTLazy() 30 fValue = that.fValue; 35 fValue = std::move(that.fValue); 46 fValue.emplace(std::forward<Args>(args)...); in init() 57 fValue = src; in set() 62 fValue = std::move(src); in set() 70 fValue.reset(); in reset() 77 bool isValid() const { return fValue.has_value(); } in isValid() [all …]
|
H A D | SkEnumBitMask.h | 38 SK_ALWAYS_INLINE constexpr explicit operator bool() const { return fValue; } 39 SK_ALWAYS_INLINE constexpr int value() const { return fValue; } in value() 41 SK_ALWAYS_INLINE constexpr bool operator==(SkEnumBitMask m) const { return fValue == m.fValue; } 42 SK_ALWAYS_INLINE constexpr bool operator!=(SkEnumBitMask m) const { return fValue != m.fValue; } 45 return SkEnumBitMask(fValue | m.fValue); 48 return SkEnumBitMask(fValue & m.fValue); 51 return SkEnumBitMask(fValue ^ m.fValue); 53 SK_ALWAYS_INLINE constexpr SkEnumBitMask operator~() const { return SkEnumBitMask(~fValue); } 60 SK_ALWAYS_INLINE constexpr explicit SkEnumBitMask(int value) : fValue(value) {} in SkEnumBitMask() 62 int fValue; variable
|
/aosp_15_r20/external/pdfium/xfa/fxfa/parser/ |
H A D | cxfa_measurement.cpp | 32 CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { in CXFA_Measurement() argument 33 Set(fValue, eUnit); in CXFA_Measurement() 46 float fValue = FXSYS_wcstof(wsMeasure.unterminated_c_str(), in SetString() local 48 if (!isfinite(fValue)) in SetString() 49 fValue = 0.0f; in SetString() 51 Set(fValue, GetUnitFromString(wsMeasure.Substr(nUsedLen))); in SetString() 83 bool CXFA_Measurement::ToUnitInternal(XFA_Unit eUnit, float* fValue) const { in ToUnitInternal() 84 *fValue = GetValue(); in ToUnitInternal() 93 *fValue *= kPtToMm; in ToUnitInternal() 96 *fValue *= kPtToInch; in ToUnitInternal() [all …]
|
/aosp_15_r20/external/skia/src/core/ |
H A D | SkTMultiMap.h | 21 explicit ValueList(T* value) : fValue(value), fNext(nullptr) {} in ValueList() 23 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } in GetKey() 25 T* fValue; member 39 HashTraits::OnFree(it->fValue); in reset() 53 ValueList* newEntry = new ValueList(list->fValue); in insert() 58 list->fValue = value; in insert() 75 while (list->fValue != value) { in remove() 82 while (list && list->fValue != value) { in remove() 97 return list->fValue; in find() 106 if (f(list->fValue)){ in find() [all …]
|
H A D | SkMaskCache.cpp | 54 : fKey(key), fValue({{nullptr, mask.fBounds, mask.fRowBytes, mask.fFormat}, data}) in RRectBlurRec() 56 fValue.fData->attachToCacheAndRef(); 59 fValue.fData->detachFromCacheAndUnref(); in ~RRectBlurRec() 63 MaskValue fValue; member 66 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() 69 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable() 76 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 82 result->init(rec.fValue); in Visitor() 144 : fKey(key), fValue({{nullptr, mask.fBounds, mask.fRowBytes, mask.fFormat}, data}) in RectsBlurRec() 146 fValue.fData->attachToCacheAndRef(); [all …]
|
H A D | SkYUVPlanesCache.cpp | 45 fValue.fData = data; in YUVPlanesRec() 46 fValue.fPixmaps = pixmaps; in YUVPlanesRec() 47 fValue.fData->attachToCacheAndRef(); in YUVPlanesRec() 50 fValue.fData->detachFromCacheAndUnref(); in ~YUVPlanesRec() 54 YUVValue fValue; member 57 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() 60 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable() 67 SkCachedData* tmpData = rec.fValue.fData; in Visitor() 74 result->fPixmaps = rec.fValue.fPixmaps; in Visitor()
|
/aosp_15_r20/external/parameter-framework/upstream/parameter/ |
H A D | FloatingPointParameterType.cpp | 155 float fValue = 0.0f; in toBlackboard() local 158 if (!convertTo(strValue, fValue)) { in toBlackboard() 164 if (!checkValueAgainstRange(fValue)) { in toBlackboard() 171 uiValue = utility::binaryCopy<decltype(uiValue)>(fValue); in toBlackboard() 223 auto fValue = utility::binaryCopy<float>(uiValue); in fromBlackboard() local 225 ostrStream << fValue; in fromBlackboard() 244 float fValue = static_cast<float>(dUserValue); in toBlackboard() local 245 uiValue = utility::binaryCopy<decltype(uiValue)>(fValue); in toBlackboard() 253 auto fValue = utility::binaryCopy<float>(uiValue); in fromBlackboard() local 255 dUserValue = fValue; in fromBlackboard() [all …]
|
/aosp_15_r20/external/dng_sdk/source/ |
H A D | dng_image_writer.h | 212 uint8 fValue; 219 : tag_data_ptr (code, ttByte, 1, &fValue) 221 , fValue (value) 228 fValue = value; in Set() 258 uint16 fValue; 265 : tag_data_ptr (code, ttShort, 1, &fValue) 267 , fValue (value) 274 fValue = value; in Set() 322 uint32 fValue; 329 : tag_data_ptr (code, ttLong, 1, &fValue) [all …]
|
/aosp_15_r20/external/icu/icu4c/source/i18n/unicode/ |
H A D | fmtable.h | 292 double getDouble() const { return fValue.fDouble; } in getDouble() 314 int32_t getLong() const { return (int32_t)fValue.fInt64; } in getLong() 340 int64_t getInt64() const { return fValue.fInt64; } in getInt64() 365 UDate getDate() const { return fValue.fDate; } in getDate() 385 { result=*fValue.fString; return result; } in getString() 443 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; } in getArray() 464 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; } 701 } fValue; variable 718 return fValue.fDate; in getDate() 722 return *fValue.fString; in getString() [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/unicode/ |
H A D | fmtable.h | 293 double getDouble(void) const { return fValue.fDouble; } in getDouble() 315 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } in getLong() 341 int64_t getInt64(void) const { return fValue.fInt64; } in getInt64() 366 UDate getDate() const { return fValue.fDate; } in getDate() 386 { result=*fValue.fString; return result; } in getString() 444 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; } in getArray() 465 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; } 702 } fValue; variable 719 return fValue.fDate; in getDate() 723 return *fValue.fString; in getString() [all …]
|
/aosp_15_r20/external/icu/libicu/cts_headers/unicode/ |
H A D | fmtable.h | 292 double getDouble() const { return fValue.fDouble; } in getDouble() 314 int32_t getLong() const { return (int32_t)fValue.fInt64; } in getLong() 340 int64_t getInt64() const { return fValue.fInt64; } in getInt64() 365 UDate getDate() const { return fValue.fDate; } in getDate() 385 { result=*fValue.fString; return result; } in getString() 443 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; } in getArray() 464 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; } 701 } fValue; variable 718 return fValue.fDate; in getDate() 722 return *fValue.fString; in getString() [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/unicode/ |
H A D | fmtable.h | 293 double getDouble(void) const { return fValue.fDouble; } in getDouble() 315 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } in getLong() 341 int64_t getInt64(void) const { return fValue.fInt64; } in getInt64() 366 UDate getDate() const { return fValue.fDate; } in getDate() 386 { result=*fValue.fString; return result; } in getString() 444 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; } in getArray() 465 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; } 702 } fValue; variable 719 return fValue.fDate; in getDate() 723 return *fValue.fString; in getString() [all …]
|
/aosp_15_r20/external/skia/modules/svg/include/ |
H A D | SkSVGTypes.h | 49 fValue = value; in SkSVGProperty() 53 fValue = std::move(value); in SkSVGProperty() 59 fValue.emplace(std::forward<Args>(args)...); in init() 67 return fValue.has_value() ? &fValue.value() : nullptr; in getMaybeNull() 73 fValue.reset(); in set() 79 fValue = value; in set() 84 fValue = std::move(value); in set() 89 SkASSERT(fValue.has_value()); 90 return &fValue.value(); 95 SkASSERT(fValue.has_value()); [all …]
|
/aosp_15_r20/external/pdfium/core/fxcrt/css/ |
H A D | cfx_cssdeclaration.cpp | 115 float fValue; in ParseCSSColor() local 124 if (!ParseCSSNumber(pszValue, nValueLen, &fValue, &eNumType)) in ParseCSSColor() 128 ? FXSYS_roundf(fValue * 2.55f) in ParseCSSColor() 129 : FXSYS_roundf(fValue); in ParseCSSColor() 294 float fValue; in ParseNumber() local 296 if (!ParseCSSNumber(pszValue, nValueLen, &fValue, &eUnit)) in ParseNumber() 298 return pdfium::MakeRetain<CFX_CSSNumberValue>(eUnit, fValue); in ParseNumber() 345 float fValue; in ParseValueListProperty() local 347 if (ParseCSSNumber(pszValue, nValueLen, &fValue, &eNumType)) in ParseValueListProperty() 349 pdfium::MakeRetain<CFX_CSSNumberValue>(eNumType, fValue)); in ParseValueListProperty() [all …]
|
H A D | cfx_css.h | 100 CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue) in CFX_CSSLength() argument 101 : m_unit(eUnit), m_fValue(fValue) {} in CFX_CSSLength() 108 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set() argument 110 m_fValue = fValue; in Set() 141 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set() argument 142 left.Set(eUnit, fValue); in Set() 143 top.Set(eUnit, fValue); in Set() 144 right.Set(eUnit, fValue); in Set() 145 bottom.Set(eUnit, fValue); in Set()
|
/aosp_15_r20/external/icu/libicu/cts_headers/ |
H A D | number_types.h | 319 fValue = other; in NullableValue() 326 fValue = other.fValue; 332 fValue = other; 339 … return fNull ? other.fNull : (other.fNull ? false : static_cast<bool>(fValue == other.fValue)); 355 return fValue; in get() 359 return fValue; in getNoError() 363 return fNull ? defaultValue : fValue; in getOrDefault() 368 T fValue; variable
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/ |
H A D | number_types.h | 307 fValue = other; in NullableValue() 314 fValue = other.fValue; 320 fValue = other; 327 … return fNull ? other.fNull : (other.fNull ? false : static_cast<bool>(fValue == other.fValue)); 343 return fValue; in get() 347 return fValue; in getNoError() 351 return fNull ? defaultValue : fValue; in getOrDefault() 356 T fValue; variable
|
/aosp_15_r20/external/skia/src/gpu/ganesh/ |
H A D | GrResourceHandle.h | 17 GrResourceHandle(int value) : fValue(value) { in GrResourceHandle() 21 GrResourceHandle() : fValue(kInvalid_ResourceHandle) {} in GrResourceHandle() 23 bool operator==(const GrResourceHandle& other) const { return other.fValue == fValue; } 24 bool isValid() const { return kInvalid_ResourceHandle != fValue; } in isValid() 25 int toIndex() const { SkASSERT(this->isValid()); return fValue; } in toIndex() 29 int fValue; variable
|
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | ConstrainedFieldPosition.java | 70 private Object fValue; field in ConstrainedFieldPosition 94 fValue = null; in reset() 131 fValue = null; in constrainField() 162 fValue = null; in constrainClass() 193 fValue = fieldValue; in constrainFieldAndValue() 238 return fValue; in getFieldValue() 290 fValue = value; in setState() 318 return fField == field && Objects.equals(fValue, fieldValue); in matchesField()
|