Lines Matching refs:nCurrentPos

132 	sal_uInt32					nCurrentPos;  member in sax_expatwrap::SaxWriterHelper
156 nCurrentPos(0), in SaxWriterHelper()
164 OSL_ENSURE(!nCurrentPos, "cached Sequence not written"); in ~SaxWriterHelper()
177 sal_uInt32 GetLastColumnCount() { return (sal_uInt32)(nCurrentPos - nLastLineFeedPos); } in GetLastColumnCount()
511 mp_Sequence[nCurrentPos] = '>'; in FinishStartElement()
512 nCurrentPos++; in FinishStartElement()
513 if (nCurrentPos == SEQUENCESIZE) in FinishStartElement()
514 nCurrentPos = writeSequence(); in FinishStartElement()
524 if ((nCurrentPos + m_nLevel + 1) <= SEQUENCESIZE) in insertIndentation()
526 mp_Sequence[nCurrentPos] = LINEFEED; in insertIndentation()
527 nLastLineFeedPos = nCurrentPos; in insertIndentation()
528 nCurrentPos++; in insertIndentation()
529 memset( &(mp_Sequence[nCurrentPos]) , 32 , m_nLevel ); in insertIndentation()
530 nCurrentPos += m_nLevel; in insertIndentation()
531 if (nCurrentPos == SEQUENCESIZE) in insertIndentation()
532 nCurrentPos = writeSequence(); in insertIndentation()
540 AddBytes(mp_Sequence, nCurrentPos, pBytes, nCount); in insertIndentation()
542 nLastLineFeedPos = nCurrentPos - nCount; in insertIndentation()
543 if (nCurrentPos == SEQUENCESIZE) in insertIndentation()
544 nCurrentPos = writeSequence(); in insertIndentation()
549 mp_Sequence[nCurrentPos] = LINEFEED; in insertIndentation()
550 nLastLineFeedPos = nCurrentPos; in insertIndentation()
551 nCurrentPos++; in insertIndentation()
552 if (nCurrentPos == SEQUENCESIZE) in insertIndentation()
553 nCurrentPos = writeSequence(); in insertIndentation()
567 nCurrentPos); in writeString()
574 if ((nCurrentPos + nLen) <= SEQUENCESIZE) in startDocument()
577 nCurrentPos += nLen; in startDocument()
581 AddBytes(mp_Sequence, nCurrentPos, (sal_Int8*)pc, nLen); in startDocument()
583 OSL_ENSURE(nCurrentPos <= SEQUENCESIZE, "not reset current position"); in startDocument()
584 if (nCurrentPos == SEQUENCESIZE) in startDocument()
585 nCurrentPos = writeSequence(); in startDocument()
586 mp_Sequence[nCurrentPos] = LINEFEED; in startDocument()
587 nCurrentPos++; in startDocument()
588 if (nCurrentPos == SEQUENCESIZE) in startDocument()
589 nCurrentPos = writeSequence(); in startDocument()
595 mp_Sequence[nCurrentPos] = '<'; in startElement()
596 nCurrentPos++; in startElement()
597 if (nCurrentPos == SEQUENCESIZE) in startElement()
598 nCurrentPos = writeSequence(); in startElement()
607 mp_Sequence[nCurrentPos] = ' '; in startElement()
608 nCurrentPos++; in startElement()
609 if (nCurrentPos == SEQUENCESIZE) in startElement()
610 nCurrentPos = writeSequence(); in startElement()
615 mp_Sequence[nCurrentPos] = '='; in startElement()
616 nCurrentPos++; in startElement()
617 if (nCurrentPos == SEQUENCESIZE) in startElement()
618 nCurrentPos = writeSequence(); in startElement()
619 mp_Sequence[nCurrentPos] = '"'; in startElement()
620 nCurrentPos++; in startElement()
621 if (nCurrentPos == SEQUENCESIZE) in startElement()
622 nCurrentPos = writeSequence(); in startElement()
628 mp_Sequence[nCurrentPos] = '"'; in startElement()
629 nCurrentPos++; in startElement()
630 if (nCurrentPos == SEQUENCESIZE) in startElement()
631 nCurrentPos = writeSequence(); in startElement()
645 mp_Sequence[nCurrentPos] = '/'; in FinishEmptyElement()
646 nCurrentPos++; in FinishEmptyElement()
647 if (nCurrentPos == SEQUENCESIZE) in FinishEmptyElement()
648 nCurrentPos = writeSequence(); in FinishEmptyElement()
649 mp_Sequence[nCurrentPos] = '>'; in FinishEmptyElement()
650 nCurrentPos++; in FinishEmptyElement()
651 if (nCurrentPos == SEQUENCESIZE) in FinishEmptyElement()
652 nCurrentPos = writeSequence(); in FinishEmptyElement()
662 mp_Sequence[nCurrentPos] = '<'; in endElement()
663 nCurrentPos++; in endElement()
664 if (nCurrentPos == SEQUENCESIZE) in endElement()
665 nCurrentPos = writeSequence(); in endElement()
666 mp_Sequence[nCurrentPos] = '/'; in endElement()
667 nCurrentPos++; in endElement()
668 if (nCurrentPos == SEQUENCESIZE) in endElement()
669 nCurrentPos = writeSequence(); in endElement()
673 mp_Sequence[nCurrentPos] = '>'; in endElement()
674 nCurrentPos++; in endElement()
675 if (nCurrentPos == SEQUENCESIZE) in endElement()
676 nCurrentPos = writeSequence(); in endElement()
683 if (nCurrentPos > 0) in endDocument()
685 m_Sequence.realloc(nCurrentPos); in endDocument()
686 nCurrentPos = writeSequence(); in endDocument()
694 if (nCurrentPos > 0) in clearBuffer()
696 m_Sequence.realloc(nCurrentPos); in clearBuffer()
697 nCurrentPos = writeSequence(); in clearBuffer()
707 mp_Sequence[nCurrentPos] = '<'; in processingInstruction()
708 nCurrentPos++; in processingInstruction()
709 if (nCurrentPos == SEQUENCESIZE) in processingInstruction()
710 nCurrentPos = writeSequence(); in processingInstruction()
711 mp_Sequence[nCurrentPos] = '?'; in processingInstruction()
712 nCurrentPos++; in processingInstruction()
713 if (nCurrentPos == SEQUENCESIZE) in processingInstruction()
714 nCurrentPos = writeSequence(); in processingInstruction()
718 mp_Sequence[nCurrentPos] = ' '; in processingInstruction()
719 nCurrentPos++; in processingInstruction()
720 if (nCurrentPos == SEQUENCESIZE) in processingInstruction()
721 nCurrentPos = writeSequence(); in processingInstruction()
726 mp_Sequence[nCurrentPos] = '?'; in processingInstruction()
727 nCurrentPos++; in processingInstruction()
728 if (nCurrentPos == SEQUENCESIZE) in processingInstruction()
729 nCurrentPos = writeSequence(); in processingInstruction()
730 mp_Sequence[nCurrentPos] = '>'; in processingInstruction()
731 nCurrentPos++; in processingInstruction()
732 if (nCurrentPos == SEQUENCESIZE) in processingInstruction()
733 nCurrentPos = writeSequence(); in processingInstruction()
741 if ((nCurrentPos + 9) <= SEQUENCESIZE) in startCDATA()
743 memcpy( &(mp_Sequence[nCurrentPos]), "<![CDATA[" , 9 ); in startCDATA()
744 nCurrentPos += 9; in startCDATA()
747 AddBytes(mp_Sequence, nCurrentPos, (sal_Int8*)"<![CDATA[" , 9); in startCDATA()
748 if (nCurrentPos == SEQUENCESIZE) in startCDATA()
749 nCurrentPos = writeSequence(); in startCDATA()
755 if ((nCurrentPos + 3) <= SEQUENCESIZE) in endCDATA()
757 memcpy( &(mp_Sequence[nCurrentPos]), "]]>" , 3 ); in endCDATA()
758 nCurrentPos += 3; in endCDATA()
761 AddBytes(mp_Sequence, nCurrentPos, (sal_Int8*)"]]>" , 3); in endCDATA()
762 if (nCurrentPos == SEQUENCESIZE) in endCDATA()
763 nCurrentPos = writeSequence(); in endCDATA()
769 mp_Sequence[nCurrentPos] = '<'; in comment()
770 nCurrentPos++; in comment()
771 if (nCurrentPos == SEQUENCESIZE) in comment()
772 nCurrentPos = writeSequence(); in comment()
773 mp_Sequence[nCurrentPos] = '!'; in comment()
774 nCurrentPos++; in comment()
775 if (nCurrentPos == SEQUENCESIZE) in comment()
776 nCurrentPos = writeSequence(); in comment()
777 mp_Sequence[nCurrentPos] = '-'; in comment()
778 nCurrentPos++; in comment()
779 if (nCurrentPos == SEQUENCESIZE) in comment()
780 nCurrentPos = writeSequence(); in comment()
781 mp_Sequence[nCurrentPos] = '-'; in comment()
782 nCurrentPos++; in comment()
783 if (nCurrentPos == SEQUENCESIZE) in comment()
784 nCurrentPos = writeSequence(); in comment()
788 mp_Sequence[nCurrentPos] = '-'; in comment()
789 nCurrentPos++; in comment()
790 if (nCurrentPos == SEQUENCESIZE) in comment()
791 nCurrentPos = writeSequence(); in comment()
792 mp_Sequence[nCurrentPos] = '-'; in comment()
793 nCurrentPos++; in comment()
794 if (nCurrentPos == SEQUENCESIZE) in comment()
795 nCurrentPos = writeSequence(); in comment()
796 mp_Sequence[nCurrentPos] = '>'; in comment()
797 nCurrentPos++; in comment()
798 if (nCurrentPos == SEQUENCESIZE) in comment()
799 nCurrentPos = writeSequence(); in comment()