Lines Matching refs:maxbuf
129 const u_char *in, const u_char *maxbuf, char *out)
134 if (in >= maxbuf)
146 if (in + 1 >= maxbuf)
170 const u_char *buf, int ofs, const u_char *maxbuf)
176 if (p >= maxbuf)
187 if ((p + 1) >= maxbuf)
195 if (p >= maxbuf)
210 const u_char *buf, int ofs, const u_char *maxbuf, char *name)
212 const u_char *p = name_ptr(ndo, buf, ofs, maxbuf);
216 return(name_interpret(ndo, p, maxbuf, name));
225 const unsigned char *s, const unsigned char *maxbuf)
230 if (s >= maxbuf)
237 if (s >= maxbuf)
437 const u_char *buf, const char *fmt, const u_char *maxbuf,
443 while (*fmt && buf<maxbuf) {
641 return maxbuf; /* give up */
705 maxbuf, nbuf);
708 len = name_len(ndo, buf, maxbuf);
784 if (buf >= maxbuf && *fmt)
797 const u_char *buf, const char *fmt, const u_char *maxbuf,
808 while (buf < maxbuf) {
811 buf2 = smb_fdata(ndo, buf, fmt, maxbuf, unicodestr);
823 if (buf >= maxbuf)
829 buf = maxbuf;
839 if (buf >= maxbuf)
850 buf = smb_fdata1(ndo, buf, s, maxbuf, unicodestr);
861 if (!depth && buf < maxbuf) {
862 size_t len = PTR_DIFF(maxbuf, buf);