/external/skia/include/core/ |
SkStream.h | 250 should be used. This will be allocated and freed automatically. If bufferSize is 0, 255 SkBufferStream(SkStream* proxy, size_t bufferSize = 0); 257 This buffer is owned by the caller, and must be at least bufferSize bytes big. 259 If buffer is not NULL, it is an error for bufferSize to be 0. 263 SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize);
|
/external/skia/legacy/include/core/ |
SkStream.h | 217 should be used. This will be allocated and freed automatically. If bufferSize is 0, 222 SkBufferStream(SkStream* proxy, size_t bufferSize = 0); 224 This buffer is owned by the caller, and must be at least bufferSize bytes big. 226 If buffer is not NULL, it is an error for bufferSize to be 0. 230 SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize);
|
/hardware/msm7k/libgralloc-qsd8k/ |
gpu.cpp | 66 const size_t bufferSize = m->finfo.line_length * m->info.yres; 72 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle); 92 vaddr += bufferSize; 279 const size_t bufferSize = m->finfo.line_length * m->info.yres; 280 int index = (hnd->base - m->framebuffer->base) / bufferSize;
|
/system/core/libcorkscrew/ |
backtrace.c | 305 const backtrace_symbol_t* symbol, char* buffer, size_t bufferSize) { 308 size_t fieldWidth = (bufferSize - 80) / 2; 312 snprintf(buffer, bufferSize, "#%02d pc %08x %.*s (%.*s+%u)", 316 snprintf(buffer, bufferSize, "#%02d pc %08x %.*s (%.*s)", 321 snprintf(buffer, bufferSize, "#%02d pc %08x %.*s",
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
CodedInputByteBufferNano.java | 190 if (size <= (bufferSize - bufferPos) && size > 0) { 232 if (size <= (bufferSize - bufferPos) && size > 0) { 397 private int bufferSize; 418 bufferSize = off + len; 493 bufferSize += bufferSizeAfterLimit; 494 final int bufferEnd = bufferSize; 498 bufferSize -= bufferSizeAfterLimit; 533 return bufferPos == bufferSize; 564 if (bufferPos == bufferSize) { 588 if (size <= bufferSize - bufferPos) [all...] |
/system/core/rootdir/ |
init.rc | 362 setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208 363 setprop net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576 364 setprop net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576 365 setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208 366 setprop net.tcp.buffersize.hspa 4094,87380,262144,4096,16384,262144 367 setprop net.tcp.buffersize.hsupa 4094,87380,262144,4096,16384,262144 368 setprop net.tcp.buffersize.hsdpa 4094,87380,262144,4096,16384,262144 369 setprop net.tcp.buffersize.hspap 4094,87380,1220608,4096,16384,1220608 370 setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040 371 setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,1168 [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.h | 176 unsigned int bufferSize; // Size of sample buffer 275 size_t bufferSize() const; 303 virtual size_t bufferSize() const 305 return ALSAStreamOps::bufferSize(); 359 virtual size_t bufferSize() const 361 return ALSAStreamOps::bufferSize(); 412 status_t initSurroundSoundLibrary(unsigned long buffersize);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 237 int bufferSize = data.getInt(BluetoothInputDevice.EXTRA_REPORT_BUFFER_SIZE); 238 if(!getReportNative(Utils.getByteAddress(device), reportType, reportId, bufferSize)) { 361 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { 364 return service.getReport(device, reportType, reportId, bufferSize) ; 487 boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { 499 data.putInt(BluetoothInputDevice.EXTRA_REPORT_BUFFER_SIZE, bufferSize); 647 private native boolean getReportNative(byte[]btAddress, byte reportType, byte reportId, int bufferSize);
|
/external/e2fsprogs/lib/ext2fs/ |
nt_io.c | 212 ULONG BufferSize; 1140 NtData->BufferSize = 1024; 1141 NtData->Buffer = malloc(NtData->BufferSize); 1281 NtData->BufferSize = channel->block_size; 1282 ASSERT(0 == (NtData->BufferSize % 512)); 1284 NtData->Buffer = malloc(NtData->BufferSize); 1337 if(Size <= NtData->BufferSize) 1345 SizeToRead = NtData->BufferSize; 1442 if(SizeToWrite >= NtData->BufferSize) 1445 memcpy(NtData->Buffer, buf, NtData->BufferSize); [all...] |
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.cpp | 75 unsigned bufferSize = m_bmpInfo.numPixels(); 77 bufferSize /= 2; 79 m_pixelData = adoptArrayPtr(new unsigned[bufferSize]); 98 unsigned bufferSize = m_bmpInfo.numPixels(); 100 unsigned bufferSizeInBytes = bufferSize * (is16bit() ? 2 : 4); 107 wmemset(static_cast<wchar_t*>(m_pixels), 0xFFFF, bufferSize); 113 const unsigned* bufferEnd = pixel + bufferSize; 137 int bufferSize = paddedWidth * newBmpInfo.height(); 138 OwnArrayPtr<unsigned> newPixelData = adoptArrayPtr(new unsigned[bufferSize / 2]); 149 const unsigned short* p16end = p16 + bufferSize; [all...] |
/hardware/qcom/media/mm-video/vidc/venc/test/ |
video_encoder_test.c | 492 unsigned int buffersize = 0; local 511 buffersize = encoder_context->input_buffer.datasize; 512 buffersize = (buffersize + alignedsize) & (~alignedsize); 525 buffersize = encoder_context->output_buffer.datasize; 526 buffersize = (buffersize + alignedsize) & (~alignedsize); 580 ptemp [i]->pbuffer = mmap(NULL,clp2(buffersize),PROT_READ|PROT_WRITE, 590 ptemp [i]->sz = buffersize; 591 ptemp [i]->maped_size = clp2 (buffersize); [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...] |
/dalvik/vm/native/ |
dalvik_system_VMDebug.cpp | 227 * FileDescriptor fd, int bufferSize, int flags) 240 int bufferSize = args[2]; 243 if (bufferSize == 0) { 245 bufferSize = 8 * 1024 * 1024; 248 if (bufferSize < 1024) { 272 fd, bufferSize, flags, (traceFileName == NULL && fd == -1));
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl_enc.cpp | 59 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) 65 const unsigned int __size_buffer = bufferSize; 74 memcpy(ptr, &bufferSize, 4); ptr += 4; 82 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) 88 const unsigned int __size_buffer = bufferSize; 97 memcpy(ptr, &bufferSize, 4); ptr += 4;
|
/external/webkit/Source/JavaScriptCore/ |
jsc.cpp | 556 size_t bufferSize = 0; 562 bufferSize += fread(buffer.data() + bufferSize, 1, bufferCapacity - bufferSize, f); 563 if (bufferSize == bufferCapacity) { // guarantees space for trailing '\0' 569 buffer[bufferSize] = '\0';
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothInputDevice.java | 129 /* int reportType, int reportType, int bufferSize */ 568 * @param bufferSize Report receiving buffer size 573 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { 574 if (VDBG) log("getReport(" + device + "), reportType=" + reportType + " reportId=" + reportId + "bufferSize=" + bufferSize); 577 return mService.getReport(device, reportType, reportId, bufferSize);
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 273 private void setupCallback(Camera camera, FrameCatcher catcher, int bufferSize) { 277 byte [] cameraBuffer = new byte[bufferSize]; 370 int bufferSize; 371 bufferSize = setSize.width * setSize.height 374 if (bufferSize != sizeWeShouldHave) { 419 setupCallback(camera, catcher, 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];
|
AbstractSessionInputBuffer.java | 68 protected void init(final InputStream instream, int buffersize, final HttpParams params) { 72 if (buffersize <= 0) { 79 this.buffer = new byte[buffersize]; 82 this.linebuffer = new ByteArrayBuffer(buffersize);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSUtils.java | 212 int tagNo, boolean isExplicit, int bufferSize) throws IOException 216 if (bufferSize != 0) 218 return octGen.getOctetOutputStream(new byte[bufferSize]);
|
/external/webkit/Source/WebCore/bridge/objc/ |
objc_utility.mm | 85 bool convertJSMethodNameToObjc(const char *JSName, char *buffer, size_t bufferSize) 92 char *end = buffer + bufferSize; 107 ASSERT(strlen(JSName) < bufferSize);
|
/frameworks/av/cmds/stagefright/ |
muxer.cpp | 79 size_t bufferSize = 1 * 1024 * 1024; // default buffer size is 1MB. 113 bufferSize = width * height * 4; // Assuming it is maximally 4BPP 143 sp<ABuffer> newBuffer = new ABuffer(bufferSize);
|
/hardware/msm7k/libaudio/ |
AudioHardware.h | 170 virtual size_t bufferSize() const { return 4800; } 173 virtual uint32_t latency() const { return (1000*AUDIO_HW_NUM_OUT_BUF*(bufferSize()/frameSize()))/sampleRate()+AUDIO_HW_OUT_LATENCY_MS; } 209 virtual size_t bufferSize() const { return mBufferSize; }
|
/hardware/msm7k/libaudio-qsd8k/ |
AudioHardware.h | 247 virtual size_t bufferSize() const { return mBufferSize; } 250 virtual uint32_t latency() const { return (1000*AUDIO_HW_NUM_OUT_BUF*(bufferSize()/frameSize()))/sampleRate()+AUDIO_HW_OUT_LATENCY_MS; } 283 virtual size_t bufferSize() const { return mBufferSize; }
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PipedInputStreamTest.java | 460 int bufferSize) throws IOException { 461 super(src, bufferSize); 464 public MockPipedInputStream(int bufferSize) { 465 super(bufferSize);
|