Searched refs:needsize (Results 1 – 3 of 3) sorted by relevance
72 int needsize; local80 needsize = mpeek(md);81 if (needsize <=0 || needsize > MSGMAX)82 needsize = MSGMAX;83 if (needsize > MBGSize)87 if ((MBG = (char *)Malloc(needsize)) == NULL)94 MBGSize = needsize;116 int needsize; local123 needsize = _putmessage(NULL, type, vp);125 if (needsize <= 0)[all …]
155 unsigned needsize; member482 if (text->needsize > 0) {484 int tocopy = myMIN(text->needsize, *inputlen);486 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);487 text->needsize -= tocopy;491 if (text->needsize == 0) {598 text->needsize = 4;640 ret->needsize = 4;
255 unsigned int needsize; /* How much of the size of the buffer is left */ member1825 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)[all …]