Searched refs:bufferSize (Results 26 - 50 of 279) sorted by relevance

1234567891011>>

/external/aac/libMpegTPEnc/include/
H A DmpegFileWrite.h122 * \param bufferSize Size of buffer to write in bytes.
127 int bufferSize
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DSpinLockTest.cpp45 static const size_t bufferSize = 16; member in namespace:__anon11404
51 for (size_t i = 0; i < bufferSize; ++i)
59 for (size_t i = 0; i < bufferSize; ++i)
80 char sharedBuffer[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/chromium_org/third_party/skia/tests/
H A DARGBImageEncoderTest.cpp51 int bufferSize = bitmap.width() * bitmap.height() * 4; local
52 SkAutoMalloc pixelBufferManager(bufferSize);
54 SkMemoryWStream out(pixelBuffer, bufferSize);
58 REPORTER_ASSERT(reporter, bufferSize == sizeof(comparisonBuffer));
59 REPORTER_ASSERT(reporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
/external/skia/tests/
H A DARGBImageEncoderTest.cpp52 int bufferSize = bitmap.width() * bitmap.height() * 4; local
53 SkAutoMalloc pixelBufferManager(bufferSize);
55 SkMemoryWStream out(pixelBuffer, bufferSize);
59 REPORTER_ASSERT(reporter, bufferSize == sizeof(comparisonBuffer));
60 REPORTER_ASSERT(reporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DIndexBuffer11.h24 virtual gl::Error initialize(unsigned int bufferSize, GLenum indexType, bool dynamic);
33 virtual gl::Error setSize(unsigned int bufferSize, GLenum indexType);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DIndexBuffer9.h24 virtual gl::Error initialize(unsigned int bufferSize, GLenum indexType, bool dynamic);
33 virtual gl::Error setSize(unsigned int bufferSize, GLenum indexType);
/external/srec/portable/src/
H A DPFile.c198 size_t i, bufferSize, count, totalRead = 0; local
225 bufferSize = count - i;
228 if (bufferSize < MAX_INT_DIGITS)
230 count = pfread(number + bufferSize, sizeof(LCHAR), MAX_INT_DIGITS - bufferSize, self);
231 bufferSize += count;
233 if (count < MAX_INT_DIGITS - bufferSize && pferror(self))
242 for (i = 0; i < bufferSize && !LISSPACE(number[i]); ++i);
243 if (i < bufferSize)
246 if (PFileSeek(self, - (int)(bufferSize
272 size_t i, bufferSize, count, totalRead = 0; local
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DMemoryDeferredOutputStream.java24 public MemoryDeferredOutputStream(int bufferSize) { argument
25 currentBuffer = new byte[bufferSize];
81 public static DeferredOutputStreamFactory getFactory(final int bufferSize) { argument
84 return new MemoryDeferredOutputStream(bufferSize);
H A DFileDeferredOutputStream.java23 public FileDeferredOutputStream(@Nonnull File backingFile, int bufferSize) throws FileNotFoundException { argument
25 output = new NakedBufferedOutputStream(new FileOutputStream(backingFile), bufferSize);
96 final int bufferSize) {
100 return new FileDeferredOutputStream(tempFile, bufferSize);
95 getFactory(@ullable final File containingDirectory, final int bufferSize) argument
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DScriptProcessorNode.h50 // bufferSize must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384.
52 // Lower numbers for bufferSize will result in a lower (better) latency. Higher numbers will be necessary to avoid audio breakup and glitches.
54 static ScriptProcessorNode* create(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
64 size_t bufferSize() const { return m_bufferSize; } function in class:blink::FINAL
74 ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractStreamingHasherTest.java121 for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) {
123 sinks.add(new Sink(chunkSize, bufferSize));
152 final int bufferSize; field in class:AbstractStreamingHasherTest.Sink
158 Sink(int chunkSize, int bufferSize) { argument
159 super(chunkSize, bufferSize);
161 this.bufferSize = bufferSize;
167 this.bufferSize
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DAbstractStreamingHashFunction.java74 private final int bufferSize; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
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) { argument
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
[all...]
/external/chromium_org/third_party/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) {}
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/portaudio/
H A Dpa_ringbuffer.c69 rbuf->bufferSize = elementCount;
90 return ( rbuf->bufferSize - PaUtil_GetRingBufferReadAvailable(rbuf));
115 if( (index + elementCount) > rbuf->bufferSize )
118 ring_buffer_size_t firstHalf = rbuf->bufferSize - index;
159 if( (index + elementCount) > rbuf->bufferSize )
162 ring_buffer_size_t firstHalf = rbuf->bufferSize - index;
/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) {}
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DIndexBuffer.h27 virtual gl::Error initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) = 0;
36 virtual gl::Error setSize(unsigned int bufferSize, GLenum indexType) = 0;
74 gl::Error setBufferSize(unsigned int bufferSize, GLenum indexType);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrBufferAllocPool.h83 * @param bufferSize The minimum size of created buffers.
87 * buffers at bufferSize and keep them until it
93 size_t bufferSize = 0,
196 * @param bufferSize The minimum size of created VBs This value
199 * bufferSize and keep them until it is
204 size_t bufferSize = 0,
284 * @param bufferSize The minimum size of created IBs This value
287 * bufferSize and keep them until it is
292 size_t bufferSize = 0,
/external/skia/src/gpu/
H A DGrBufferAllocPool.h83 * @param bufferSize The minimum size of created buffers.
87 * buffers at bufferSize and keep them until it
93 size_t bufferSize = 0,
196 * @param bufferSize The minimum size of created VBs This value
199 * bufferSize and keep them until it is
204 size_t bufferSize = 0,
284 * @param bufferSize The minimum size of created IBs This value
287 * bufferSize and keep them until it is
292 size_t bufferSize = 0,
/external/aac/libMpegTPDec/include/
H A DmpegFileRead.h154 * \param bufferSize Size of input buffer.
160 UINT bufferSize,
/external/chromium_org/third_party/angle/tests/perf_tests/
H A DBufferSubData.h16 GLsizeiptr bufferSize; member in struct:BufferSubDataParams
/external/sonivox/arm-fm-22k/host_src/
H A Deas_main.c55 static EAS_RESULT PlayFile (EAS_DATA_HANDLE easData, const char* filename, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize);
73 static EAS_RESULT PlayFile (EAS_DATA_HANDLE easData, const char* filename, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize) argument
161 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize)
222 EAS_I32 bufferSize; local
280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS;
283 buffer = malloc((EAS_U32)bufferSize);
306 if ((playResult = PlayFile(easData, defaultTestFile, NULL, pLibConfig, buffer, bufferSize)) != EAS_SUCCESS)
321 if ((playResult = PlayFile(easData, argv[i], outputFile, pLibConfig, buffer, bufferSize)) != EAS_SUCCESS)
/external/sonivox/arm-hybrid-22k/host_src/
H A Deas_main.c55 static EAS_RESULT PlayFile (EAS_DATA_HANDLE easData, const char* filename, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize);
73 static EAS_RESULT PlayFile (EAS_DATA_HANDLE easData, const char* filename, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize) argument
161 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize)
222 EAS_I32 bufferSize; local
280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS;
283 buffer = malloc((EAS_U32)bufferSize);
306 if ((playResult = PlayFile(easData, defaultTestFile, NULL, pLibConfig, buffer, bufferSize)) != EAS_SUCCESS)
321 if ((playResult = PlayFile(easData, argv[i], outputFile, pLibConfig, buffer, bufferSize)) != EAS_SUCCESS)
/external/sonivox/arm-wt-22k/host_src/
H A Deas_main.c55 static EAS_RESULT PlayFile (EAS_DATA_HANDLE easData, const char* filename, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize);
73 static EAS_RESULT PlayFile (EAS_DATA_HANDLE easData, const char* filename, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize) argument
164 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize)
225 EAS_I32 bufferSize; local
283 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS;
286 buffer = malloc((EAS_U32)bufferSize);
309 if ((playResult = PlayFile(easData, defaultTestFile, NULL, pLibConfig, buffer, bufferSize)) != EAS_SUCCESS)
324 if ((playResult = PlayFile(easData, argv[i], outputFile, pLibConfig, buffer, bufferSize)) != EAS_SUCCESS)
/external/icu/icu4c/source/i18n/
H A Ducoleitr.cpp63 int32_t bufferSize; member in struct:RCEBuffer
77 bufferSize = LENGTHOF(defaultBuffer);
94 if (bufferIndex >= bufferSize) {
95 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW);
97 ARRAY_COPY(newBuffer, buffer, bufferSize);
104 bufferSize += BUFFER_GROW;
127 bufferSize = LENGTHOF(defaultBuffer);
149 if (bufferIndex >= bufferSize) {
150 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW);
152 ARRAY_COPY(newBuffer, buffer, bufferSize);
[all...]

Completed in 555 milliseconds

1234567891011>>