• Home
  • Raw
  • Download

Lines Matching refs:maxbuf

132 name_interpret(const u_char *in, const u_char *maxbuf, char *out)  in name_interpret()  argument
137 if (in >= maxbuf) in name_interpret()
149 if (in + 1 >= maxbuf) in name_interpret()
172 name_ptr(const u_char *buf, int ofs, const u_char *maxbuf) in name_ptr() argument
178 if (p >= maxbuf) in name_ptr()
189 if ((p + 1) >= maxbuf) in name_ptr()
197 if (p >= maxbuf) in name_ptr()
211 name_extract(const u_char *buf, int ofs, const u_char *maxbuf, char *name) in name_extract() argument
213 const u_char *p = name_ptr(buf, ofs, maxbuf); in name_extract()
217 return(name_interpret(p, maxbuf, name)); in name_extract()
225 name_len(const unsigned char *s, const unsigned char *maxbuf) in name_len() argument
230 if (s >= maxbuf) in name_len()
237 if (s >= maxbuf) in name_len()
432 smb_fdata1(const u_char *buf, const char *fmt, const u_char *maxbuf, in smb_fdata1() argument
438 while (*fmt && buf<maxbuf) { in smb_fdata1()
636 return maxbuf; /* give up */ in smb_fdata1()
700 maxbuf, nbuf); in smb_fdata1()
703 len = name_len(buf, maxbuf); in smb_fdata1()
779 if (buf >= maxbuf && *fmt) in smb_fdata1()
791 smb_fdata(const u_char *buf, const char *fmt, const u_char *maxbuf, in smb_fdata() argument
802 while (buf < maxbuf) { in smb_fdata()
805 buf2 = smb_fdata(buf, fmt, maxbuf, unicodestr); in smb_fdata()
817 if (buf >= maxbuf) in smb_fdata()
823 buf = maxbuf; in smb_fdata()
833 if (buf >= maxbuf) in smb_fdata()
844 buf = smb_fdata1(buf, s, maxbuf, unicodestr); in smb_fdata()
856 if (!depth && buf < maxbuf) { in smb_fdata()
857 size_t len = PTR_DIFF(maxbuf, buf); in smb_fdata()