Home
last modified time | relevance | path

Searched refs:fValue (Results 1 – 25 of 70) sorted by relevance

123

/external/icu/icu4c/source/i18n/
Dfmtable.cpp101 fValue.fInt64 = 0; in init()
123 fValue.fDate = date; in Formattable()
133 fValue.fDouble = value; in Formattable()
142 fValue.fInt64 = value; in Formattable()
152 fValue.fInt64 = value; in Formattable()
171 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
182 fValue.fString = stringToAdopt; in Formattable()
189 fValue.fObject = objectToAdopt; in Formattable()
199 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable()
200 fValue.fArrayAndCount.fCount = count; in Formattable()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java421 public static float acos(float fValue) { in acos() argument
422 if (-1.0f < fValue) { in acos()
423 if (fValue < 1.0f) { in acos()
424 return (float) Math.acos(fValue); in acos()
442 public static float asin(float fValue) { in asin() argument
443 if (-1.0f < fValue) { in asin()
444 if (fValue < 1.0f) { in asin()
445 return (float) Math.asin(fValue); in asin()
460 public static float atan(float fValue) { in atan() argument
461 return (float) Math.atan(fValue); in atan()
[all …]
/external/skia/src/core/
DSkMaskCache.cpp43 fValue.fMask = mask; in RRectBlurRec()
44 fValue.fData = data; in RRectBlurRec()
45 fValue.fData->attachToCacheAndRef(); in RRectBlurRec()
48 fValue.fData->detachFromCacheAndUnref(); in ~RRectBlurRec()
52 MaskValue fValue; member
55 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
58 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable()
65 SkCachedData* tmpData = rec.fValue.fData; in Visitor()
71 *result = rec.fValue; in Visitor()
138 fValue.fMask = mask; in RectsBlurRec()
[all …]
DSkTMultiMap.h23 explicit ValueList(T* value) : fValue(value), fNext(nullptr) {} in ValueList()
25 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } in GetKey()
27 T* fValue; member
43 ValueList* newEntry = new ValueList(list->fValue); in insert()
48 list->fValue = value; in insert()
62 while (list->fValue != value) { in remove()
69 list->fValue = next->fValue; in remove()
86 return list->fValue; in find()
95 if (f(list->fValue)){ in find()
96 return list->fValue; in find()
DSkYUVPlanesCache.cpp38 fValue.fData = data; in YUVPlanesRec()
39 fValue.fInfo = *info; in YUVPlanesRec()
40 fValue.fData->attachToCacheAndRef(); in YUVPlanesRec()
43 fValue.fData->detachFromCacheAndUnref(); in ~YUVPlanesRec()
47 YUVValue fValue; member
50 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
53 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable()
60 SkCachedData* tmpData = rec.fValue.fData; in Visitor()
67 result->fInfo = rec.fValue.fInfo; in Visitor()
/external/parameter-framework/upstream/parameter/
DFloatingPointParameterType.cpp155 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 …]
/external/skia/include/utils/
DSkRTConf.h39 operator const T&() const { return fValue; }
42 bool isDefault() const { return fDefault == fValue; } in isDefault()
43 void set(const T& value) { fValue = value; } in set()
47 T fValue; variable
109 , fValue(defaultValue) in SkRTConf()
115 fValue = value; in SkRTConf()
148 sprintf(tmp, "%s # [%s]", fValue ? "true" : "false", fDefault ? "true" : "false"); in doPrint()
154 sprintf(tmp, "%d # [%d]", fValue, fDefault); in doPrint()
160 sprintf(tmp, "%u # [%u]", fValue, fDefault); in doPrint()
166 sprintf(tmp, "%6.6f # [%6.6f]", fValue, fDefault); in doPrint()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h295 double getDouble(void) const { return fValue.fDouble; } in getDouble()
317 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } in getLong()
343 int64_t getInt64(void) const { return fValue.fInt64; } in getInt64()
368 UDate getDate() const { return fValue.fDate; } in getDate()
388 { result=*fValue.fString; return result; } in getString()
446 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; } in getArray()
467 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; }
703 } fValue; variable
722 return fValue.fDate; in getDate()
726 return *fValue.fString; in getString()
[all …]
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.h25 : fValue(value) { in ShaderResourceHandle()
30 : fValue(kInvalid_ShaderResourceHandle) { in ShaderResourceHandle()
33 bool operator==(const ShaderResourceHandle& other) const { return other.fValue == fValue; }
34 bool isValid() const { return kInvalid_ShaderResourceHandle != fValue; } in isValid()
35 int toIndex() const { SkASSERT(this->isValid()); return fValue; } in toIndex()
39 int fValue; variable
/external/skia/bench/
DImageCacheBench.cpp15 intptr_t fValue; member in __anon5d26d6e00111::TestKey
17 TestKey(intptr_t value) : fValue(value) { in TestKey()
18 this->init(&gGlobalAddress, 0, sizeof(fValue)); in TestKey()
23 intptr_t fValue; member
25 TestRec(const TestKey& key, intptr_t value) : fKey(key), fValue(value) {} in TestRec()
28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidAudioDevice.java75 float fValue = samples[i]; in writeSamples() local
76 if (fValue > 1) fValue = 1; in writeSamples()
77 if (fValue < -1) fValue = -1; in writeSamples()
78 short value = (short)(fValue * Short.MAX_VALUE); in writeSamples()
/external/dng_sdk/source/
Ddng_image_writer.h212 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 …]
/external/skia/tests/
DImageCacheTest.cpp15 intptr_t fValue; member
17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey()
18 this->init(&gGlobalAddress, sharedID, sizeof(fValue)); in TestingKey()
22 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {} in TestingRec()
25 intptr_t fValue; member
28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed()
36 *result = rec.fValue; in Visitor()
DGrMemoryPoolTest.cpp173 int fValue; member
205 rec->fValue = static_cast<int>(r.nextU()); in DEF_TEST()
206 rec->fInstance->setValues(rec->fValue); in DEF_TEST()
210 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
217 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
223 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
DScalarTest.cpp129 float fValue; in test_isfinite() member
173 bool finite = gProc1[k](rec.fValue); in test_isfinite()
186 bool finite = gProc2[m](rec0.fValue, rec1.fValue, proc1); in test_isfinite()
DTDPQueueTest.cpp68 int fValue; member
76 return fValue == that.fValue && fPriority == that.fPriority; in operator ==()
93 dummy->fValue = random.nextS(); in random_test()
/external/junit/src/org/junit/internal/
DAssumptionViolatedException.java11 private final Object fValue; field in AssumptionViolatedException
17 fValue= value; in AssumptionViolatedException()
33 description.appendValue(fValue); in describeTo()
37 description.appendText("failed assumption: " + fValue); in describeTo()
/external/skia/src/views/
DSkProgressView.cpp17 fValue = 0; in SkProgressView()
35 if (fValue > 0) in setMax()
42 if (fValue != value) in setValue()
49 SkScalar x = (SkScalar)(fValue << 8); in setValue()
54 fValue = SkToU16(value); in setValue()
81 U16CPU value = SkMax32(0, SkMin32(fValue, fMax)); in onDraw()
/external/skia/include/private/
DSkTDict.h36 fArray[index].fValue = value; in set()
44 pair->fValue = value; in set()
66 *value = fArray[index].fValue; in find()
76 if (pair->fValue != value) { in findKey()
88 T fValue; member
113 *value = fIter->fValue; in next()
/external/skia/samplecode/
DSampleFilterQuality.cpp107 SkScalar fValue; member
112 operator SkScalar() const { return fValue; } in operator SkScalar()
115 fValue = value; in set()
122 fValue = value; in setMod()
129 fValue += delta; in inc()
135 fValue = SkScalarMod(fValue, fMod); in fixUp()
137 if (fValue > fMax) { in fixUp()
138 fValue = fMax; in fixUp()
139 } else if (fValue < fMin) { in fixUp()
140 fValue = fMin; in fixUp()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_basic_imp.cpp452 FX_FLOAT fValue = FX_wcstof(wsMeasure.GetPtr() + iOffset, in Set() local
455 Set(fValue, eUnit); in Set()
488 FX_BOOL CXFA_Measurement::ToUnit(XFA_UNIT eUnit, FX_FLOAT& fValue) const { in ToUnit()
489 fValue = GetValue(); in ToUnit()
498 fValue *= 72 / 2.54f / 10; in ToUnit()
501 fValue *= 72; in ToUnit()
504 fValue *= 72 / 2.54f; in ToUnit()
507 fValue *= 0.001f; in ToUnit()
510 fValue *= 12.0f; in ToUnit()
513 fValue = 0; in ToUnit()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_cssdeclaration.cpp77 FX_FLOAT fValue) const { in NewNumberValue()
79 if (eUnit == FDE_CSSPRIMITIVETYPE_Number && FXSYS_fabs(fValue) < 0.001f) { in NewNumberValue()
82 return FDE_NewWith(pStaticStore) CFDE_CSSPrimitiveValue(eUnit, fValue); in NewNumberValue()
285 FX_FLOAT fValue; in ParseNumber() local
287 if (!FDE_ParseCSSNumber(pszValue, iValueLen, fValue, eUnit)) { in ParseNumber()
290 return NewNumberValue(pArgs->pStaticStore, eUnit, fValue); in ParseNumber()
384 FX_FLOAT fValue; in ParseFunction() local
385 if (FDE_ParseCSSNumber(pszValue, iValueLen, fValue, ePrimitiveType)) { in ParseFunction()
387 NewNumberValue(pArgs->pStaticStore, ePrimitiveType, fValue)); in ParseFunction()
478 FX_FLOAT fValue; in ParseCounterProperty() local
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_system.cpp109 FX_FLOAT fValue = 0.0f; in FX_wcstof() local
113 fValue = fValue * 10.0f + (wch - L'0'); in FX_wcstof()
124 fValue += (wch - L'0') * fPrecise; in FX_wcstof()
134 return bNegtive ? -fValue : fValue; in FX_wcstof()
/external/skia/src/animator/
DSkDrawColor.cpp125 fHue = fSaturation = fValue = SK_ScalarNaN; in SkDrawColor()
141 copy->fValue = fValue; in deepCopy()
161 if (SkScalarIsNaN(fValue) == false) in getColor()
162 color = HSV_to_RGB(color, kGetValue, fValue); in getColor()
257 fValue = scalar;//RGB_to_HSV(color, kGetValue); in setProperty()
/external/pdfium/xfa/src/fdp/include/
Dfde_css.h530 FDE_CSSLENGTH& Set(FDE_CSSLENGTHUNIT eUnit, FX_FLOAT fValue) { in Set()
531 m_iData = ((intptr_t)(fValue * 1024.0f) << FDE_CSSUNITBITS) | eUnit; in Set()
549 FDE_CSSPOINT& Set(FDE_CSSLENGTHUNIT eUnit, FX_FLOAT fValue) { in Set()
550 x.Set(eUnit, fValue); in Set()
551 y.Set(eUnit, fValue); in Set()
562 FDE_CSSSIZE& Set(FDE_CSSLENGTHUNIT eUnit, FX_FLOAT fValue) { in Set()
563 cx.Set(eUnit, fValue); in Set()
564 cy.Set(eUnit, fValue); in Set()
577 FDE_CSSRECT& Set(FDE_CSSLENGTHUNIT eUnit, FX_FLOAT fValue) { in Set()
578 left.Set(eUnit, fValue); in Set()
[all …]

123