/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);
|
renderControl.in | 3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize) 4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize)
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleOutputStream.java | 34 public Support_ASimpleOutputStream(int bufferSize) { 35 buf = new byte[bufferSize]; 37 size = bufferSize;
|
Support_OutputStream.java | 34 public Support_OutputStream(int bufferSize) { 35 buffer = new byte[bufferSize]; 37 size = bufferSize;
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
ImageBufferGtk.cpp | 53 gsize bufferSize; 58 success = gdk_pixbuf_save_to_buffer(pixbuf.get(), &buffer.outPtr(), &bufferSize, 61 success = gdk_pixbuf_save_to_buffer(pixbuf.get(), &buffer.outPtr(), &bufferSize, type.utf8().data(), &error, NULL); 68 base64Encode(reinterpret_cast<const char*>(buffer.get()), bufferSize, out);
|
/hardware/ti/omap3/dspbridge/libbridge/ |
perfutils.c | 52 char *ModuleName, INT BufferSize) 66 if (BufferSize != 0) 67 fprintf(stdout, "LOG: BufferSize: 0x%x \n", BufferSize);
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
CodedInputStreamMicro.java | 198 if (size <= (bufferSize - bufferPos) && size > 0) { 240 if (size <= (bufferSize - bufferPos) && size > 0) { 436 private int bufferSize; 465 bufferSize = off + len; 472 bufferSize = 0; 550 bufferSize += bufferSizeAfterLimit; 551 final int bufferEnd = totalBytesRetired + bufferSize; 555 bufferSize -= bufferSizeAfterLimit; 590 return bufferPos == bufferSize && !refillBuffer(false); 601 if (bufferPos < bufferSize) { [all...] |
/external/webkit/Source/WebCore/webaudio/ |
JavaScriptAudioNode.cpp | 45 PassRefPtr<JavaScriptAudioNode> JavaScriptAudioNode::create(AudioContext* context, double sampleRate, size_t bufferSize, unsigned numberOfInputs, unsigned numberOfOutputs) 47 return adoptRef(new JavaScriptAudioNode(context, sampleRate, bufferSize, numberOfInputs, numberOfOutputs)); 50 JavaScriptAudioNode::JavaScriptAudioNode(AudioContext* context, double sampleRate, size_t bufferSize, unsigned numberOfInputs, unsigned numberOfOutputs) 54 , m_bufferSize(bufferSize) 59 switch (bufferSize) { 67 m_bufferSize = bufferSize; 104 m_inputBuffers.append(AudioBuffer::create(2, bufferSize(), sampleRate)); 105 m_outputBuffers.append(AudioBuffer::create(2, bufferSize(), sampleRate)); 150 bool buffersAreGood = inputBuffer && outputBuffer && bufferSize() == inputBuffer->length() && bufferSize() == outputBuffer->length( [all...] |
JavaScriptAudioNode.h | 51 // bufferSize must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384. 53 // Lower numbers for bufferSize will result in a lower (better) latency. Higher numbers will be necessary to avoid audio breakup and glitches. 55 static PassRefPtr<JavaScriptAudioNode> create(AudioContext*, double sampleRate, size_t bufferSize, unsigned numberOfInputs = 1, unsigned numberOfOutputs = 1); 71 size_t bufferSize() const { return m_bufferSize; } 80 JavaScriptAudioNode(AudioContext*, double sampleRate, size_t bufferSize, unsigned numberOfInputs, unsigned numberOfOutputs);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 74 private final int bufferSize; 92 * size, using an internal buffer of {@code bufferSize} size, which must be a multiple of 97 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize 99 protected AbstractStreamingHasher(int chunkSize, int bufferSize) { 100 // TODO(kevinb): check more preconditions (as bufferSize >= chunkSize) if this is ever public 101 checkArgument(bufferSize % chunkSize == 0); 105 .allocate(bufferSize + 7) // always space for a single primitive 107 this.bufferSize = bufferSize; 154 int bytesToCopy = bufferSize - buffer.position() [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractStreamingHasherTest.java | 121 for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) { 123 sinks.add(new Sink(chunkSize, bufferSize)); 152 final int bufferSize; 158 Sink(int chunkSize, int bufferSize) { 159 super(chunkSize, bufferSize); 161 this.bufferSize = bufferSize; 167 this.bufferSize = chunkSize [all...] |
/frameworks/av/media/libstagefright/ |
AudioSource.cpp | 320 size_t bufferSize = numLostBytes; 323 bufferSize = kMaxBufferSize; 327 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize); 328 memset(lostAudioBuffer->data(), 0, bufferSize); 329 lostAudioBuffer->set_range(0, bufferSize); 338 const size_t bufferSize = audioBuffer.size; 339 MediaBuffer *buffer = new MediaBuffer(bufferSize); 342 buffer->set_range(0, bufferSize); 348 const size_t bufferSize = buffer->range_length(); 352 ((1000000LL * (bufferSize / frameSize)) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
ThreadLocalOutputBufferProvider.java | 27 public ThreadLocalOutputBufferProvider(final int bufferSize) { 30 return new StringBuilder(bufferSize);
|
/external/openssh/regress/ |
sftp.sh | 16 BUFFERSIZE="5 1000 32000 64000" 19 for B in ${BUFFERSIZE}; do
|
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterOutputStream.java | 89 * @param bufferSize 92 public DeflaterOutputStream(OutputStream os, Deflater def, int bufferSize) { 93 this(os, def, bufferSize, false); 116 public DeflaterOutputStream(OutputStream os, Deflater def, int bufferSize, boolean syncFlush) { 123 if (bufferSize <= 0) { 124 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 128 buf = new byte[bufferSize];
|
/sdk/emulator/opengl/host/libs/renderControl_dec/ |
renderControl.in | 3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize) 4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize)
|
/external/skia/tests/ |
BitmapTransformerTest.cpp | 82 int bufferSize = transformer.bytesNeededTotal(); 83 SkAutoMalloc pixelBufferManager(bufferSize); 86 transformer.copyBitmapToPixelBuffer(pixelBuffer, bufferSize)); 87 REPORTER_ASSERT(fReporter, bufferSize == sizeof(comparisonBuffer)); 88 REPORTER_ASSERT(fReporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
|
/hardware/qcom/display/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...] |
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 81 int buffersize, 83 return new SocketInputBuffer(socket, buffersize, params); 88 int buffersize, 90 return new SocketOutputBuffer(socket, buffersize, params); 104 int buffersize = HttpConnectionParams.getSocketBufferSize(params); local 107 createSessionInputBuffer(socket, buffersize, params), 108 createSessionOutputBuffer(socket, buffersize, params),
|
SocketHttpServerConnection.java | 81 int buffersize, 83 return new SocketInputBuffer(socket, buffersize, params); 88 int buffersize, 90 return new SocketOutputBuffer(socket, buffersize, params); 102 int buffersize = HttpConnectionParams.getSocketBufferSize(params); local 105 createHttpDataReceiver(socket, buffersize, params), 106 createHttpDataTransmitter(socket, buffersize, params),
|
/cts/suite/audio_quality/lib/src/task/ |
TaskInput.cpp | 62 size_t bufferSize = mRecordingTimeInMs * AudioHardware::ESampleRate_44100 / 1000 * 64 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize, localDevice));
|
/external/webkit/Tools/TestWebKitAPI/ |
PlatformUtilities.cpp | 55 size_t bufferSize = WKStringGetMaximumUTF8CStringSize(string); 56 OwnArrayPtr<char> buffer = adoptArrayPtr(new char[bufferSize]); 57 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize);
|
/external/chromium/sdch/open-vcdiff/src/ |
vcdiff_test.sh | 284 -buffersize \ 285 && { echo "-buffersize option with no argument should fail, but succeeded"; \ 289 # Using -buffersize=1 should still work. 294 -buffersize 1 \ 296 || { echo "vcdiff test with -buffersize=1 failed"; \ 302 # Using -buffersize=1 with stdin/stdout means that vcdiff 305 -buffersize 1 \ 309 || { echo "Encode using stdin/stdout with -buffersize=1 failed"; \ 312 -buffersize 1 \ 316 || { echo "Decode using stdin/stdout with -buffersize=1 failed"; [all...] |
/external/open-vcdiff/src/ |
vcdiff_test.sh | 284 -buffersize \ 285 && { echo "-buffersize option with no argument should fail, but succeeded"; \ 289 # Using -buffersize=1 should still work. 294 -buffersize 1 \ 296 || { echo "vcdiff test with -buffersize=1 failed"; \ 302 # Using -buffersize=1 with stdin/stdout means that vcdiff 305 -buffersize 1 \ 309 || { echo "Encode using stdin/stdout with -buffersize=1 failed"; \ 312 -buffersize 1 \ 316 || { echo "Decode using stdin/stdout with -buffersize=1 failed"; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 201 if (size <= (bufferSize - bufferPos) && size > 0) { 266 if (size <= (bufferSize - bufferPos) && size > 0) { 480 private int bufferSize; 511 bufferSize = off + len; 519 bufferSize = 0; 606 bufferSize += bufferSizeAfterLimit; 607 final int bufferEnd = totalBytesRetired + bufferSize; 611 bufferSize -= bufferSizeAfterLimit; 646 return bufferPos == bufferSize && !refillBuffer(false); 665 if (bufferPos < bufferSize) { [all...] |