Lines Matching full:bufferptr
612 #define bufferPtr (parser->m_bufferPtr)
833 bufferPtr = buffer;
1447 positionPtr = bufferPtr;
1454 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr);
1459 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1460 positionPtr = bufferPtr;
1475 else if (bufferPtr == bufferEnd) {
1529 bufferPtr = buffer;
1531 positionPtr = bufferPtr;
1533 eventPtr = bufferPtr;
1534 eventEndPtr = bufferPtr;
1566 start = bufferPtr;
1573 errorCode = processor(parser, start, parseEndPtr, &bufferPtr);
1595 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1596 positionPtr = bufferPtr;
1615 int neededSize = len + (int)(bufferEnd - bufferPtr);
1617 int keep = (int)(bufferPtr - buffer);
1625 if (keep < bufferPtr - buffer) {
1626 int offset = (int)(bufferPtr - buffer) - keep;
1627 memmove(buffer, &buffer[offset], bufferEnd - bufferPtr + keep);
1629 bufferPtr -= offset;
1632 memmove(buffer, bufferPtr, bufferEnd - bufferPtr);
1633 bufferEnd = buffer + (bufferEnd - bufferPtr);
1634 bufferPtr = buffer;
1639 int bufferSize = (int)(bufferLim - bufferPtr);
1652 if (bufferPtr) {
1653 int keep = (int)(bufferPtr - buffer);
1656 memcpy(newBuf, &bufferPtr[-keep], bufferEnd - bufferPtr + keep);
1659 bufferEnd = buffer + (bufferEnd - bufferPtr) + keep;
1660 bufferPtr = buffer + keep;
1663 bufferEnd = newBuf + (bufferEnd - bufferPtr);
1664 bufferPtr = buffer = newBuf;
1667 if (bufferPtr) {
1668 memcpy(newBuf, bufferPtr, bufferEnd - bufferPtr);
1671 bufferEnd = newBuf + (bufferEnd - bufferPtr);
1672 bufferPtr = buffer = newBuf;
1720 errorCode = processor(parser, bufferPtr, parseEndPtr, &bufferPtr);
1742 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1743 positionPtr = bufferPtr;