/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl3cGPUShader5Tests.cpp | 860 static const glw::GLfloat floats[4] = { -1.0f, -1234.0f, 1.0f, 1234.0f }; in iterate() local 868 { Utils::VARIABLE_TYPE_FLOAT, "float", floats }, in iterate() 872 { Utils::VARIABLE_TYPE_INT, "int", floats }, in iterate() 873 { Utils::VARIABLE_TYPE_FLOAT, "float", floats }, in iterate() 878 { Utils::VARIABLE_TYPE_VEC2, "vec2", floats }, in iterate() 882 { Utils::VARIABLE_TYPE_IVEC2, "ivec2", floats }, in iterate() 883 { Utils::VARIABLE_TYPE_VEC2, "vec2", floats }, in iterate() 888 { Utils::VARIABLE_TYPE_VEC3, "vec3", floats }, in iterate() 892 { Utils::VARIABLE_TYPE_IVEC3, "ivec3", floats }, in iterate() 893 { Utils::VARIABLE_TYPE_VEC3, "vec3", floats }, in iterate() [all …]
|
/third_party/flutter/skia/tests/ |
D | F16StagesTest.cpp | 14 float floats[16] = { in DEF_TEST() local 21 SkRasterPipeline_MemoryCtx f32 = { floats, 0 }, in DEF_TEST() 45 REPORTER_ASSERT(r, floats[0] == 0.00f); in DEF_TEST() 46 REPORTER_ASSERT(r, floats[1] == 0.25f); in DEF_TEST() 47 REPORTER_ASSERT(r, floats[2] == 0.50f); in DEF_TEST() 48 REPORTER_ASSERT(r, floats[3] == 1.00f); in DEF_TEST() 49 REPORTER_ASSERT(r, floats[4] == -1.25f); in DEF_TEST() 50 REPORTER_ASSERT(r, floats[5] == -0.50f); in DEF_TEST() 51 REPORTER_ASSERT(r, floats[6] == 1.25f); in DEF_TEST() 52 REPORTER_ASSERT(r, floats[7] == 2.00f); in DEF_TEST()
|
/third_party/skia/tests/ |
D | F16StagesTest.cpp | 14 float floats[16] = { in DEF_TEST() local 21 SkRasterPipeline_MemoryCtx f32 = { floats, 0 }, in DEF_TEST() 45 REPORTER_ASSERT(r, floats[0] == 0.00f); in DEF_TEST() 46 REPORTER_ASSERT(r, floats[1] == 0.25f); in DEF_TEST() 47 REPORTER_ASSERT(r, floats[2] == 0.50f); in DEF_TEST() 48 REPORTER_ASSERT(r, floats[3] == 1.00f); in DEF_TEST() 49 REPORTER_ASSERT(r, floats[4] == -1.25f); in DEF_TEST() 50 REPORTER_ASSERT(r, floats[5] == -0.50f); in DEF_TEST() 51 REPORTER_ASSERT(r, floats[6] == 1.25f); in DEF_TEST() 52 REPORTER_ASSERT(r, floats[7] == 2.00f); in DEF_TEST()
|
/third_party/pulseaudio/src/tests/ |
D | cpu-sconv-test.c | 47 float *floats; in run_conv_test_float_to_s16() local 53 floats = f + (8 - align); in run_conv_test_float_to_s16() 57 floats[i] = 2.1f * (rand()/(float) RAND_MAX - 0.5f); in run_conv_test_float_to_s16() 61 orig_func(nsamples, floats, samples_ref); in run_conv_test_float_to_s16() 62 func(nsamples, floats, samples); in run_conv_test_float_to_s16() 67 … pa_log_debug("%d: %04hx != %04hx (%.24f)\n", i, samples[i], samples_ref[i], floats[i]); in run_conv_test_float_to_s16() 77 func(nsamples, floats, samples); in run_conv_test_float_to_s16() 81 orig_func(nsamples, floats, samples_ref); in run_conv_test_float_to_s16() 98 float *floats, *floats_ref; in run_conv_test_s16_to_float() local 103 floats = f + (8 - align); in run_conv_test_s16_to_float() [all …]
|
/third_party/skia/modules/canvaskit/ |
D | rt_shader.js | 18 CanvasKit.RuntimeEffect.prototype.makeShader = function(floats, isOpaque, localMatrix) { argument 20 var fptr = copy1dArray(floats, "HEAPF32"); 24 return this._makeShader(fptr, floats.length * 4, !!isOpaque, localMatrixPtr); 28 …CanvasKit.RuntimeEffect.prototype.makeShaderWithChildren = function(floats, isOpaque, childrenShad… argument 30 var fptr = copy1dArray(floats, "HEAPF32"); 41 return this._makeShaderWithChildren(fptr, floats.length * 4, !!isOpaque, childrenPointers,
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/ |
D | 0-opt.spvasm | 9 OpName %floats "floats" 62 %floats = OpVariable %_ptr_Function__arr_float_uint_9 Function 67 %44 = OpAccessChain %_ptr_Function_float %floats %int_1 106 %74 = OpAccessChain %_ptr_Function_float %floats %73 156 %100 = OpAccessChain %_ptr_Function_float %floats %int_1
|
D | 0-opt.wgsl | 14 var floats : array<f32, 9>; 19 floats[1] = 0.0; 39 floats[x_73] = 1.0; 76 let x_101 : f32 = floats[1];
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UniformTest.cpp | 97 std::vector<GLfloat> floats(2, 0); in TEST_P() local 98 glGetUniformfv(program, uniformLocation, floats.data()); in TEST_P() 100 ASSERT_EQ(floats, expected); in TEST_P() 121 std::vector<GLfloat> floats(3, 0); in TEST_P() local 122 glGetUniformfv(program, uniformLocation, floats.data()); in TEST_P() 124 ASSERT_EQ(floats, expected); in TEST_P() 145 std::vector<GLfloat> floats(4, 0); in TEST_P() local 146 glGetUniformfv(program, uniformLocation, floats.data()); in TEST_P() 148 ASSERT_EQ(floats, expected); in TEST_P() 169 std::vector<GLfloat> floats(4, 0); in TEST_P() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UniformTest.cpp | 97 std::vector<GLfloat> floats(2, 0); in TEST_P() local 98 glGetUniformfv(program, uniformLocation, floats.data()); in TEST_P() 100 ASSERT_EQ(floats, expected); in TEST_P() 121 std::vector<GLfloat> floats(3, 0); in TEST_P() local 122 glGetUniformfv(program, uniformLocation, floats.data()); in TEST_P() 124 ASSERT_EQ(floats, expected); in TEST_P() 145 std::vector<GLfloat> floats(4, 0); in TEST_P() local 146 glGetUniformfv(program, uniformLocation, floats.data()); in TEST_P() 148 ASSERT_EQ(floats, expected); in TEST_P() 169 std::vector<GLfloat> floats(4, 0); in TEST_P() local [all …]
|
/third_party/json/benchmarks/src/ |
D | benchmarks.cpp | 36 BENCHMARK_CAPTURE(ParseFile, floats, TEST_DATA_DIRECTORY "/regression/floats.json"); 69 BENCHMARK_CAPTURE(ParseString, floats, TEST_DATA_DIRECTORY "/regression/floats.json"); 100 BENCHMARK_CAPTURE(Dump, floats / -, TEST_DATA_DIRECTORY "/regression/floats.json", … 101 BENCHMARK_CAPTURE(Dump, floats / 4, TEST_DATA_DIRECTORY "/regression/floats.json", …
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
D | gen-invalid-implicit-conversions.py | 98 floats = ['float', 'vec2', 'vec3', 'vec4'] variable 103 caseFpInt = createCase(op, floats, sintegers) 105 caseFpUint = createCase(op, floats, uintegers)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 560 void TestWithMultipleFormatsHelper(const std::vector<Floating> &floats, in TestWithMultipleFormatsHelper() argument 592 for (Floating d : floats) { in TestWithMultipleFormatsHelper() 632 std::vector<float> floats = {0.0f, in TEST_F() local 649 floats.push_back(0.999999989f); in TEST_F() 652 floats.push_back(std::numeric_limits<float>::denorm_min()); in TEST_F() 653 floats.push_back(-std::numeric_limits<float>::denorm_min()); in TEST_F() 661 floats.push_back(sign * std::ldexp(base, exp)); in TEST_F() 668 floats.push_back(std::ldexp(all_ones_mantissa, exp)); in TEST_F() 672 std::sort(floats.begin(), floats.end()); in TEST_F() 673 floats.erase(std::unique(floats.begin(), floats.end()), floats.end()); in TEST_F() [all …]
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
D | gen-invalid-implicit-conversions.py | 93 floats = ['float', 'vec2', 'vec3', 'vec4'] variable 97 caseFpInt = createCase(op, floats, sintegers)
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gl/aosp_mustpass/main/ |
D | gl45-es3-master.txt | 684 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getboolean 685 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getinteger 686 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getinteger64 687 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getfloat 688 dEQP-GL45-ES3.functional.state_query.floats.line_width_getboolean 689 dEQP-GL45-ES3.functional.state_query.floats.line_width_getinteger 690 dEQP-GL45-ES3.functional.state_query.floats.line_width_getinteger64 691 dEQP-GL45-ES3.functional.state_query.floats.line_width_getfloat 692 dEQP-GL45-ES3.functional.state_query.floats.polygon_offset_factor_getboolean 693 dEQP-GL45-ES3.functional.state_query.floats.polygon_offset_factor_getinteger [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gl/aosp_mustpass/4.6.1.x/ |
D | gl45-es3-master.txt | 684 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getboolean 685 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getinteger 686 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getinteger64 687 dEQP-GL45-ES3.functional.state_query.floats.depth_range_getfloat 688 dEQP-GL45-ES3.functional.state_query.floats.line_width_getboolean 689 dEQP-GL45-ES3.functional.state_query.floats.line_width_getinteger 690 dEQP-GL45-ES3.functional.state_query.floats.line_width_getinteger64 691 dEQP-GL45-ES3.functional.state_query.floats.line_width_getfloat 692 dEQP-GL45-ES3.functional.state_query.floats.polygon_offset_factor_getboolean 693 dEQP-GL45-ES3.functional.state_query.floats.polygon_offset_factor_getinteger [all …]
|
/third_party/python/Lib/test/ |
D | ieee754.txt | 10 You must never compare two floats with == because you are not going to get 11 what you expect. We treat two floats as equal if the difference between them 15 ... """Almost equal helper for floats"""
|
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/ |
D | OES_vertex_half_float.txt | 45 data such as color, normals, texture coordinates etc. By using half floats 46 instead of floats, we reduce the memory requirements by half. Not only does 49 Another advantage of using half floats over short/byte data types is that we
|
/third_party/openGLES/extensions/OES/ |
D | OES_vertex_half_float.txt | 55 data such as color, normals, texture coordinates etc. By using half floats 56 instead of floats, we reduce the memory requirements by half. Not only does 59 Another advantage of using half floats over short/byte data types is that we
|
/third_party/openGLES/extensions/SGIX/ |
D | SGIX_shadow_ambient.txt | 71 TEXTURE_BORDER_COLOR 4 floats any 4 values in [0,1] 79 TEXTURE_CLIPMAP_OFFSET_SGIX 2 floats any 2 values
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | SGIX_shadow_ambient.txt | 71 TEXTURE_BORDER_COLOR 4 floats any 4 values in [0,1] 79 TEXTURE_CLIPMAP_OFFSET_SGIX 2 floats any 2 values
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 584 float *floats = data; in pan_inline_blend_constants() local 586 { .f32 = floats[0] }, in pan_inline_blend_constants() 587 { .f32 = floats[1] }, in pan_inline_blend_constants() 588 { .f32 = floats[2] }, in pan_inline_blend_constants() 589 { .f32 = floats[3] } in pan_inline_blend_constants()
|
/third_party/ffmpeg/libavcodec/arm/ |
D | fmtconvert_vfp.S | 50 @ Array is (2 + multiple of 3) x 8 floats long 129 10: @ Array is (multiple of 3) x 8 floats long 144 11: @ Array is (1 + multiple of 3) x 8 floats long
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
D | compound-sizes.c | 58 static float floats[42]; variable
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 35 static void verify_floats(const float* floats, int count) { in verify_floats() argument 37 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 938 std::set<float> floats = {3.4028234e38f}; in ExhaustiveFloat() local 940 for (float testf = f; testf != 0; testf *= 0.1f) floats.insert(testf); in ExhaustiveFloat() 941 for (float testf = f; testf != 0; testf *= 0.5f) floats.insert(testf); in ExhaustiveFloat() 943 floats.insert(testf); in ExhaustiveFloat() 944 for (float testf = f; testf < 3e38f / 10; testf *= 10) floats.insert(testf); in ExhaustiveFloat() 947 float last = *floats.begin(); in ExhaustiveFloat() 951 int iters_per_float = cases / floats.size(); in ExhaustiveFloat() 953 for (float f : floats) { in ExhaustiveFloat()
|