Searched refs:kTestSize (Results 1 - 10 of 10) sorted by path

/external/chromium_org/base/memory/
H A Dshared_memory_unittest.cc532 const uint32 kTestSize = 1 << 16; local
536 options.size = kTestSize;
566 const uint32 kTestSize = 1 << 8; local
570 options.size = kTestSize;
587 const uint32 kTestSize = 1 << 8; local
591 options.size = kTestSize;
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper_readback_support.cc77 const int kTestSize = 64; local
85 GL_TEXTURE_2D, 0, format, kTestSize, kTestSize, 0, format, type, NULL);
H A Dgl_helper_unittest.cc1696 const int kTestSize = 64;
1697 bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize),
1705 const int kTestSize = 64;
1706 bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize),
1713 const int kTestSize = 64;
1714 bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize),
1721 const int kTestSize
[all...]
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_implementation_unittest.cc766 const uint32 kTestSize = MaxTransferBufferSize() + 32; local
768 scoped_ptr<uint8[]> buf(new uint8 [kTestSize]);
770 for (uint32 ii = 0; ii < kTestSize; ++ii) {
785 kTestSize - MaxTransferBufferSize());
794 kTestSize - MaxTransferBufferSize(), mem2.id, mem2.offset);
800 SetMemory(result1.ptr, kTestSize),
805 kTestSize - MaxTransferBufferSize()))
811 ASSERT_EQ(kTestSize, data.size());
/external/chromium_org/media/base/
H A Ddecoder_buffer_unittest.cc17 const int kTestSize = 10; local
18 scoped_refptr<DecoderBuffer> buffer3(new DecoderBuffer(kTestSize));
20 EXPECT_EQ(kTestSize, buffer3->data_size());
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfifo_test.cc25 const size_t kTestSize = 32; member in namespace:__anon8953
26 const size_t kHalfSize = kTestSize / 2;
27 const size_t kQuarterSize = kTestSize / 4;
37 char temp_wr[kTestSize * 2];
38 char temp_rd[kTestSize * 2];
46 FIFOChar fifo(kTestSize);
49 wr_offs += fifo.Write(temp_wr + wr_offs, kTestSize);
50 EXPECT_EQ(kTestSize, wr_offs);
60 EXPECT_EQ(kTestSize + kQuarterSize, wr_offs);
62 EXPECT_EQ(kTestSize
[all...]
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash_test.cc891 const int kTestSize = 1 << 20; // 1M
892 char* huge_dictionary = new char[kTestSize];
893 memset(huge_dictionary, 'Q', kTestSize);
894 BlockHash huge_bh(huge_dictionary, kTestSize, 0);
896 char* huge_target = new char[kTestSize];
897 memset(huge_target, 'Q', kTestSize);
901 huge_target + (kTestSize / 2), // middle of target
903 kTestSize,
913 EXPECT_GT((kTestSize / 2), best_match_.source_offset());
914 EXPECT_GT((kTestSize /
[all...]
H A Dheaderparser_test.cc33 static const int kTestSize = 1024; member in class:open_vcdiff::__anon10652::VCDiffHeaderParserTest
98 for (int i = 0; i < kTestSize; ++i) {
104 for (int position = 0; position < kTestSize; ++position) {
116 for (int i = 0; i < kTestSize; ++i) {
122 for (int i = 0; i < kTestSize; ++i) {
134 for (int i = 0; i < kTestSize; ++i) {
141 for (int i = 0; i < kTestSize; ++i) {
152 for (int i = 0; i < kTestSize; ++i) {
159 for (int i = 0; i < kTestSize; ++i) {
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPurgeableVectorTest.cpp47 const size_t kTestSize = 32 * 1024; member in namespace:__anon11255
80 purgeableVector.grow(kTestSize);
81 ASSERT_EQ(kTestSize, purgeableVector.size());
88 Vector<char> testData(kTestSize);
113 purgeableVector.reserveCapacity(kTestSize);
119 Vector<char> testData(kTestSize);
145 Vector<char> testData(kTestSize);
169 Vector<char> testData(kTestSize);
173 purgeableVector.reserveCapacity(kTestSize);
195 Vector<char> testData(kTestSize);
[all...]
/external/chromium_org/ui/views/widget/
H A Dwidget_unittest.cc878 const gfx::Size kTestSize(200, 180);
884 EXPECT_NE(kTestSize.ToString(),
886 widget->SetSize(kTestSize);
887 EXPECT_EQ(kTestSize.ToString(),
897 widget->SetSize(kTestSize);
907 EXPECT_NE(kTestSize.ToString(),
909 widget->SetSize(kTestSize);
910 EXPECT_EQ(kTestSize.ToString(),
924 widget->SetSize(kTestSize);

Completed in 4454 milliseconds