OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:readUtf8
(Results
1 - 12
of
12
) sorted by null
/external/okhttp/okio/src/test/java/okio/
OkioTest.java
53
assertEquals("abb", sink.
readUtf8
(3));
57
assertEquals(repeat('b', Segment.SIZE), sink.
readUtf8
(sink.size()));
61
assertEquals(repeat('b', Segment.SIZE - 2) + "c", sink.
readUtf8
(sink.size()));
InflaterSourceTest.java
34
assertEquals("God help us, we're in the hands of engineers.",
readUtf8
(inflated));
67
assertEquals(original,
readUtf8
(inflated));
81
private String
readUtf8
(OkBuffer buffer) {
82
return buffer.
readUtf8
(buffer.size());
OkBufferTest.java
36
assertEquals("abcd", buffer.
readUtf8
(4));
38
assertEquals("ef", buffer.
readUtf8
(2));
41
buffer.
readUtf8
(1);
67
buffer.
readUtf8
(Segment.SIZE - 1);
68
assertEquals("aa", buffer.
readUtf8
(2));
74
assertEquals(repeat('a', Segment.SIZE), buffer.
readUtf8
(Segment.SIZE));
109
assertEquals(repeat('a', 999), buffer.
readUtf8
(999)); // a...a
110
assertEquals("a" + repeat('b', 2500) + "c", buffer.
readUtf8
(2502)); // ab...bc
111
assertEquals(repeat('c', 4998), buffer.
readUtf8
(4998)); // c...c
112
assertEquals("c" + repeat('d', 10000) + "e", buffer.
readUtf8
(10002)); // cd...d
[
all
...]
DeflaterSinkTest.java
40
assertEquals(original, inflated.
readUtf8
(inflated.size()));
52
assertEquals(original, inflated.
readUtf8
(inflated.size()));
64
assertEquals(original, inflated.
readUtf8
(inflated.size()));
87
assertEquals(repeat('a', byteCount), inflate(buffer).
readUtf8
(byteCount));
GzipSourceTest.java
101
assertEquals("It's a UNIX system! I know this!", gunzipped.
readUtf8
(gunzipped.size()));
RealBufferedSinkTest.java
35
assertEquals("a" + repeat('b', 9998) + "c", sink.
readUtf8
(10000));
RealBufferedSourceTest.java
96
assertEquals("ab", bufferedSource.buffer().
readUtf8
(2));
/external/okhttp/okio/src/main/java/okio/
BufferedSource.java
78
String
readUtf8
(long byteCount) throws IOException;
RealBufferedSource.java
78
@Override public String
readUtf8
(long byteCount) throws IOException {
80
return buffer.
readUtf8
(byteCount);
87
return buffer.size != 0 ?
readUtf8
(buffer.size) : null;
OkBuffer.java
280
@Override public String
readUtf8
(long byteCount) {
309
return size != 0 ?
readUtf8
(size) : null;
324
String result =
readUtf8
((newline - 1));
330
String result =
readUtf8
(newline);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java
661
return buffer.
readUtf8
(buffer.size());
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
SpdyConnectionTest.java
[
all
...]
Completed in 612 milliseconds