Lines Matching refs:kDataSize
445 const int kDataSize = sizeof(kData) - 1; local
446 EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize));
450 char buffer[kDataSize];
451 int first_chunk_size = kDataSize / 2;
453 EXPECT_EQ(kDataSize - first_chunk_size,
455 kDataSize - first_chunk_size));
456 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData));
470 const int kDataSize = sizeof(kData) - 1; local
472 int first_chunk_size = kDataSize / 2;
474 EXPECT_EQ(kDataSize - first_chunk_size,
476 kDataSize - first_chunk_size));
478 char buffer[kDataSize];
479 EXPECT_EQ(kDataSize, file.Read(0, buffer, kDataSize));
480 EXPECT_EQ(std::string(buffer, buffer + kDataSize), std::string(kData));