Home
last modified time | relevance | path

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

1234

/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()
DSource.java68 long read(Buffer sink, long byteCount) throws IOException; in read()
DSink.java53 void write(Buffer source, long byteCount) throws IOException; in write()
DSegmentPool.java31 static long byteCount; field in SegmentPool
DSegmentedByteString.java54 SegmentedByteString(Buffer buffer, int byteCount) { in SegmentedByteString()
185 int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals()
202 @Override public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals()
DGzipSource.java67 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
186 private void updateCrc(Buffer buffer, long offset, long byteCount) { in updateCrc()
DForwardingSource.java34 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
DForwardingSink.java34 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
/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/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRetryableSink.java54 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
56 checkOffsetAndCount(source.size(), 0, byteCount); in write() local
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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMemoryMappedFile.java99 @Override public void skip(int byteCount) { in skip()
108 @Override public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
109 System.arraycopy(buffer.array(), buffer.position(), dst, dstOffset, byteCount); in readByteArray() local
/external/libvncserver/libvncserver/
Dstats.c212 void rfbStatRecordEncodingSentAdd(rfbClientPtr cl, uint32_t type, int byteCount) /* Specifically fo… in rfbStatRecordEncodingSentAdd()
222 void rfbStatRecordEncodingSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) in rfbStatRecordEncodingSent()
235 void rfbStatRecordEncodingRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) in rfbStatRecordEncodingRcvd()
248 void rfbStatRecordMessageSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) in rfbStatRecordMessageSent()
261 void rfbStatRecordMessageRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) in rfbStatRecordMessageRcvd()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLBIOSource.java87 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
100 public long skip(long byteCount) throws IOException { in skip()
/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()
/external/okhttp/okio/okio/src/test/java/okio/
DSocketTimeoutTest.java123 private static void writeFully(OutputStream out, int byteCount) throws IOException { in writeFully()
128 private static byte[] readFully(InputStream in, int byteCount) throws IOException { in readFully()
/external/glide/library/src/main/java/com/bumptech/glide/util/
DExceptionCatchingInputStream.java83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
100 public long skip(long byteCount) throws IOException { in skip()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DRecyclableBufferedInputStream.java269 public synchronized int read(byte[] buffer, int offset, int byteCount) throws IOException { in read()
368 public synchronized long skip(long byteCount) throws IOException { in skip()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DFaultHidingSink.java16 @Override public void write(Buffer source, long byteCount) throws IOException { in write()

1234