Searched refs:bufferSize (Results 51 - 75 of 279) sorted by relevance

1234567891011>>

/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DCodedInputByteBufferNano.java190 if (size <= (bufferSize - bufferPos) && size > 0) {
232 if (size <= (bufferSize - bufferPos) && size > 0) {
397 private int bufferSize; field in class:CodedInputByteBufferNano
418 bufferSize = off + len;
493 bufferSize += bufferSizeAfterLimit;
494 final int bufferEnd = bufferSize;
498 bufferSize -= bufferSizeAfterLimit;
533 return bufferPos == bufferSize;
581 if (bufferPos == bufferSize) {
605 if (size <= bufferSize
[all...]
/external/chromium_org/third_party/tlslite/tlslite/integration/
H A Dtlsasyncdispatchermixin.py130 def recv(self, bufferSize=16384):
131 if bufferSize < 16384 or self.readBuffer == None:
/external/deqp/framework/egl/
H A DegluConfigInfo.hpp35 deInt32 bufferSize; member in class:eglu::ConfigInfo
68 : bufferSize (0)
/external/chromium_org/third_party/skia/src/core/
H A DSkDataTable.cpp99 size_t bufferSize = count * sizeof(Dir) + dataSize; local
100 void* buffer = sk_malloc_throw(bufferSize);
120 size_t bufferSize = elemSize * count; local
121 void* buffer = sk_malloc_throw(bufferSize);
122 memcpy(buffer, array, bufferSize);
/external/skia/src/core/
H A DSkDataTable.cpp99 size_t bufferSize = count * sizeof(Dir) + dataSize; local
100 void* buffer = sk_malloc_throw(bufferSize);
120 size_t bufferSize = elemSize * count; local
121 void* buffer = sk_malloc_throw(bufferSize);
122 memcpy(buffer, array, bufferSize);
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DChunkedWritableByteChannel.java105 int bufferSize = buffer.remaining();
106 buffer.get(bytes, offset, bufferSize);
108 offset += bufferSize;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DIndexBuffer.cpp121 gl::Error IndexBufferInterface::setBufferSize(unsigned int bufferSize, GLenum indexType) argument
125 return mIndexBuffer->initialize(bufferSize, indexType, mDynamic);
129 return mIndexBuffer->setSize(bufferSize, indexType);
/external/deqp/framework/delibs/destream/
H A DdeThreadStream.c36 int bufferSize; member in struct:deThreadInStream_s
51 deUint8* buffer = malloc(sizeof(deUint8) * threadStream->bufferSize);
59 readResult = deInStream_read(threadStream->input, buffer, threadStream->bufferSize, &read);
142 threadStream->bufferSize = ringbufferBlockSize;
/external/lzma/CPP/7zip/Compress/
H A DRangeCoder.h24 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); } argument
115 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); } argument
/external/svox/pico/lib/
H A Dpicoctrl.h80 picoos_int16 bufferSize,
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedOutputStream.java73 * @param bufferSize minimum chunk size (excluding last chunk)
76 public ChunkedOutputStream(final SessionOutputBuffer out, int bufferSize) argument
79 this.cache = new byte[bufferSize];
/external/deqp/modules/gles31/functional/
H A Des31fTextureBufferTests.cpp196 const size_t bufferSize = 131072; local
198 renderTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, bufferSize, 0, size, RENDERBITS_NONE, MODIFYBITS_NONE, renderType, name.c_str(), name.c_str()));
204 const size_t bufferSize = 131072; local
208 renderTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, bufferSize, offset, size, RENDERBITS_NONE, MODIFYBITS_NONE, renderType, name.c_str(), name.c_str()));
237 const size_t bufferSize = 131072; local
239 modifyTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, bufferSize, 0, size, RENDERBITS_NONE, modifyType, RENDERBITS_AS_FRAGMENT_TEXTURE, name.c_str(), name.c_str()));
245 const size_t bufferSize = 131072; local
249 modifyTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, bufferSize, offset, size, RENDERBITS_NONE, modifyType, RENDERBITS_AS_FRAGMENT_TEXTURE, name.c_str(), name.c_str()));
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/
H A DSDL_coreaudio.c131 if (bufferOffset >= bufferSize) {
133 SDL_memset(buffer, this->spec.silence, bufferSize);
136 buffer, bufferSize);
141 len = bufferSize - bufferOffset;
281 bufferOffset = bufferSize = this->spec.size;
282 buffer = SDL_malloc(bufferSize);
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/
H A Ddevice_id_win.cc93 ULONG bufferSize = 15 * 1024; local
98 std::vector<unsigned char> buffer(bufferSize);
103 adapterAddresses, &bufferSize);
105 buffer.resize(bufferSize);
109 adapterAddresses, &bufferSize);
/external/chromium_org/third_party/skia/experimental/DrawingBoard/
H A DSampleDrawingServer.cpp66 cs->bufferSize = 0;
74 fBuffer.remove(cs->bufferBase, cs->bufferSize);
81 it->second->bufferBase -= cs->bufferSize;
88 cs->bufferSize = size;
203 int bufferSize; member in struct:DrawingServerView::ClientState
/external/skia/experimental/DrawingBoard/
H A DSampleDrawingServer.cpp66 cs->bufferSize = 0;
74 fBuffer.remove(cs->bufferBase, cs->bufferSize);
81 it->second->bufferBase -= cs->bufferSize;
88 cs->bufferSize = size;
203 int bufferSize; member in struct:DrawingServerView::ClientState
/external/deqp/modules/gles3/functional/
H A Des3fBufferMapTests.cpp53 BufferMapReadCase (Context& context, const char* name, const char* desc, deUint32 bufferTarget, deUint32 usage, int bufferSize, int mapOffset, int mapSize, WriteType write) argument
57 , m_bufferSize (bufferSize)
159 BufferPartialMapWriteCase (Context& context, const char* name, const char* desc, deUint32 bufferTarget, deUint32 usage, int bufferSize, int mapOffset, int mapSize, VerifyType verify) argument
163 , m_bufferSize (bufferSize)
230 const int bufferSize = 1300; local
238 refBuf.setSize(bufferSize);
239 fillWithRandomBytes(refBuf.getPtr(), bufferSize, dataSeed);
243 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage);
289 const int bufferSize = 1300; local
294 const int verifySize = bufferSize
348 const int bufferSize = 1300; local
474 BufferMapReadWriteCase(Context& context, const char* name, const char* desc, deUint32 bufferTarget, deUint32 usage, int bufferSize, int mapOffset, int mapSize, VerifyType verify) argument
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Ducoleitr.cpp60 int32_t bufferSize; member in struct:RCEBuffer
74 bufferSize = DEFAULT_BUFFER_SIZE;
91 if (bufferIndex >= bufferSize) {
92 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW);
94 ARRAY_COPY(newBuffer, buffer, bufferSize);
101 bufferSize += BUFFER_GROW;
132 int32_t bufferSize; member in struct:PCEBuffer
147 bufferSize = DEFAULT_BUFFER_SIZE;
169 if (bufferIndex >= bufferSize) {
170 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioContext.idl70 [RaisesException] ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiapts.c366 int32_t bufferSize = U_BRK_SAFECLONE_BUFFERSIZE; local
404 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, NULL))
410 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) || status != U_MEMORY_ALLOCATION_ERROR)
419 log_err("FAIL: Cloned Iterator failed to deal correctly with null bufferSize pointer\n");
425 bufferSize = 0;
426 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) ||
427 U_FAILURE(status) || bufferSize <= 0)
432 if (U_BRK_SAFECLONE_BUFFERSIZE < bufferSize)
434 log_err("FAIL: Pre-calculated buffer size is too small - %d but needed %d\n", U_BRK_SAFECLONE_BUFFERSIZE, bufferSize);
437 if (NULL == (brk = ubrk_safeClone(someIterators[i], buffer[i], &bufferSize,
[all...]
/external/chromium_org/v8/src/
H A Dperf-jit.cc53 int bufferSize = sizeof(kFilenameFormatString) + kFilenameBufferPadding; local
54 ScopedVector<char> perf_dump_name(bufferSize);
/external/icu/icu4c/source/test/cintltst/
H A Dcbiapts.c366 int32_t bufferSize = U_BRK_SAFECLONE_BUFFERSIZE; local
404 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, NULL))
410 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) || status != U_MEMORY_ALLOCATION_ERROR)
419 log_err("FAIL: Cloned Iterator failed to deal correctly with null bufferSize pointer\n");
425 bufferSize = 0;
426 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) ||
427 U_FAILURE(status) || bufferSize <= 0)
432 if (U_BRK_SAFECLONE_BUFFERSIZE < bufferSize)
434 log_err("FAIL: Pre-calculated buffer size is too small - %d but needed %d\n", U_BRK_SAFECLONE_BUFFERSIZE, bufferSize);
437 if (NULL == (brk = ubrk_safeClone(someIterators[i], buffer[i], &bufferSize,
[all...]
/external/opencv/cv/src/
H A Dcvoptflowbm.cpp148 int bufferSize = cvAlign(blSize + 9,16); local
169 blockA = (uchar *) cvAlloc( bufferSize * 3 );
173 blockB = blockA + bufferSize;
174 blockZ = blockB + bufferSize;
176 memset( blockZ, 0, bufferSize );
397 memset( blockA, 0, bufferSize );
398 memset( blockB, 0, bufferSize );
466 memset( blockB, 0, bufferSize );
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DSocketStreamHandle.cpp46 static const unsigned bufferSize = 100 * 1024 * 1024; member in namespace:blink
200 if (m_buffer.size() + length > bufferSize) {
214 if (m_buffer.size() + length - bytesWritten > bufferSize) {
264 ASSERT(m_buffer.size() - bytesWritten <= bufferSize);
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DUnicodeUtilities.cpp303 size_t bufferSize = unorm_normalize(characters, length, UNORM_NFC, 0, buffer.data(), length, &status); local
305 ASSERT(bufferSize);
307 buffer.resize(bufferSize);
313 unorm_normalize(characters, length, UNORM_NFC, 0, buffer.data(), bufferSize, &status);

Completed in 4034 milliseconds

1234567891011>>