Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 – 25 of 131) sorted by relevance

123456

/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
DtFunction_Export_Import_Domains.py183 expected_value="0"
185 log.I("UINT16 parameter in the conf Conf_1_1= %s"%(expected_value))
188 …assert out == expected_value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s"…
192 expected_value="4"
194 log.I("Param_00 parameter in the conf Conf_2_1= %s"%(expected_value))
197 …assert out == expected_value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s"…
201 expected_value="4"
203 log.I("Param_12 parameter in the conf Conf_3_1= %s"%(expected_value))
206 …assert out == expected_value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s"…
287 expected_value=str(int(init_value_01)+1)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsubstr_op_test.py34 expected_value = b"ell"
39 self.assertAllEqual(substr, expected_value)
45 expected_value = b""
50 self.assertAllEqual(substr, expected_value)
56 expected_value = [b"ell", b"orl"]
61 self.assertAllEqual(substr, expected_value)
69 expected_value = [[b"en", b"leve", b"welv"], [b"hirt", b"ourt", b"ifte"],
75 self.assertAllEqual(substr, expected_value)
83 expected_value = [[b"en", b"eve", b"lve"], [b"hirt", b"urt", b"te"],
89 self.assertAllEqual(substr, expected_value)
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbuffer_level_filter_unittest.cc44 int expected_value = static_cast<int>(expected_value_double); in TEST() local
49 EXPECT_NEAR(expected_value, filter.filtered_current_level() >> 8, 1); in TEST()
68 int expected_value = 14; in TEST() local
70 EXPECT_EQ(expected_value, filter.filtered_current_level() >> 8); in TEST()
80 expected_value = 11; in TEST()
82 EXPECT_EQ(expected_value, filter.filtered_current_level() >> 8); in TEST()
92 expected_value = 7; in TEST()
94 EXPECT_EQ(expected_value, filter.filtered_current_level() >> 8); in TEST()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProperties.cpp84 glw::GLint expected_value = property_value_data[n_property * 3 + 2]; in iterate() local
98 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE, in iterate()
99 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE, in iterate()
100 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE, in iterate()
101 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE in iterate()
103 …glw::GLint expected_int_value[4] = { expected_value, expected_value, expected_value, expected_valu… 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()
DesextcTessellationShaderTCTE.cpp930 float expected_value = 1.0f / (float(vertex_id) + 1.0f); in iterate() local
935 expected_value += 1.0f; in iterate()
938 if (de::abs(data - expected_value) > epsilon) in iterate()
943 << expected_value << "], " in iterate()
958 float expected_value = (float)(n_vertex / run.n_result_vertices_per_patch); in iterate() local
963 expected_value += 1.0f; in iterate()
966 if (de::abs(data.x - expected_value) > epsilon || de::abs(data.y - expected_value) > epsilon || in iterate()
967 de::abs(data.z - expected_value) > epsilon || de::abs(data.w - expected_value) > epsilon) in iterate()
973 << expected_value << ", " << expected_value << ", " << expected_value << ", " in iterate()
974 << expected_value << "], found:" in iterate()
[all …]
/external/autotest/client/cros/multimedia/
Daudio_extension_handler.py40 expected_value=True)
115 expected_value=True)
168 expected_value=True)
193 expected_value=True)
210 expected_value=True)
279 expected_value=True)
Ddisplay_facade_native.py73 expected_value=True)
90 expected_value=True)
160 expected_value=True)
262 expected_value=True)
422 expected_value=is_mirrored,
489 expected_value=display)
570 expected_value=True)
/external/libchrome/base/trace_event/
Dmemory_allocator_dump_unittest.cc79 const std::string& expected_value) { in CheckString() argument
83 EXPECT_EQ(expected_value, attr_str_value); in CheckString()
89 uint64_t expected_value) { in CheckScalar() argument
91 StringPrintf("%" PRIx64, expected_value)); in CheckScalar()
97 double expected_value) { in CheckScalarF() argument
102 EXPECT_EQ(expected_value, attr_double_value); in CheckScalarF()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dbind_task_runner_unittest.cc254 int32_t expected_value, in DoExpectValueSetFlagAndQuitTaskRunner() argument
258 EXPECT_EQ(expected_value, value); in DoExpectValueSetFlagAndQuitTaskRunner()
263 int32_t expected_value, in DoExpectValueSetFlagForwardValueAndQuitTaskRunner() argument
268 EXPECT_EQ(expected_value, value); in DoExpectValueSetFlagForwardValueAndQuitTaskRunner()
281 int32_t expected_value, in ExpectValueSetFlagAndQuitTaskRunner() argument
284 return base::Bind(&DoExpectValueSetFlagAndQuitTaskRunner, expected_value, in ExpectValueSetFlagAndQuitTaskRunner()
320 void ExpectValueSetFlagAndForward(int32_t expected_value, in ExpectValueSetFlagAndForward() argument
324 EXPECT_EQ(expected_value, value); in ExpectValueSetFlagAndForward()
/external/bart/bart/sched/
DSchedAssert.py192 expected_value, argument
240 return operator(node_value, expected_value)
401 expected_value, argument
445 return operator(run_time, expected_value)
484 expected_value, argument
526 return operator(period, expected_value)
548 def assertDutyCycle(self, expected_value, operator, window): argument
578 expected_value,
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessSamplersTests.cpp254 bool DefaultsTest::testSamplerIntegerParameter(glw::GLenum pname, glw::GLint expected_value) in testSamplerIntegerParameter() argument
275 if (expected_value != value) in testSamplerIntegerParameter()
279 << ", however " << expected_value << " was expected." in testSamplerIntegerParameter()
295 bool DefaultsTest::testSamplerFloatParameter(glw::GLenum pname, glw::GLfloat expected_value) in testSamplerFloatParameter() argument
306 if (de::abs(expected_value - value) > 0.015625f /* Precision */) in testSamplerFloatParameter()
310 << ", however " << expected_value << " was expected." in testSamplerFloatParameter()
325 bool DefaultsTest::testSamplerFloatVectorParameter(glw::GLenum pname, glw::GLfloat expected_value[4… in testSamplerFloatVectorParameter()
336 if ((de::abs(expected_value[0] - value[0]) > 0.015625f /* Precision */) || in testSamplerFloatVectorParameter()
337 (de::abs(expected_value[1] - value[1]) > 0.015625f /* Precision */) || in testSamplerFloatVectorParameter()
338 (de::abs(expected_value[2] - value[2]) > 0.015625f /* Precision */) || in testSamplerFloatVectorParameter()
[all …]
Dgl4cShaderImageLoadStoreTests.cpp1363 bool Write(GLenum internalformat, const T& write_value, const T& expected_value) in Write() argument
1393 if (!Equal(data[i], expected_value, internalformat)) in Write()
1399 << ". Value should be: " << ToString(expected_value) in Write()
1552 bool Read(GLenum internalformat, const T& value, const T& expected_value) in Read() argument
1556 … program = BuildProgram(src_vs, NULL, NULL, NULL, GenFS(internalformat, expected_value).c_str()); in Read()
1610 std::string GenFS(GLenum internalformat, const T& expected_value) in GenFS() argument
1617 << expected_value in GenFS()
1736 bool Write(GLenum internalformat, const T& write_value, const T& expected_value) in Write() argument
1775 if (!Equal(data[0], expected_value, internalformat)) in Write()
1781 << ". Value should be: " << ToString(expected_value) in Write()
[all …]
Dgl3cTextureSizePromotion.cpp843 glw::GLfloat expected_value = isChannelTypeNone(descriptor, channel) ? in checkDestinationTexture() local
848 if (fabs(pixel - expected_value) <= getMinPrecision(descriptor, channel)) in checkDestinationTexture()
859 << " channel with target " << target_name << ". Expected value = " << expected_value in checkDestinationTexture()
874 glw::GLfloat expected_value = isChannelTypeNone(descriptor, channel) ? in checkDestinationTexture() local
879 if (fabs(pixel - expected_value) <= getMinPrecision(descriptor, channel)) in checkDestinationTexture()
890 << " channel with target " << target_name << ". Expected value = " << expected_value in checkDestinationTexture()
904 glw::GLfloat expected_value = isChannelTypeNone(descriptor, channel) ? in checkDestinationTexture() local
911 expected_value = convert_from_sRGB(expected_value); in checkDestinationTexture()
916 expected_value = convert_from_sRGB(expected_value); in checkDestinationTexture()
921 if (fabs(pixel - expected_value) <= getMinPrecision(descriptor, channel)) in checkDestinationTexture()
[all …]
Dgl4cDirectStateAccessProgramPipelinesTests.cpp285 bool DefaultsTest::testProgramPipelineParameter(glw::GLenum pname, glw::GLint expected_value) in testProgramPipelineParameter() argument
306 if (expected_value != value) in testProgramPipelineParameter()
309 << pname << " has returned " << value << ", however " << expected_value in testProgramPipelineParameter()
327 bool DefaultsTest::testProgramPipelineInfoLog(glw::GLchar* expected_value) in testProgramPipelineInfoLog() argument
346 if (DE_NULL == expected_value) in testProgramPipelineInfoLog()
361 if (0 != strcmp(log, expected_value)) in testProgramPipelineInfoLog()
365 << ", but is not the same as expected: " << expected_value << "." << tcu::TestLog::EndMessage; in testProgramPipelineInfoLog()
Dgl4cPipelineStatisticsQueryTests.cpp1232 glw::GLuint64 expected_value = 0; in verifyResultValues() local
1234 expected_value = expected_values[n_expected_value]; in verifyResultValues()
1237 (glw::GLuint64)run_result.result_int == expected_value) || in verifyResultValues()
1239 (glw::GLuint64)run_result.result_int >= expected_value)) in verifyResultValues()
1245 run_result.result_int64 == (glw::GLint64)expected_value) || in verifyResultValues()
1247 run_result.result_int64 >= (glw::GLint64)expected_value))) in verifyResultValues()
1253 (glw::GLuint64)run_result.result_uint == expected_value) || in verifyResultValues()
1255 (glw::GLuint64)run_result.result_uint >= expected_value)) in verifyResultValues()
1261 …erification_type == VERIFICATION_TYPE_EXACT_MATCH && run_result.result_uint64 == expected_value) || in verifyResultValues()
1262 …ication_type == VERIFICATION_TYPE_EQUAL_OR_GREATER && run_result.result_uint64 >= expected_value))) in verifyResultValues()
[all …]
Dgl4cContextFlushControlTests.cpp145 …ntextFlushControl::CoverageTest::testQuery(glu::RenderContext& context, glw::GLenum expected_value) in testQuery() argument
157 …glw::GLboolean expected_bool_value = (glw::GLboolean)de::min((glw::GLint)expected_value, (glw::GLi… in testQuery()
179 if ((expected_value == value_i) && (expected_value == value_i64) && (expected_value == value_f) && in testQuery()
180 (expected_value == value_d) && (expected_bool_value == value_b)) in testQuery()
/external/autotest/client/site_tests/network_ChromeWifiConfigure/
Dnetwork_ChromeWifiConfigure.py23 def _test_property(self, network, property_name, expected_value): argument
25 if value != expected_value:
27 '" to be "' + str(expected_value) +
/external/autotest/client/cros/networking/chrome_testing/
Dtest_utils.py54 expected_value, argument
78 return value == expected_value
83 expected_value + '"'),
/external/autotest/client/site_tests/cellular_ActivateLTE/
Dcellular_ActivateLTE.py207 def _CheckResetCalledHelper(self, expected_value): argument
212 return self.GetResetCalled(modem) == expected_value
221 def CheckResetCalled(self, expected_value): argument
230 lambda: self._CheckResetCalledHelper(expected_value),
232 str(expected_value)),
/external/libvpx/libvpx/test/
Dbyte_alignment_test.cc34 vpx_codec_err_t expected_value; member
80 void SetByteAlignment(int byte_alignment, vpx_codec_err_t expected_value) { in SetByteAlignment() argument
81 decoder_->Control(VP9_SET_BYTE_ALIGNMENT, byte_alignment, expected_value); in SetByteAlignment()
173 SetByteAlignment(t.byte_alignment, t.expected_value); in TEST_P()
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dfirmware_summary_unittest.py236 for metric_name, expected_value in stats_metrics:
238 self.assertAlmostEqual(actual_value, expected_value)
246 for fw, expected_value in expected_weighted_averages.items():
249 self.assertAlmostEqual(actual_value, expected_value)
/external/autotest/client/site_tests/network_DhcpVendorEncapsulatedOptions/
Dnetwork_DhcpVendorEncapsulatedOptions.py49 expected_value = 'Confirmed'
50 if tethering != expected_value:
53 (tethering, expected_value))
/external/drm_hwcomposer/tests/
Dqueue_worker_test.cpp120 size_t expected_value = qw.max_queue_size() + 2; in TEST_F() local
121 for (size_t i = 2; i <= expected_value; i++) { in TEST_F()
127 ASSERT_FALSE(QueueValue(expected_value + 1)); in TEST_F()
141 ASSERT_TRUE(WaitFor(expected_value)); in TEST_F()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pixelformat.c342 int expected_value ) in score_pixelformats() argument
373 if (actual_value != expected_value) in score_pixelformats()
382 if (actual_value < expected_value) in score_pixelformats()
384 else if (actual_value > expected_value) in score_pixelformats()
385 scores[index].points -= (actual_value - expected_value) * ami->weight; in score_pixelformats()
/external/google-breakpad/src/processor/
Dpostfix_evaluator_unittest.cc268 unsigned int expected_value = validate_iterator->second; in RunTests() local
279 identifier.c_str(), expected_value); in RunTests()
285 if (expected_value != observed_value) { in RunTests()
290 identifier.c_str(), expected_value, observed_value); in RunTests()

123456