Home
last modified time | relevance | path

Searched refs:floatVal (Results 1 – 5 of 5) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormat.java128 float floatVal = n.floatValue(); in formatDuration() local
135 double fullSeconds = floatVal; in formatDuration()
136 double intSeconds = Math.floor(floatVal); in formatDuration()
141 floatVal=(float)intSeconds; in formatDuration()
146 p = Period.at(floatVal, outFields[i]); in formatDuration()
148 p = p.and(floatVal, outFields[i]); in formatDuration()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
DBasicDurationFormat.java130 float floatVal = n.floatValue(); in formatDuration() local
137 double fullSeconds = floatVal; in formatDuration()
138 double intSeconds = Math.floor(floatVal); in formatDuration()
143 floatVal=(float)intSeconds; in formatDuration()
148 p = Period.at(floatVal, outFields[i]); in formatDuration()
150 p = p.and(floatVal, outFields[i]); in formatDuration()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableValue.hpp39 float floatVal; member
43 Scalar (float v) : floatVal (v) {} in Scalar()
66 template <> inline float Scalar::as<float> (void) const { return floatVal; } in as()
67 template <> inline float& Scalar::as<float> (void) { return floatVal; } in as()
101 float asFloat (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->floatVal; } in asFloat()
106 …at (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].floatVal; } in asFloat()
134 float& asFloat (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->floatVal; } in asFloat()
139 …oat (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].floatVal; } in asFloat()
153 StridedValueAccess& operator= (float floatVal) { asFloat() = floatVal; return *this; } in operator =() argument
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp1309 const float floatVal = m_rnd.getFloat(1.0, 1000.0); in setUniformsRandom() local
1312 glUniform1f(floatLoc, floatVal); in setUniformsRandom()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp135 float floatVal; //!< Format is FLOAT in validateFeatureLimits() member
273 float floatVal; //!< Format is FLOAT in validateFeatureLimits() member
375 float limitToCheck = featureLimitTable[ndx].floatVal; in validateFeatureLimits()
379 limitToCheck = unsupportedFeatureTable[featureLimitTable[ndx].unsuppTableNdx].floatVal; in validateFeatureLimits()
538 float floatVal; //!< Format is FLOAT member
632 const float limitToCheck = limit.floatVal; in validateLimit()