Home
last modified time | relevance | path

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

123456

/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()
DByteString.java76 public static ByteString of(byte[] data, int offset, int byteCount) { in of()
183 public static ByteString read(InputStream in, int byteCount) throws IOException { in read()
311 public boolean rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) { in rangeEquals()
320 public boolean rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) { in rangeEquals()
/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/
DRetryableSink.java56 @Override public void write(Buffer source, long byteCount) throws IOException { in write()
58 checkOffsetAndCount(source.size(), 0, byteCount); in write() local
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()
/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.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()
/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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLBIOSource.java88 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
101 public long skip(long byteCount) throws IOException { in skip()
/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/tensorflow/tensorflow/lite/experimental/swift/Sources/
DInterpreter.swift117 let byteCount = TFL_TensorByteSize(cTensor) in input() variable
165 let byteCount = TFL_TensorByteSize(cTensor) in output() variable
228 let byteCount = TFL_TensorByteSize(cTensor) in copy() variable

123456