Home | History | Annotate | Download | only in qemu

Lines Matching full:len

96 charpipehalf_write( CharDriverState*  cs, const uint8_t*  buf, int  len )
104 len, ph, quote_bytes( buf, len ));
108 while (len > 0) {
116 if (size > len)
117 size = len;
119 size = len;
123 len -= size;
128 if (len == 0)
137 while (len > 0) {
138 int len2 = cbuffer_write( bip->cb, buf, len );
142 len -= len2;
143 if (len == 0)
294 charbuffer_write( CharDriverState* cs, const uint8_t* buf, int len )
302 len, cbuf, quote_bytes( buf, len ));
306 int size = qemu_chr_write(peer, buf, len);
310 else if (size > len)
311 size = len;
315 len -= size;
318 if (len == 0)
327 while (len > 0) {
328 int len2 = cbuffer_write( bip->cb, buf, len );
332 len -= len2;
333 if (len == 0)