Searched defs:bufferSize (Results 1 - 25 of 126) sorted by relevance

123456

/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/src/images/
H A DSkStreamHelpers.cpp27 const size_t bufferSize = 256 * 1024; // 256KB local
28 char buffer[bufferSize];
31 size_t bytesRead = stream->read(buffer, bufferSize);
/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/skia/src/images/
H A DSkStreamHelpers.cpp27 const size_t bufferSize = 256 * 1024; // 256KB local
28 char buffer[bufferSize];
31 size_t bytesRead = stream->read(buffer, bufferSize);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DSpinLockTest.cpp46 static const size_t bufferSize = 16; member in namespace:__anon11262
52 for (size_t i = 0; i < bufferSize; ++i)
60 for (size_t i = 0; i < bufferSize; ++i)
81 char sharedBuffer[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/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/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/tests/
H A DARGBImageEncoderTest.cpp63 int bufferSize = bitmap.width() * bitmap.height() * 4; local
64 SkAutoMalloc pixelBufferManager(bufferSize);
66 SkMemoryWStream out(pixelBuffer, bufferSize);
70 REPORTER_ASSERT(reporter, bufferSize == sizeof(comparisonBuffer));
71 REPORTER_ASSERT(reporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
/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/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DScriptProcessorNode.h49 // bufferSize must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384.
51 // Lower numbers for bufferSize will result in a lower (better) latency. Higher numbers will be necessary to avoid audio breakup and glitches.
53 static PassRefPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
63 size_t bufferSize() const { return m_bufferSize; } function in class:WebCore::ScriptProcessorNode
72 ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
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 PassRefPtr<ScriptProcessorNode> ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) argument
62 switch (bufferSize) {
64 bufferSize = chooseBufferSize();
87 return adoptRef(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/chromium_org/third_party/WebKit/Source/platform/audio/
H A DBiquad.cpp59 int bufferSize; local
60 ippsIIRGetStateSize64f_BiQuad_32f(1, &bufferSize);
61 m_ippInternalBuffer = ippsMalloc_8u(bufferSize);
200 int bufferSize;
201 ippsIIRGetStateSize64f_BiQuad_32f(1, &bufferSize);
202 ippsZero_8u(m_ippInternalBuffer, bufferSize);
/external/lzma/CS/7zip/Common/
H A DInBuffer.cs15 public InBuffer(uint bufferSize) argument
17 m_Buffer = new byte[bufferSize];
18 m_BufferSize = bufferSize;
H A DOutBuffer.cs13 public OutBuffer(uint bufferSize) argument
15 m_Buffer = new byte[bufferSize];
16 m_BufferSize = bufferSize;
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedOutputStream.java68 * @param bufferSize minimum chunk size (excluding last chunk)
71 public ChunkedOutputStream(final SessionOutputBuffer out, int bufferSize) argument
74 this.cache = new byte[bufferSize];
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DIndexBuffer11.cpp32 bool IndexBuffer11::initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) argument
42 if (bufferSize > 0)
47 bufferDesc.ByteWidth = bufferSize;
61 mBufferSize = bufferSize;
130 bool IndexBuffer11::setSize(unsigned int bufferSize, GLenum indexType) argument
132 if (bufferSize > mBufferSize || indexType != mIndexType)
134 return initialize(bufferSize, indexType, mDynamicUsage);
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dflagparser.c16 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status);
17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
91 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status) { argument
99 offset = getFlagOffset(buffer, bufferSize);
127 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { argument
130 for (offset = 0; offset < bufferSize;offset++) {
137 if (offset == bufferSize || (offset - 1) == bufferSize) {
/external/chromium_org/third_party/skia/src/utils/
H A DSkFrontBufferedStream.cpp15 FrontBufferedStream(SkStream*, size_t bufferSize);
64 SkStreamRewindable* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { argument
68 return SkNEW_ARGS(FrontBufferedStream, (stream, bufferSize));
71 FrontBufferedStream::FrontBufferedStream(SkStream* stream, size_t bufferSize) argument
75 , fBufferSize(bufferSize)
76 , fBuffer(bufferSize) {}
/external/expat/tests/benchmark/
H A Dbenchmark.c21 "usage: %s [-n] filename bufferSize nr_of_loops\n", prog);
31 int nrOfLoops, bufferSize, fileSize, i, isFinal; local
61 bufferSize = atoi (argv[j + 2]);
63 if (bufferSize <= 0 || nrOfLoops <= 0) {
86 if (parseBufferSize <= bufferSize)
89 parseBufferSize = bufferSize;
100 XMLBufPtr += bufferSize;
112 nrOfLoops, bufferSize, cpuTime / (double) nrOfLoops);
/external/icu4c/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/proguard/src/proguard/io/
H A DManifestRewriter.java64 private int bufferSize = 0; field in class:ManifestRewriter.SplitLineReader
79 if (bufferIndex < bufferSize)
92 bufferSize = 0;
93 buffer[bufferSize++] = '\n';
99 bufferSize = 0;
105 buffer[bufferSize++] = (char)c2;
113 bufferSize = 0;
117 buffer[bufferSize++] = (char)c3;
/external/skia/src/utils/
H A DSkFrontBufferedStream.cpp15 FrontBufferedStream(SkStream*, size_t bufferSize);
66 SkStreamRewindable* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { argument
70 return SkNEW_ARGS(FrontBufferedStream, (stream, bufferSize));
73 FrontBufferedStream::FrontBufferedStream(SkStream* stream, size_t bufferSize) argument
79 , fBufferSize(bufferSize)
80 , fBuffer(bufferSize) {}

Completed in 648 milliseconds

123456