Searched refs:PTR_DIFF (Results 1 - 4 of 4) sorted by relevance
/external/tcpdump/ |
H A D | smb.h | 119 #define PTR_DIFF(p1, p2) ((size_t)(((char *)(p1)) - (char *)(p2))) macro
|
H A D | print-smb.c | 420 print_data(words + 1, SMBMIN(wct * 2, PTR_DIFF(maxbuf, words + 1))); 430 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); 464 print_data(words + 1, SMBMIN(wct * 2, PTR_DIFF(maxbuf, words + 1))); 474 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); 514 print_data(data + 2, SMBMIN(EXTRACT_LE_16BITS(data), PTR_DIFF(maxbuf, data + 2))); 887 print_data(data + 2, SMBMIN(bcc, PTR_DIFF(maxbuf, data + 2)));
|
H A D | smbutil.c | 242 return(PTR_DIFF(s, s0) + 1); 329 size_t l = PTR_DIFF(p, fmt); 461 l = PTR_DIFF(p, fmt); 699 name_type = name_extract(startbuf, PTR_DIFF(buf, startbuf), 857 size_t len = PTR_DIFF(maxbuf, buf);
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A 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 || \
|
Completed in 316 milliseconds