Lines Matching defs:needsize
255 unsigned int needsize; /* How much of the size of the buffer is left */
1825 if (text->needsize>0) /* 4 bytes for how long message is */
1833 if (tocopy>text->needsize)
1834 tocopy=text->needsize;
1836 memcpy(text->sizebuf+4-text->needsize, *input, tocopy);
1837 text->needsize-=tocopy;
1842 if (text->needsize==0) /* got all of size */
1980 text->needsize=4;
2177 if (text->needsize > 0) { /* 4 bytes for how long message is */
2186 if (tocopy > text->needsize)
2187 tocopy = text->needsize;
2189 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);
2190 text->needsize -= tocopy;
2195 if (text->needsize == 0) { /* got all of size */
2241 text->needsize = 4;
3443 text->needsize = 4;
4172 text->needsize = 4;