/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/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/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 | 399 void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, 401 if (BufferSize + (End - Start) > BufferCapacity) { 406 (unsigned)(BufferSize + (End - Start))); 408 memcpy(NewBuffer, Buffer, BufferSize); 416 memcpy(Buffer + BufferSize, Start, End - Start); 417 BufferSize += End-Start; 422 unsigned &BufferSize, unsigned &BufferCapacity) { 426 Buffer, BufferSize, BufferCapacity); 430 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, 434 Buffer, BufferSize, BufferCapacity) [all...] |
/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);
|
/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...] |
/external/icu4c/tools/toolutil/ |
flagparser.c | 16 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) { 116 offset = getFlagOffset(buffer, bufferSize); 156 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { 159 for (offset = 0; offset < bufferSize;offset++) { 166 if (offset == bufferSize || (offset - 1) == bufferSize) {
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 64 private int bufferSize = 0; 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/srec/portable/src/ |
PFile.c | 198 size_t i, bufferSize, count, totalRead = 0; 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 - i), SEEK_CUR) [all...] |
/external/llvm/lib/Support/ |
circular_raw_ostream.cpp | 19 if (BufferSize == 0) { 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); 31 if (Cur == BufferArray + BufferSize) { 40 if (BufferSize != 0) {
|
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/ |
SDL_coreaudio.h | 37 UInt32 bufferSize; 44 #define bufferSize (this->hidden->bufferSize)
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleWriter.java | 34 public Support_ASimpleWriter(int bufferSize) { 35 buf = new char[bufferSize]; 37 size = bufferSize;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontPlatformDataWin.cpp | 58 UINT bufferSize = GetOutlineTextMetrics(hdc, 0, NULL); 60 ASSERT_WITH_MESSAGE(bufferSize, "Bitmap fonts not supported with CoreGraphics."); 62 if (bufferSize) { 63 OUTLINETEXTMETRICW* metrics = (OUTLINETEXTMETRICW*)malloc(bufferSize); 65 GetOutlineTextMetricsW(hdc, bufferSize, metrics);
|
FontPlatformDataCGWin.cpp | 54 DWORD bufferSize = GetFontData(dc, 'eman', 0, NULL, 0); // "name" backwards 55 if (bufferSize == 0 || bufferSize == GDI_ERROR || bufferSize > cMaxNameTableSize) 58 Vector<BYTE> bufferVector(bufferSize); 60 if (GetFontData(dc, 'eman', 0, buffer, bufferSize) == GDI_ERROR) 63 if (bufferSize < 6) 68 if (bufferSize < stringsOffset) 76 if (bufferSize < offset + 12) 89 if (bufferSize < stringsOffset + nameOffset + length [all...] |
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
ArgumentDecoder.cpp | 34 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize) 36 initialize(buffer, bufferSize); 39 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Deque<Attachment>& attachments) 41 initialize(buffer, bufferSize); 59 void ArgumentDecoder::initialize(const uint8_t* buffer, size_t bufferSize) 61 m_buffer = static_cast<uint8_t*>(fastMalloc(bufferSize)); 63 m_bufferEnd = m_buffer + bufferSize; 64 memcpy(m_buffer, buffer, bufferSize); 127 bool ArgumentDecoder::decodeBytes(uint8_t* buffer, size_t bufferSize) 134 ASSERT(size == bufferSize); [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
SimpleCharStream.java | 258 int startcolumn, int buffersize) 264 available = bufsize = buffersize; 265 buffer = new char[buffersize]; 266 bufline = new int[buffersize]; 267 bufcolumn = new int[buffersize]; 281 int startcolumn, int buffersize) 287 if (buffer == null || buffersize != buffer.length) 289 available = bufsize = buffersize; 290 buffer = new char[buffersize]; 291 bufline = new int[buffersize]; [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
SimpleCharStream.java | 258 int startcolumn, int buffersize) 264 available = bufsize = buffersize; 265 buffer = new char[buffersize]; 266 bufline = new int[buffersize]; 267 bufcolumn = new int[buffersize]; 281 int startcolumn, int buffersize) 287 if (buffer == null || buffersize != buffer.length) 289 available = bufsize = buffersize; 290 buffer = new char[buffersize]; 291 bufline = new int[buffersize]; [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
SimpleCharStream.java | 258 int startcolumn, int buffersize) 264 available = bufsize = buffersize; 265 buffer = new char[buffersize]; 266 bufline = new int[buffersize]; 267 bufcolumn = new int[buffersize]; 281 int startcolumn, int buffersize) 287 if (buffer == null || buffersize != buffer.length) 289 available = bufsize = buffersize; 290 buffer = new char[buffersize]; 291 bufline = new int[buffersize]; [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleThread.java | 146 int bufferSize = 0; 148 bufferSize += 4; // version, flags, whatever 149 bufferSize += 4; // thread ID 150 bufferSize += 4; // frame count 152 bufferSize += 4 + elem.getClassName().length() * 2; 153 bufferSize += 4 + elem.getMethodName().length() * 2; 154 bufferSize += 4; 156 bufferSize += elem.getFileName().length() * 2; 157 bufferSize += 4; // line number 160 ByteBuffer out = ByteBuffer.allocate(bufferSize); [all...] |
/frameworks/av/drm/common/ |
IDrmManagerService.cpp | 188 const int bufferSize = reply.readInt32(); 190 if (0 < bufferSize) { 191 data = new char[bufferSize]; 192 reply.read(data, bufferSize); 218 const int bufferSize = reply.readInt32(); 220 if (0 < bufferSize) { 221 data = new char[bufferSize]; 222 reply.read(data, bufferSize); 284 const int bufferSize = reply.readInt32(); 286 if (0 < bufferSize) { [all...] |
/external/llvm/include/llvm/Support/ |
Format.h | 47 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0; 55 /// this 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; 67 if (unsigned(N) >= BufferSize) 87 virtual int snprint(char *Buffer, unsigned BufferSize) const { 88 return snprintf(Buffer, BufferSize, Fmt, Val); 105 virtual int snprint(char *Buffer, unsigned BufferSize) const [all...] |