Home
last modified time | relevance | path

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

12345

/external/pdfium/core/fdrm/
Dfx_crypt_unittest.cpp49 static constexpr uint8_t kExpected[] = {0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, in TEST() local
54 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
61 static constexpr uint8_t kExpected[] = {0x0c, 0xc1, 0x75, 0xb9, 0xc0, 0xf1, in TEST() local
66 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
79 static constexpr uint8_t kExpected[] = {0x90, 0xbd, 0x6a, 0xd9, 0x0a, 0xce, in TEST() local
84 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
93 static constexpr uint8_t kExpected[] = {0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, in TEST() local
98 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
124 static constexpr uint8_t kExpected[] = {0x90, 0xbd, 0x6a, 0xd9, 0x0a, 0xce, in TEST() local
129 EXPECT_EQ(kExpected[i], digest[i]); in TEST()
[all …]
/external/cronet/base/hash/
Dsha1_unittest.cc18 static constexpr int kExpected[] = {0xa9, 0x99, 0x3e, 0x36, 0x47, 0x06, 0x81, in TEST() local
25 EXPECT_EQ(kExpected[i], output[i] & 0xFF); in TEST()
33 static constexpr int kExpected[] = {0x84, 0x98, 0x3e, 0x44, 0x1c, 0x3b, 0xd2, in TEST() local
40 EXPECT_EQ(kExpected[i], output[i] & 0xFF); in TEST()
47 static constexpr int kExpected[] = {0x34, 0xaa, 0x97, 0x3c, 0xd4, 0xc4, 0xda, in TEST() local
54 EXPECT_EQ(kExpected[i], output[i] & 0xFF); in TEST()
62 static constexpr unsigned char kExpected[] = { in TEST() local
69 EXPECT_EQ(kExpected[i], output[i]); in TEST()
74 EXPECT_EQ(kExpected[i], output_array[i]); in TEST()
83 static constexpr unsigned char kExpected[] = { in TEST() local
[all …]
/external/webrtc/audio/voip/test/
Daudio_egress_unittest.cc122 constexpr int kExpected = 10; in TEST_F() local
128 if (++rtp_count == kExpected) { in TEST_F()
139 for (size_t i = 0; i < kExpected * 2; i++) { in TEST_F()
145 EXPECT_EQ(rtp_count, kExpected); in TEST_F()
160 constexpr int kExpected = 10; in TEST_F() local
166 if (++rtp_count == kExpected) { in TEST_F()
175 for (size_t i = 0; i < kExpected * 2; i++) { in TEST_F()
181 EXPECT_EQ(rtp_count, kExpected); in TEST_F()
196 constexpr int kExpected = 10; in TEST_F() local
200 if (++rtp_count == kExpected) { in TEST_F()
[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/cronet/net/third_party/quiche/src/quiche/http2/test_tools/
Dhpack_block_builder_test.cc33 const char kExpected[] = in TEST() local
39 EXPECT_EQ(kExpected, b.buffer()); in TEST()
47 const char kExpected[] = in TEST() local
51 EXPECT_EQ(kExpected, b.buffer()); in TEST()
60 const char kExpected[] = in TEST() local
66 EXPECT_EQ(kExpected, b.buffer()); in TEST()
73 const char kExpected[] = "\x82"; // == Indexed (2) == in TEST() local
74 EXPECT_EQ(kExpected, b.buffer()); in TEST()
Dhpack_example_test.cc24 const char kExpected[] = { in TEST() local
34 EXPECT_EQ(absl::string_view(kExpected, sizeof kExpected), bytes); in TEST()
/external/pigweed/pw_rpc/public/pw_rpc/
Dserver.h135 MethodType kExpected,
145 if constexpr (kExpected == MethodType::kUnary) { in OpenCall()
147 Info::kType == kExpected, in OpenCall()
149 } else if constexpr (kExpected == MethodType::kServerStreaming) { in OpenCall()
151 Info::kType == kExpected, in OpenCall()
153 } else if constexpr (kExpected == MethodType::kClientStreaming) { in OpenCall()
155 Info::kType == kExpected, in OpenCall()
157 } else if constexpr (kExpected == MethodType::kBidirectionalStreaming) { in OpenCall()
158 static_assert(Info::kType == kExpected, in OpenCall()
/external/bazel-skylib/tests/native_binary/
Dassertarg.cc19 static const char* kExpected[] = { in main() local
38 if (!kExpected[i - 1][0]) { in main()
46 if (strcmp(argv[i], kExpected[i - 1]) != 0) { in main()
48 kExpected[i - 1]); in main()
/external/openscreen/cast/streaming/
Dcapture_recommendations_unittest.cc227 const Recommendations kExpected{ in TEST() local
233 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
240 const Recommendations kExpected{ in TEST() local
246 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
250 const Recommendations kExpected{ in TEST() local
258 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
262 const Recommendations kExpected{ in TEST() local
270 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
274 const Recommendations kExpected{ in TEST() local
284 EXPECT_EQ(kExpected, GetRecommendations(answer)); in TEST()
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dmethod_union.h76 MethodType kExpected,
79 if constexpr (kExpected == MethodType::kUnary) { in InvalidMethod()
83 } else if constexpr (kExpected == MethodType::kServerStreaming) { in InvalidMethod()
88 } else if constexpr (kExpected == MethodType::kClientStreaming) { in InvalidMethod()
93 } else if constexpr (kExpected == MethodType::kBidirectionalStreaming) { in InvalidMethod()
/external/pigweed/pw_libc/
Dmemset_test.cc54 constexpr std::array<char, 5> kExpected{'h', 'e', 'l', 'l', 'o'}; in TEST() local
55 EXPECT_TRUE(pw::containers::Equal(arr, kExpected)); in TEST()
66 constexpr std::array<char, 5> kExpected{0, 'e', 'l', 'l', 'o'}; in TEST() local
67 EXPECT_TRUE(pw::containers::Equal(arr, kExpected)); 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/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/cronet/third_party/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/pdfium/fxbarcode/oned/
DBC_OnedCodaBarWriter_unittest.cpp108 static const char kExpected[] = in TEST() local
115 ASSERT_EQ(strlen(kExpected), encoded.size()); in TEST()
116 for (size_t i = 0; i < strlen(kExpected); i++) in TEST()
117 EXPECT_EQ(kExpected[i] != ' ', !!encoded[i]) << i; in TEST()
/external/skia/tests/
DAndroidCodecTest.cpp196 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local
201 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
236 static constexpr skcms_Matrix3x3 kExpected = SkNamedGamut::kRec2020; in DEF_TEST() local
237 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
272 static constexpr skcms_Matrix3x3 kExpected = SkNamedGamut::kRec2020; in DEF_TEST() local
273 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
DSkVMDebugTraceTest.cpp71 static constexpr char kExpected[] = in DEF_TEST() local
176 const std::string kExpected[] = {"", in DEF_TEST() local
183 REPORTER_ASSERT(r, i.fSlotInfo.size() == std::size(kExpected)); in DEF_TEST()
184 for (size_t index = 0; index < std::size(kExpected); ++index) { in DEF_TEST()
185 REPORTER_ASSERT(r, kExpected[index] == i.getSlotComponentSuffix(index)); in DEF_TEST()
/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/cronet/third_party/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()
86 const uint8_t kExpected[SHA256_DIGEST_LENGTH] = { in TEST() local
91 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()
86 const uint8_t kExpected[SHA256_DIGEST_LENGTH] = { in TEST() local
91 EXPECT_EQ(Bytes(kExpected), Bytes(digest)); in TEST()
/external/webrtc/video/config/
Dsimulcast_unittest.cc82 const std::vector<VideoStream> kExpected = GetSimulcastBitrates720p(); in TEST() local
103 EXPECT_EQ(kExpected[i].min_bitrate_bps, streams[i].min_bitrate_bps); in TEST()
104 EXPECT_EQ(kExpected[i].target_bitrate_bps, streams[i].target_bitrate_bps); in TEST()
105 EXPECT_EQ(kExpected[i].max_bitrate_bps, streams[i].max_bitrate_bps); in TEST()
119 const std::vector<VideoStream> kExpected = GetSimulcastBitrates720p(); in TEST() local
127 EXPECT_EQ(kExpected[0].min_bitrate_bps, streams[0].min_bitrate_bps); in TEST()
128 EXPECT_EQ(static_cast<int>(0.4 * kExpected[0].target_bitrate_bps / 0.6), in TEST()
130 EXPECT_EQ(static_cast<int>(0.4 * kExpected[0].max_bitrate_bps / 0.6), in TEST()
133 EXPECT_EQ(kExpected[i].min_bitrate_bps, streams[i].min_bitrate_bps); in TEST()
134 EXPECT_EQ(kExpected[i].target_bitrate_bps, streams[i].target_bitrate_bps); in TEST()
[all …]
/external/angle/src/tests/gl_tests/
DMultisampledRenderToTextureTest.cpp1266 const GLColor kExpected(127, 127, 0, 191); in drawCopyThenBlendCommon() local
1267 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in drawCopyThenBlendCommon()
1268 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in drawCopyThenBlendCommon()
1269 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon()
1270 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in drawCopyThenBlendCommon()
2072 const GLColor kExpected(127, 127, 0, 191); in clearThenBlendCommon() local
2073 EXPECT_PIXEL_COLOR_NEAR(0, 0, kExpected, 1); in clearThenBlendCommon()
2074 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, 0, kExpected, 1); in clearThenBlendCommon()
2075 EXPECT_PIXEL_COLOR_NEAR(0, kSize - 1, kExpected, 1); in clearThenBlendCommon()
2076 EXPECT_PIXEL_COLOR_NEAR(kSize - 1, kSize - 1, kExpected, 1); in clearThenBlendCommon()
[all …]
/external/cronet/net/dns/
Ddns_response_result_extractor_unittest.cc36 const IPAddress kExpected(192, 168, 0, 1); in TEST() local
38 DnsResponse response = BuildTestDnsAddressResponse(kName, kExpected); in TEST()
48 IPEndPoint expected_endpoint(kExpected, 0 /* port */); in TEST()
81 const IPAddress kExpected(192, 168, 0, 1); in TEST() local
86 BuildTestDnsAddressResponseWithCname(kName, kExpected, kCanonicalName); in TEST()
96 IPEndPoint expected_endpoint(kExpected, 0 /* port */); in TEST()
247 const IPAddress kExpected(8, 8, 8, 8); in TEST() local
253 BuildTestAddressRecord(kName, kExpected, kTtl)}); in TEST()
263 IPEndPoint expected_endpoint(kExpected, 0 /* port */); in TEST()
1509 const IPAddress kExpected(192, 168, 0, 1); in TEST() local
[all …]
/external/cronet/base/json/
Djson_value_serializer_unittest.cc312 static const char kExpected[] = "{\"web\":\"\xE7\xBD\x91\xE9\xA1\xB5\"}"; in TEST() local
317 ASSERT_EQ(kExpected, actual); in TEST()
320 JSONStringValueDeserializer deserializer(kExpected); in TEST()
336 static const char kExpected[] = "{\"test\":\"\\u0001\\u0002\"}"; in TEST() local
341 ASSERT_EQ(kExpected, actual); in TEST()
344 JSONStringValueDeserializer deserializer(kExpected); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/blake2/
Dblake2_test.cc25 const uint8_t kExpected[] = { in TEST() local
33 EXPECT_EQ(Bytes(kExpected), Bytes(digest)); in TEST()

12345