Home | History | Annotate | Download | only in lib

Lines Matching defs:bufferPtr

623 #define bufferPtr (parser->m_bufferPtr)
873 bufferPtr = buffer;
1522 positionPtr = bufferPtr;
1529 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr);
1534 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1535 positionPtr = bufferPtr;
1550 else if (bufferPtr == bufferEnd) {
1602 bufferPtr = buffer;
1604 positionPtr = bufferPtr;
1606 eventPtr = bufferPtr;
1607 eventEndPtr = bufferPtr;
1644 start = bufferPtr;
1651 errorCode = processor(parser, start, parseEndPtr, &bufferPtr);
1673 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1674 positionPtr = bufferPtr;
1696 int neededSize = len + (int)(bufferEnd - bufferPtr);
1702 int keep = (int)(bufferPtr - buffer);
1710 if (keep < bufferPtr - buffer) {
1711 int offset = (int)(bufferPtr - buffer) - keep;
1712 memmove(buffer, &buffer[offset], bufferEnd - bufferPtr + keep);
1714 bufferPtr -= offset;
1717 memmove(buffer, bufferPtr, bufferEnd - bufferPtr);
1718 bufferEnd = buffer + (bufferEnd - bufferPtr);
1719 bufferPtr = buffer;
1724 int bufferSize = (int)(bufferLim - bufferPtr);
1741 if (bufferPtr) {
1742 int keep = (int)(bufferPtr - buffer);
1745 memcpy(newBuf, &bufferPtr[-keep], bufferEnd - bufferPtr + keep);
1748 bufferEnd = buffer + (bufferEnd - bufferPtr) + keep;
1749 bufferPtr = buffer + keep;
1752 bufferEnd = newBuf + (bufferEnd - bufferPtr);
1753 bufferPtr = buffer = newBuf;
1756 if (bufferPtr) {
1757 memcpy(newBuf, bufferPtr, bufferEnd - bufferPtr);
1760 bufferEnd = newBuf + (bufferEnd - bufferPtr);
1761 bufferPtr = buffer = newBuf;
1811 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr);
1833 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1834 positionPtr = bufferPtr;