Lines Matching refs:Character
303 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)];
304 int codePoint = Character.codePointAt(characters, 0);
306 for (int srci = Character.charCount(codePoint);
307 srci < length; srci += Character.charCount(codePoint), ++dsti) {
309 codePoint = Character.codePointAt(characters, srci);
505 * Custom comparison of two int arrays taken to contain character codes.
509 * This method does NOT test for the first character. It is taken to be equal.
512 * strings are equal. This works BECAUSE we don't look at the first character.
546 * Finds the insertion index of a character within a node array.
548 private static int findInsertionIndex(final PtNodeArray nodeArray, int character) {
550 final PtNode reference = new PtNode(new int[] { character },
561 * @param character the character to search for.
562 * @return the position of the character if it's there, or CHARACTER_NOT_FOUND_INDEX = -1 else.
564 private static int findIndexOfChar(final PtNodeArray nodeArray, int character) {
565 final int insertionIndex = findInsertionIndex(nodeArray, character);
567 return character == nodeArray.mData.get(insertionIndex).mChars[0] ? insertionIndex
678 mCurrentString.append(Character.toChars(i));