/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
OutputStreamTesterTest.java | 156 private final int bufferSize; 158 private BufferedOutputStreamTester(int bufferSize) { 159 this.bufferSize = bufferSize; 163 return new BufferedOutputStream(delegate, bufferSize);
|
WriterTesterTest.java | 147 private final int bufferSize; 149 private BufferedWriterCharSinkTester(int bufferSize) { 150 this.bufferSize = bufferSize; 154 return new BufferedWriter(delegate, bufferSize);
|
/hardware/qcom/display/msm8960/libgralloc/ |
gpu.cpp | 192 size_t bufferSize = m->finfo.line_length * m->info.yres; 195 bufferSize = roundUpToPageSize(bufferSize); 202 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, 214 dup(m->framebuffer->fd), bufferSize, 226 vaddr += bufferSize; 247 size_t bufferSize) { 273 size = (bufferSize >= size)? bufferSize : size; 310 const size_t bufferSize = m->finfo.line_length * m->info.yres [all...] |
/hardware/qcom/display/msm8974/libgralloc/ |
gpu.cpp | 198 size_t bufferSize = m->finfo.line_length * m->info.yres; 201 bufferSize = roundUpToPageSize(bufferSize); 208 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, 220 dup(m->framebuffer->fd), bufferSize, 232 vaddr += bufferSize; 253 size_t bufferSize) { 288 size = (bufferSize >= size)? bufferSize : size; 325 const size_t bufferSize = m->finfo.line_length * m->info.yres [all...] |
/hardware/qcom/display/msm8x26/libgralloc/ |
gpu.cpp | 192 size_t bufferSize = m->finfo.line_length * m->info.yres; 195 bufferSize = roundUpToPageSize(bufferSize); 202 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, 214 dup(m->framebuffer->fd), bufferSize, 226 vaddr += bufferSize; 247 size_t bufferSize) { 273 size = (bufferSize >= size)? bufferSize : size; 310 const size_t bufferSize = m->finfo.line_length * m->info.yres [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.cpp | 141 BufferedOutputStream::BufferedOutputStream(TCPStream *stream, size_t bufferSize) { 144 mBufferSize = bufferSize; 146 mStringBuffer.reserve(bufferSize);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioContext.idl | 70 [RaisesException] ScriptProcessorNode createScriptProcessor(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels); 86 [MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor, RaisesException] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cbiapts.c | 358 int32_t bufferSize = U_BRK_SAFECLONE_BUFFERSIZE; 396 if (0 != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, 0)) 402 if (0 != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) || status != U_MEMORY_ALLOCATION_ERROR) 411 log_err("FAIL: Cloned Iterator failed to deal correctly with null bufferSize pointer\n"); 416 bufferSize = 0; 417 if (0 != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) || U_FAILURE(status) || bufferSize <= 0) 422 if (U_BRK_SAFECLONE_BUFFERSIZE < bufferSize) 427 if (0 == (brk = ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status)) || U_FAILURE(status)) 434 --bufferSize; [all...] |
/external/lzma/CPP/7zip/Compress/ |
RangeCoder.h | 24 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); }
115 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); }
|
/external/svox/pico/lib/ |
picoctrl.h | 80 picoos_int16 bufferSize,
|
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 31 MtpPacket::MtpPacket(int bufferSize) 33 mBufferSize(bufferSize), 34 mAllocationIncrement(bufferSize), 37 mBuffer = (uint8_t *)malloc(bufferSize);
|
MtpPacket.h | 38 MtpPacket(int bufferSize);
|
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedOutputStream.java | 68 * @param bufferSize minimum chunk size (excluding last chunk) 71 public ChunkedOutputStream(final SessionOutputBuffer out, int bufferSize) 74 this.cache = new byte[bufferSize];
|
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
TLSAsyncDispatcherMixIn.py | 124 def recv(self, bufferSize=16384): 125 if bufferSize < 16384 or self.readBuffer == None:
|
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothInputDevice.aidl | 50 boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize);
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
DiscourseLogger.java | 36 public DiscourseLogger(int bufferSize) { 37 mBufferSize = bufferSize;
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 761 unsigned long bufferSize; 763 bufferSize = VOIP_BUFFER_SIZE_8K; 766 bufferSize = VOIP_BUFFER_SIZE_16K; 774 alsa_handle.bufferSize = bufferSize; 864 alsa_handle.bufferSize = DEFAULT_MULTI_CHANNEL_BUF_SIZE; 866 alsa_handle.bufferSize = DEFAULT_BUFFER_SIZE; 911 unsigned long bufferSize = DEFAULT_BUFFER_SIZE; 913 for (size_t b = 1; (bufferSize & ~b) != 0; b <<= 1) 914 bufferSize &= ~b [all...] |
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl_entry.cpp | 11 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize); 12 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize); 55 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) 58 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); 61 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) 64 return ctx->rcGetGLString(ctx, name, buffer, bufferSize);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/ |
SDL_coreaudio.c | 131 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);
|
/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.cpp | 136 size_t bufferSize = 4096; 139 char* data = (char*)sk_malloc_throw(bufferSize); 142 bufferSize - streamLen)) != 0) { 144 if (streamLen == bufferSize) { 145 bufferSize *= 2; 146 data = (char*)sk_realloc_throw(data, bufferSize);
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCapabilities.cpp | 230 size_t bufferSize) { 242 strncat(buffer, cap[i].param, bufferSize - 1); 243 strncat(buffer, PARAM_SEP, bufferSize - 1); 257 size_t bufferSize) { 272 strncat(buffer, cap[i].param, bufferSize - 1); 273 strncat(buffer, PARAM_SEP, bufferSize - 1); 287 strncat(buffer, tmpBuffer, bufferSize - 1); 288 strncat(buffer, PARAM_SEP, bufferSize - 1); 294 strncat(buffer, tmpBuffer, bufferSize - 1); 295 strncat(buffer, PARAM_SEP, bufferSize - 1) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
bitstream_io.cpp | 43 /* Function : BitStreamCreateEnc(Int bufferSize ) */ 47 /* bufferSize : size of the bitstream buffer in bytes */ 52 BitstreamEncVideo *BitStreamCreateEnc(Int bufferSize) 60 stream->bufferSize = bufferSize; 61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); 68 M4VENC_MEMSET(stream->bitstreamBuffer, 0, stream->bufferSize*sizeof(UChar)); 213 if (stream->byteCount + WORD_SIZE > stream->bufferSize) 267 if (stream->byteCount + numbyte > stream->bufferSize) 446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 144 int bufferSize = -1; 163 bufferSize = newSize > bufferSize ? newSize : bufferSize; 168 if (bufferSize < 0) { 169 bufferSize = DEFAULT_BUFFER_SIZE; 193 ByteBuffer dstBuf = ByteBuffer.allocate(bufferSize);
|
/external/chromium_org/third_party/skia/src/core/ |
SkDataTable.cpp | 161 size_t bufferSize = count * sizeof(Dir) + dataSize; 162 void* buffer = sk_malloc_throw(bufferSize); 182 size_t bufferSize = elemSize * count; 183 void* buffer = sk_malloc_throw(bufferSize); 184 memcpy(buffer, array, bufferSize);
|
/external/skia/src/core/ |
SkDataTable.cpp | 161 size_t bufferSize = count * sizeof(Dir) + dataSize; 162 void* buffer = sk_malloc_throw(bufferSize); 182 size_t bufferSize = elemSize * count; 183 void* buffer = sk_malloc_throw(bufferSize); 184 memcpy(buffer, array, bufferSize);
|