Lines Matching defs:size
52 { "pkt_size", "Maximum send/read packet size", OFFSET(pkt_size), AV_OPT_TYPE_INT, { .i64 = 131072 }, 4096, INT_MAX, .flags = D | E },
235 static int amqp_proto_write(URLContext *h, const unsigned char *buf, int size)
241 amqp_bytes_t message = { size, (void *)buf };
261 return size;
264 static int amqp_proto_read(URLContext *h, unsigned char *buf, int size)
283 if (envelope.message.body.len > size) {
289 size = FFMIN(size, envelope.message.body.len);
291 memcpy(buf, envelope.message.body.bytes, size);
294 return size;