Lines Matching refs:tocopy
1826 unsigned int tocopy;
1837 tocopy=*inputlen;
1839 tocopy=4;
1841 if (tocopy>text->needsize)
1842 tocopy=text->needsize;
1844 memcpy(text->sizebuf+4-text->needsize, *input, tocopy);
1845 text->needsize-=tocopy;
1847 *input+=tocopy;
1848 *inputlen-=tocopy;
2181 unsigned int tocopy;
2190 tocopy = *inputlen;
2192 tocopy = 4;
2194 if (tocopy > text->needsize)
2195 tocopy = text->needsize;
2197 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);
2198 text->needsize -= tocopy;
2200 *input += tocopy;
2201 *inputlen -= tocopy;