/third_party/boringssl/src/crypto/curve25519/ |
D | x25519_test.cc | 101 static const uint8_t kExpected[32] = { in TEST() local 107 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST() 120 static const uint8_t kExpected[32] = { in TEST() local 126 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
|
/third_party/boringssl/src/crypto/fipsmodule/rand/ |
D | ctrdrbg_test.cc | 49 const uint8_t kExpected[64] = { in TEST() local 58 EXPECT_EQ(Bytes(kExpected), Bytes(out)); in TEST() 76 const uint8_t kExpected[SHA256_DIGEST_LENGTH] = { in TEST() local 81 EXPECT_EQ(Bytes(kExpected), Bytes(digest)); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MultisampledRenderToTextureTest.cpp | 1265 const GLColor kExpected(127, 127, 0, 191); in drawCopyThenBlendCommon() local 1266 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in drawCopyThenBlendCommon() 1267 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in drawCopyThenBlendCommon() 1268 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon() 1269 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon() 1998 const GLColor kExpected(127, 127, 0, 191); in clearThenBlendCommon() local 1999 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in clearThenBlendCommon() 2000 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in clearThenBlendCommon() 2001 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in clearThenBlendCommon() 2002 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in clearThenBlendCommon() [all …]
|
D | CopyTexImageTest.cpp | 752 constexpr std::array<GLubyte, 4> kExpected = {0, 255, 0, 255}; in TEST_P() local 753 verifyResults(dstColor, kExpected.data(), kTexSize, 0, 0, kTexSize / 2, kTexSize / 2); in TEST_P() 763 verifyResults(dstColor, kExpected.data(), kTexSize, kTexSize / 2, kTexSize / 2, kTexSize, in TEST_P() 806 constexpr std::array<GLubyte, 4> kExpected = {0, 255, 0, 255}; in TEST_P() local 807 verifyResults(dstColor, kExpected.data(), kTexSize, 0, 0, kTexSize / 2, kTexSize / 2); in TEST_P() 817 verifyResults(dstColor, kExpected.data(), kTexSize, kTexSize / 2, kTexSize / 2, kTexSize, in TEST_P()
|
D | GeometryShaderTest.cpp | 1119 const GLColor kExpected(25, 51, 76, 102); in verifyLayeredFramebufferDepthStencil() local 1121 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in verifyLayeredFramebufferDepthStencil() 1122 EXPECT_PIXEL_COLOR_NEAR(kWidth - 1, 0, kExpected, 1); in verifyLayeredFramebufferDepthStencil() 1123 EXPECT_PIXEL_COLOR_NEAR(0, kHeight - 1, kExpected, 1); in verifyLayeredFramebufferDepthStencil() 1124 EXPECT_PIXEL_COLOR_NEAR(kWidth - 1, kHeight - 1, kExpected, 1); in verifyLayeredFramebufferDepthStencil()
|
D | MemoryBarrierTest.cpp | 669 const GLColor kExpected(expected[0] * 255, expected[1] * 255, expected[2] * 255, in verifyImageContents() local 671 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in verifyImageContents() 679 const GLColor kExpected = in verifyFramebufferAndBufferContents() local 681 EXPECT_PIXEL_COLOR_EQ(0, 0, kExpected); in verifyFramebufferAndBufferContents() 693 const GLColor kExpected = in verifyFramebufferAndImageContents() local 695 EXPECT_PIXEL_COLOR_EQ(0, 0, kExpected); in verifyFramebufferAndImageContents() 806 const GLColor kExpected = in vertexAttribArrayBitBufferWriteThenVertexRead() local 808 EXPECT_PIXEL_COLOR_EQ(0, 0, kExpected); in vertexAttribArrayBitBufferWriteThenVertexRead()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | pool_urbg_test.cc | 152 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local 153 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
|
D | pcg_engine_test.cc | 95 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local 96 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
|
D | randen_engine_test.cc | 97 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local 98 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | pool_urbg_test.cc | 152 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local 153 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
|
D | pcg_engine_test.cc | 95 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local 96 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
|
D | randen_engine_test.cc | 97 const double kExpected = kNumOutputs / (1.0 * sizeof(result_type) * 8); in TYPED_TEST() local 98 EXPECT_LE(equal_count, 1.0 + kExpected); in TYPED_TEST()
|
/third_party/skia/tests/ |
D | AndroidCodecTest.cpp | 198 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local 203 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
|
D | ClearTest.cpp | 260 constexpr std::array<float, 4> kExpected { 0, 0, 0, 1 }; in clear_op_test() local 261 REPORTER_ASSERT(reporter, clearOp.color() == kExpected); in clear_op_test() 286 constexpr std::array<float, 4> kExpected { 1, 1, 1, 1 }; in clear_op_test() local 287 REPORTER_ASSERT(reporter, clearOp.color() == kExpected); in clear_op_test()
|
D | IncrTopoSortTest.cpp | 478 const SkString kExpected("a,b,c,d,e,f,g"); in test_lopsided_binary_tree() local 482 REPORTER_ASSERT(reporter, kExpected == actual); in test_lopsided_binary_tree()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | replayer_test.cpp | 364 const std::string kExpected = R"( in TEST() local 395 IsEqual(env, kExpected, replayer_result.transformed_module.get())); in TEST()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | replayer_test.cpp | 364 const std::string kExpected = R"( in TEST() local 395 IsEqual(env, kExpected, replayer_result.transformed_module.get())); in TEST()
|
/third_party/boringssl/src/crypto/x509/ |
D | x509_test.cc | 1870 } kExpected[] = { in TEST() local 1911 ASSERT_EQ(OPENSSL_ARRAY_SIZE(kExpected), sk_X509_INFO_num(infos.get())); in TEST() 1912 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kExpected); i++) { in TEST() 1914 check_info(&kExpected[i], sk_X509_INFO_value(infos.get(), i)); in TEST() 1922 ASSERT_EQ(2 * OPENSSL_ARRAY_SIZE(kExpected), sk_X509_INFO_num(infos.get())); in TEST() 1923 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kExpected); i++) { in TEST() 1925 check_info(&kExpected[i], sk_X509_INFO_value(infos.get(), i)); in TEST() 1927 &kExpected[i], in TEST() 1928 sk_X509_INFO_value(infos.get(), i + OPENSSL_ARRAY_SIZE(kExpected))); in TEST() 1944 EXPECT_EQ(2 * OPENSSL_ARRAY_SIZE(kExpected), sk_X509_INFO_num(infos.get())); in TEST()
|
/third_party/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 317 static const uint8_t kExpected[] = {1, 2, 3, 4, 5, 6, 7, in TEST() local 337 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST() 384 static const uint8_t kExpected[] = {0, 1, 1, 0, 2, 2, 3, 0, 0, 3, in TEST() local 411 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST() 447 static const uint8_t kExpected[] = { in TEST() local 455 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST() 486 static const uint8_t kExpected[] = { in TEST() local 525 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | uniform_int_distribution_test.cc | 176 constexpr double kExpected = in TYPED_TEST() local 199 std::begin(counts), std::end(counts), kExpected); in TYPED_TEST()
|
D | uniform_real_distribution_test.cc | 251 constexpr double kExpected = in TYPED_TEST() local 280 std::begin(counts), std::end(counts), kExpected); in TYPED_TEST()
|
/third_party/abseil-cpp/absl/random/ |
D | uniform_int_distribution_test.cc | 176 constexpr double kExpected = in TYPED_TEST() local 199 std::begin(counts), std::end(counts), kExpected); in TYPED_TEST()
|
D | uniform_real_distribution_test.cc | 236 constexpr double kExpected = in TYPED_TEST() local 265 std::begin(counts), std::end(counts), kExpected); in TYPED_TEST()
|
/third_party/flutter/skia/tests/ |
D | AndroidCodecTest.cpp | 198 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local 203 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
|
D | IncrTopoSortTest.cpp | 478 const SkString kExpected("a,b,c,d,e,f,g"); in test_lopsided_binary_tree() local 482 REPORTER_ASSERT(reporter, kExpected == actual); in test_lopsided_binary_tree()
|