/external/webkit/Source/WebCore/platform/graphics/chromium/ |
PlatformImage.cpp | 64 size_t bufferSize = bitmapSize.width() * bitmapSize.height() * 4; 66 m_pixelData = adoptArrayPtr(new uint8_t[bufferSize]); 67 memset(m_pixelData.get(), 0, bufferSize); 75 skiaBitmap->copyPixelsTo(m_pixelData.get(), bufferSize);
|
/external/webkit/Source/WebCore/platform/network/ |
SocketStreamHandleBase.cpp | 39 const unsigned int bufferSize = 100 * 1024 * 1024; 58 if (m_buffer.size() + length > bufferSize) { 70 if (m_buffer.size() + length - bytesWritten > bufferSize) { 103 ASSERT(m_buffer.size() - bytesWritten <= bufferSize);
|
/external/webkit/Tools/WebKitLauncherWin/ |
WebKitLauncherWin.cpp | 34 DWORD bufferSize = 0; 35 if (RegQueryValueEx(key, valueName, 0, &type, 0, &bufferSize) != ERROR_SUCCESS || type != REG_SZ) 38 LPTSTR buffer = static_cast<LPTSTR>(malloc(bufferSize)); 39 if (RegQueryValueEx(key, valueName, 0, &type, reinterpret_cast<LPBYTE>(buffer), &bufferSize) != ERROR_SUCCESS) {
|
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 31 MtpPacket::MtpPacket(int bufferSize) 33 mBufferSize(bufferSize), 34 mAllocationIncrement(bufferSize), 37 mBuffer = (uint8_t *)malloc(bufferSize);
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
perfutils.h | 24 VOID PrintStatistics(struct timeval *tv_beg,struct timeval* tv_end, char * ModuleName,INT BufferSize);
|
/external/webkit/Source/WebCore/platform/network/win/ |
ResourceHandleWin.cpp | 66 DWORD bufferSize = 0; 67 HttpQueryInfoW(requestHandle, infoLevel, 0, &bufferSize, 0); 69 Vector<UChar> characters(bufferSize / sizeof(UChar)); 71 if (!HttpQueryInfoW(requestHandle, infoLevel, characters.data(), &bufferSize, 0)) 208 static const int bufferSize = 32768; 209 char buffer[bufferSize]; 213 buffers.dwBufferLength = bufferSize; 250 buffers.dwBufferLength = bufferSize; 388 const int bufferSize = 8192; 389 char buffer[bufferSize]; [all...] |
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl_enc.h | 27 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize); 28 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize);
|
/external/openssh/regress/ |
ssh-com-sftp.sh | 16 BUFFERSIZE="5 1000 32000 64000" 50 for B in ${BUFFERSIZE}; do
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
soundcommon.h | 55 u32 buffersize; member in struct:__anon13305 66 extern void SoundSystemInit(u32 rate,u32 buffersize,u8 channel,u8 format);
|
/external/webkit/Tools/DumpRenderTree/mac/PerlSupport/ |
DumpRenderTreeSupport.c | 32 size_t bufferSize = sizeof(info); 33 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]), &info, &bufferSize, 0, 0)) {
|
/hardware/qcom/display/libgralloc/ |
gpu.h | 48 size_t bufferSize = 0); 65 int* pStride, int 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...] |
/external/llvm/include/llvm/Support/ |
circular_raw_ostream.h | 50 /// BufferSize - The size of the buffer in bytes. 52 size_t BufferSize; 77 TheStream->write(Cur, BufferArray + BufferSize - Cur); 114 BufferSize(BuffSize), 118 if (BufferSize != 0) 119 BufferArray = new char[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);
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
TextInputController.cpp | 53 size_t bufferSize = JSStringGetMaximumUTF8CStringSize(string); 54 GOwnPtr<gchar> stringBuffer(static_cast<gchar*>(g_malloc(bufferSize))); 55 JSStringGetUTF8CString(string, stringBuffer.get(), bufferSize); 81 size_t bufferSize = JSStringGetMaximumUTF8CStringSize(string); 82 GOwnPtr<gchar> stringBuffer(static_cast<gchar*>(g_malloc(bufferSize))); 83 JSStringGetUTF8CString(string, stringBuffer.get(), bufferSize);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleProfiling.java | 97 int bufferSize = in.getInt(); 103 + "', size=" + bufferSize + ", flags=" + flags); 106 Debug.startMethodTracing(fileName, bufferSize, flags); 139 int bufferSize = in.getInt(); 142 Log.v("ddm-heap", "Method prof stream start: size=" + bufferSize 147 Debug.startMethodTracingDdms(bufferSize, flags);
|
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterInputStream.java | 71 * @param bufferSize the length in bytes of the internal buffer 73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) { 80 if (bufferSize <= 0) { 81 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 84 this.buf = new byte[bufferSize];
|
InflaterOutputStream.java | 69 * @param bufferSize the length in bytes of the internal buffer 71 public InflaterOutputStream(OutputStream out, Inflater inf, int bufferSize) { 78 if (bufferSize <= 0) { 79 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 82 this.buf = new byte[bufferSize];
|
InflaterInputStream.java | 101 * @param bufferSize 104 public InflaterInputStream(InputStream is, Inflater inflater, int bufferSize) { 111 if (bufferSize <= 0) { 112 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 116 nativeEndBufSize = bufferSize; 118 buf = new byte[bufferSize];
|
/external/icu4c/samples/ucnv/ |
convsamp.cpp | 24 * Each test can define it's own BUFFERSIZE 257 #define BUFFERSIZE 17 /* make it interesting :) */ 263 The 'buffersize' is in bytes of input. 292 char inBuf[BUFFERSIZE]; 315 uBufSize = (BUFFERSIZE/ucnv_getMinCharSize(conv)); 317 BUFFERSIZE, ucnv_getMinCharSize(conv), uBufSize); 323 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) ) 376 #undef BUFFERSIZE 378 #define BUFFERSIZE 1024 392 char inBuf[BUFFERSIZE]; [all...] |
/external/skia/src/gpu/ |
GrBufferAllocPool.h | 88 * @param bufferSize The minimum size of created buffers. 92 * buffers at bufferSize and keep them until it 98 size_t bufferSize = 0, 201 * @param bufferSize The minimum size of created VBs This value 204 * bufferSize and keep them until it is 209 size_t bufferSize = 0, 289 * @param bufferSize The minimum size of created IBs This value 292 * bufferSize and keep them until it is 297 size_t bufferSize = 0,
|
/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);
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
AudioProtocol.java | 262 int bufferSize = AudioTrack.getMinBufferSize(samplingRate, 265 bufferSize = bufferSize * 4; 266 if (bufferSize < 256 * 1024) { 267 bufferSize = 256 * 1024; 269 if (bufferSize > data.capacity()) { 270 bufferSize = data.capacity(); 274 AudioFormat.ENCODING_PCM_16BIT, bufferSize, 283 int dataToWrite = (bufferSize < data.capacity())? bufferSize : data.capacity() [all...] |
/external/icu4c/i18n/ |
ucoleitr.cpp | 60 int32_t bufferSize; 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; 147 bufferSize = DEFAULT_BUFFER_SIZE; 169 if (bufferIndex >= bufferSize) { 170 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW) [all...] |