Home
last modified time | relevance | path

Searched refs:REPLACEMENT_CHARACTER (Results 1 – 2 of 2) sorted by relevance

/external/okhttp/okio/okio/src/test/java/okio/
DUtf8Test.java102 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readLeadingContinuationByteReturnsReplacementCharacter()
121 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readTooLargeCodepointReturnsReplacementCharacter()
122 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readTooLargeCodepointReturnsReplacementCharacter()
123 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readTooLargeCodepointReturnsReplacementCharacter()
124 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readTooLargeCodepointReturnsReplacementCharacter()
125 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readTooLargeCodepointReturnsReplacementCharacter()
133 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readNonContinuationBytesReturnsReplacementCharacter()
142 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readCodePointBeyondUnicodeMaximum()
149 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readSurrogateCodePoint()
152 assertEquals(Buffer.REPLACEMENT_CHARACTER, buffer.readUtf8CodePoint()); in readSurrogateCodePoint()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DBuffer.java50 static final int REPLACEMENT_CHARACTER = '\ufffd'; field in Buffer
665 return REPLACEMENT_CHARACTER;
684 return REPLACEMENT_CHARACTER;
691 return REPLACEMENT_CHARACTER; // Reject code points larger than the Unicode maximum.
695 return REPLACEMENT_CHARACTER; // Reject partial surrogates.
699 return REPLACEMENT_CHARACTER; // Reject overlong code points.