Searched refs:PTR_DIFF (Results 1 – 4 of 4) sorted by relevance
/external/tcpdump/ |
D | smbutil.c | 242 return(PTR_DIFF(s, s0) + 1); in name_len() 331 size_t l = PTR_DIFF(p, fmt); in write_bits() 465 l = PTR_DIFF(p, fmt); in smb_fdata1() 703 name_type = name_extract(ndo, startbuf, PTR_DIFF(buf, startbuf), in smb_fdata1() 861 size_t len = PTR_DIFF(maxbuf, buf); in smb_fdata()
|
D | smb.h | 119 #define PTR_DIFF(p1, p2) ((size_t)(((const char *)(p1)) - (const char *)(p2))) macro
|
D | print-smb.c | 420 smb_print_data(ndo, words + 1, min(wct * 2, PTR_DIFF(maxbuf, words + 1))); in print_negprot() 430 smb_print_data(ndo, data + 2, min(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); in print_negprot() 464 smb_print_data(ndo, words + 1, min(wct * 2, PTR_DIFF(maxbuf, words + 1))); in print_sesssetup() 474 smb_print_data(ndo, data + 2, min(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); in print_sesssetup() 514 smb_print_data(ndo, data + 2, min(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); in print_lockingandx() 889 smb_print_data(ndo, data + 2, min(bcc, PTR_DIFF(maxbuf, data + 2))); in print_smb()
|
/external/u-boot/fs/jffs2/ |
D | compr_lzo.c | 144 #define PTR_DIFF(a,b) ((lzo_ptrdiff_t) (PTR(a) - PTR(b))) macro
|