Home
last modified time | relevance | path

Searched refs:result_data (Results 1 – 25 of 27) sorted by relevance

12

/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayColorDepthAttachments.cpp1037 glw::GLuint* result_data = new glw::GLuint[result_data_size]; in verifyColorData() local
1039 DE_ASSERT(result_data != NULL); in verifyColorData()
1044 texture_size.m_size, texture_size.m_size, GL_RGBA_INTEGER, m_color_type, result_data); in verifyColorData()
1050 …ult = verifyImage<glw::GLuint, 4>(texture_size.m_size, texture_size.m_size, expected, result_data); in verifyColorData()
1053 if (result_data != NULL) in verifyColorData()
1055 delete[] result_data; in verifyColorData()
1057 result_data = NULL; in verifyColorData()
1079 glw::GLushort* result_data = new glw::GLushort[result_data_size]; in verifyDepth16Data() local
1081 DE_ASSERT(result_data != NULL); in verifyDepth16Data()
1088 texture_size.m_size, texture_size.m_size, m_depth_format, m_depth_type, result_data); in verifyDepth16Data()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_test.cc111 float result_data[4] = {0}; in TEST_P() local
112 memcpy(&result_data[0], TF_TensorData(dA_tensor), in TEST_P()
118 ASSERT_NEAR(result_data[j], expected_dA[j], tolerance); in TEST_P()
125 memcpy(&result_data[0], TF_TensorData(dB_tensor), in TEST_P()
130 ASSERT_NEAR(result_data[j], expected_dB[j], tolerance); in TEST_P()
188 float result_data[4] = {0}; in TEST_P() local
189 memcpy(&result_data[0], TF_TensorData(scores_tensor), in TEST_P()
195 ASSERT_NEAR(result_data[j], expected_scores[j], tolerance); in TEST_P()
202 memcpy(&result_data[0], TF_TensorData(loss_vals_tensor), in TEST_P()
206 ASSERT_NEAR(result_data[j], expected_losses[j], tolerance); in TEST_P()
[all …]
Dc_api_unified_experimental_test.cc164 float result_data[4] = {0}; in TEST_P() local
165 memcpy(&result_data[0], TF_TensorData(result_tensor), in TEST_P()
170 EXPECT_EQ(result_data[i], 0); in TEST_P()
247 float result_data[4] = {0}; in TEST_P() local
248 memcpy(&result_data[0], TF_TensorData(result_tensor), in TEST_P()
256 EXPECT_EQ(result_data[i], e_vals[i]); in TEST_P()
333 float result_data[4] = {0}; in TEST_P() local
334 memcpy(&result_data[0], TF_TensorData(result_tensor), in TEST_P()
342 EXPECT_EQ(result_data[i], e_vals[i]); in TEST_P()
527 float result_data[4] = {0}; in TEST_P() local
[all …]
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc477 uint8_t *result_data, *result2_data; in TestCertReparse() local
488 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCertReparse()
489 bssl::UniquePtr<uint8_t> free_result_data(result_data); in TestCertReparse()
491 CBS_init(&pkcs7, result_data, result_len); in TestCertReparse()
507 EXPECT_EQ(Bytes(result_data, result_len), Bytes(result2_data, result2_len)); in TestCertReparse()
551 EXPECT_EQ(Bytes(result_data, result_len), Bytes(result4_data, result4_len)); in TestCertReparse()
559 uint8_t *result_data, *result2_data; in TestCRLReparse() local
570 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCRLReparse()
571 bssl::UniquePtr<uint8_t> free_result_data(result_data); in TestCRLReparse()
573 CBS_init(&pkcs7, result_data, result_len); in TestCRLReparse()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc477 uint8_t *result_data, *result2_data; in TestCertReparse() local
488 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCertReparse()
489 bssl::UniquePtr<uint8_t> free_result_data(result_data); in TestCertReparse()
491 CBS_init(&pkcs7, result_data, result_len); in TestCertReparse()
507 EXPECT_EQ(Bytes(result_data, result_len), Bytes(result2_data, result2_len)); in TestCertReparse()
551 EXPECT_EQ(Bytes(result_data, result_len), Bytes(result4_data, result4_len)); in TestCertReparse()
559 uint8_t *result_data, *result2_data; in TestCRLReparse() local
570 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCRLReparse()
571 bssl::UniquePtr<uint8_t> free_result_data(result_data); in TestCRLReparse()
573 CBS_init(&pkcs7, result_data, result_len); in TestCRLReparse()
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/
DTdcResults.py64 def add_resultdata(self, result_data): argument
65 if isinstance(result_data, TestResult):
66 self._testsuite.append(result_data)
81 def update_result(self, result_data): argument
82 orig = self.find_result(result_data.test_id)
85 self._testsuite[idx] = result_data
87 self.add_resultdata(result_data)
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Drecognize_commands_test.cc78 const int8_t result_data[] = {127, -128, -128, -128}; in TF_LITE_MICRO_TEST() local
81 result_data, tflite::testing::IntArrayFromInts(result_dims), -128.0f, in TF_LITE_MICRO_TEST()
175 const int8_t result_data[] = {-128, -128, 127, -128}; in TF_LITE_MICRO_TEST() local
178 result_data, tflite::testing::IntArrayFromInts(result_dims), -128.0f, in TF_LITE_MICRO_TEST()
197 const int8_t result_data[] = {-128, -128, 127, -128}; in TF_LITE_MICRO_TEST() local
200 result_data, tflite::testing::IntArrayFromInts(result_dims), -128.0f, in TF_LITE_MICRO_TEST()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderBlitting.cpp112 unsigned char result_data[TEXTURE_WIDTH * TEXTURE_HEIGHT * TEXTURE_TEXEL_COMPONENTS]; in iterate() local
189 …ixels(0 /* x */, 0 /* y */, TEXTURE_WIDTH, TEXTURE_HEIGHT, GL_RGBA, GL_UNSIGNED_BYTE, result_data); in iterate()
197 if (memcmp(&expected_result_data[index], &result_data[index], TEXTURE_TEXEL_COMPONENTS) != 0) in iterate()
199 …m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data [" << (int)result_data[index + 0] <<… in iterate()
200 << (int)result_data[index + 1] << ", " << (int)result_data[index + 2] << ", " in iterate()
201 << (int)result_data[index + 3] << "] is different from reference data [" in iterate()
DesextcGeometryShaderLayeredFramebuffer.cpp1352 unsigned char result_data[TEXTURE_WIDTH * TEXTURE_HEIGHT * N_TEXTURE_COMPONENTS] = { 0 }; in iterate() local
1389 …ixels(0 /* x */, 0 /* y */, TEXTURE_WIDTH, TEXTURE_HEIGHT, GL_RGBA, GL_UNSIGNED_BYTE, result_data); in iterate()
1398 unsigned char* result_row = result_data + y * row_size; in iterate()
DesextcGeometryShaderAPI.cpp372 unsigned char result_data[m_to_width * m_to_height * 4 /* rgba */]; in iterate() local
376 m_to_width, m_to_height, GL_RGBA, GL_UNSIGNED_BYTE, result_data); in iterate()
381 unsigned char* traveller_ptr = result_data + 4 * y; in iterate()
/external/pdfium/testing/
Dv8_initializer.cpp42 v8::StartupData* result_data) { in GetExternalData() argument
51 result_data->data = data_buffer.release(); in GetExternalData()
52 result_data->raw_size = data_length; in GetExternalData()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function_test.cc185 EXPECT_EQ(*static_cast<int32*>(function.result_data(0)), 42); in TEST()
192 EXPECT_EQ(*static_cast<int32*>(function.result_data(0)), 420); in TEST()
247 EXPECT_EQ(*static_cast<int32*>(function.result_data(0)), 10); in TEST()
248 EXPECT_EQ(*static_cast<int32*>(function.result_data(1)), 42); in TEST()
255 EXPECT_EQ(*static_cast<int32*>(function.result_data(0)), 100); in TEST()
256 EXPECT_EQ(*static_cast<int32*>(function.result_data(1)), 420); in TEST()
Dxla_compiled_cpu_function.h218 void* result_data(size_t index) { return results()[index]; } in result_data() function
219 const void* result_data(size_t index) const { return results()[index]; } in result_data() function
/external/zstd/tests/regression/
Dresult.h51 static result_t result_data(result_data_t data);
77 static result_t result_data(result_data_t data) { in result_data() function
Dmethod.c138 return result_data(data); in simple_compress()
233 result = result_data(data); in compress_cctx_compress()
301 return result_data(data); in cli_compress()
364 result = result_data(data); in advanced_one_pass_compress_output_adjustment()
429 result = result_data(data); in advanced_streaming_compress()
565 result = result_data(data); in old_streaming_compress_internal()
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data_test.py82 result_data, result_labels = audio_processor.get_data(
84 self.assertEqual(10, len(result_data))
226 result_data, result_labels = audio_processor.get_unprocessed_data(
228 self.assertEqual(10, len(result_data))
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen_test_h.golden212 return static_cast<tensorflow::uint32*>(result_data(0));
216 result_data(0)))[dim0][dim1];
219 return static_cast<const tensorflow::uint32*>(result_data(0));
223 result_data(0)))[dim0][dim1];
233 return static_cast<tensorflow::uint32*>(result_data(0));
237 result_data(0)))[dim0][dim1];
240 return static_cast<const tensorflow::uint32*>(result_data(0));
244 result_data(0)))[dim0][dim1];
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dtridiagonal_test.cc109 auto result_data = result.data<float>({}); in XLA_TEST_P() local
110 for (auto result_component : result_data) { in XLA_TEST_P()
/external/OpenCL-CTS/test_conformance/subgroups/
Dtest_queries.cpp23 } result_data; typedef
36 result_data result[gsize0]; in test_sub_group_info()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.hpp85 virtual bool verifyResult(const void* result_data) = 0;
216 virtual bool verifyResult(const void* result_data);
269 virtual bool verifyResult(const void* result_data);
DesextcGPUShader5TextureGatherOffset.cpp1301 bool GPUShader5TextureGatherOffsetColorTestBase::verifyResult(const void* result_data) in verifyResult() argument
1304 glw::GLint* results = (glw::GLint*)result_data; in verifyResult()
2228 bool GPUShader5TextureGatherOffsetDepthTestBase::verifyResult(const void* result_data) in verifyResult() argument
2231 glw::GLint* results = (glw::GLint*)result_data; in verifyResult()
/external/llvm-project/llvm/lib/Analysis/
DReleaseModeModelRunner.cpp82 *static_cast<int64_t *>(CompiledModel->result_data(ResultIndex))); in run()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTessellation.cpp675 int* result_data = (int*)gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, /* offset */ in iterate() local
704 const int* traveller_ptr = result_data; in iterate()
734 memset(result_data, 0, n_bytes_needed); in iterate()
1409 …const int* result_data = (const int*)gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, /* offset … in iterate() local
1423 const int* result_traveller_ptr = result_data; in iterate()
1472 result_data + n_coordinate * n_int_varyings_per_tess_coordinate + 2; /* as per comment */ in iterate()
1488 result_data + n_coordinate * n_int_varyings_per_tess_coordinate + 4; /* as per comment */ in iterate()
1519 result_data + n_coordinate * n_int_varyings_per_tess_coordinate + 1; /* as per comment */ in iterate()
1535 result_data + n_coordinate * n_int_varyings_per_tess_coordinate + 3; /* as per comment */ in iterate()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dgather_operation_test.cc783 std::vector<std::unique_ptr<xla::GlobalData>> result_data, in XLA_TEST_F()
786 client_->Transfer(*(result_data[0]))); in XLA_TEST_F()
Dtest_utils.cc181 absl::Span<ComplexT> result_data = result->data<ComplexT>(); in PopulateWithComplexData() local
183 result_data[i] = ComplexT(real_data[i], imaginary_data[i]); in PopulateWithComplexData()

12