Home
last modified time | relevance | path

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

/external/chromium_org/net/server/
Dhttp_connection_unittest.cc299 const int kDataLength = 4; in TEST() local
300 const std::string kData(kDataLength, 'd'); in TEST()
302 EXPECT_EQ(kDataLength, buffer->total_size()); in TEST()
304 EXPECT_EQ(kDataLength * 2, buffer->total_size()); in TEST()
308 EXPECT_EQ(kDataLength * 2, buffer->total_size()); in TEST()
313 EXPECT_EQ(kDataLength * 2 - kConsumedLength, buffer->total_size()); in TEST()
317 EXPECT_EQ(kDataLength * 3 - kConsumedLength, buffer->total_size()); in TEST()
321 EXPECT_EQ(kDataLength * 3 - kConsumedLength, buffer->total_size()); in TEST()
327 EXPECT_EQ(kDataLength * 4 - kConsumedLength, buffer->total_size()); in TEST()
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
Dpacket_manipulator_unittest.cc123 const int kDataLength = kPacketSizeInBytes * kNbrPackets; in TEST_F() local
124 uint8_t data[kDataLength]; in TEST_F()
132 image_._length = kDataLength; in TEST_F()
133 image_._size = kDataLength; in TEST_F()
/external/chromium_org/chrome/browser/download/
Dchrome_download_manager_delegate_unittest.cc385 const size_t kDataLength = sizeof(kData) - 1; in TEST_F() local
389 base::WriteFile(existing_path, kData, kDataLength); in TEST_F()
/external/chromium_org/content/browser/download/
Dbase_file_unittest.cc686 const int kDataLength = static_cast<int>(arraysize(kData) - 1); in TEST_F() local
687 ASSERT_EQ(kDataLength, base::WriteFile(full_path, kData, kDataLength)); in TEST_F()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_unittest.cc319 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local
320 app.WithData((const uint8_t*)kData, kDataLength); in TEST_F()
327 EXPECT_EQ(kDataLength, rtcp_packet_info_.applicationLength); in TEST_F()
Drtcp_packet_unittest.cc233 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST() local
234 app.WithData((const uint8_t*)kData, kDataLength); in TEST()
243 EXPECT_EQ(kDataLength, parser.app_item()->DataLength()); in TEST()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoengine_unittest.cc756 const size_t kDataLength = 12; in TEST_F() local
757 uint8_t data[kDataLength]; in TEST_F()
762 rtc::Buffer packet(data, kDataLength); in TEST_F()
792 const size_t kDataLength = 12; in TEST_F() local
793 uint8_t data[kDataLength]; in TEST_F()
798 rtc::Buffer packet(data, kDataLength); in TEST_F()