Lines Matching refs:p

212     char const * p = text.begin;  in normalizeLineEnds()  local
215 sal_Int32 i = rtl_str_indexOfChar_WithLength(p, n, '\x0D'); in normalizeLineEnds()
219 pad_.add(p, i); in normalizeLineEnds()
220 p += i + 1; in normalizeLineEnds()
222 if (n == 0 || *p != '\x0A') { in normalizeLineEnds()
226 pad_.add(p, n); in normalizeLineEnds()
440 char const * p; in handleReference() local
443 p = position; in handleReference()
465 p = position; in handleReference()
483 if (position == p || *position++ != ';') { in handleReference()
572 char const * p = begin; in handleAttributeValue() local
577 while (p != end) { in handleAttributeValue()
578 switch (*p) { in handleAttributeValue()
584 pad_.add(begin, p - begin); in handleAttributeValue()
589 pad_.add(begin, p - begin); in handleAttributeValue()
595 begin = ++p; in handleAttributeValue()
600 ++p; in handleAttributeValue()
604 pad_.add(begin, p - begin); in handleAttributeValue()
605 begin = ++p; in handleAttributeValue()
609 begin = ++p; in handleAttributeValue()
614 pad_.add(begin, p - begin); in handleAttributeValue()
615 p = handleReference(p, end); in handleAttributeValue()
616 begin = p; in handleAttributeValue()
620 ++p; in handleAttributeValue()
625 pad_.add(begin, p - begin); in handleAttributeValue()
627 char const * p = begin; in handleAttributeValue() local
628 while (p != end) { in handleAttributeValue()
629 switch (*p) { in handleAttributeValue()
632 pad_.add(begin, p - begin); in handleAttributeValue()
633 begin = ++p; in handleAttributeValue()
637 pad_.add(begin, p - begin); in handleAttributeValue()
638 ++p; in handleAttributeValue()
640 ++p; in handleAttributeValue()
642 begin = p; in handleAttributeValue()
646 pad_.add(begin, p - begin); in handleAttributeValue()
647 p = handleReference(p, end); in handleAttributeValue()
648 begin = p; in handleAttributeValue()
651 ++p; in handleAttributeValue()
655 pad_.add(begin, p - begin); in handleAttributeValue()
676 char const * p = pos_; in handleStartTag() local
681 if (pos_ == p) { in handleStartTag()