/cts/suite/cts/deviceTests/dram/jni/ |
MemoryNativeJni.cpp | 30 jclass clazz, jint bufferSize, jint repetition) 32 char* src = new char[bufferSize]; 33 char* dst = new char[bufferSize]; 40 memset(src, 0, bufferSize); 41 memset(dst, 0, bufferSize); 44 memcpy(dst, src, bufferSize); 45 src[bufferSize - 1] = i & 0xff; 54 jclass clazz, jint bufferSize, jint repetition, jint c) 56 char* dst = new char[bufferSize]; 62 memset(dst, 0, bufferSize); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
InstanceOutputBufferProvider.java | 24 private final int bufferSize; 26 public InstanceOutputBufferProvider(int bufferSize) { 27 this.bufferSize = bufferSize; 32 return new StringBuilder(bufferSize);
|
/external/chromium_org/third_party/skia/tools/ |
win_lcid.cpp | 7 int bufferSize; 9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); 10 if (bufferSize == 0) {
|
/external/skia/tools/ |
win_lcid.cpp | 7 int bufferSize; 9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); 10 if (bufferSize == 0) {
|
/external/chromium_org/third_party/skia/tests/ |
FrontBufferedStreamTest.cpp | 51 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { 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) { 81 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); 85 test_read(reporter, bufferedStream, gAbcs, bufferSize); 91 test_read(reporter, bufferedStream, gAbcs, bufferSize); [all...] |
/external/skia/tests/ |
FrontBufferedStreamTest.cpp | 51 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { 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) { 81 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); 85 test_read(reporter, bufferedStream, gAbcs, bufferSize); 91 test_read(reporter, bufferedStream, gAbcs, bufferSize); [all...] |
/cts/suite/cts/deviceTests/dram/src/com/android/cts/dram/ |
MemoryNative.java | 25 * with each having the size of bufferSize. 26 * @param bufferSize 30 public static native double runMemcpy(int bufferSize, int repetition); 34 * with each having the size of bufferSize. 35 * @param bufferSize 40 public static native double runMemset(int bufferSize, int repetition, int c);
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
BufferedResourceLoader.java | 33 private int bufferSize = DEFAULT_BUFFER_SIZE; 40 return reader == null ? null : new BufferedReader(reader, bufferSize); 44 return bufferSize; 47 public void setBufferSize(int bufferSize) { 48 this.bufferSize = bufferSize;
|
/external/lzma/CPP/7zip/Common/ |
InBuffer.cpp | 17 bool CInBuffer::Create(UInt32 bufferSize)
20 if (bufferSize < kMinBlockSize)
21 bufferSize = kMinBlockSize;
22 if (_bufferBase != 0 && _bufferSize == bufferSize)
25 _bufferSize = bufferSize;
26 _bufferBase = (Byte *)::MidAlloc(bufferSize);
|
OutBuffer.cpp | 9 bool COutBuffer::Create(UInt32 bufferSize)
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/ |
SkStreamHelpers.cpp | 28 const size_t bufferSize = 256 * 1024; // 256KB 29 char buffer[bufferSize]; 32 size_t bytesRead = stream->read(buffer, bufferSize); 57 const size_t bufferSize = 256 * 1024; // 256KB 58 char buffer[bufferSize]; 61 size_t bytesRead = stream->read(buffer, bufferSize);
|
/external/lzma/CS/7zip/Common/ |
InBuffer.cs | 15 public InBuffer(uint bufferSize)
17 m_Buffer = new byte[bufferSize];
18 m_BufferSize = bufferSize;
|
OutBuffer.cs | 13 public OutBuffer(uint bufferSize)
15 m_Buffer = new byte[bufferSize];
16 m_BufferSize = bufferSize;
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
sound9.c | 27 void SoundSystemInit(u32 rate,u32 buffersize,u8 channel,u8 format) 32 soundsystem->buffersize = buffersize; 34 soundsystem->buffersize = buffersize * sizeof(short); 36 soundsystem->mixbuffer = (s8*)SDL_malloc(soundsystem->buffersize);
|
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 27 int bufferSize = samples * (stereo? 2 : 1) * BPS; 28 android::sp<Buffer> buffer(new Buffer(bufferSize)); 48 int bufferSize = samples * (stereo? 2 : 1) * BPS; 49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)); 73 int bufferSize = samples * (stereo? 2 : 1) * BPS; 74 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize));
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl.attrib | 13 len buffer bufferSize 17 len buffer bufferSize
|
/external/expat/tests/benchmark/ |
benchmark.c | 21 "usage: %s [-n] filename bufferSize nr_of_loops\n", prog); 31 int nrOfLoops, bufferSize, fileSize, i, isFinal; 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);
|
/sdk/emulator/opengl/host/libs/renderControl_dec/ |
renderControl.attrib | 13 len buffer bufferSize 17 len buffer bufferSize
|
/external/clang/lib/AST/ |
NestedNameSpecifier.cpp | 401 void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, 403 if (BufferSize + (End - Start) > BufferCapacity) { 408 (unsigned)(BufferSize + (End - Start))); 410 memcpy(NewBuffer, Buffer, BufferSize); 418 memcpy(Buffer + BufferSize, Start, End - Start); 419 BufferSize += End-Start; 424 unsigned &BufferSize, unsigned &BufferCapacity) { 428 Buffer, BufferSize, BufferCapacity); 432 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, 436 Buffer, BufferSize, BufferCapacity) [all...] |
/external/pcre/dist/doc/ |
pcre_copy_named_substring.3 | |
pcre_copy_substring.3 | |
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecord_BufferSizeTest.java | 63 int bufferSize = AudioRecord.getMinBufferSize(sampleRateInHz, CHANNEL_CONFIG, AUDIO_FORMAT); 64 byte[] buffer = new byte[bufferSize]; 65 assertTrue(bufferSize > 0); 67 createAudioRecord(sampleRateInHz, bufferSize); 73 assertTrue(mAudioRecord.read(buffer, 0, bufferSize) > 0); 81 private void createAudioRecord(final int sampleRateInHz, final int bufferSize) { 83 CHANNEL_CONFIG, AUDIO_FORMAT, bufferSize);
|
/external/llvm/include/llvm/Support/ |
Format.h | 47 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0; 55 /// returns a length to retry with, which will be larger than BufferSize. 56 unsigned print(char *Buffer, unsigned BufferSize) const { 57 assert(BufferSize && "Invalid buffer size!"); 60 int N = snprint(Buffer, BufferSize); 64 return BufferSize * 2; 68 if (unsigned(N) >= BufferSize) 89 int snprint(char *Buffer, unsigned BufferSize) const override { 90 return snprintf(Buffer, BufferSize, Fmt, Val); 103 int snprint(char *Buffer, unsigned BufferSize) const override [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
powrprof.h | 215 DWORD *BufferSize 244 LPDWORD BufferSize 270 LPDWORD BufferSize 287 LPDWORD BufferSize 296 LPDWORD BufferSize 305 LPDWORD BufferSize 314 LPDWORD BufferSize 323 LPDWORD BufferSize 333 LPDWORD BufferSize 367 LPDWORD BufferSize [all...] |
/device/generic/goldfish/libqemu/ |
test_guest_2.c | 57 int bufferSize = 16384; 132 bufferSize = size; 152 buffer = malloc(bufferSize); 153 buffer2 = malloc(bufferSize); 155 for (nn = 0; nn < bufferSize; nn++) { 163 int ret = pipe_send(pipe, buffer, bufferSize); 167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno)); 174 len = bufferSize; 189 if (memcmp(buffer, buffer2, bufferSize) != 0) { 194 for (nn = 0; nn < bufferSize; ) { [all...] |