Lines Matching defs:needsize
256 unsigned int needsize; /* How much of the size of the buffer is left */
1830 if (text->needsize>0) /* 4 bytes for how long message is */
1838 if (tocopy>text->needsize)
1839 tocopy=text->needsize;
1841 memcpy(text->sizebuf+4-text->needsize, *input, tocopy);
1842 text->needsize-=tocopy;
1847 if (text->needsize==0) /* got all of size */
1985 text->needsize=4;
2182 if (text->needsize > 0) { /* 4 bytes for how long message is */
2191 if (tocopy > text->needsize)
2192 tocopy = text->needsize;
2194 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);
2195 text->needsize -= tocopy;
2200 if (text->needsize == 0) { /* got all of size */
2246 text->needsize = 4;
3448 text->needsize = 4;
4185 text->needsize = 4;