Searched refs:buf_size (Results 151 - 175 of 281) sorted by relevance

1234567891011>>

/external/chromium_org/content/browser/download/
H A Ddownload_resource_handler.cc229 int* buf_size,
232 DCHECK(buf && buf_size);
235 *buf_size = min_size < 0 ? kReadBufSize : min_size;
236 last_buffer_size_ = *buf_size;
237 read_buffer_ = new net::IOBuffer(*buf_size);
227 OnWillRead(int request_id, scoped_refptr<net::IOBuffer>* buf, int* buf_size, int min_size) argument
/external/chromium_org/third_party/libwebp/dec/
H A Dvp8.c247 size_t buf_size; local
287 buf_size = headers.data_size - headers.offset;
289 if (buf_size < 4) {
309 buf_size -= 3;
315 if (buf_size < 7) {
319 if (!VP8CheckSignature(buf, buf_size)) {
328 buf_size -= 7;
351 if (frm_hdr->partition_length_ > buf_size) {
359 buf_size -= frm_hdr->partition_length_;
374 status = ParsePartitions(dec, buf, buf_size);
[all...]
/external/opencv/cvaux/src/
H A Dcvbgfg_acmmm2003.cpp87 int i, j, k, pixel_count, buf_size; local
134 buf_size = pixel_count*sizeof(p_model->pixel_stat[0]);
135 CV_CALL( p_model->pixel_stat = (CvBGPixelStat*)cvAlloc(buf_size) );
136 memset( p_model->pixel_stat, 0, buf_size );
138 buf_size = pixel_count*params.N2c*sizeof(p_model->pixel_stat[0].ctable[0]);
139 CV_CALL( p_model->pixel_stat[0].ctable = (CvBGPixelCStatTable*)cvAlloc(buf_size) );
140 memset( p_model->pixel_stat[0].ctable, 0, buf_size );
142 buf_size = pixel_count*params.N2cc*sizeof(p_model->pixel_stat[0].cctable[0]);
143 CV_CALL( p_model->pixel_stat[0].cctable = (CvBGPixelCCStatTable*)cvAlloc(buf_size) );
144 memset( p_model->pixel_stat[0].cctable, 0, buf_size );
[all...]
/external/valgrind/main/coregrind/
H A Dm_errormgr.c1041 static Int buf_size = 0; local
1043 vg_assert(buf_size >= 0 && buf_size <= 256);
1044 vg_assert(buf_used >= 0 && buf_used <= buf_size);
1045 if (buf_used == buf_size) {
1049 buf_size = r;
1052 if (buf_size == 0)
1054 vg_assert(buf_size >= 0 && buf_size <= 256);
1055 vg_assert(buf_used >= 0 && buf_used < buf_size);
[all...]
H A Dm_libcprint.c212 Int buf_size; member in struct:__anon28172
220 if (b->buf_size > 0 && b->buf_used < b->buf_size) {
222 if (b->buf_used < b->buf_size)
225 b->buf[b->buf_size-1] = 0; /* pre: b->buf_size > 0 */
233 b.buf_size = size < 0 ? 0 : size;
/external/webp/src/dec/
H A Dvp8.c247 size_t buf_size; local
287 buf_size = headers.data_size - headers.offset;
289 if (buf_size < 4) {
309 buf_size -= 3;
315 if (buf_size < 7) {
319 if (!VP8CheckSignature(buf, buf_size)) {
328 buf_size -= 7;
351 if (frm_hdr->partition_length_ > buf_size) {
359 buf_size -= frm_hdr->partition_length_;
374 status = ParsePartitions(dec, buf, buf_size);
[all...]
/external/bison/darwin-lib/
H A Dstdlib.h885 (unsigned int seed, char *buf, size_t buf_size)
889 (unsigned int seed, char *buf, size_t buf_size));
975 (unsigned int seed, char *buf, size_t buf_size,
979 (unsigned int seed, char *buf, size_t buf_size,
984 (unsigned int seed, char *buf, size_t buf_size,
989 (unsigned int seed, char *buf, size_t buf_size,
/external/bison/linux-lib/
H A Dstdlib.h885 (unsigned int seed, char *buf, size_t buf_size)
889 (unsigned int seed, char *buf, size_t buf_size));
975 (unsigned int seed, char *buf, size_t buf_size,
979 (unsigned int seed, char *buf, size_t buf_size,
984 (unsigned int seed, char *buf, size_t buf_size,
989 (unsigned int seed, char *buf, size_t buf_size,
/external/bison/lib/
H A Dstdlib.in.h563 (unsigned int seed, char *buf, size_t buf_size)
567 (unsigned int seed, char *buf, size_t buf_size));
653 (unsigned int seed, char *buf, size_t buf_size,
657 (unsigned int seed, char *buf, size_t buf_size,
662 (unsigned int seed, char *buf, size_t buf_size,
667 (unsigned int seed, char *buf, size_t buf_size,
/external/chromium_org/content/browser/loader/
H A Dasync_resource_handler.cc225 int* buf_size,
237 *buf_size = allocation_size_;
241 *buf_size, 0, kMaxAllocationSize, 100);
223 OnWillRead(int request_id, scoped_refptr<net::IOBuffer>* buf, int* buf_size, int min_size) argument
/external/chromium_org/tools/imagediff/
H A Dimage_diff.cc104 const int buf_size = 1024; local
105 unsigned char buf[buf_size];
107 while ((num_read = fread(buf, 1, buf_size, f)) > 0) {
/external/chromium_org/webkit/browser/appcache/
H A Dappcache_url_request_job.cc425 bool AppCacheURLRequestJob::ReadRawData(net::IOBuffer* buf, int buf_size, argument
428 DCHECK_NE(buf_size, 0);
432 buf, buf_size, base::Bind(&AppCacheURLRequestJob::OnReadComplete,
H A Dappcache_url_request_job.h138 int buf_size,
/external/chromium_org/webkit/browser/fileapi/
H A Dasync_file_test_helper.cc183 int buf_size) {
188 if (buf_size != file_util::WriteFile(local_path, buf, buf_size))
179 CreateFileWithData( FileSystemContext* context, const FileSystemURL& url, const char* buf, int buf_size) argument
/external/dnsmasq/src/
H A Dhelper.c51 static size_t bytes_in_buf = 0, buf_size = 0; variable
322 if (size > buf_size)
335 buf_size = size;
/external/libexif/libexif/
H A Dexif-loader.c408 unsigned int *buf_size)
422 if (buf_size)
423 *buf_size = s;
407 exif_loader_get_buf(ExifLoader *loader, const unsigned char **buf, unsigned int *buf_size) argument
/external/opencv/cv/src/
H A Dcvcanny.cpp99 int buf_size= 0; local
100 IPPI_CALL( icvCannyGetSize_p( size, &buf_size ));
101 CV_CALL( buffer = cvAlloc( buf_size ));
/external/qemu/
H A Dblock.h185 void bdrv_get_format(BlockDriverState *bs, char *buf, int buf_size);
214 char *bdrv_snapshot_dump(char *buf, int buf_size, QEMUSnapshotInfo *sn);
216 char *get_human_readable_size(char *buf, int buf_size, int64_t size);
/external/blktrace/
H A Dblktrace_api.h124 __u32 buf_size; /* input */ member in struct:blk_user_trace_setup
/external/chromium/net/url_request/
H A Durl_request_http_job.h87 virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read);
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job.h81 int buf_size,
/external/chromium_org/chrome/browser/automation/
H A Durl_request_automation_job.cc205 net::IOBuffer* buf, int buf_size, int* bytes_read) {
207 << " - read pending: " << buf_size;
213 pending_buf_size_ = buf_size;
216 message_filter_->Send(new AutomationMsg_RequestRead(tab_, id_, buf_size));
204 ReadRawData( net::IOBuffer* buf, int buf_size, int* bytes_read) argument
H A Durl_request_automation_job.h86 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
/external/chromium_org/webkit/browser/blob/
H A Dblob_url_request_job.h51 int buf_size,
/external/ipsec-tools/src/racoon/
H A Dnattraversal.c128 size_t buf_size, addr_size; local
149 buf_size = 2 * sizeof (cookie_t); /* CKY-I + CKY+R */
150 buf_size += addr_size + 2; /* Address + Port */
152 if ((buf = vmalloc (buf_size)) == NULL)

Completed in 571 milliseconds

1234567891011>>