Searched refs:needsize (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmgetputm.c72 int needsize; local
80 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; local
123 needsize
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c155 unsigned needsize; member in struct:context
482 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;
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c255 unsigned int needsize; /* How much of the size of the buffer is left */ member in struct:context
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)
[all...]

Completed in 1101 milliseconds