Home
last modified time | relevance | path

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

/freebsd/contrib/expat/lib/
H A Dxmlparse.c217 #define EXPAT_SAFE_PTR_DIFF(p, q) (((p) && (q)) ? ((p) - (q)) : 0) macro
1002 const size_t have_now = EXPAT_SAFE_PTR_DIFF(end, start); in callProcessor()
1011 = EXPAT_SAFE_PTR_DIFF(parser->m_bufferPtr, parser->m_buffer); in callProcessor()
1016 += EXPAT_SAFE_PTR_DIFF(parser->m_bufferLim, parser->m_bufferEnd); in callProcessor()
2127 if (len > EXPAT_SAFE_PTR_DIFF(parser->m_bufferLim, parser->m_bufferEnd) in XML_GetBuffer()
2134 + (unsigned)EXPAT_SAFE_PTR_DIFF( in XML_GetBuffer()
2141 keep = (int)EXPAT_SAFE_PTR_DIFF(parser->m_bufferPtr, parser->m_buffer); in XML_GetBuffer()
2153 <= EXPAT_SAFE_PTR_DIFF(parser->m_bufferLim, parser->m_buffer)) { in XML_GetBuffer()
2155 if (keep < EXPAT_SAFE_PTR_DIFF(parser->m_bufferPtr, parser->m_buffer)) { in XML_GetBuffer()
2157 = (int)EXPAT_SAFE_PTR_DIFF(parser->m_bufferPtr, parser->m_buffer) in XML_GetBuffer()
[all …]