Home
last modified time | relevance | path

Searched refs:expected_color (Results 1 – 6 of 6) sorted by relevance

/external/flatbuffers/grpc/tests/
Dmessage_builder_test.cpp11 const std::string &expected_name, Color expected_color) { in verify() argument
16 TEST_EQ(color, expected_color); in verify()
17 return (name == expected_name) && (color == expected_color); in verify()
21 const std::string &expected_name, Color expected_color) { in release_n_verify() argument
23 return verify(msg, expected_name, expected_color); in release_n_verify()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderSubroutineTests.hpp652 testConfiguration(const glw::GLchar* description, const glw::GLubyte expected_color[4], in testConfiguration()
658 m_expected_color[0] = expected_color[0]; in testConfiguration()
659 m_expected_color[1] = expected_color[1]; in testConfiguration()
660 m_expected_color[2] = expected_color[2]; in testConfiguration()
661 m_expected_color[3] = expected_color[3]; in testConfiguration()
683 const glw::GLubyte expected_color[4], Utils::texture& color_texture) const;
Dgl4cSparseBufferTests.cpp4056 unsigned char expected_color[4]; in execute() local
4062 memset(expected_color, 0, sizeof(expected_color)); in execute()
4074 memcpy(expected_color, data_ptr, sizeof(expected_color)); in execute()
4078 memset(expected_color, 255, sizeof(expected_color)); in execute()
4092 if (memcmp(expected_color, found_color, sizeof(expected_color)) != 0) in execute()
4099 << (int)expected_color[0] << ", " << (int)expected_color[1] << ", " in execute()
4100 << (int)expected_color[2] << ", " << (int)expected_color[3] << "), " in execute()
Dgl4cShaderSubroutineTests.cpp5770 const glw::GLubyte expected_color[4], Utils::texture& color_texture) const in testDraw()
5827 …is_as_expected = is_as_expected && (expected_color[0] == captured_data[point_offset + 0]); /* red … in testDraw()
5828 …is_as_expected = is_as_expected && (expected_color[1] == captured_data[point_offset + 1]); /* gree… in testDraw()
5829 …is_as_expected = is_as_expected && (expected_color[2] == captured_data[point_offset + 2]); /* blue… in testDraw()
5830 …is_as_expected = is_as_expected && (expected_color[3] == captured_data[point_offset + 3]); /* alph… in testDraw()
6552 bool FunctionalTest12::verifyTexture(Utils::texture& texture, const GLuint expected_color[4]) const in verifyTexture()
6568 result = result && (results[point_offset + 0] == expected_color[0]); in verifyTexture()
6569 result = result && (results[point_offset + 1] == expected_color[1]); in verifyTexture()
6570 result = result && (results[point_offset + 2] == expected_color[2]); in verifyTexture()
6571 result = result && (results[point_offset + 3] == expected_color[3]); in verifyTexture()
[all …]
Dgl4cEnhancedLayoutsTests.cpp6431 static const GLuint expected_color = 1; in test() local
6442 if (expected_color != color) in test()
/external/rust/crates/plotters/src/drawing/
Darea.rs677 let expected_color = in test_split_grid() localVariable
681 assert_eq!(c, expected_color.to_rgba()); in test_split_grid()