Searched refs:lastChar (Results 1 – 4 of 4) sorted by relevance
24 int lastChar; field in EOLConvertingOutputStream33 if (lastChar != '\r') { in write()38 lastChar = oneByte; in write()43 if (lastChar == '\r') { in flush()45 lastChar = '\n'; in flush()
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()
199 const int lastChar = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition( in getCodePointsAndProbabilityAndReturnCodePointCount() local202 outCodePoints[wordPos] = lastChar; in getCodePointsAndProbabilityAndReturnCodePointCount()