Searched refs:tocopy (Results 1 – 2 of 2) sorted by relevance
91 int tocopy, eaten, orig_len = len; in testdev_chr_write() local95 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()
225 tocopy = {}232 tocopy[invalue].append(line)241 tocopy[invalue] = []259 write_sigs_file(copy_output, list(tocopy.keys()), tocopy)