testData 61 Source/core/xml/parser/SharedBufferReaderTest.cpp static const char testData[] = "hello"; testData 62 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData, sizeof(testData)); testData 67 Source/core/xml/parser/SharedBufferReaderTest.cpp char outputBuffer[sizeof(testData) + extraBytes]; testData 71 Source/core/xml/parser/SharedBufferReaderTest.cpp EXPECT_EQ(sizeof(testData), testData 74 Source/core/xml/parser/SharedBufferReaderTest.cpp EXPECT_TRUE(std::equal(testData, testData + sizeof(testData), outputBuffer)); testData 85 Source/core/xml/parser/SharedBufferReaderTest.cpp std::vector<char> testData(iterationsCount * bytesPerIteration); testData 86 Source/core/xml/parser/SharedBufferReaderTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 88 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(&testData[0], testData.size()); testData 91 Source/core/xml/parser/SharedBufferReaderTest.cpp std::vector<char> destinationVector(testData.size()); testData 99 Source/core/xml/parser/SharedBufferReaderTest.cpp EXPECT_TRUE(std::equal(testData.begin(), testData.end(), destinationVector.begin())); testData 104 Source/core/xml/parser/SharedBufferReaderTest.cpp std::vector<char> testData(128); testData 105 Source/core/xml/parser/SharedBufferReaderTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 107 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(&testData[0], testData.size()); testData 110 Source/core/xml/parser/SharedBufferReaderTest.cpp std::vector<char> destinationVector(testData.size()); testData 111 Source/core/xml/parser/SharedBufferReaderTest.cpp const int bytesToRead = testData.size() / 2; testData 88 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 89 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 92 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), testData.size()); testData 93 Source/platform/PurgeableVectorTest.cpp EXPECT_EQ(testData.size(), purgeableVector.size()); testData 119 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 120 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 131 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(0U, testData.size() % kIterationCount); testData 133 Source/platform/PurgeableVectorTest.cpp const char* const testDataStart = testData.data() + i * (testData.size() / kIterationCount); testData 134 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testDataStart, testData.size() / kIterationCount); testData 135 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ((i + 1) * testData.size() / kIterationCount, purgeableVector.size() - sizeof(kSmallString)); testData 138 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(sizeof(kSmallString) + testData.size(), purgeableVector.size()); testData 140 Source/platform/PurgeableVectorTest.cpp EXPECT_EQ(0, memcmp(purgeableVector.data() + sizeof(kSmallString), testData.data(), testData.size())); testData 145 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 146 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 149 Source/platform/PurgeableVectorTest.cpp purgeableVector.reserveCapacity(testData.size()); testData 155 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(0U, testData.size() % kIterationCount); testData 157 Source/platform/PurgeableVectorTest.cpp const char* const testDataStart = testData.data() + i * (testData.size() / kIterationCount); testData 158 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testDataStart, testData.size() / kIterationCount); testData 159 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ((i + 1) * testData.size() / kIterationCount, purgeableVector.size()); testData 162 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(testData.size(), purgeableVector.size()); testData 164 Source/platform/PurgeableVectorTest.cpp EXPECT_EQ(0, memcmp(purgeableVector.data(), testData.data(), testData.size())); testData 169 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 170 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 176 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), testData.size()); testData 178 Source/platform/PurgeableVectorTest.cpp EXPECT_EQ(0, memcmp(purgeableVector.data(), testData.data(), testData.size())); testData 188 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), 1); testData 195 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 196 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 202 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), testData.size()); testData 203 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(testData.size(), purgeableVector.size()); testData 204 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(0, memcmp(purgeableVector.data(), testData.data(), testData.size())); testData 209 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 210 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 211 Source/platform/PurgeableVectorTest.cpp const Vector<char> testDataCopy(testData); testData 212 Source/platform/PurgeableVectorTest.cpp const char* const testDataPtr = testData.data(); testData 215 Source/platform/PurgeableVectorTest.cpp purgeableVector.adopt(testData); testData 216 Source/platform/PurgeableVectorTest.cpp EXPECT_TRUE(testData.isEmpty()); testData 231 Source/platform/PurgeableVectorTest.cpp Vector<char> testData; testData 233 Source/platform/PurgeableVectorTest.cpp purgeableVector.adopt(testData); testData 238 Source/platform/PurgeableVectorTest.cpp Vector<char> testData; testData 239 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 246 Source/platform/PurgeableVectorTest.cpp purgeableVector.adopt(testData); testData 247 Source/platform/PurgeableVectorTest.cpp EXPECT_EQ(testData.size(), purgeableVector.size()); testData 248 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(0, memcmp(purgeableVector.data(), testData.data(), testData.size())); testData 253 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(30000); testData 254 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 256 Source/platform/PurgeableVectorTest.cpp unsigned length = testData.size(); testData 258 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), length); testData 279 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(0, memcmp(purgeableVector.data(), testData.data(), length)); testData 292 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 293 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 296 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), kTestSize); testData 310 Source/platform/PurgeableVectorTest.cpp Vector<char> testData(kTestSize); testData 311 Source/platform/PurgeableVectorTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 314 Source/platform/PurgeableVectorTest.cpp purgeableVector.append(testData.data(), testData.size()); testData 315 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(testData.size(), purgeableVector.size()); testData 328 Source/platform/PurgeableVectorTest.cpp ASSERT_EQ(0, memcmp(purgeableVector.data(), testData.data(), testData.size())); testData 102 Source/platform/SharedBufferTest.cpp Vector<char> testData(10000); testData 103 Source/platform/SharedBufferTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 105 Source/platform/SharedBufferTest.cpp unsigned length = testData.size(); testData 106 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData.data(), length); testData 107 Source/platform/SharedBufferTest.cpp sharedBuffer->append(testData.data(), length); testData 108 Source/platform/SharedBufferTest.cpp sharedBuffer->append(testData.data(), length); testData 109 Source/platform/SharedBufferTest.cpp sharedBuffer->append(testData.data(), length); testData 117 Source/platform/SharedBufferTest.cpp clone->append(testData.data(), length); testData 135 Source/platform/SharedBufferTest.cpp Vector<char> testData(30000); testData 136 Source/platform/SharedBufferTest.cpp std::generate(testData.begin(), testData.end(), &std::rand); testData 142 Source/platform/SharedBufferTest.cpp unsigned length = testData.size(); testData 143 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::createPurgeable(testData.data(), length); testData 147 Source/platform/SharedBufferTest.cpp ASSERT_EQ(0, memcmp(data, testData.data(), length)); testData 150 Source/platform/SharedBufferTest.cpp size_t previousTestDataSize = testData.size(); testData 151 Source/platform/SharedBufferTest.cpp testData.resize(2 * previousTestDataSize); testData 152 Source/platform/SharedBufferTest.cpp std::generate(testData.begin() + previousTestDataSize, testData.end(), &std::rand); testData 153 Source/platform/SharedBufferTest.cpp sharedBuffer->append(testData.data() + previousTestDataSize, previousTestDataSize); testData 154 Source/platform/SharedBufferTest.cpp ASSERT_EQ(0, memcmp(data, testData.data(), length)); testData 367 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> testData = readFile("/Source/web/tests/data/radient-bad-terminator.gif"); testData 369 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ASSERT_TRUE(testData.get()); testData 378 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp testDecoder->setData(testData.get(), true); testData 465 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> testData = readFile("/Source/platform/image-decoders/testing/bad-initial-code.gif"); testData 466 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ASSERT_TRUE(testData.get()); testData 469 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp testDecoder->setData(testData.get(), true); testData 478 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> testData = readFile("/Source/platform/image-decoders/testing/bad-code.gif"); testData 479 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ASSERT_TRUE(testData.get()); testData 482 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp testDecoder->setData(testData.get(), true); testData 85 Source/platform/text/BidiResolverTest.cpp const TestData testData[] = { testData 107 Source/platform/text/BidiResolverTest.cpp for (size_t i = 0; i < WTF_ARRAY_LENGTH(testData); ++i) testData 108 Source/platform/text/BidiResolverTest.cpp testDirectionality(testData[i]); testData 373 Source/web/tests/WebViewTest.cpp client.testData().setWebView(webView); testData 388 Source/web/tests/WebViewTest.cpp EXPECT_EQ(expectedWidth, client.testData().width()); testData 389 Source/web/tests/WebViewTest.cpp EXPECT_EQ(expectedHeight, client.testData().height()); testData 390 Source/web/tests/WebViewTest.cpp EXPECT_EQ(expectedHorizontalState, client.testData().horizontalScrollbarState()); testData 391 Source/web/tests/WebViewTest.cpp EXPECT_EQ(expectedVerticalState, client.testData().verticalScrollbarState());