Searched refs:buffer_size (Results 1 - 25 of 127) sorted by relevance

123456

/external/oprofile/libop/
H A Dop_config_24.h30 #define OP_PRE_WATERMARK(buffer_size) \
31 (((buffer_size) / 8) < OP_MIN_PRE_WATERMARK \
33 : (buffer_size) / 8)
/external/chromium/net/websockets/
H A Dwebsocket_frame_handler.cc39 int buffer_size = 0; local
42 buffer_size =
44 if (buffer_size <= 0)
45 return buffer_size;
47 original_current_buffer_size_ = buffer_size;
52 buffer_size = buffer->size();
56 current_buffer_size_ = buffer_size;
57 return buffer_size;
67 int buffer_size = remaining_size; local
70 buffer_size
92 int buffer_size = 0; local
[all...]
/external/oprofile/gui/
H A Doprof_start_config.cpp38 buffer_size(OP_DEFAULT_BUF_SIZE),
66 buffer_size = OP_DEFAULT_BUF_SIZE;
74 buffer_size = op_lexical_cast<unsigned int>(val);
75 if (buffer_size < OP_DEFAULT_BUF_SIZE)
76 buffer_size = OP_DEFAULT_BUF_SIZE;
H A Doprof_start_config.h40 uint buffer_size; member in struct:config_setting
/external/chromium/net/tools/flip_server/
H A Dring_buffer.cc10 RingBuffer::RingBuffer(int buffer_size) argument
11 : buffer_(new char[buffer_size]),
12 buffer_size_(buffer_size),
246 void RingBuffer::Resize(int buffer_size) { argument
247 CHECK_GE(buffer_size, 0);
248 if (buffer_size == buffer_size_) return;
250 char* new_buffer = new char[buffer_size];
251 if (buffer_size < bytes_used_) {
253 AdvanceReadablePtr(bytes_used_ - buffer_size);
263 if (size > buffer_size) {
[all...]
H A Dring_buffer.h28 explicit RingBuffer(int buffer_size);
31 // Resize the buffer to the size specified here. If the buffer_size passed
36 void Resize(int buffer_size);
93 int buffer_size() const { return buffer_size_; } function in class:net::RingBuffer
/external/chromium/testing/gtest/xcode/Scripts/
H A Dversiongenerate.py65 buffer_size = 1024 variable
66 opening_string = config_file.read(buffer_size)
/external/protobuf/gtest/xcode/Scripts/
H A Dversiongenerate.py36 buffer_size = 1024 variable
37 opening_string = config_file.read(buffer_size)
/external/webkit/Source/JavaScriptCore/API/tests/
H A Dminidom.c102 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/chromium/net/base/
H A Dfilter.cc73 int buffer_size) {
80 buffer_size, filter_list);
350 Filter* Filter::InitGZipFilter(FilterType type_id, int buffer_size) { argument
352 gz_filter->InitBuffer(buffer_size);
359 int buffer_size) {
361 sdch_filter->InitBuffer(buffer_size);
368 int buffer_size,
375 first_filter.reset(InitGZipFilter(type_id, buffer_size));
379 first_filter.reset(InitSdchFilter(type_id, filter_context, buffer_size));
392 void Filter::InitBuffer(int buffer_size) { argument
71 FactoryForTests(const std::vector<FilterType>& filter_types, const FilterContext& filter_context, int buffer_size) argument
357 InitSdchFilter(FilterType type_id, const FilterContext& filter_context, int buffer_size) argument
366 PrependNewFilter(FilterType type_id, const FilterContext& filter_context, int buffer_size, Filter* filter_list) argument
[all...]
H A Dio_buffer.cc15 IOBuffer::IOBuffer(int buffer_size) { argument
16 DCHECK(buffer_size > 0);
17 data_ = new char[buffer_size];
H A Dfilter.h246 int buffer_size,
251 static Filter* InitGZipFilter(FilterType type_id, int buffer_size);
254 int buffer_size);
263 int buffer_size);
/external/qemu/
H A Dbuffered_file.c35 size_t buffer_size; member in struct:QEMUFileBuffered
51 if (size > (s->buffer_capacity - s->buffer_size)) {
68 memcpy(s->buffer + s->buffer_size, buf, size);
69 s->buffer_size += size;
81 DPRINTF("flushing %zu byte(s) of data\n", s->buffer_size);
83 while (offset < s->buffer_size) {
87 s->buffer_size - offset);
104 DPRINTF("flushed %zu of %zu byte(s)\n", offset, s->buffer_size);
105 memmove(s->buffer, s->buffer + offset, s->buffer_size - offset);
106 s->buffer_size
[all...]
/external/libpng/
H A Dpngpread.c32 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)
31 png_process_data(png_structp png_ptr, png_infop info_ptr, png_bytep buffer, png_size_t buffer_size) argument
[all...]
/external/qemu/distrib/libpng-1.2.19/
H A Dpngpread.c29 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)
28 png_process_data(png_structp png_ptr, png_infop info_ptr, png_bytep buffer, png_size_t buffer_size) argument
[all...]
/external/qemu/memcheck/
H A Dmemcheck_util.c90 size_t buffer_size)
97 while (buffer_size) {
101 buffer_size--;
108 size_t buffer_size)
110 while (buffer_size) {
114 buffer_size--;
88 memcheck_get_guest_buffer(void* qemu_address, target_ulong guest_address, size_t buffer_size) argument
106 memcheck_set_guest_buffer(target_ulong guest_address, const void* qemu_address, size_t buffer_size) argument
H A Dmemcheck_util.h37 * buffer_size - Byte size of the guest's buffer.
41 size_t buffer_size);
48 * buffer_size - Byte size of the emualtor's buffer.
52 size_t buffer_size);
/external/chromium/base/debug/
H A Ddebugger_win.cc28 DWORD buffer_size = *len * sizeof(wchar_t); local
31 reinterpret_cast<BYTE*>(buffer), &buffer_size);
32 if (ERROR_SUCCESS == res && buffer_size != 0 && type == REG_SZ) {
/external/protobuf/src/google/protobuf/io/
H A Dgzip_stream.h69 // buffer_size and format may be -1 for default of 64kB and GZIP format
73 int buffer_size = -1);
125 int buffer_size; member in struct:google::protobuf::io::GzipOutputStream::Options
151 int buffer_size = -1) GOOGLE_ATTRIBUTE_DEPRECATED;
H A Dgzip_stream.cc50 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;
49 GzipInputStream( ZeroCopyInputStream* sub_stream, Format format, int buffer_size) argument
186 GzipOutputStream( ZeroCopyOutputStream* sub_stream, Format format, int buffer_size) argument
/external/zlib/contrib/iostream3/
H A Dzfstream.cc23 buffer(NULL), buffer_size(BIGBUFSIZE), own_buffer(true)
197 int bytes_read = gzread(file, buffer, buffer_size);
281 buffer_size = 0;
290 buffer_size = n;
314 if (buffer_size > 0)
317 buffer = new char_type[buffer_size];
324 this->setp(buffer, buffer + buffer_size - 1);
329 buffer_size = SMALLBUFSIZE;
330 buffer = new char_type[buffer_size];
341 this->setp(buffer, buffer + buffer_size
[all...]
/external/v8/test/cctest/
H A Dtest-reloc-info.cc47 const int buffer_size = code_size + relocation_info_size; local
48 SmartPointer<byte> buffer(new byte[buffer_size]);
51 byte* buffer_end = *buffer + buffer_size;
63 CodeDesc desc = { *buffer, buffer_size, code_size,
/external/chromium/base/
H A Dsafe_strerror_posix.cc107 const int buffer_size = 256; local
108 char buf[buffer_size];
H A Dsha1_win.cc39 DWORD buffer_size = sizeof hash_len; local
42 &buffer_size, 0)) {
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/
H A DSDL_nasaudio.c228 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);

Completed in 1141 milliseconds

123456