Home
last modified time | relevance | path

Searched defs:byteCount (Results 1 – 25 of 185) sorted by relevance

12345678

/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java42 void require(long byteCount) throws IOException; in require()
49 boolean request(long byteCount) throws IOException; in request()
95 void skip(long byteCount) throws IOException; in skip()
101 ByteString readByteString(long byteCount) throws IOException; in readByteString()
107 byte[] readByteArray(long byteCount) throws IOException; in readByteArray()
125 int read(byte[] sink, int offset, int byteCount) throws IOException; in read()
132 void readFully(Buffer sink, long byteCount) throws IOException; in readFully()
148 String readUtf8(long byteCount) throws IOException; in readUtf8()
199 String readString(long byteCount, Charset charset) throws IOException; in readString()
DRealBufferedSource.java44 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
63 @Override public void require(long byteCount) throws IOException { in require()
67 @Override public boolean request(long byteCount) throws IOException { in request()
86 @Override public ByteString readByteString(long byteCount) throws IOException { in readByteString()
96 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray()
121 @Override public int read(byte[] sink, int offset, int byteCount) throws IOException { in read()
133 @Override public void readFully(Buffer sink, long byteCount) throws IOException { in readFully()
167 @Override public String readUtf8(long byteCount) throws IOException { in readUtf8()
179 @Override public String readString(long byteCount, Charset charset) throws IOException { in readString()
287 @Override public void skip(long byteCount) throws IOException { in skip()
[all …]
DRealBufferedSink.java42 @Override public void write(Buffer source, long byteCount) in write()
93 @Override public BufferedSink write(byte[] source, int offset, int byteCount) throws IOException { in write()
109 @Override public BufferedSink write(Source source, long byteCount) throws IOException { in write()
175 long byteCount = buffer.completeSegmentByteCount(); in emitCompleteSegments() local
182 long byteCount = buffer.size(); in emit() local
195 @Override public void write(byte[] data, int offset, int byteCount) throws IOException { in outputStream()
DSegment.java109 public Segment split(int byteCount) { in split()
125 int byteCount = limit - pos; in compact() local
134 public void writeTo(Segment sink, int byteCount) { in writeTo()
DGzipSink.java65 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
130 private void updateCrc(Buffer buffer, long byteCount) { in updateCrc()
DUtil.java27 public static void checkOffsetAndCount(long size, long offset, long byteCount) { in checkOffsetAndCount()
74 byte[] a, int aOffset, byte[] b, int bOffset, int byteCount) { in arrayRangeEquals()
DByteString.java74 public static ByteString of(byte[] data, int offset, int byteCount) { in of()
181 public static ByteString read(InputStream in, int byteCount) throws IOException { in read()
309 public boolean rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals()
318 public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBufferedSource.java44 void require(long byteCount) throws IOException; in require()
51 boolean request(long byteCount) throws IOException; in request()
97 void skip(long byteCount) throws IOException; in skip()
103 ByteString readByteString(long byteCount) throws IOException; in readByteString()
109 byte[] readByteArray(long byteCount) throws IOException; in readByteArray()
127 int read(byte[] sink, int offset, int byteCount) throws IOException; in read()
134 void readFully(Buffer sink, long byteCount) throws IOException; in readFully()
150 String readUtf8(long byteCount) throws IOException; in readUtf8()
201 String readString(long byteCount, Charset charset) throws IOException; in readString()
DRealBufferedSource.java45 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
64 @Override public void require(long byteCount) throws IOException { in require()
68 @Override public boolean request(long byteCount) throws IOException { in request()
87 @Override public ByteString readByteString(long byteCount) throws IOException { in readByteString()
97 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray()
122 @Override public int read(byte[] sink, int offset, int byteCount) throws IOException { in read()
134 @Override public void readFully(Buffer sink, long byteCount) throws IOException { in readFully()
168 @Override public String readUtf8(long byteCount) throws IOException { in readUtf8()
180 @Override public String readString(long byteCount, Charset charset) throws IOException { in readString()
288 @Override public void skip(long byteCount) throws IOException { in skip()
[all …]
DRealBufferedSink.java43 @Override public void write(Buffer source, long byteCount) in write()
94 @Override public BufferedSink write(byte[] source, int offset, int byteCount) throws IOException { in write()
110 @Override public BufferedSink write(Source source, long byteCount) throws IOException { in write()
176 long byteCount = buffer.completeSegmentByteCount(); in emitCompleteSegments() local
183 long byteCount = buffer.size(); in emit() local
196 @Override public void write(byte[] data, int offset, int byteCount) throws IOException { in outputStream()
DSegment.java110 public Segment split(int byteCount) { in split()
126 int byteCount = limit - pos; in compact() local
135 public void writeTo(Segment sink, int byteCount) { in writeTo()
DGzipSink.java67 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
132 private void updateCrc(Buffer buffer, long byteCount) { in updateCrc()
DUtil.java28 public static void checkOffsetAndCount(long size, long offset, long byteCount) { in checkOffsetAndCount()
75 byte[] a, int aOffset, byte[] b, int bOffset, int byteCount) { in arrayRangeEquals()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DNioBufferIterator.java59 public void skip(int byteCount) { in skip()
69 public void readByteArray(byte[] bytes, int arrayOffset, int byteCount) { in readByteArray()
99 final int byteCount = Integer.BYTES * intCount; in readIntArray() local
109 final int byteCount = Long.BYTES * longCount; in readLongArray() local
124 private static void checkReadBounds(int position, int length, int byteCount) { in checkReadBounds()
DBufferIterator.java35 public abstract void skip(int byteCount); in skip()
48 public abstract void readByteArray(byte[] bytes, int arrayOffset, int byteCount); in readByteArray()
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DRealBufferedSink.kt102 var byteCount = byteCount in commonWrite() variable
168 val byteCount = buffer.completeSegmentByteCount() in commonEmitCompleteSegments() constant
175 val byteCount = buffer.size in commonEmit() constant
DSegmentedByteString.kt88 val byteCount = minOf(endIndex, segmentOffset + segmentSize) - pos in forEachSegment() constant
142 forEachSegment { data, offset, byteCount -> in commonGetSize() method
153 forEachSegment(offset, offset + byteCount) { data, offset, byteCount -> in commonWrite() method
175 forEachSegment(offset, offset + byteCount) { data, offset, byteCount -> in commonRangeEquals() method
195 forEachSegment(offset, offset + byteCount) { data, offset, byteCount -> in commonRangeEquals() method
216 forEachSegment { data, offset, byteCount -> in commonHashCode() method
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java138 long byteCount = payload.completeSegmentByteCount(); in serverMessageLengthShort() local
141 sink.write(payload.clone(), byteCount); in serverMessageLengthShort() local
158 long byteCount = payload.completeSegmentByteCount(); in serverMessageLengthLong() local
161 sink.write(payload.clone(), byteCount); in serverMessageLengthLong() local
324 int byteCount = 16; in assertData() local
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp1xStream.java283 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
285 checkOffsetAndCount(source.size(), 0, byteCount); in write() local
321 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
390 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
431 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
485 @Override public long read(Buffer sink, long byteCount) in read()
DRetryableSink.java56 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
58 checkOffsetAndCount(source.size(), 0, byteCount); in write() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java281 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
283 checkOffsetAndCount(source.size(), 0, byteCount); in write() local
319 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
388 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
429 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
483 @Override public long read(Buffer sink, long byteCount) in read()
DRetryableSink.java54 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
56 checkOffsetAndCount(source.size(), 0, byteCount); in write() local
/external/okio/okio/src/jvmTest/java/okio/
DBufferedSinkTest.java349 int byteCount = sink.write(nioByteBuffer); in writeNioBuffer() local
350 assertEquals(expected.length(), byteCount); in writeNioBuffer() local
365 int byteCount = sink.write(nioByteBuffer); in writeLargeNioBufferWritesAllData() local
366 assertEquals(expected.length(), byteCount); in writeLargeNioBufferWritesAllData() local
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMemoryMappedFile.java100 @Override public void skip(int byteCount) { in skip()
109 @Override public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
110 System.arraycopy(buffer.array(), buffer.position(), dst, dstOffset, byteCount); in readByteArray() local
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java173 private void writeMessageFrameSynchronized(int formatOpcode, long byteCount, boolean isFirstFrame, in writeMessageFrameSynchronized()
213 private void writeMaskedSynchronized(BufferedSource source, long byteCount) throws IOException { in writeMaskedSynchronized()
232 @Override public void write(Buffer source, long byteCount) throws IOException { in write()

12345678