/external/mesa3d/src/util/ |
D | roundeven_test.c | 36 } float_data[] = { in main() local 71 for (i = 0; i < ARRAY_SIZE(float_data); i++) { in main() 72 float output = _mesa_roundevenf(float_data[i].input); in main() 73 if (memcmp(&float_data[i].expected, &output, sizeof(float))) { in main() 77 float_data[i].expected, in main() 78 float_data[i].expected, in main() 79 float_data[i].input, in main() 80 float_data[i].input, in main() 88 for (i = 0; i < ARRAY_SIZE(float_data); i++) { in main() 89 float output = _mesa_roundevenf(-float_data[i].input); in main() [all …]
|
/external/tensorflow/tensorflow/core/kernels/fuzzing/ |
D | check_numerics_fuzz.cc | 35 const float* float_data = reinterpret_cast<const float*>(data); in FuzzImpl() local 41 flat_tensor(i) = float_data[i]; in FuzzImpl()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cTextureStorageMultisampleGetTexLevelParameterifvTests.hpp | 161 glw::GLfloat float_data; member in glcts::MultisampleTextureGetTexLevelParametervInvalidTextureTargetRejectedTest 177 glw::GLfloat float_data; member in glcts::MultisampleTextureGetTexLevelParametervInvalidValueArgumentRejectedTest 196 glw::GLfloat float_data; member in glcts::MultisampleTextureGetTexLevelParametervNegativeLodIsRejectedTest
|
D | es31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp | 1172 , float_data(0.0f) in MultisampleTextureGetTexLevelParametervInvalidTextureTargetRejectedTest() 1203 GL_TEXTURE_RED_TYPE, &float_data); in iterate() 1222 , float_data(0.0f) in MultisampleTextureGetTexLevelParametervInvalidValueArgumentRejectedTest() 1258 GL_SIGNED_NORMALIZED /* invalid value */, &float_data); in iterate() 1278 , float_data(0.0f) in MultisampleTextureGetTexLevelParametervNegativeLodIsRejectedTest() 1347 …velParameterfv(GL_TEXTURE_2D_MULTISAMPLE, -1 /* negative lod */, GL_TEXTURE_RED_TYPE, &float_data); in iterate()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantization_utils.cc | 172 float* float_data = reinterpret_cast<float*>(buffer->data.data()); in SymmetricQuantizeTensor() local 180 tensor_utils::SymmetricQuantizeFloats(float_data, num_elements, in SymmetricQuantizeTensor()
|
D | subgraph_quantizer.cc | 170 float* float_data = reinterpret_cast<float*>(buffer->data.data()); in SymmetricPerChannelBiasQuantize() local 181 TfLiteRound(float_data[channel_idx] * scaling_factor_inv)); in SymmetricPerChannelBiasQuantize()
|
/external/deqp/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 253 float float_data; member 2502 result.red.float_data = red; in getR16FPixelData() 2507 result.alpha.float_data = 1; in getR16FPixelData() 2509 result.red.float_data = red; in getR16FPixelData() 2539 result.red.float_data = red; in getR32FPixelData() 2544 result.alpha.float_data = 1; in getR32FPixelData() 2546 result.red.float_data = red; in getR32FPixelData() 2577 result.red.float_data = red; in getRG16FPixelData() 2579 result.green.float_data = green; in getRG16FPixelData() 2584 result.alpha.float_data = 1; in getRG16FPixelData() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 314 bool ReadChunk(FILE* file, int16_t* int_data, float* float_data, in ReadChunk() argument 325 S16ToFloat(int_data, frame_size, float_data); in ReadChunk() 327 MixStereoToMono(float_data, cb->channels()[0], cb->num_frames()); in ReadChunk() 329 Deinterleave(float_data, cb->num_frames(), 2, in ReadChunk() 1318 rtc::scoped_ptr<float[]> float_data(new float[max_length]); in TEST_F() local 1331 float_data.get(), in TEST_F() 1356 float_data.get(), in TEST_F() 2439 rtc::scoped_ptr<float[]> float_data(new float[max_length]); in ProcessFormat() local 2443 while (ReadChunk(far_file, int_data.get(), float_data.get(), &rev_cb) && in ProcessFormat() 2444 ReadChunk(near_file, int_data.get(), float_data.get(), &fwd_cb)) { in ProcessFormat() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShadingLanguage420PackTests.cpp | 4567 static const GLfloat float_data[16] = { 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, in prepareUniforms() local 4581 program.uniform("uni_left", Utils::FLOAT, test_case.m_n_cols, test_case.m_n_rows, float_data); in prepareUniforms() 4582 program.uniform("uni_right", Utils::FLOAT, test_case.m_n_cols, test_case.m_n_rows, float_data); in prepareUniforms() 5271 static const GLfloat float_data[4] = { 0.5f, 0.125f, 0.375f, 0.0f }; in prepareUniforms() local 5275 program.uniform("uni_vector", Utils::FLOAT, 1, 4, float_data); in prepareUniforms() 5276 program.uniform("uni_matrix", Utils::FLOAT, 2, 2, float_data); in prepareUniforms() 6748 static const GLfloat float_data[4] = { 0.0f, 0.0f, 1.0f, 1.0f }; in prepareUniforms() local 6750 program.uniform("uni_fs_test", Utils::FLOAT, 1 /* n_cols */, 4 /* n_rows */, float_data); in prepareUniforms() 6751 program.uniform("uni_gs_test", Utils::FLOAT, 1 /* n_cols */, 4 /* n_rows */, float_data); in prepareUniforms() 6752 program.uniform("uni_tcs_test", Utils::FLOAT, 1 /* n_cols */, 4 /* n_rows */, float_data); in prepareUniforms() [all …]
|
D | gl4cShaderSubroutineTests.cpp | 4887 GLfloat* float_data = (GLfloat*)feedback_data; in testDraw() local 4890 vec4_results[i].m_x = float_data[i * 4 + 0]; in testDraw() 4891 vec4_results[i].m_y = float_data[i * 4 + 1]; in testDraw() 4892 vec4_results[i].m_z = float_data[i * 4 + 2]; in testDraw() 4893 vec4_results[i].m_w = float_data[i * 4 + 3]; in testDraw() 4896 GLuint* uint_data = (GLuint*)(float_data + (n_vec4_varyings)*4); in testDraw()
|
/external/swiftshader/third_party/llvm-subzero/lib/Demangle/ |
D | ItaniumDemangle.cpp | 81 template <class Float> struct float_data; 83 template <> struct float_data<float> { struct 88 const char *float_data<float>::spec = "%af"; 90 template <> struct float_data<double> { struct 96 const char *float_data<double>::spec = "%a"; 98 template <> struct float_data<long double> { struct 112 const char *float_data<long double>::spec = "%LaL"; 118 const size_t N = float_data<Float>::mangled_size; in parse_floating_number() 141 char num[float_data<Float>::max_demangled_size] = {0}; in parse_floating_number() 142 int n = snprintf(num, sizeof(num), float_data<Float>::spec, value); in parse_floating_number()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils_test.cc | 799 Tensor float_data(DT_FLOAT, TensorShape({width})); in TestGetInOutTypes() local 800 test::FillIota<float>(&float_data, 1.0f); in TestGetInOutTypes() 802 Const(root.WithOpName("float_const"), Input::Initializer(float_data)); in TestGetInOutTypes()
|