Lines Matching refs:maxbuf
128 const u_char *in, const u_char *maxbuf, char *out) in name_interpret() argument
133 if (in >= maxbuf) in name_interpret()
145 if (in + 1 >= maxbuf) in name_interpret()
169 const u_char *buf, int ofs, const u_char *maxbuf) in name_ptr() argument
175 if (p >= maxbuf) in name_ptr()
186 if ((p + 1) >= maxbuf) in name_ptr()
194 if (p >= maxbuf) in name_ptr()
209 const u_char *buf, int ofs, const u_char *maxbuf, char *name) in name_extract() argument
211 const u_char *p = name_ptr(ndo, buf, ofs, maxbuf); in name_extract()
215 return(name_interpret(ndo, p, maxbuf, name)); in name_extract()
224 const unsigned char *s, const unsigned char *maxbuf) in name_len() argument
229 if (s >= maxbuf) in name_len()
236 if (s >= maxbuf) in name_len()
436 const u_char *buf, const char *fmt, const u_char *maxbuf, in smb_fdata1() argument
442 while (*fmt && buf<maxbuf) { in smb_fdata1()
640 return maxbuf; /* give up */ in smb_fdata1()
704 maxbuf, nbuf); in smb_fdata1()
707 len = name_len(ndo, buf, maxbuf); in smb_fdata1()
783 if (buf >= maxbuf && *fmt) in smb_fdata1()
796 const u_char *buf, const char *fmt, const u_char *maxbuf, in smb_fdata() argument
807 while (buf < maxbuf) { in smb_fdata()
810 buf2 = smb_fdata(ndo, buf, fmt, maxbuf, unicodestr); in smb_fdata()
822 if (buf >= maxbuf) in smb_fdata()
828 buf = maxbuf; in smb_fdata()
838 if (buf >= maxbuf) in smb_fdata()
849 buf = smb_fdata1(ndo, buf, s, maxbuf, unicodestr); in smb_fdata()
860 if (!depth && buf < maxbuf) { in smb_fdata()
861 size_t len = PTR_DIFF(maxbuf, buf); in smb_fdata()