Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 - 25 of 75) sorted by relevance

123

/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
H A 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) > epsilo in iterate()
991 _vec4 expected_value = _vec4((float)vertex_id, ((float)vertex_id) * 0.5f, ((float)vertex_id) * 0.25f, iterate() local
1036 _ivec4 expected_value = _ivec4(vertex_id, vertex_id + 1, vertex_id + 2, vertex_id + 3); iterate() local
1072 float expected_value = 2.0f / (float(vertex_id) + 1.0f); iterate() local
1100 float expected_value = (float)(n_vertex / run.n_result_vertices_per_patch); iterate() local
1136 _vec4 expected_value = _vec4((float)vertex_id, ((float)vertex_id) * 0.5f, ((float)vertex_id) * 0.25f, iterate() local
[all...]
H A 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_value }; in iterate()
121 if ((n_components >= 1 && de::abs(float_value[0] - (float)expected_value) > epsilo in iterate()
[all...]
/third_party/node/test/fixtures/wpt/common/
H A Dstringifiers.js30 var expected_value;
32 expected_value = aObject[aAttribute];
33 assert_equals(aObject[aAttribute], expected_value,
45 assert_equals(aObject.toString(), expected_value);
55 assert_equals(aObject.toString(), expected_value);
/third_party/protobuf/python/google/protobuf/internal/
H A Dunknown_fields_test.py183 def InternalCheckUnknownField(self, name, expected_value):
194 self.assertEqual(expected_value, result_dict[field_descriptor])
196 def CheckUnknownField(self, name, unknown_fields, expected_value):
205 self.assertEqual(expected_value[0],
207 self.assertEqual(expected_value[1], unknown_field.data[0].wire_type)
208 self.assertEqual(expected_value[2], unknown_field.data[0].data)
213 self.assertIn(unknown_field.data, expected_value)
215 self.assertEqual(expected_value, unknown_field.data)
394 def CheckUnknownField(self, name, expected_value):
402 self.assertIn(field.data, expected_value)
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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() argument
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[ in testSamplerFloatVectorParameter()
[all...]
H A Dgl4cShaderImageLoadStoreTests.cpp1407 bool Write(GLenum internalformat, const T& write_value, const T& expected_value) in Write() argument
1437 if (!Equal(data[i], expected_value, internalformat)) in Write()
1443 << ". Value should be: " << ToString(expected_value) in Write()
1596 bool Read(GLenum internalformat, const T& value, const T& expected_value) in Read() argument
1600 const GLuint program = BuildProgram(src_vs, NULL, NULL, NULL, GenFS(internalformat, expected_value).c_str()); in Read()
1654 std::string GenFS(GLenum internalformat, const T& expected_value) in GenFS() argument
1661 << expected_value in GenFS()
1780 bool Write(GLenum internalformat, const T& write_value, const T& expected_value) in Write() argument
1819 if (!Equal(data[0], expected_value, internalformat)) in Write()
1825 << ". Value should be: " << ToString(expected_value) in Write()
2007 Read(GLenum internalformat, const T& value, const T& expected_value) Read() argument
2095 GenVS(GLenum internalformat, const T& expected_value) GenVS() argument
2109 GenTCS(GLenum internalformat, const T& expected_value) GenTCS() argument
2125 GenTES(GLenum internalformat, const T& expected_value) GenTES() argument
2139 GenGS(GLenum internalformat, const T& expected_value) GenGS() argument
2262 Read(GLenum internalformat, const T& value, const T& expected_value) Read() argument
2400 Write(GLenum internalformat, const T& write_value, const T& expected_value) Write() argument
2644 WriteMS(GLenum internalformat, const T& write_value, const T& expected_value) WriteMS() argument
2711 WriteCubeArray(GLenum internalformat, const T& write_value, const T& expected_value) WriteCubeArray() argument
2827 GenFSMSVal(const T& expected_value) GenFSMSVal() argument
2936 Read(GLenum internalformat, const T& value, const T& expected_value) Read() argument
3062 ReadCube(GLenum internalformat, const T& value, const T& expected_value) ReadCube() argument
3147 GenFS(GLenum internalformat, const T& expected_value) GenFS() argument
3193 GenFSCube(GLenum internalformat, const T& expected_value) GenFSCube() argument
3305 ReadMS(GLenum internalformat, const T& value, const T& expected_value) ReadMS() argument
3385 GenFSMS(GLenum internalformat, const T& expected_value) GenFSMS() argument
3885 Write(GLenum internalformat, const T& write_value, const T& expected_value) Write() argument
4201 GenLoadShader(int stage, GLenum internalformat, const T& expected_value) GenLoadShader() argument
[all...]
H A Dgl4cPipelineStatisticsQueryTests.cpp1249 glw::GLuint64 expected_value = 0; in verifyResultValues() local
1251 expected_value = expected_values[n_expected_value]; in verifyResultValues()
1254 (glw::GLuint64)run_result.result_int == expected_value) || in verifyResultValues()
1256 (glw::GLuint64)run_result.result_int >= expected_value)) in verifyResultValues()
1262 run_result.result_int64 == (glw::GLint64)expected_value) || in verifyResultValues()
1264 run_result.result_int64 >= (glw::GLint64)expected_value))) in verifyResultValues()
1270 (glw::GLuint64)run_result.result_uint == expected_value) || in verifyResultValues()
1272 (glw::GLuint64)run_result.result_uint >= expected_value)) in verifyResultValues()
1278 ((verification_type == VERIFICATION_TYPE_EXACT_MATCH && run_result.result_uint64 == expected_value) || in verifyResultValues()
1279 (verification_type == VERIFICATION_TYPE_EQUAL_OR_GREATER && run_result.result_uint64 >= expected_value))) in verifyResultValues()
2467 const glw::GLuint64 expected_value = 0; executeTest() local
2898 const glw::GLuint64 expected_value = 0; executeTest() local
3674 static const glw::GLuint64 expected_value = 1; executeTest() local
3813 static const glw::GLuint64 expected_value = 1; /* as per test spec */ executeTest() local
4227 static const glw::GLuint64 expected_value = 1; /* as per test spec */ executeTest() local
4338 static const glw::GLuint64 expected_value = 1; /* as per test spec */ executeTest() local
[all...]
H A Dgl4cDirectStateAccessProgramPipelinesTests.cpp281 * @param [in] expected_value Reference value to be compared.
285 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()
323 * @param [in] expected_value Reference value to be compared.
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()
H A Dgl3cTextureSizePromotion.cpp871 glw::GLfloat expected_value = (channel == RED_COMPONENT) ? in checkDestinationTexture() local
876 if (fabs(pixel - expected_value) <= getMinPrecision(descriptor, channel)) in checkDestinationTexture()
887 << " channel with target " << target_name << ". Expected value = " << expected_value in checkDestinationTexture()
901 glw::GLfloat expected_value = isChannelTypeNone(descriptor, channel) ? in checkDestinationTexture() local
906 if (fabs(pixel - expected_value) <= getMinPrecision(descriptor, channel)) in checkDestinationTexture()
917 << " channel with target " << target_name << ". Expected value = " << expected_value in checkDestinationTexture()
932 glw::GLfloat expected_value = isChannelTypeNone(descriptor, channel) ? in checkDestinationTexture() local
937 if (fabs(pixel - expected_value) <= getMinPrecision(descriptor, channel)) in checkDestinationTexture()
948 << " channel with target " << target_name << ". Expected value = " << expected_value in checkDestinationTexture()
962 glw::GLfloat expected_value in checkDestinationTexture() local
1004 glw::GLint expected_value = isChannelTypeNone(descriptor, channel) ? checkDestinationTexture() local
1035 glw::GLuint expected_value = isChannelTypeNone(descriptor, channel) ? checkDestinationTexture() local
[all...]
H A Dgl4cContextFlushControlTests.cpp141 * @param [in] expected_value Expected value to be returned by glGet*v function.
145 bool gl4cts::ContextFlushControl::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::GLint)1); 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()
H A Dgl4cShaderTextureImageSamplesTests.cpp535 glw::GLint expected_value = 0; in executeFunctionalTest() local
539 expected_value = m_internalformat_n_samples_data[n_value]; in executeFunctionalTest()
541 if (*(int*)bo_ptr != expected_value) in executeFunctionalTest()
546 << expected_value << "]." << tcu::TestLog::EndMessage; in executeFunctionalTest()
H A Dgl4cDirectStateAccessXFBTests.cpp758 /** @brief Test that xfb object's binding point #<index> has <expected_value>.
761 * @param [in] expected_value Value to be expected (buffer name).
770 bool BuffersTest::testBindingPoint(glw::GLuint const index, glw::GLint const expected_value, in testBindingPoint() argument
793 if (expected_value != buffer_binding) in testBindingPoint()
798 << buffer_binding << ", however " << expected_value << " is expected. As a consequence function " in testBindingPoint()
808 /** @brief Test that buffer object at xfb object's binding point #<index> has starting offset set to the <expected_value>.
811 * @param [in] expected_value Value to be expected (starting offset).
820 bool BuffersTest::testStart(glw::GLuint const index, glw::GLint const expected_value, in testStart() argument
844 if (expected_value != buffer_start) in testStart()
849 << buffer_start << ", however " << expected_value << " i in testStart()
871 testSize(glw::GLuint const index, glw::GLint const expected_value, glw::GLchar const* const tested_function_name) testSize() argument
1957 testTransformFeedbackStatus(glw::GLenum parameter_name, glw::GLint expected_value) testTransformFeedbackStatus() argument
[all...]
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_selinux.sh35 local measured_cap measured_value expected_value
45 expected_value=$(cat "$SELINUX_DIR/policy_capabilities/$measured_cap")
46 if [ "$measured_value" != "$expected_value" ]; then
47 tst_res TFAIL "$measured_cap: expected: $expected_value, got: $digest"
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-wasm-gen.cc64 auto expected_value = UncheckedParameter<Int32T>(Descriptor::kExpectedValue); in TF_BUILTIN() local
65 TNode<Number> expected_value_number = ChangeInt32ToTagged(expected_value); in TF_BUILTIN()
93 TNode<BigInt> expected_value = in TF_BUILTIN() local
105 address_number, expected_value, timeout)); in TF_BUILTIN()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dconstants_test.cpp36 T expected_value; member
51 EXPECT_EQ(GetParam().expected_value, value.GetSignExtendedValue()); in TEST_P()
58 EXPECT_EQ(GetParam().expected_value, value.GetZeroExtendedValue()); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dconstants_test.cpp36 T expected_value; member
51 EXPECT_EQ(GetParam().expected_value, value.GetSignExtendedValue()); in TEST_P()
58 EXPECT_EQ(GetParam().expected_value, value.GetZeroExtendedValue()); in TEST_P()
/third_party/spirv-tools/test/opt/
H A Dconstants_test.cpp35 T expected_value; member
50 EXPECT_EQ(GetParam().expected_value, value.GetSignExtendedValue()); in TEST_P()
57 EXPECT_EQ(GetParam().expected_value, value.GetZeroExtendedValue()); in TEST_P()
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_pixelformat.c338 int expected_value) in score_pixelformats()
369 if (actual_value != expected_value) in score_pixelformats()
379 if (actual_value < expected_value) in score_pixelformats()
381 else if (actual_value > expected_value) in score_pixelformats()
382 scores[index].points -= (actual_value - expected_value) in score_pixelformats()
334 score_pixelformats(HDC hdc, struct stw_pixelformat_score *scores, uint count, int attribute, int expected_value) score_pixelformats() argument
/third_party/mesa3d/src/intel/tools/
H A Dintel_sanitize_gpu.c179 uint8_t expected_value; in padding_is_good() local
194 expected_value = handle & 0xFF; in padding_is_good()
196 if (expected_value != mapped[i]) { in padding_is_good()
200 expected_value = next_noise_value(expected_value); in padding_is_good()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dendian_test.cc122 char expected_value[sizeof(host_value)]; in GBSwapHelper() local
123 memcpy(expected_value, &host_value, sizeof(host_value)); in GBSwapHelper()
124 ManualByteSwap(expected_value, sizeof(host_value)); in GBSwapHelper()
126 ASSERT_EQ(0, memcmp(actual_value, expected_value, sizeof(host_value))) in GBSwapHelper()
128 << "Expected: 0x" << UnalignedLoad<T>(expected_value) << "; " in GBSwapHelper()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferAtomicFunctions.cpp197 glw::GLuint expected_value = (m_n_texels_in_texture_buffer * (m_n_texels_in_texture_buffer - 1)) / 2; in iterate() local
202 if (result[i] != expected_value) in iterate()
205 << "Expected value: " << expected_value << "\n" in iterate()
/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream_unittest.cc213 uint32 expected_value = static_cast<uint32>(kVarintCases_case.value); in TEST_2D() local
214 EXPECT_EQ(expected_value, coded_input.ReadTag()); in TEST_2D()
216 EXPECT_TRUE(coded_input.LastTagWas(expected_value)); in TEST_2D()
217 EXPECT_FALSE(coded_input.LastTagWas(expected_value + 1)); in TEST_2D()
265 uint32 expected_value = static_cast<uint32>(kVarintCases_case.value); in TEST_1D() local
269 EXPECT_FALSE(coded_input.ExpectTag(expected_value + 1)); in TEST_1D()
270 EXPECT_TRUE(coded_input.ExpectTag(expected_value)); in TEST_1D()
272 EXPECT_FALSE(coded_input.ExpectTag(expected_value)); in TEST_1D()
286 const uint32 expected_value = static_cast<uint32>(kVarintCases_case.value); in TEST_1D() local
291 buffer_, expected_value in TEST_1D()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayColorDepthAttachments.cpp1075 glw::GLushort expected_value = (glw::GLushort)n_layer; in verifyDepth16Data() local
1092 result = verifyImage<glw::GLushort, 1>(texture_size.m_size, texture_size.m_size, &expected_value, result_data); in verifyDepth16Data()
1119 glw::GLuint expected_value = n_layer << 8; in verifyDepth24Data() local
1134 result = verifyImage<glw::GLuint, 1>(texture_size.m_size, texture_size.m_size, &expected_value, result_data); in verifyDepth24Data()
1159 glw::GLfloat expected_value = (glw::GLfloat)n_layer / 256.0f; in verifyDepth32FData() local
1174 result = verifyImage<glw::GLfloat, 1>(texture_size.m_size, texture_size.m_size, &expected_value, result_data); in verifyDepth32FData()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderLimits.cpp1891 const glw::GLint expected_value = ((first_value + last_value) * n_components_per_point) / 2; in verifyResult() local
1904 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult()
1908 m_testCtx.getLog() << tcu::TestLog::Message << "Wrong result! Expected: " << expected_value in verifyResult()
2211 const glw::GLint expected_value = ((first_value + last_value) * n_components_per_point) / 2; in verifyResult() local
2222 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeof(expected_value))) in verifyResult()
2226 m_testCtx.getLog() << tcu::TestLog::Message << "Wrong result! Expected: " << expected_value in verifyResult()
2519 const glw::GLint expected_value = ((first_value + last_value) * (point + 1)) / 2; in verifyResult() local
2532 if (0 != memcmp(result_image + texel_offset, &expected_value, sizeo in verifyResult()
3283 const glw::GLint expected_value = expected_vertex_value + expected_geometry_value + expected_fragment_value; verifyResult() local
[all...]
/third_party/spirv-tools/test/
H A Dhex_float_test.cpp1105 HexFloat<FloatProxy<T>> expected_value; member
1118 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
1127 T expected_value) { in BadFloatParseCase()
1128 HexFloat<FloatProxy<T>> proxy_expected_value(expected_value); in BadFloatParseCase()
1135 T expected_value) { in GoodFloatParseCase()
1136 HexFloat<FloatProxy<T>> proxy_expected_value(expected_value); in GoodFloatParseCase()
1185 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
1222 T expected_value; member
1234 EXPECT_THAT(value.value().getAsFloat(), GetParam().expected_value); in TEST_P()
1261 EXPECT_THAT(value.value().getAsFloat(), Eq(GetParam().expected_value)); in TEST_P()
1126 BadFloatParseCase(std::string literal, bool negate_value, T expected_value) BadFloatParseCase() argument
1134 GoodFloatParseCase(std::string literal, bool negate_value, T expected_value) GoodFloatParseCase() argument
1340 HexFloat<FloatProxy<T>> expected_value; global() member
[all...]

Completed in 30 milliseconds

123