Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc436 const size_t kExpectedSizeWords = (kExpectedSizeBytes + 3) / 4; in TEST() local
438 4 * kExpectedSizeWords - kExpectedSizeBytes; in TEST()
445 EXPECT_EQ(kExpectedSizeWords * 4, packet.size()); in TEST()
446 ASSERT_GT(kExpectedSizeWords * 4, kExpectedSizeBytes); in TEST()
447 for (size_t i = kExpectedSizeBytes; i < (kExpectedSizeWords * 4 - 1); ++i) in TEST()
450 EXPECT_EQ(kExpectedPaddingSizeBytes, packet[kExpectedSizeWords * 4 - 1]); in TEST()
457 (kExpectedSizeWords * 4) + kPaddingBytes; in TEST()
459 memcpy(mod_buffer, packet.data(), kExpectedSizeWords * 4); in TEST()
460 memset(&mod_buffer[kExpectedSizeWords * 4], 0, kPaddingBytes - 1); in TEST()
472 EXPECT_EQ(kExpectedSizeWords * 4, packet.size()); // Padding not included. in TEST()
[all …]