Home
last modified time | relevance | path

Searched refs:float_value (Results 1 – 25 of 29) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/gles31/
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 …tCtx.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) > epsilon || int_value != 0) in iterate()
[all …]
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()
1087 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, &float_value); in iterate()
[all …]
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/
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)) > epsi… 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/
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/
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/protobuf/python/google/protobuf/internal/
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/jerryscript/jerry-core/ecma/base/
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()
Decma-helpers.h275 ecma_value_t ecma_update_float_number (ecma_value_t float_value, ecma_number_t new_number);
/third_party/protobuf/php/tests/proto/
Dtest_wrapper_type_setters.proto9 google.protobuf.FloatValue float_value = 2; field
/third_party/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto61 float float_value = 6; field
126 google.protobuf.FloatValue float_value = 6; field
/third_party/vk-gl-cts/external/openglcts/modules/gl/
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_value, float_value, float_value, in prepareUniforms()
15384 float_value, float_value, float_value, float_value }; in prepareUniforms()
15424 static const GLfloat float_value = 0.125f; in prepareVertexBuffer() local
15428 static const GLfloat float_data[16] = { float_value, float_value, float_value, float_value, in prepareVertexBuffer()
15429 float_value, float_value, float_value, float_value, in prepareVertexBuffer()
15430 float_value, float_value, float_value, float_value, in prepareVertexBuffer()
15431 float_value, float_value, float_value, float_value }; in prepareVertexBuffer()
Dgl4cShaderSubroutineTests.cpp1710 glw::GLfloat float_value = 0.0f; in iterate() local
1724 gl.getFloatv(pname, &float_value); in iterate()
1773 if (de::abs(float_value - (float)int_value) > epsilon) in iterate()
1775 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid float value [" << float_value in iterate()
1787 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid 64-bit integer value [" << float_value in iterate()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_internal.h261 double float_value; member
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()
Ddxil_dump.c359 _mesa_string_buffer_printf(d->buf, " %10.5f\n", cnst->float_value); in dump_constants()
/third_party/protobuf/src/google/protobuf/util/internal/testdata/
Ddefault_value_test.proto38 float float_value = 3; field
/third_party/protobuf/src/google/protobuf/util/internal/
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/python/
Dmox.py835 def __init__(self, float_value, places=7): argument
843 self._float_value = float_value
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
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/compiler/cpp/
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/protobuf/java/util/src/test/proto/com/google/protobuf/util/
Djson_test.proto153 google.protobuf.FloatValue float_value = 5; field
/third_party/skia/third_party/externals/tint/src/reader/spirv/
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/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp4972 float float_value = c.scalar_f16(col, row); in convert_half_to_string() local
4976 if (std::isnan(float_value) || std::isinf(float_value)) in convert_half_to_string()
4983 if (float_value == numeric_limits<float>::infinity()) in convert_half_to_string()
4985 else if (float_value == -numeric_limits<float>::infinity()) in convert_half_to_string()
4987 else if (std::isnan(float_value)) in convert_half_to_string()
4998 …res = join(type_to_glsl(type), "(", convert_to_string(float_value, current_locale_radix_character)… in convert_half_to_string()
5007 float float_value = c.scalar_f32(col, row); in convert_float_to_string() local
5009 if (std::isnan(float_value) || std::isinf(float_value)) in convert_float_to_string()
5027 if (float_value == -numeric_limits<float>::infinity()) in convert_float_to_string()
5029 else if (std::isnan(float_value)) in convert_float_to_string()
[all …]
/third_party/protobuf/src/google/protobuf/
Dextension_set.h558 float float_value; member

12