Searched refs:kBufferSize (Results 1 - 25 of 174) sorted by relevance

1234567

/external/chromium_org/third_party/skia/src/images/
H A DSkJpegUtility.h46 kBufferSize = 1024 enumerator in enum:skjpeg_source_mgr::__anon15320
48 char fBuffer[kBufferSize];
61 kBufferSize = 1024 enumerator in enum:skjpeg_destination_mgr::__anon15321
63 uint8_t fBuffer[kBufferSize];
/external/skia/src/images/
H A DSkJpegUtility.h46 kBufferSize = 1024 enumerator in enum:skjpeg_source_mgr::__anon30733
48 char fBuffer[kBufferSize];
61 kBufferSize = 1024 enumerator in enum:skjpeg_destination_mgr::__anon30734
63 uint8_t fBuffer[kBufferSize];
/external/stlport/test/eh/
H A Dtest_algobase.cpp32 enum { kBufferSize = 100 }; enumerator in enum:__anon31329
37 : stuff( new TestClass[kBufferSize] ), end_of_stuff(stuff + kBufferSize) {
47 stl_destroy( buffer, buffer+kBufferSize );
63 TestClass* buf_end = buffer + kBufferSize;
65 for ( EH_CSTD::size_t i = 0; i < kBufferSize; i++ )
80 TestClass* end = buffer + kBufferSize;
81 EH_STD::uninitialized_fill_n( buffer, (EH_CSTD::size_t)kBufferSize, testValue );
82 for ( EH_CSTD::size_t i = 0; i < kBufferSize; i++ )
93 double arr[ sizeof(TestClass) * kBufferSize ];
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkDebug_nacl.cpp13 static const size_t kBufferSize = 2048; variable
29 char buffer[kBufferSize + 1];
33 vsnprintf(buffer + strlen(kLogPrefix), kBufferSize, format, args);
H A DSkDebug_win.cpp13 static const size_t kBufferSize = 2048; variable
20 char buffer[kBufferSize + 1];
31 vsnprintf(buffer, kBufferSize, format, args);
/external/skia/src/ports/
H A DSkDebug_nacl.cpp13 static const size_t kBufferSize = 2048; variable
29 char buffer[kBufferSize + 1];
33 vsnprintf(buffer + strlen(kLogPrefix), kBufferSize, format, args);
H A DSkDebug_win.cpp13 static const size_t kBufferSize = 2048; variable
20 char buffer[kBufferSize + 1];
31 vsnprintf(buffer, kBufferSize, format, args);
H A DSkDebug_android.cpp13 static const size_t kBufferSize = 256; variable
/external/chromium_org/v8/test/cctest/
H A Dtest-bignum.cc39 static const int kBufferSize = 1024; variable
52 char buffer[kBufferSize];
56 CHECK(bignum.ToHexString(buffer, kBufferSize));
59 CHECK(bignum.ToHexString(buffer, kBufferSize));
62 CHECK(bignum.ToHexString(buffer, kBufferSize));
67 CHECK(bignum.ToHexString(buffer, kBufferSize));
70 CHECK(bignum.ToHexString(buffer, kBufferSize));
73 CHECK(bignum.ToHexString(buffer, kBufferSize));
76 CHECK(bignum.ToHexString(buffer, kBufferSize));
81 CHECK(bignum.ToHexString(buffer, kBufferSize));
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkFlate.cpp36 const size_t kBufferSize = 1024; member in namespace:__anon15168
39 uint8_t inputBuffer[kBufferSize];
40 uint8_t outputBuffer[kBufferSize];
47 flateData.avail_out = kBufferSize;
69 if (flateData.avail_out < kBufferSize) {
70 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) {
75 flateData.avail_out = kBufferSize;
82 size_t read = src->read(&inputBuffer, kBufferSize);
98 if (flateData.avail_out < kBufferSize) {
99 if (!dst->write(outputBuffer, kBufferSize
[all...]
/external/skia/src/core/
H A DSkFlate.cpp36 const size_t kBufferSize = 1024; member in namespace:__anon30576
39 uint8_t inputBuffer[kBufferSize];
40 uint8_t outputBuffer[kBufferSize];
47 flateData.avail_out = kBufferSize;
69 if (flateData.avail_out < kBufferSize) {
70 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) {
75 flateData.avail_out = kBufferSize;
82 size_t read = src->read(&inputBuffer, kBufferSize);
98 if (flateData.avail_out < kBufferSize) {
99 if (!dst->write(outputBuffer, kBufferSize
[all...]
/external/lzma/CPP/Common/
H A DMyString.cpp27 const int kBufferSize = 4; local
28 char s[kBufferSize + 1];
29 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0);
30 if (numChars == 0 || numChars > kBufferSize)
45 const int kBufferSize = 4; local
46 char s[kBufferSize + 1];
47 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0);
48 if (numChars == 0 || numChars > kBufferSize)
/external/chromium_org/gpu/command_buffer/client/
H A Dring_buffer_test.cc37 static const unsigned int kBufferSize = 1024; member in class:gpu::BaseRingBufferTest
92 helper_->Initialize(kBufferSize);
117 const unsigned int BaseRingBufferTest::kBufferSize; member in class:gpu::BaseRingBufferTest
129 buffer_.reset(new int8[kBufferSize + kBaseOffset]);
131 allocator_.reset(new RingBuffer(kAlignment, kBaseOffset, kBufferSize,
148 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize());
149 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSizeNoWaiting());
151 EXPECT_GE(kBufferSize, allocator_->GetOffset(pointer) - kBaseOffset + kSize);
152 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize());
153 EXPECT_EQ(kBufferSize
[all...]
H A Dfenced_allocator_test.cc37 static const unsigned int kBufferSize = 1024; member in class:gpu::BaseFencedAllocatorTest
70 helper_->Initialize(kBufferSize);
89 const unsigned int BaseFencedAllocatorTest::kBufferSize; member in class:gpu::BaseFencedAllocatorTest
105 allocator_.reset(new FencedAllocator(kBufferSize,
131 EXPECT_GE(kBufferSize, offset+kSize);
152 const unsigned int kAllocCount = kBufferSize / kSize;
153 CHECK(kAllocCount * kSize == kBufferSize);
160 EXPECT_GE(kBufferSize, offsets[i]+kSize);
174 EXPECT_GE(kBufferSize, offsets[0]+kSize);
194 const unsigned int kAllocCount = kBufferSize / kSiz
[all...]
H A Dmapped_memory_unittest.cc34 static const unsigned int kBufferSize = 1024; member in class:gpu::MappedMemoryTestBase
67 helper_->Initialize(kBufferSize);
86 const unsigned int MappedMemoryTestBase::kBufferSize; member in class:gpu::MappedMemoryTestBase
104 shared_memory->CreateAndMapAnonymous(kBufferSize);
105 buffer_ = MakeBufferFromSharedMemory(shared_memory.Pass(), kBufferSize);
132 EXPECT_EQ(kBufferSize, chunk_->GetLargestFreeSizeWithoutWaiting());
133 EXPECT_EQ(kBufferSize, chunk_->GetLargestFreeSizeWithWaiting());
134 EXPECT_EQ(kBufferSize, chunk_->GetSize());
138 EXPECT_GE(kBufferSize,
140 EXPECT_EQ(kBufferSize
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dmock_url_request_delegate.cc12 const int kBufferSize = 1024; member in namespace:__anon7120
18 : io_buffer_(new net::IOBuffer(kBufferSize)) {
48 if (!request->Read(io_buffer_.get(), kBufferSize, &bytes_read)) {
/external/chromium_org/sync/internal_api/
H A Dprotocol_event_buffer.cc11 const size_t ProtocolEventBuffer::kBufferSize = 6; member in class:syncer::ProtocolEventBuffer
20 if (buffer_.size() > kBufferSize) {
/external/chromium_org/ppapi/shared_impl/
H A Dmedia_stream_buffer_manager_unittest.cc43 const int32_t kBufferSize = 128; local
47 CreateSharedMemory(kBufferSize, kNumberOfBuffers);
50 kBufferSize,
58 EXPECT_EQ(kBufferSize, manager.buffer_size());
63 EXPECT_EQ(reinterpret_cast<MediaStreamBuffer*>(memory + i * kBufferSize),
95 const int32_t kBufferSize = 128; local
99 CreateSharedMemory(kBufferSize, kNumberOfBuffers);
102 kBufferSize,
110 EXPECT_EQ(kBufferSize, manager.buffer_size());
115 EXPECT_EQ(reinterpret_cast<MediaStreamBuffer*>(memory + i * kBufferSize),
[all...]
/external/chromium_org/content/browser/streams/
H A Dstream_unittest.cc49 const size_t kBufferSize = 32768; local
50 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize));
55 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read);
158 const int kBufferSize = 1000000; local
159 scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize));
160 writer.Write(stream.get(), buffer, kBufferSize);
165 ASSERT_EQ(reader.buffer()->capacity(), kBufferSize);
166 for (int i = 0; i < kBufferSize; i++)
185 const int kBufferSize = 0; local
186 scoped_refptr<net::IOBuffer> buffer(NewIOBuffer(kBufferSize));
271 const int kBufferSize = 1000000; local
299 const int kBufferSize = 1000000; local
[all...]
/external/chromium_org/ppapi/tests/
H A Dtest_buffer.cc80 enum { kBufferSize = 100 }; enumerator in enum:__anon10192
82 pp::Buffer_Dev *buffer = new pp::Buffer_Dev(instance_, kBufferSize);
85 buffer->size() != kBufferSize) {
95 for (int i = 0; i < kBufferSize; ++i)
108 for (int i = 0; i < kBufferSize; ++i)
/external/chromium_org/mojo/system/
H A Dmessage_pipe_unittest.cc34 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); local
40 buffer_size = kBufferSize;
48 EXPECT_EQ(kBufferSize, buffer_size);
55 buffer_size = kBufferSize;
77 buffer_size = kBufferSize;
90 buffer_size = kBufferSize;
148 buffer_size = kBufferSize;
163 buffer_size = kBufferSize;
176 buffer_size = kBufferSize;
211 buffer_size = kBufferSize;
240 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); local
274 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); local
414 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); local
534 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); local
[all...]
/external/chromium_org/v8/src/base/platform/
H A Dsemaphore-unittest.cc19 static const size_t kBufferSize = 987; // GCD(buffer size, alphabet size) = 1 member in namespace:v8::base::__anon17254
20 static const size_t kDataSize = kBufferSize * kAlphabetSize * 10;
35 buffer_[n % kBufferSize] = kAlphabet[n % kAlphabetSize];
60 EXPECT_EQ(kAlphabet[n % kAlphabetSize], buffer_[n % kBufferSize]);
94 char buffer[kBufferSize];
96 Semaphore free_space(kBufferSize);
/external/chromium_org/native_client_sdk/src/examples/api/socket/
H A Decho_server.h12 static const int kBufferSize = 1024; variable
43 char receive_buffer_[kBufferSize];
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_thread.h58 static const size_t kBufferSize = 512; member in class:crazy::ThreadData
61 char dlerror_buffers_[2][kBufferSize];
/external/chromium_org/media/base/
H A Dseekable_buffer_unittest.cc18 SeekableBufferTest() : buffer_(kBufferSize, kBufferSize) {
23 static const int kBufferSize = 4096; member in class:media::SeekableBufferTest
52 int write_size = GetRandomInt(kBufferSize);
58 EXPECT_EQ(should_append, buffer_.forward_bytes() < kBufferSize)
62 int copy_size = GetRandomInt(kBufferSize);
68 int read_size = GetRandomInt(kBufferSize);
83 for (int j = 0; j < kBufferSize; j += kWriteSize) {
85 EXPECT_EQ(j < kBufferSize - kWriteSize, should_append)
93 int forward_bytes = kBufferSize;
[all...]

Completed in 755 milliseconds

1234567