Searched refs:PTR_DIFF (Results 1 – 5 of 5) sorted by relevance
/external/tcpdump/ |
D | smbutil.c | 242 return(PTR_DIFF(s, s0) + 1); in name_len() 329 size_t l = PTR_DIFF(p, fmt); in write_bits() 461 l = PTR_DIFF(p, fmt); in smb_fdata1() 699 name_type = name_extract(startbuf, PTR_DIFF(buf, startbuf), in smb_fdata1() 857 size_t len = PTR_DIFF(maxbuf, buf); in smb_fdata()
|
D | print-smb.c | 420 print_data(words + 1, SMBMIN(wct * 2, PTR_DIFF(maxbuf, words + 1))); in print_negprot() 430 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); in print_negprot() 464 print_data(words + 1, SMBMIN(wct * 2, PTR_DIFF(maxbuf, words + 1))); in print_sesssetup() 474 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); in print_sesssetup() 514 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); in print_lockingandx() 887 print_data(data + 2, SMBMIN(bcc, PTR_DIFF(maxbuf, data + 2))); in print_smb()
|
D | smb.h | 119 #define PTR_DIFF(p1, p2) ((size_t)(((char *)(p1)) - (char *)(p2))) macro
|
/external/libvncserver/common/ |
D | minilzo.c | 2191 #define PTR_DIFF(a,b) (PTR(a) - PTR(b)) macro 2880 m_pos = ip - (lzo_uint) PTR_DIFF(ip,m_pos), \ 2882 (m_off = (lzo_uint) PTR_DIFF(ip,m_pos)) == 0 || \
|
/external/valgrind/coregrind/m_debuginfo/ |
D | minilzo-inl.c | 2232 #define PTR_DIFF(a,b) (PTR(a) - PTR(b)) macro 3051 m_pos = ip - (lzo_uint) PTR_DIFF(ip,m_pos), \ 3053 (m_off = (lzo_uint) PTR_DIFF(ip,m_pos)) == 0 || \
|