Lines Matching refs:charIndex
542 private int charIndex;
577 charIndex = 0;
581 while (charIndex < length && firstNonEmptyEmbeddingLevel == 0) {
637 while (charIndex > 0) {
675 charIndex = length;
678 while (charIndex > 0) {
739 * charIndex. If isHtml, and the codepoint is '<' or '&', advances through the tag/entity,
744 * @throws java.lang.IndexOutOfBoundsException if called when charIndex >= length or < 0.
747 lastChar = text.charAt(charIndex);
749 int codePoint = Character.codePointAt(text, charIndex);
750 charIndex += Character.charCount(codePoint);
753 charIndex++;
768 * charIndex backwards. If isHtml, and the codepoint is the end of a complete HTML tag or
774 * @throws java.lang.IndexOutOfBoundsException if called when charIndex > length or <= 0.
777 lastChar = text.charAt(charIndex - 1);
779 int codePoint = Character.codePointBefore(text, charIndex);
780 charIndex -= Character.charCount(codePoint);
783 charIndex--;
797 * Advances charIndex forward through an HTML tag (after the opening < has already been
799 * does not change charIndex and returns Character.DIRECTIONALITY_OTHER_NEUTRALS (for the
803 int initialCharIndex = charIndex;
804 while (charIndex < length) {
805 lastChar = text.charAt(charIndex++);
813 while (charIndex < length && (lastChar = text.charAt(charIndex++)) != quote) {}
817 charIndex = initialCharIndex;
823 * Advances charIndex backward through an HTML tag (after the closing > has already been
825 * not change charIndex and returns Character.DIRECTIONALITY_OTHER_NEUTRALS (for the >
832 int initialCharIndex = charIndex;
833 while (charIndex > 0) {
834 lastChar = text.charAt(--charIndex);
845 while (charIndex > 0 && (lastChar = text.charAt(--charIndex)) != quote) {}
849 charIndex = initialCharIndex;
855 * Advances charIndex forward through an HTML character entity tag (after the opening
860 while (charIndex < length && (lastChar = text.charAt(charIndex++)) != ';') {}
865 * Advances charIndex backward through an HTML character entity tag (after the closing ;
868 * If there is no matching &, does not change charIndex and returns
875 int initialCharIndex = charIndex;
876 while (charIndex > 0) {
877 lastChar = text.charAt(--charIndex);
885 charIndex = initialCharIndex;