Lines Matching refs:bufferPtr
623 #define bufferPtr (parser->m_bufferPtr) macro
873 bufferPtr = buffer; in parserInit()
1522 positionPtr = bufferPtr; in XML_Parse()
1529 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr); in XML_Parse()
1534 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position); in XML_Parse()
1535 positionPtr = bufferPtr; in XML_Parse()
1550 else if (bufferPtr == bufferEnd) { in XML_Parse()
1602 bufferPtr = buffer; in XML_Parse()
1604 positionPtr = bufferPtr; in XML_Parse()
1606 eventPtr = bufferPtr; in XML_Parse()
1607 eventEndPtr = bufferPtr; in XML_Parse()
1644 start = bufferPtr; in XML_ParseBuffer()
1651 errorCode = processor(parser, start, parseEndPtr, &bufferPtr); in XML_ParseBuffer()
1673 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position); in XML_ParseBuffer()
1674 positionPtr = bufferPtr; in XML_ParseBuffer()
1693 int neededSize = len + (int)(bufferEnd - bufferPtr); in XML_GetBuffer()
1695 int keep = (int)(bufferPtr - buffer); in XML_GetBuffer()
1703 if (keep < bufferPtr - buffer) { in XML_GetBuffer()
1704 int offset = (int)(bufferPtr - buffer) - keep; in XML_GetBuffer()
1705 memmove(buffer, &buffer[offset], bufferEnd - bufferPtr + keep); in XML_GetBuffer()
1707 bufferPtr -= offset; in XML_GetBuffer()
1710 memmove(buffer, bufferPtr, bufferEnd - bufferPtr); in XML_GetBuffer()
1711 bufferEnd = buffer + (bufferEnd - bufferPtr); in XML_GetBuffer()
1712 bufferPtr = buffer; in XML_GetBuffer()
1717 int bufferSize = (int)(bufferLim - bufferPtr); in XML_GetBuffer()
1730 if (bufferPtr) { in XML_GetBuffer()
1731 int keep = (int)(bufferPtr - buffer); in XML_GetBuffer()
1734 memcpy(newBuf, &bufferPtr[-keep], bufferEnd - bufferPtr + keep); in XML_GetBuffer()
1737 bufferEnd = buffer + (bufferEnd - bufferPtr) + keep; in XML_GetBuffer()
1738 bufferPtr = buffer + keep; in XML_GetBuffer()
1741 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
1742 bufferPtr = buffer = newBuf; in XML_GetBuffer()
1745 if (bufferPtr) { in XML_GetBuffer()
1746 memcpy(newBuf, bufferPtr, bufferEnd - bufferPtr); in XML_GetBuffer()
1749 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
1750 bufferPtr = buffer = newBuf; in XML_GetBuffer()
1800 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr); in XML_ResumeParser()
1822 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position); in XML_ResumeParser()
1823 positionPtr = bufferPtr; in XML_ResumeParser()