Home
last modified time | relevance | path

Searched refs:kExpected (Results 1 – 25 of 70) sorted by relevance

123

/external/pdfium/core/fdrm/
Dfx_crypt_unittest.cpp48 static constexpr uint8_t kExpected[] = {0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, in TEST() local
53 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
60 static constexpr uint8_t kExpected[] = {0x0c, 0xc1, 0x75, 0xb9, 0xc0, 0xf1, in TEST() local
65 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
78 static constexpr uint8_t kExpected[] = {0x90, 0xbd, 0x6a, 0xd9, 0x0a, 0xce, in TEST() local
83 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
92 static constexpr uint8_t kExpected[] = {0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, in TEST() local
97 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
123 static constexpr uint8_t kExpected[] = {0x90, 0xbd, 0x6a, 0xd9, 0x0a, 0xce, in TEST() local
128 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
[all …]
/external/openscreen/util/crypto/
Dsha2_unittest.cc18 constexpr uint8_t kExpected[] = { in TEST() local
25 EXPECT_THAT(output, testing::ElementsAreArray(kExpected)); in TEST()
32 constexpr uint8_t kExpected[] = { in TEST() local
40 EXPECT_THAT(output.value(), testing::ElementsAreArray(kExpected)); in TEST()
47 constexpr uint8_t kExpected[] = { in TEST() local
54 EXPECT_THAT(output, testing::ElementsAreArray(kExpected)); in TEST()
60 constexpr uint8_t kExpected[] = { in TEST() local
67 EXPECT_THAT(output, testing::ElementsAreArray(kExpected)); in TEST()
/external/webrtc/audio/voip/test/
Daudio_egress_unittest.cc117 constexpr int kExpected = 10; in TEST_F() local
123 if (++rtp_count == kExpected) { in TEST_F()
134 for (size_t i = 0; i < kExpected * 2; i++) { in TEST_F()
140 EXPECT_EQ(rtp_count, kExpected); in TEST_F()
155 constexpr int kExpected = 10; in TEST_F() local
161 if (++rtp_count == kExpected) { in TEST_F()
170 for (size_t i = 0; i < kExpected * 2; i++) { in TEST_F()
176 EXPECT_EQ(rtp_count, kExpected); in TEST_F()
191 constexpr int kExpected = 10; in TEST_F() local
195 if (++rtp_count == kExpected) { in TEST_F()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_structtree_embeddertest.cpp65 const wchar_t kExpected[] = L"Black Image"; in TEST_F() local
66 EXPECT_EQ(WideString(kExpected), in TEST_F()
67 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
124 const wchar_t kExpected[] = L"Document"; in TEST_F() local
125 EXPECT_EQ(WideString(kExpected), in TEST_F()
126 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
162 const wchar_t kExpected[] = L"TitleText"; in TEST_F() local
163 EXPECT_EQ(WideString(kExpected), in TEST_F()
164 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
/external/pigweed/pw_tokenizer/
Dglobal_handlers_test.cc164 constexpr std::array<uint8_t, 10> kExpected = variable
170 ASSERT_EQ(kExpected.size(), message_size_bytes_); in TEST_F()
171 EXPECT_EQ(std::memcmp(kExpected.data(), message_, kExpected.size()), 0); in TEST_F()
179 ASSERT_EQ(kExpected.size(), message_size_bytes_); in TEST_F()
180 EXPECT_EQ(std::memcmp(kExpected.data(), message_, kExpected.size()), 0); in TEST_F()
190 ASSERT_EQ(kExpected.size(), message_size_bytes_); in TEST_F()
191 EXPECT_EQ(std::memcmp(kExpected.data(), message_, kExpected.size()), 0); in TEST_F()
/external/openscreen/cast/streaming/
Dcapture_recommendations_unittest.cc226 const Recommendations kExpected{ in TEST() local
232 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
239 const Recommendations kExpected{ in TEST() local
245 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
249 const Recommendations kExpected{ in TEST() local
257 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
261 const Recommendations kExpected{ in TEST() local
269 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
273 const Recommendations kExpected{ in TEST() local
283 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
/external/boringssl/src/crypto/curve25519/
Dx25519_test.cc102 static const uint8_t kExpected[32] = { in TEST() local
108 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
121 static const uint8_t kExpected[32] = { in TEST() local
127 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/
Dx25519_test.cc102 static const uint8_t kExpected[32] = { in TEST() local
108 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
121 static const uint8_t kExpected[32] = { in TEST() local
127 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
/external/webrtc/media/engine/
Dsimulcast_unittest.cc82 const std::vector<VideoStream> kExpected = GetSimulcastBitrates720p(); in TEST() local
102 EXPECT_EQ(kExpected[i].min_bitrate_bps, streams[i].min_bitrate_bps); in TEST()
103 EXPECT_EQ(kExpected[i].target_bitrate_bps, streams[i].target_bitrate_bps); in TEST()
104 EXPECT_EQ(kExpected[i].max_bitrate_bps, streams[i].max_bitrate_bps); in TEST()
117 const std::vector<VideoStream> kExpected = GetSimulcastBitrates720p(); in TEST() local
125 EXPECT_EQ(kExpected[0].min_bitrate_bps, streams[0].min_bitrate_bps); in TEST()
126 EXPECT_EQ(static_cast<int>(0.4 * kExpected[0].target_bitrate_bps / 0.6), in TEST()
128 EXPECT_EQ(static_cast<int>(0.4 * kExpected[0].max_bitrate_bps / 0.6), in TEST()
131 EXPECT_EQ(kExpected[i].min_bitrate_bps, streams[i].min_bitrate_bps); in TEST()
132 EXPECT_EQ(kExpected[i].target_bitrate_bps, streams[i].target_bitrate_bps); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg_test.cc49 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()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg_test.cc49 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()
/external/angle/src/tests/gl_tests/
DMultisampledRenderToTextureTest.cpp1236 const GLColor kExpected(127, 127, 0, 191); in drawCopyThenBlendCommon() local
1237 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in drawCopyThenBlendCommon()
1238 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in drawCopyThenBlendCommon()
1239 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon()
1240 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon()
1984 const GLColor kExpected(127, 127, 0, 191); in clearThenBlendCommon() local
1985 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in clearThenBlendCommon()
1986 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in clearThenBlendCommon()
1987 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in clearThenBlendCommon()
1988 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in clearThenBlendCommon()
[all …]
/external/boringssl/src/crypto/blake2/
Dblake2_test.cc25 const uint8_t kExpected[] = { in TEST() local
33 EXPECT_EQ(Bytes(kExpected), Bytes(digest)); in TEST()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc319 static const char kExpected[] = "{\"web\":\"\xE7\xBD\x91\xE9\xA1\xB5\"}"; in TEST() local
324 ASSERT_EQ(kExpected, actual); in TEST()
327 JSONStringValueDeserializer deserializer(kExpected); in TEST()
344 static const char kExpected[] = "{\"test\":\"\\u0001\\u0002\"}"; in TEST() local
349 ASSERT_EQ(kExpected, actual); in TEST()
352 JSONStringValueDeserializer deserializer(kExpected); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dvmodule_test.cc100 const char kExpected[] = in RealMain() local
102 if (strstr(buffer, kExpected) == nullptr) { in RealMain()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dpool_urbg_test.cc152 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()
/external/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc152 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()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc152 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()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc152 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()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc152 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()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc152 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()
/external/skia/tests/
DAndroidCodecTest.cpp198 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local
203 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
DClearTest.cpp269 constexpr std::array<float, 4> kExpected { 0, 0, 0, 1 }; in clear_op_test() local
270 REPORTER_ASSERT(reporter, clearOp.color() == kExpected); in clear_op_test()
295 constexpr std::array<float, 4> kExpected { 1, 1, 1, 1 }; in clear_op_test() local
296 REPORTER_ASSERT(reporter, clearOp.color() == kExpected); in clear_op_test()
/external/webrtc/rtc_base/experiments/
Dquality_scaling_experiment_unittest.cc53 const QualityScalingExperiment::Settings kExpected = {1, 2, 3, 4, 5, 6, in TEST() local
59 ExpectEqualSettings(kExpected, *settings); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dreplayer_test.cpp364 const std::string kExpected = R"( in TEST() local
395 IsEqual(env, kExpected, replayer_result.transformed_module.get())); in TEST()

123