Home
last modified time | relevance | path

Searched refs:PTR_DIFF (Results 1 – 7 of 7) sorted by relevance

/external/tcpdump/
Dsmbutil.c241 return(PTR_DIFF(s, s0) + 1); in name_len()
330 size_t l = PTR_DIFF(p, fmt); in write_bits()
464 l = PTR_DIFF(p, fmt); in smb_fdata1()
702 name_type = name_extract(ndo, startbuf, PTR_DIFF(buf, startbuf), in smb_fdata1()
860 size_t len = PTR_DIFF(maxbuf, buf); in smb_fdata()
Dsmb.h119 #define PTR_DIFF(p1, p2) ((size_t)(((const char *)(p1)) - (const char *)(p2))) macro
Dprint-smb.c420 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/syslinux/lzo/src/
Dlzo_ptr.h69 #define PTR_DIFF(a,b) (PTR(a) - PTR(b)) macro
Dlzo_dict.h272 m_pos = ip - (lzo_uint) PTR_DIFF(ip,m_pos), \
274 (m_off = (lzo_uint) PTR_DIFF(ip,m_pos)) == 0 || \
/external/valgrind/coregrind/m_debuginfo/
Dminilzo-inl.c2232 #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 || \
/external/libvncserver/common/
Dminilzo.c3800 #define PTR_DIFF(a,b) (PTR(a) - PTR(b)) macro
4551 m_pos = ip - (lzo_uint) PTR_DIFF(ip,m_pos), \
4553 (m_off = (lzo_uint) PTR_DIFF(ip,m_pos)) == 0 || \