/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | OFBBlockCipher.java | 15 private int byteCount; field in class:OFBBlockCipher 153 byteCount = 0; 161 if (byteCount == 0) 166 byte rv = (byte)(ofbOutV[byteCount++] ^ in); 168 if (byteCount == blockSize) 170 byteCount = 0;
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
H A D | WebSocketWriter.java | 173 private void writeMessageFrameSynchronized(int formatOpcode, long byteCount, boolean isFirstFrame, argument 190 if (byteCount <= PAYLOAD_BYTE_MAX) { 191 b1 |= (int) byteCount; 193 } else if (byteCount <= PAYLOAD_SHORT_MAX) { 196 sink.writeShort((int) byteCount); 200 sink.writeLong(byteCount); 205 writeMaskedSynchronized(buffer, byteCount); 207 sink.write(buffer, byteCount); 213 private void writeMaskedSynchronized(BufferedSource source, long byteCount) throws IOException { argument 217 while (written < byteCount) { 232 write(Buffer source, long byteCount) argument [all...] |
H A D | WebSocketProtocol.java | 87 static void toggleMask(byte[] buffer, long byteCount, byte[] key, long frameBytesRead) { argument 89 for (int i = 0; i < byteCount; i++, frameBytesRead++) {
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | OpenSSLBIOSink.java | 51 public long skip(long byteCount) { argument 52 int maxLength = Math.min(available(), (int) byteCount);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | Http1xStream.java | 281 @Override public void write(Buffer source, long byteCount) throws IOException { argument 283 checkOffsetAndCount(source.size(), 0, byteCount); 284 if (byteCount > bytesRemaining) { 286 + " bytes but received " + byteCount); 288 sink.write(source, byteCount); 289 bytesRemaining -= byteCount; 319 @Override public void write(Buffer source, long byteCount) throws IOException { argument 321 if (byteCount == 0) return; 323 sink.writeHexadecimalUnsignedLong(byteCount); 325 sink.write(source, byteCount); 388 read(Buffer sink, long byteCount) argument 429 read(Buffer sink, long byteCount) argument 483 read(Buffer sink, long byteCount) argument [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
H A D | ExceptionCatchingInputStream.java | 83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument 86 read = wrapped.read(buffer, byteOffset, byteCount); 100 public long skip(long byteCount) throws IOException { argument 103 skipped = wrapped.skip(byteCount);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | ByteString.java | 71 * Returns a new byte string containing a copy of {@code byteCount} bytes of {@code data} starting 74 public static ByteString of(byte[] data, int offset, int byteCount) { argument 76 checkOffsetAndCount(data.length, offset, byteCount); 78 byte[] copy = new byte[byteCount]; 79 System.arraycopy(data, offset, copy, 0, byteCount); 181 public static ByteString read(InputStream in, int byteCount) throws IOException { argument 183 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 185 byte[] result = new byte[byteCount]; 309 rangeEquals(int offset, ByteString other, int otherOffset, int byteCount) argument 318 rangeEquals(int offset, byte[] other, int otherOffset, int byteCount) argument [all...] |
H A D | InflaterSource.java | 56 Buffer sink, long byteCount) throws IOException { 57 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 59 if (byteCount == 0) return 0; 55 read( Buffer sink, long byteCount) argument
|
H A D | DeflaterSink.java | 58 @Override public void write(Buffer source, long byteCount) argument 60 checkOffsetAndCount(source.size, 0, byteCount); 61 while (byteCount > 0) { 64 int toDeflate = (int) Math.min(byteCount, head.limit - head.pos); 78 byteCount -= toDeflate;
|
H A D | Okio.java | 70 @Override public void write(Buffer source, long byteCount) throws IOException { 71 checkOffsetAndCount(source.size, 0, byteCount); 72 while (byteCount > 0) { 75 int toCopy = (int) Math.min(byteCount, head.limit - head.pos); 79 byteCount -= toCopy; 129 @Override public long read(Buffer sink, long byteCount) throws IOException { 130 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 131 if (byteCount [all...] |
H A D | BufferedSink.java | 39 * Like {@link OutputStream#write(byte[], int, int)}, this writes {@code byteCount} 42 BufferedSink write(byte[] source, int offset, int byteCount) throws IOException; argument 50 /** Removes {@code byteCount} bytes from {@code source} and appends them to this sink. */ 51 BufferedSink write(Source source, long byteCount) throws IOException; argument
|
H A D | AsyncTimeout.java | 151 @Override public void write(Buffer source, long byteCount) throws IOException { 155 sink.write(source, byteCount); 207 @Override public long read(Buffer sink, long byteCount) throws IOException { 211 long result = source.read(sink, byteCount);
|
/external/okhttp/okio/okio/src/test/java/okio/ |
H A D | MockSink.java | 50 @Override public void write(Buffer source, long byteCount) throws IOException { argument 51 log.add("write(" + source + ", " + byteCount + ")"); 52 source.skip(byteCount);
|
H A D | SocketTimeoutTest.java | 123 private static void writeFully(OutputStream out, int byteCount) throws IOException { argument 124 out.write(new byte[byteCount]); 128 private static byte[] readFully(InputStream in, int byteCount) throws IOException { argument 130 byte[] result = new byte[byteCount]; 131 while (count < byteCount) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
H A D | FramedStream.java | 337 @Override public long read(Buffer sink, long byteCount) argument 339 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 348 read = readBuffer.read(sink, Math.min(byteCount, readBuffer.size())); 384 void receive(BufferedSource in, long byteCount) throws IOException { argument 387 while (byteCount > 0) { 392 flowControlError = byteCount + readBuffer.size() > maxByteCount; 397 in.skip(byteCount); 404 in.skip(byteCount); 487 write(Buffer source, long byteCount) argument [all...] |
H A D | NameValueBlockReader.java | 55 @Override public long read(Buffer sink, long byteCount) throws IOException { 57 long read = super.read(sink, Math.min(byteCount, compressedLimit));
|
/external/skia/include/views/ |
H A D | SkEvent.h | 145 const void* findData(const char name[], size_t* byteCount = NULL) const { 146 return fMeta.findData(name, byteCount); 158 bool hasData(const char name[], const void* data, size_t byteCount) const { 159 return fMeta.hasData(name, data, byteCount); 175 void setData(const char name[], const void* data, size_t byteCount) { argument 176 fMeta.setData(name, data, byteCount);
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
H A D | ARDStatsBuilder.m | 190 NSInteger byteCount = value.integerValue; 191 [_connRecvBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; 194 NSInteger byteCount = value.integerValue; 195 [_connSendBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; 220 NSInteger byteCount = value.integerValue; 221 [_audioSendBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; 248 NSInteger byteCount = value.integerValue; 249 [_videoSendBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; 272 NSInteger byteCount = value.integerValue; 273 [_audioRecvBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | RequestBody.java | 83 final int offset, final int byteCount) { 85 Util.checkOffsetAndCount(content.length, offset, byteCount); 92 return byteCount; 96 sink.write(content, offset, byteCount); 82 create(final MediaType contentType, final byte[] content, final int offset, final int byteCount) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
H A D | X9FieldElement.java | 59 int byteCount = converter.getByteLength(f); 60 byte[] paddedBigInteger = converter.integerToBytes(f.toBigInteger(), byteCount);
|
/external/llvm/lib/Fuzzer/ |
H A D | FuzzerSHA1.cpp | 54 uint32_t byteCount; member in struct:__anon12701::sha1nfo 88 s->byteCount = 0; 148 ++s->byteCount; 167 sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8 168 sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as 169 sha1_addUncounted(s, s->byteCount >> 13); // byte. 170 sha1_addUncounted(s, s->byteCount >> 5); 171 sha1_addUncounted(s, s->byteCount << 3);
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
H A D | WebSocketWriterTest.java | 138 long byteCount = payload.completeSegmentByteCount(); 141 sink.write(payload.clone(), byteCount); 158 long byteCount = payload.completeSegmentByteCount(); 161 sink.write(payload.clone(), byteCount); 163 assertData(String.format("%016X", byteCount)); 164 assertData(payload.readByteArray(byteCount)); 324 int byteCount = 16; 325 for (int i = 0; i < data.length; i += byteCount) { 326 int count = Math.min(byteCount, data.length - i);
|
/external/vogar/src/vogar/ |
H A D | Md5Cache.java | 62 int byteCount; 63 while ((byteCount = in.read(bytes)) > 0) { 64 digester.update(bytes, 0, byteCount);
|
/external/skia/include/core/ |
H A D | SkMetaData.h | 58 const void* findData(const char name[], size_t* byteCount = NULL) const; 81 bool hasData(const char name[], const void* data, size_t byteCount) const { 84 return ptr && len == byteCount && !memcmp(ptr, data, len); 94 void setData(const char name[], const void* data, size_t byteCount);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
H A D | FaultyFileSystem.java | 85 @Override public void write(Buffer source, long byteCount) throws IOException { argument 87 super.write(source, byteCount);
|