/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/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/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/boost/libs/multiprecision/doc/html/ |
D | standalone_HTML.manifest | 11 boost_multiprecision/tut/floats.html 12 boost_multiprecision/tut/floats/cpp_bin_float.html 13 boost_multiprecision/tut/floats/cpp_dec_float.html 14 boost_multiprecision/tut/floats/gmp_float.html 15 boost_multiprecision/tut/floats/mpfr_float.html 16 boost_multiprecision/tut/floats/float128.html 17 boost_multiprecision/tut/floats/fp_eg.html 18 boost_multiprecision/tut/floats/fp_eg/aos.html 19 boost_multiprecision/tut/floats/fp_eg/caveats.html 20 boost_multiprecision/tut/floats/fp_eg/jel.html [all …]
|
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | more_defaults_generated.swift | 33 case floats = 6 45 …public var floatsCount: Int32 { let o = _accessor.offset(VTOFFSET.floats.v); return o == 0 ? 0 : _… 46 …public func floats(at index: Int32) -> Float32 { let o = _accessor.offset(VTOFFSET.floats.v); retu… in floats() function 47 public var floats: [Float32] { return _accessor.getVector(at: VTOFFSET.floats.v) ?? [] } variable 59 …ublic static func addVectorOf(floats: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: fl… in addVectorOf() 68 floatsVectorOffset floats: Offset = Offset(), 76 MoreDefaults.addVectorOf(floats: floats, &fbb) 95 let __floats = builder.createVector(obj.floats) in pack() 114 MoreDefaults.addVectorOf(floats: __floats, &builder) in pack() 126 public var floats: [Float32] variable [all …]
|
D | FlatbuffersMoreDefaults.swift | 31 XCTAssertEqual(defaults.floats, []) in testFlatbuffersObject() 45 XCTAssertEqual(defaults.floats, []) in testFlatbuffersObjectAPI() 54 XCTAssertEqual(fDefaults.floats, []) in testFlatbuffersObjectAPI()
|
/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/flatbuffers/tests/ |
D | more_defaults_generated.rs | 131 if let Some(x) = args.floats { builder.add_floats(x); } in create() 141 let floats = { in unpack() localVariable 142 let x = self.floats(); in unpack() 163 floats, in unpack() 182 pub fn floats(&self) -> flatbuffers::Vector<'a, f32> { in floats() method 222 pub floats: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, f32>>>, field 233 floats: None, in default() 251 pub fn add_floats(&mut self, floats: flatbuffers::WIPOffset<flatbuffers::Vector<'b , f32>>) { in add_floats() 252 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(MoreDefaults::VT_FLOATS, floats); in add_floats() 289 ds.field("floats", &self.floats()); in fmt() [all …]
|
/third_party/boost/libs/sort/test/ |
D | sort_detail_test.cpp | 255 vector<float> floats; in swap_loop_test() local 260 floats.push_back(6.0f); in swap_loop_test() 261 floats.push_back(5.0f); // stays in place in swap_loop_test() 262 floats.push_back(8.0f); in swap_loop_test() 263 floats.push_back(7.0f); in swap_loop_test() 264 floats.push_back(4.0f); in swap_loop_test() 266 float_bin_vector.push_back(floats.begin()); in swap_loop_test() 273 for (unsigned i = 0; i < floats.size(); ++i) { in swap_loop_test() 274 BOOST_CHECK(floats[i] == 4.0f + i); in swap_loop_test() 276 BOOST_CHECK(next_float_bin_start == floats.begin() + bin_sizes[0]); in swap_loop_test()
|
/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/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/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/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/mindspore/mindspore/lite/examples/quick_start_java/src/main/java/com/mindspore/lite/demo/ |
D | Main.java | 29 private static ByteBuffer floatArrayToByteBuffer(float[] floats) { in floatArrayToByteBuffer() argument 30 if (floats == null) { in floatArrayToByteBuffer() 33 ByteBuffer buffer = ByteBuffer.allocateDirect(floats.length * Float.BYTES); in floatArrayToByteBuffer() 36 floatBuffer.put(floats); in floatArrayToByteBuffer()
|
/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/boost/libs/mpl/test/ |
D | filter_view.cpp | 30 typedef mpl::list<float,float,long double> floats; in MPL_TEST_CASE() typedef 32 MPL_ASSERT(( equal< mpl::filter_view< types,boost::is_float<_> >::type,floats > )); in MPL_TEST_CASE()
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 543 void TestWithMultipleFormatsHelper(const std::vector<Floating> &floats) { in TestWithMultipleFormatsHelper() argument 574 for (Floating d : floats) { in TestWithMultipleFormatsHelper() 611 std::vector<float> floats = {0.0f, in TEST_F() local 627 floats.push_back(0.999999989f); in TEST_F() 630 floats.push_back(std::numeric_limits<float>::denorm_min()); in TEST_F() 631 floats.push_back(-std::numeric_limits<float>::denorm_min()); in TEST_F() 639 floats.push_back(sign * std::ldexp(base, exp)); in TEST_F() 646 floats.push_back(std::ldexp(all_ones_mantissa, exp)); in TEST_F() 650 std::sort(floats.begin(), floats.end()); in TEST_F() 651 floats.erase(std::unique(floats.begin(), floats.end()), floats.end()); in TEST_F() [all …]
|
/third_party/flatbuffers/tests/rust_usage_test/tests/ |
D | more_defaults_test.rs | 12 floats: Vec::new(), in object_defaults() 25 assert_eq!(m.floats().len(), 0); in nonpresent_values()
|
/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/boost/libs/compute/test/ |
D | test_tuple.cpp | 95 compute::vector<float> floats(3, context); in BOOST_AUTO_TEST_CASE() local 97 vector.begin(), vector.end(), floats.begin(), compute::get<2>(), queue in BOOST_AUTO_TEST_CASE() 99 CHECK_RANGE_EQUAL(float, 3, floats, (2.3f, 4.5f, 7.8f)); in BOOST_AUTO_TEST_CASE()
|
/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/boost/libs/mpl/doc/src/refmanual/ |
D | deque.rst | 46 typedef deque<float,double,long double> floats; 47 typedef push_back<floats,int>::type types;
|
/third_party/mindspore/mindspore/lite/examples/runtime_java/app/src/main/java/com/mindspore/lite/demo/ |
D | MainActivity.java | 48 private byte[] floatArrayToByteArray(float[] floats) { in floatArrayToByteArray() argument 49 if (floats == null) { in floatArrayToByteArray() 52 ByteBuffer buffer = ByteBuffer.allocate(floats.length * Float.BYTES); in floatArrayToByteArray() 55 floatBuffer.put(floats); in floatArrayToByteArray()
|