Searched refs:lastChar (Results 1 – 5 of 5) sorted by relevance
23 int lastChar; field in EOLConvertingOutputStream32 if (lastChar != '\r') { in write()37 lastChar = oneByte; in write()42 if (lastChar == '\r') { in flush()44 lastChar = '\n'; in flush()
98 final char lastChar = focusedWord.charAt(length - 1); in getNgramContextFromNthPreviousWord() local99 if (spacingAndPunctuations.isSentenceTerminator(lastChar)) { in getNgramContextFromNthPreviousWord()105 if (spacingAndPunctuations.isWordSeparator(lastChar) in getNgramContextFromNthPreviousWord()106 || spacingAndPunctuations.isWordConnector(lastChar)) { in getNgramContextFromNthPreviousWord()
76 final char lastChar = last.charAt(0); in onTextChanged() local77 if (Character.isUpperCase(lastChar)) { in onTextChanged()80 } else if (Character.isLowerCase(lastChar)) { in onTextChanged()
199 const int lastChar = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition( in getCodePointsAndProbabilityAndReturnCodePointCount() local202 outCodePoints[wordPos] = lastChar; in getCodePointsAndProbabilityAndReturnCodePointCount()
1853 const char lastChar = buf[index]; in _get_modifier_sequence() local1854 if (lastChar != '~') { in _get_modifier_sequence()1861 buf[index++] = lastChar; // move ~ (or other last char) to the end in _get_modifier_sequence()