/external/chromium/net/base/ |
io_buffer.cc | 11 IOBuffer::IOBuffer(int buffer_size) { 12 DCHECK(buffer_size > 0); 13 data_ = new char[buffer_size];
|
filter_unittest.h | 17 explicit MockFilterContext(int buffer_size) 18 : buffer_size_(buffer_size), 25 void SetBufferSize(int buffer_size) { buffer_size_ = buffer_size; }
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/ |
Streams.java | 10 private static int BUFFER_SIZE = 512; 15 byte[] bs = new byte[BUFFER_SIZE]; 62 byte[] bs = new byte[BUFFER_SIZE]; 74 byte[] bs = new byte[BUFFER_SIZE];
|
/external/chromium/net/tools/flip_server/ |
ring_buffer.cc | 10 RingBuffer::RingBuffer(int buffer_size) 11 : buffer_(new char[buffer_size]), 12 buffer_size_(buffer_size), 232 void RingBuffer::Resize(int buffer_size) { 233 CHECK_GE(buffer_size, 0); 234 if (buffer_size == buffer_size_) return; 236 char* new_buffer = new char[buffer_size]; 237 if (buffer_size < bytes_used_) { 239 AdvanceReadablePtr(bytes_used_ - buffer_size); 249 if (size > buffer_size) { [all...] |
/external/icu4c/samples/csdet/ |
csdet.c | 14 #define BUFFER_SIZE 8192 18 static char buffer[BUFFER_SIZE]; 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
|
/external/qemu/ |
buffered_file.c | 36 size_t buffer_size; member in struct:QEMUFileBuffered 52 if (size > (s->buffer_capacity - s->buffer_size)) { 69 memcpy(s->buffer + s->buffer_size, buf, size); 70 s->buffer_size += size; 82 DPRINTF("flushing %zu byte(s) of data\n", s->buffer_size); 84 while (offset < s->buffer_size) { 88 s->buffer_size - offset); 105 DPRINTF("flushed %zu of %zu byte(s)\n", offset, s->buffer_size); 106 memmove(s->buffer, s->buffer + offset, s->buffer_size - offset); 107 s->buffer_size -= offset [all...] |
/external/webkit/JavaScriptCore/API/tests/ |
minidom.c | 102 size_t buffer_size = 0; local 113 buffer_size += fread(buffer + buffer_size, 1, buffer_capacity - buffer_size, f); 114 if (buffer_size == buffer_capacity) { /* guarantees space for trailing '\0' */ 120 ASSERT(buffer_size < buffer_capacity); 123 buffer[buffer_size] = '\0';
|
/external/qemu/distrib/libpng-1.2.19/ |
pngpread.c | 29 png_bytep buffer, png_size_t buffer_size) 32 png_push_restore_buffer(png_ptr, buffer, buffer_size); 34 while (png_ptr->buffer_size) 92 png_ptr->buffer_size = 0; 110 if (png_ptr->buffer_size < num_to_check) 112 num_to_check = png_ptr->buffer_size; 206 if (png_ptr->buffer_size < 8) 225 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 234 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 247 if (png_ptr->push_length + 4 > png_ptr->buffer_size) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 51 private static final int BUFFER_SIZE = 5; 72 positionedBuffer.position(BUFFER_SIZE); 133 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 137 assertEquals(BUFFER_SIZE, count); 157 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 165 readBuf.position(BUFFER_SIZE); 222 positionedBuffer.position(BUFFER_SIZE); 229 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE), 230 ByteBuffer.allocate(BUFFER_SIZE) }; 237 if (0 == count && BUFFER_SIZE == readBufArray[1].position()) [all...] |
/external/oprofile/libop/ |
op_config_24.h | 30 #define OP_PRE_WATERMARK(buffer_size) \ 31 (((buffer_size) / 8) < OP_MIN_PRE_WATERMARK \ 33 : (buffer_size) / 8)
|
/external/icu4c/samples/layout/ |
GDIFontMap.h | 22 #define BUFFER_SIZE 128
|
GnomeFontMap.h | 22 #define BUFFER_SIZE 128
|
FontMap.h | 17 #define BUFFER_SIZE 128
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportParser.java | 14 private static final int BUFFER_SIZE = 8*1024; 25 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"), BUFFER_SIZE);
|
/external/chromium/third_party/icu/source/i18n/ |
inputext.cpp | 21 #define BUFFER_SIZE 8192 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { 132 if (limit > BUFFER_SIZE) { 133 limit = BUFFER_SIZE;
|
/external/icu4c/i18n/ |
inputext.cpp | 21 #define BUFFER_SIZE 8192 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { 132 if (limit > BUFFER_SIZE) { 133 limit = BUFFER_SIZE;
|
/external/libpng/ |
pngpread.c | 32 png_bytep buffer, png_size_t buffer_size) 37 png_push_restore_buffer(png_ptr, buffer, buffer_size); 39 while (png_ptr->buffer_size) 106 png_ptr->buffer_size = 0; 124 if (png_ptr->buffer_size < num_to_check) 126 num_to_check = png_ptr->buffer_size; 221 if (png_ptr->buffer_size < 8) 244 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 255 if (png_ptr->push_length + 4 > png_ptr->buffer_size) 270 if (png_ptr->push_length + 4 > png_ptr->buffer_size) [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/include/ |
pvavcdecoder.h | 35 virtual int32 DecodeSPS(uint8 *bitstream, int32 buffer_size); 36 virtual int32 DecodePPS(uint8 *bitstream, int32 buffer_size); 37 virtual int32 DecodeAVCSlice(uint8 *bitstream, int32 *buffer_size);
|
pvavcdecoderinterface.h | 37 virtual int32 DecodeSPS(uint8 *bitstream, int32 buffer_size) = 0; 38 virtual int32 DecodePPS(uint8 *bitstream, int32 buffer_size) = 0; 39 virtual int32 DecodeAVCSlice(uint8 *bitstream, int32 *buffer_size) = 0;
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordTest.java | 252 final int BUFFER_SIZE = 102400; 253 byte[] byteData = new byte[BUFFER_SIZE]; 259 mAudioRecord.read(byteData, 0, BUFFER_SIZE); 268 short[] shortData = new short[BUFFER_SIZE]; 274 mAudioRecord.read(shortData, 0, BUFFER_SIZE); 283 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); 289 mAudioRecord.read(byteBuffer, BUFFER_SIZE); 312 mAudioRecord.read(byteData, 0, BUFFER_SIZE);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/ |
SDL_nasaudio.c | 228 int buffer_size; local 264 buffer_size = spec->freq; 265 if (buffer_size < 4096) 266 buffer_size = 4096; 268 if (buffer_size > 32768) 269 buffer_size = 32768; /* So that the buffer won't get unmanageably big. */ 277 buffer_size, buffer_size / 4, 0, NULL);
|
/external/protobuf/src/google/protobuf/io/ |
gzip_stream.cc | 50 ZeroCopyInputStream* sub_stream, Format format, int buffer_size) 60 if (buffer_size == -1) { 63 output_buffer_length_ = buffer_size; 173 buffer_size(kDefaultBufferSize), 187 ZeroCopyOutputStream* sub_stream, Format format, int buffer_size) { 190 if (buffer_size != -1) { 191 options.buffer_size = buffer_size; 202 input_buffer_length_ = options.buffer_size;
|
/external/quake/quake/src/WinQuake/ |
snd_sun.cpp | 40 #define BUFFER_SIZE 8192 42 unsigned char dma_buffer[BUFFER_SIZE]; 43 unsigned char pend_buffer[BUFFER_SIZE]; 205 idx = (wbufp*bsize) & (BUFFER_SIZE - 1); 209 idx = (idx + 1) & (BUFFER_SIZE - 1);
|
/hardware/msm7k/libcamera/ |
QualcommCameraHardware.h | 107 MemPool(int buffer_size, int num_buffers, 132 AshmemPool(int buffer_size, int num_buffers, 140 int buffer_size, int num_buffers, 152 PreviewPmemPool(int buffer_size, int num_buffers, 161 int buffer_size, int num_buffers,
|
/external/stlport/stlport/stl/ |
_deque.c | 49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; 65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); 74 *__cur = _M_map_size.allocate(this->buffer_size()); 83 _M_map_size.deallocate(*__n, this->buffer_size()); 350 _STLP_STD::_Destroy_Range(*__node, *__node + this->buffer_size()); 351 this->_M_map_size.deallocate(*__node, this->buffer_size()); 357 this->_M_map_size.deallocate(this->_M_finish._M_first, this->buffer_size()); 373 uninitialized_fill(*__cur, *__cur + this->buffer_size(), __val); 384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); 391 this->buffer_size())) [all...] |