Searched refs:bufferSize (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/external/jsilver/src/com/google/clearsilver/jsilver/output/
H A DInstanceOutputBufferProvider.java24 private final int bufferSize; field in class:InstanceOutputBufferProvider
26 public InstanceOutputBufferProvider(int bufferSize) { argument
27 this.bufferSize = bufferSize;
32 return new StringBuilder(bufferSize);
H A DThreadLocalOutputBufferProvider.java27 public ThreadLocalOutputBufferProvider(final int bufferSize) { argument
30 return new StringBuilder(bufferSize);
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
H A DBufferedResourceLoader.java33 private int bufferSize = DEFAULT_BUFFER_SIZE; field in class:BufferedResourceLoader
40 return reader == null ? null : new BufferedReader(reader, bufferSize);
44 return bufferSize;
47 public void setBufferSize(int bufferSize) { argument
48 this.bufferSize = bufferSize;
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DScriptProcessorNode.idl32 readonly attribute long bufferSize;
H A DScriptProcessorNode.cpp49 size_t bufferSize = 1 << static_cast<unsigned>(log2(4 * hardwareBufferSize) + 0.5); local
51 if (bufferSize < 256)
53 if (bufferSize > 16384)
56 return bufferSize;
59 ScriptProcessorNode* ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) argument
62 switch (bufferSize) {
64 bufferSize = chooseBufferSize();
87 return adoptRefCountedGarbageCollectedWillBeNoop(new ScriptProcessorNode(context, sampleRate, bufferSize, numberOfInputChannels, numberOfOutputChannels));
90 ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) argument
94 , m_bufferSize(bufferSize)
[all...]
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/
H A DSDL_coreaudio.h37 UInt32 bufferSize; member in struct:SDL_PrivateAudioData
44 #define bufferSize (this->hidden->bufferSize) macro
/external/chromium_org/third_party/skia/tests/
H A DFrontBufferedStreamTest.cpp51 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { argument
54 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize));
58 test_read(reporter, bufferedStream, gAbcs, bufferSize / 2);
63 test_read(reporter, bufferedStream, gAbcs, bufferSize / 4);
66 test_read(reporter, bufferedStream, gAbcs + bufferedStream->getPosition(), bufferSize / 2);
71 test_read(reporter, bufferedStream, gAbcs, bufferSize << 1);
79 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { argument
81 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize));
85 test_read(reporter, bufferedStream, gAbcs, bufferSize);
91 test_read(reporter, bufferedStream, gAbcs, bufferSize);
98 test_skipping(skiatest::Reporter* reporter, size_t bufferSize) argument
148 test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) argument
195 test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) argument
206 test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) argument
237 test_buffers(skiatest::Reporter* reporter, size_t bufferSize) argument
[all...]
/external/skia/tests/
H A DFrontBufferedStreamTest.cpp51 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { argument
54 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize));
58 test_read(reporter, bufferedStream, gAbcs, bufferSize / 2);
63 test_read(reporter, bufferedStream, gAbcs, bufferSize / 4);
66 test_read(reporter, bufferedStream, gAbcs + bufferedStream->getPosition(), bufferSize / 2);
71 test_read(reporter, bufferedStream, gAbcs, bufferSize << 1);
79 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { argument
81 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize));
85 test_read(reporter, bufferedStream, gAbcs, bufferSize);
91 test_read(reporter, bufferedStream, gAbcs, bufferSize);
98 test_skipping(skiatest::Reporter* reporter, size_t bufferSize) argument
148 test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) argument
195 test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) argument
206 test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) argument
237 test_buffers(skiatest::Reporter* reporter, size_t bufferSize) argument
[all...]
/external/deqp/framework/delibs/destream/
H A DdeStreamCpyThread.h37 deInt32 bufferSize; member in struct:deStreamCpyThread_s
40 deStreamCpyThread* deStreamCpyThread_create (deInStream* input, deOutStream* output, deInt32 bufferSize);
H A DdeStreamCpyThread.c31 deUint8* buffer = malloc(sizeof(deUint8) * thread->bufferSize);
39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read);
60 deStreamCpyThread* deStreamCpyThread_create (deInStream* input, deOutStream* output, deInt32 bufferSize) argument
70 thread->bufferSize = bufferSize;
/external/chromium_org/third_party/skia/tools/
H A Dwin_lcid.cpp7 int bufferSize; local
9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE);
10 if (bufferSize == 0) {
/external/lzma/CS/7zip/Common/
H A DOutBuffer.cs13 public OutBuffer(uint bufferSize) argument
15 m_Buffer = new byte[bufferSize];
16 m_BufferSize = bufferSize;
H A DInBuffer.cs15 public InBuffer(uint bufferSize) argument
17 m_Buffer = new byte[bufferSize];
18 m_BufferSize = bufferSize;
/external/skia/tools/
H A Dwin_lcid.cpp7 int bufferSize; local
9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE);
10 if (bufferSize == 0) {
/external/lzma/CPP/7zip/Common/
H A DInBuffer.cpp17 bool CInBuffer::Create(UInt32 bufferSize) argument
20 if (bufferSize < kMinBlockSize)
21 bufferSize = kMinBlockSize;
22 if (_bufferBase != 0 && _bufferSize == bufferSize)
25 _bufferSize = bufferSize;
26 _bufferBase = (Byte *)::MidAlloc(bufferSize);
H A DOutBuffer.cpp9 bool COutBuffer::Create(UInt32 bufferSize) argument
12 if (bufferSize < kMinBlockSize)
13 bufferSize = kMinBlockSize;
14 if (_buffer != 0 && _bufferSize == bufferSize)
17 _bufferSize = bufferSize;
18 _buffer = (Byte *)::MidAlloc(bufferSize);
/external/skia/src/images/
H A DSkStreamHelpers.cpp28 const size_t bufferSize = 256 * 1024; // 256KB local
29 char buffer[bufferSize];
32 size_t bytesRead = stream->read(buffer, bufferSize);
57 const size_t bufferSize = 256 * 1024; // 256KB local
58 char buffer[bufferSize];
61 size_t bytesRead = stream->read(buffer, bufferSize);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DStringExtrasTest.cpp75 const unsigned bufferSize = 256; local
76 Vector<char, bufferSize> buffer;
77 buffer.resize(bufferSize);
81 snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, min);
86 snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, max);
93 const unsigned bufferSize = 256; local
94 Vector<char, bufferSize> buffer;
95 buffer.resize(bufferSize);
100 snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, number);
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DCodedInputStream.java201 if (size <= (bufferSize - bufferPos) && size > 0) {
266 if (size <= (bufferSize - bufferPos) && size > 0) {
480 private int bufferSize; field in class:CodedInputStream
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...]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
H A DCodedInputStreamMicro.java198 if (size <= (bufferSize - bufferPos) && size > 0) {
240 if (size <= (bufferSize - bufferPos) && size > 0) {
436 private int bufferSize; field in class:CodedInputStreamMicro
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/chromium_org/third_party/WebKit/Source/platform/audio/ipp/
H A DFFTFrameIPP.cpp57 int bufferSize = 0; local
58 ippsDFTGetBufSize_R_32f(m_DFTSpec, &bufferSize);
59 m_buffer = ippsMalloc_8u(bufferSize);
78 int bufferSize = 0; local
79 ippsDFTGetBufSize_R_32f(m_DFTSpec, &bufferSize);
80 m_buffer = ippsMalloc_8u(bufferSize);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DIndexBuffer11.cpp27 gl::Error IndexBuffer11::initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) argument
33 if (bufferSize > 0)
38 bufferDesc.ByteWidth = bufferSize;
48 return gl::Error(GL_OUT_OF_MEMORY, "Failed to allocate internal index buffer of size, %lu.", bufferSize);
52 mBufferSize = bufferSize;
113 gl::Error IndexBuffer11::setSize(unsigned int bufferSize, GLenum indexType) argument
115 if (bufferSize > mBufferSize || indexType != mIndexType)
117 return initialize(bufferSize, indexType, mDynamicUsage);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DIndexBuffer9.cpp28 gl::Error IndexBuffer9::initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) argument
34 if (bufferSize > 0)
54 HRESULT result = mRenderer->createIndexBuffer(bufferSize, usageFlags, format, &mIndexBuffer);
57 return gl::Error(GL_OUT_OF_MEMORY, "Failed to allocate internal index buffer of size, %lu.", bufferSize);
61 mBufferSize = bufferSize;
120 gl::Error IndexBuffer9::setSize(unsigned int bufferSize, GLenum indexType) argument
122 if (bufferSize > mBufferSize || indexType != mIndexType)
124 return initialize(bufferSize, indexType, mDynamic);
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dflagparser.c16 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
108 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { argument
116 offset = getFlagOffset(buffer, bufferSize);
156 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { argument
159 for (offset = 0; offset < bufferSize;offset++) {
166 if (offset == bufferSize || (offset - 1) == bufferSize) {
/external/icu/icu4c/source/tools/toolutil/
H A Dflagparser.c16 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
108 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { argument
116 offset = getFlagOffset(buffer, bufferSize);
156 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { argument
159 for (offset = 0; offset < bufferSize;offset++) {
166 if (offset == bufferSize || (offset - 1) == bufferSize) {

Completed in 674 milliseconds

1234567891011>>