Home
last modified time | relevance | path

Searched refs:tocopy (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/chardev/
H A Dtestdev.c91 int tocopy, eaten, orig_len = len; in testdev_chr_write() local
95 tocopy = MIN(len, BUF_SIZE - testdev->in_buf_used); in testdev_chr_write()
97 memcpy(testdev->in_buf + testdev->in_buf_used, buf, tocopy); in testdev_chr_write()
98 testdev->in_buf_used += tocopy; in testdev_chr_write()
99 buf += tocopy; in testdev_chr_write()
100 len -= tocopy; in testdev_chr_write()
H A Dbaum.c494 int tocopy, cur, eaten, orig_len = len; in baum_chr_write() local
505 tocopy = len; in baum_chr_write()
506 if (tocopy > BUF_SIZE - baum->in_buf_used) in baum_chr_write()
507 tocopy = BUF_SIZE - baum->in_buf_used; in baum_chr_write()
509 memcpy(baum->in_buf + baum->in_buf_used, buf, tocopy); in baum_chr_write()
510 baum->in_buf_used += tocopy; in baum_chr_write()
511 buf += tocopy; in baum_chr_write()
512 len -= tocopy; in baum_chr_write()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcopy_buildsystem.py225 tocopy = {}
232 tocopy[invalue].append(line)
241 tocopy[invalue] = []
259 write_sigs_file(copy_output, list(tocopy.keys()), tocopy)