goldfish_pipe.c | 323 int buffpos; member in struct:__anon25441 368 avail = sizeof(pcon->buffer) - pcon->buffpos; 373 memcpy(pcon->buffer + pcon->buffpos, buffers[0].data, avail); 374 pcon->buffpos += avail; 381 if (memchr(pcon->buffer, '\0', pcon->buffpos) != NULL) { 453 qemu_put_sbe32(file, pcon->buffpos); 454 qemu_put_sbuffer(file, (const int8_t*)pcon->buffer, pcon->buffpos); 467 pcon->buffpos = len; 468 if (qemu_get_buffer(file, (uint8_t*)pcon->buffer, pcon->buffpos) != pcon->buffpos) { [all...] |