HomeSort by relevance Sort by last modified time
    Searched refs:bufferSize (Results 51 - 75 of 381) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skia/tests/
ARGBImageEncoderTest.cpp 63 int bufferSize = bitmap.width() * bitmap.height() * 4;
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);
  /libcore/luni/src/main/java/java/util/zip/
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/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...]
  /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...]
  /cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
FileUtil.java 237 * The size is rounded in bufferSize. And the size will be bigger than 400MB.
239 * @param bufferSize
242 public static long getFileSizeExceedingMemory(Context context, int bufferSize) {
245 long diskSizeTarget = (2 * memSize / bufferSize) * bufferSize;
246 final long minimumDiskSize = (512L * 1024L * 1024L / bufferSize) * bufferSize;
263 * @param bufferSize should be power of two
267 long fileSize, int bufferSize) throws Exception {
271 final byte[] data = FileUtil.generateRandomData(bufferSize);
    [all...]
  /cts/suite/cts/deviceTests/dram/src/com/android/cts/dram/
BandwidthTest.java 158 private void doRunMemcpy(int bufferSize) {
161 if (bufferSize < (1 * MB)) {
163 repeatInEachCall *= (1 * MB / bufferSize);
166 result[i] = MemoryNative.runMemcpy(bufferSize, repeatInEachCall);
171 (double)bufferSize * repeatInEachCall / 1024.0 / 1024.0, result);
191 private void doRunMemset(int bufferSize) {
194 if (bufferSize < (1 * MB)) {
196 repeatInEachCall *= (1 * MB / bufferSize);
199 result[i] = MemoryNative.runMemset(bufferSize, repeatInEachCall, MEMSET_CHAR);
204 (double)bufferSize * repeatInEachCall / 1024.0 / 1024.0, result)
    [all...]
  /frameworks/av/drm/common/
IDrmManagerService.cpp 176 const int bufferSize = reply.readInt32();
178 if (0 < bufferSize) {
179 data = new char[bufferSize];
180 reply.read(data, bufferSize);
206 const int bufferSize = reply.readInt32();
208 if (0 < bufferSize) {
209 data = new char[bufferSize];
210 reply.read(data, bufferSize);
272 const int bufferSize = reply.readInt32();
274 if (0 < bufferSize) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/audio/ipp/
FFTFrameIPP.cpp 59 int bufferSize = 0;
60 ippsDFTGetBufSize_R_32f(m_DFTSpec, &bufferSize);
61 m_buffer = ippsMalloc_8u(bufferSize);
80 int bufferSize = 0;
81 ippsDFTGetBufSize_R_32f(m_DFTSpec, &bufferSize);
82 m_buffer = ippsMalloc_8u(bufferSize);
  /external/lzma/CS/7zip/Common/
InBuffer.cs 15 public InBuffer(uint bufferSize)
17 m_Buffer = new byte[bufferSize];
18 m_BufferSize = bufferSize;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
InputStreamBuffer.java 35 * and you should set the <code>bufferSize</code> parameter to <code>10</code> in the constructor.
87 * @param bufferSize The initial size for the internal buffer. The buffer size should be
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize,
100 if (bufferSize <= 0) {
102 String.format("Buffer size %d must be positive.", bufferSize));
104 bufferSize = leastPowerOf2(bufferSize);
105 mBuffer = new byte[bufferSize];
  /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/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/
IndexBuffer.cpp 109 bool IndexBufferInterface::setBufferSize(unsigned int bufferSize, GLenum indexType)
113 return mIndexBuffer->initialize(bufferSize, indexType, mDynamic);
117 return mIndexBuffer->setSize(bufferSize, indexType);
  /external/chromium_org/third_party/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/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/aac/libMpegTPDec/include/
mpegFileRead.h 154 * \param bufferSize Size of input buffer.
160 UINT bufferSize,
  /external/sonivox/arm-fm-22k/host_src/
eas_main.c 55 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)
161 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize)
222 EAS_I32 bufferSize;
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/
eas_main.c 55 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)
161 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize)
222 EAS_I32 bufferSize;
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/
eas_main.c 55 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)
164 if (WaveFileWrite(wFile, buffer, bufferSize) != bufferSize)
225 EAS_I32 bufferSize;
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)
  /frameworks/native/opengl/libs/GLES_trace/src/
gltrace_transport.h 66 * Construct a Buffered stream of size @bufferSize, using @stream as
69 BufferedOutputStream(TCPStream *stream, size_t bufferSize);
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
CodedInputByteBufferNano.java 190 if (size <= (bufferSize - bufferPos) && size > 0) {
232 if (size <= (bufferSize - bufferPos) && size > 0) {
397 private int bufferSize;
418 bufferSize = off + len;
493 bufferSize += bufferSizeAfterLimit;
494 final int bufferEnd = bufferSize;
498 bufferSize -= bufferSizeAfterLimit;
533 return bufferPos == bufferSize;
581 if (bufferPos == bufferSize) {
605 if (size <= bufferSize - bufferPos)
    [all...]
  /frameworks/av/media/libstagefright/
AudioSource.cpp 315 size_t bufferSize = numLostBytes;
318 bufferSize = kMaxBufferSize;
322 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize);
323 memset(lostAudioBuffer->data(), 0, bufferSize);
324 lostAudioBuffer->set_range(0, bufferSize);
333 const size_t bufferSize = audioBuffer.size;
334 MediaBuffer *buffer = new MediaBuffer(bufferSize);
337 buffer->set_range(0, bufferSize);
343 const size_t bufferSize = buffer->range_length();
347 ((1000000LL * (bufferSize / frameSize))
    [all...]
  /hardware/qcom/display/msm8960/libgralloc/
gpu.h 48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
  /hardware/qcom/display/msm8974/libgralloc/
gpu.h 48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
  /hardware/qcom/display/msm8x26/libgralloc/
gpu.h 48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
BytesBufferPool.java 68 public BytesBufferPool(int poolSize, int bufferSize) {
71 mBufferSize = bufferSize;

Completed in 1841 milliseconds

1 23 4 5 6 7 8 91011>>