Home
last modified time | relevance | path

Searched refs:float_value (Results 1 - 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cTextureStorageMultisampleGLCoverageTests.cpp134 glw::GLfloat float_value = -1.0f; in iterate() local
136 gl.getFloatv(pname, &float_value); in iterate()
139 if (de::abs(float_value - float(int_value)) > epsilon) in iterate()
141 m_testCtx.getLog() << tcu::TestLog::Message << "An invalid floating-point value [" << float_value << "]" in iterate()
153 glw::GLfloat float_value = 1.0f; in iterate() local
157 gl.getFloatv(GL_TEXTURE_BINDING_2D_MULTISAMPLE, &float_value); in iterate()
163 if (bool_value != GL_FALSE || de::abs(float_value) > epsilon || int_value != 0) in iterate()
171 float_value = 1.0f; in iterate()
175 gl.getFloatv(GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES, &float_value); in iterate()
182 if (bool_value != GL_FALSE || de::abs(float_value) > epsilo in iterate()
396 glw::GLfloat float_value = 0.0f; iterate() local
523 glw::GLfloat float_value = 1.0f; iterate() local
[all...]
H A Des31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp605 glw::GLfloat float_value = 0.0f; in iterate() local
804 gl.getTexLevelParameterfv(target, 0 /* level */, pname, &float_value); in iterate()
821 DE_ASSERT(float_value == (float)(int)float_value); in iterate()
822 int_value = (int)float_value; in iterate()
1058 float float_value = 0; in iterate() local
1081 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &float_value); in iterate()
1082 red_type = (glw::GLint)float_value; in iterate()
1084 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &float_value); in iterate()
1085 red_size = (glw::GLint)float_value; in iterate()
[all...]
H A Des31cTextureStorageMultisampleDependenciesTests.cpp2248 const glw::GLfloat float_value = (glw::GLfloat)value; in checkAllTexParameterInvocations() local
2252 gl.texParameterf(texture_target, pname, float_value); in checkAllTexParameterInvocations()
2278 gl.texParameterfv(texture_target, pname, &float_value); in checkAllTexParameterInvocations()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayGetterCalls.cpp422 glw::GLfloat float_value = 0.0f; in verifyTextureBindings() local
439 gl.getFloatv(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY, &float_value); in verifyTextureBindings()
442 if (de::abs(float_value - static_cast<float>(m_to_id)) > epsilon) in verifyTextureBindings()
454 if (de::abs(float_value - static_cast<float>(m_to_id)) > epsilon) in verifyTextureBindings()
512 glw::GLfloat float_value = 0.0f; in verifyGetTexLevelParameters() local
536 pname, &float_value); in verifyGetTexLevelParameters()
683 if ((should_use_equal_comparison && (de::abs(float_value - (expected_property_float_value)) > epsilon)) || in verifyGetTexLevelParameters()
684 (!should_use_equal_comparison && (expected_property_float_value < float_value))) in verifyGetTexLevelParameters()
691 << float_value << "]" in verifyGetTexLevelParameters()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c98 float float_value; in rc_inline_literals() local
134 float_value = constant->u.Immediate[swz]; in rc_inline_literals()
135 ret = ieee_754_to_r300_float(float_value, in rc_inline_literals()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderProperties.cpp79 glw::GLfloat float_value[4] = { 0.0f }; in iterate() local
90 gl.getFloatv(pname, float_value); in iterate()
121 if ((n_components >= 1 && de::abs(float_value[0] - (float)expected_value) > epsilon) || in iterate()
122 (n_components >= 2 && de::abs(float_value[1] - (float)expected_value) > epsilon) || in iterate()
123 (n_components >= 3 && de::abs(float_value[2] - (float)expected_value) > epsilon) || in iterate()
124 (n_components >= 4 && de::abs(float_value[3] - (float)expected_value) > epsilon)) in iterate()
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-value.c970 ecma_update_float_number (ecma_value_t float_value, /**< original float value */ in ecma_update_float_number() argument
973 JERRY_ASSERT (ecma_is_value_float_number (float_value)); in ecma_update_float_number()
976 ecma_number_t *number_p = (ecma_number_t *) ecma_get_pointer_from_ecma_value (float_value); in ecma_update_float_number()
987 return float_value; in ecma_update_float_number()
H A Decma-helpers.h275 ecma_value_t ecma_update_float_number (ecma_value_t float_value, ecma_number_t new_number);
/third_party/node/deps/v8/src/ic/
H A Dunary-op-assembler.cc106 FloatOperation float_op = [=](TNode<Float64T> float_value) { in Negate()
107 return Float64Neg(float_value); in Negate()
124 std::function<TNode<Float64T>(TNode<Float64T> /* float_value */)>;
247 FloatOperation float_op = [=](TNode<Float64T> float_value) { in IncrementOrDecrement()
248 return Float64Add(float_value, Float64Constant(kAddValue)); in IncrementOrDecrement()
/third_party/protobuf/python/google/protobuf/internal/
H A Djson_format_test.py70 message.float_value = float('-inf')
824 message.float_value = float('nan')
829 self.assertTrue(math.isnan(parsed_message.float_value))
844 message.float_value = 1.123456789
855 message.float_value = 1.1000000011
859 message.float_value = 1.00000075e-36
863 message.float_value = 12345678912345e+11
877 message.float_value = struct.unpack('<f', byte_array)[0]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cShadingLanguage420PackTests.cpp15377 static const GLfloat float_value = 0.125; in prepareUniforms() local
15381 static const GLfloat float_data[16] = { float_value, float_value, float_value, float_value, in prepareUniforms()
15382 float_value, float_value, float_value, float_value, in prepareUniforms()
15383 float_value, float_valu in prepareUniforms()
15424 static const GLfloat float_value = 0.125f; prepareVertexBuffer() local
[all...]
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_internal.h261 double float_value; member
H A Ddxil_module.c1679 if (c->float_value == value) in dxil_module_get_float_const()
1687 c->float_value = value; in dxil_module_get_float_const()
1703 if (c->float_value == value) in dxil_module_get_double_const()
1711 c->float_value = value; in dxil_module_get_double_const()
2168 if (!emit_float_value(m, c->float_value)) in emit_consts()
2172 if (!emit_double_value(m, c->float_value)) in emit_consts()
/third_party/python/Lib/tomllib/
H A D_parser.py686 float_value = parse_float(float_str)
687 if isinstance(float_value, (dict, list)):
689 return float_value
/third_party/protobuf/python/
H A Dmox.py835 def __init__(self, float_value, places=7):
839 float_value: The value for making the comparison.
843 self._float_value = float_value
847 """Check to see if RHS is almost equal to float_value
850 rhs: the value to compare to float_value
859 # This is probably because either float_value or rhs is not a number.
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
H A Dint128_test.cc613 TypeParam float_value = std::ldexp(static_cast<TypeParam>(0x9f5b), i); in TYPED_TEST() local
616 EXPECT_EQ(float_value, static_cast<TypeParam>(int_value)); in TYPED_TEST()
617 EXPECT_EQ(-float_value, static_cast<TypeParam>(-int_value)); in TYPED_TEST()
618 EXPECT_EQ(int_value, absl::int128(float_value)); in TYPED_TEST()
619 EXPECT_EQ(-int_value, absl::int128(-float_value)); in TYPED_TEST()
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectwriter.cc950 StatusOr<float> float_value = data.ToFloat(); in RenderStructValue() local
951 if (float_value.ok()) { in RenderStructValue()
954 DataPiece(SimpleDtoa(float_value.value()), true)); in RenderStructValue()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc702 std::string float_value = SimpleFtoa(value); in DefaultValue() local
706 if (float_value.find_first_of(".eE") != std::string::npos) { in DefaultValue()
707 float_value.push_back('f'); in DefaultValue()
709 return float_value; in DefaultValue()
/third_party/node/deps/v8/src/deoptimizer/
H A Dtranslated-state.h170 Float32 float_value() const;
H A Dtranslated-state.cc376 Float32 TranslatedValue::float_value() const { in float_value() function in v8::internal::TranslatedValue
452 if (DoubleToSmiInteger(float_value().get_scalar(), &smi)) { in GetRawValue()
548 number = float_value().get_scalar(); in GetValue()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dparser_impl.cc1376 float float_value; in EmitScalarSpecConstants() local
1378 std::memcpy(&float_value, &literal_value, sizeof(float_value)); in EmitScalarSpecConstants()
1379 ast_expr = create<ast::FloatLiteralExpression>(Source{}, float_value); in EmitScalarSpecConstants()
/third_party/node/deps/v8/src/d8/
H A Dd8-test.cc55 arg_f32.float_value, arg_f64.double_value, *options.options_value); in AddAllFastCallbackPatch()
90 arg_f32.float_value, arg_f64.double_value); in AddAllFastCallbackNoOptionsPatch()
/third_party/node/deps/v8/include/
H A Dv8-fast-api-calls.h428 float float_value; member
/third_party/node/deps/v8/include/v8-include/
H A Dv8-fast-api-calls.h437 float float_value; member
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_glsl.cpp4972 float float_value = c.scalar_f16(col, row);
4976 if (std::isnan(float_value) || std::isinf(float_value))
4983 if (float_value == numeric_limits<float>::infinity())
4985 else if (float_value == -numeric_limits<float>::infinity())
4987 else if (std::isnan(float_value))
4998 res = join(type_to_glsl(type), "(", convert_to_string(float_value, current_locale_radix_character), ")");
5007 float float_value = c.scalar_f32(col, row);
5009 if (std::isnan(float_value) || std::isinf(float_value))
[all...]

Completed in 68 milliseconds

12