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()
1696 int neededSize = len + (int)(bufferEnd - bufferPtr); in XML_GetBuffer()
1702 int keep = (int)(bufferPtr - buffer); in XML_GetBuffer()
1710 if (keep < bufferPtr - buffer) { in XML_GetBuffer()
1711 int offset = (int)(bufferPtr - buffer) - keep; in XML_GetBuffer()
1712 memmove(buffer, &buffer[offset], bufferEnd - bufferPtr + keep); in XML_GetBuffer()
1714 bufferPtr -= offset; in XML_GetBuffer()
1717 memmove(buffer, bufferPtr, bufferEnd - bufferPtr); in XML_GetBuffer()
1718 bufferEnd = buffer + (bufferEnd - bufferPtr); in XML_GetBuffer()
1719 bufferPtr = buffer; in XML_GetBuffer()
1724 int bufferSize = (int)(bufferLim - bufferPtr); in XML_GetBuffer()
1741 if (bufferPtr) { in XML_GetBuffer()
1742 int keep = (int)(bufferPtr - buffer); in XML_GetBuffer()
1745 memcpy(newBuf, &bufferPtr[-keep], bufferEnd - bufferPtr + keep); in XML_GetBuffer()
1748 bufferEnd = buffer + (bufferEnd - bufferPtr) + keep; in XML_GetBuffer()
1749 bufferPtr = buffer + keep; in XML_GetBuffer()
1752 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
1753 bufferPtr = buffer = newBuf; in XML_GetBuffer()
1756 if (bufferPtr) { in XML_GetBuffer()
1757 memcpy(newBuf, bufferPtr, bufferEnd - bufferPtr); in XML_GetBuffer()
1760 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
1761 bufferPtr = buffer = newBuf; in XML_GetBuffer()
1811 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr); in XML_ResumeParser()
1833 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position); in XML_ResumeParser()
1834 positionPtr = bufferPtr; in XML_ResumeParser()