Searched refs:toWrite (Results 1 – 8 of 8) sorted by relevance
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | MemoryDeferredOutputStream.java | 56 int toWrite = Math.min(remaining, (length - written)); in write() local 57 System.arraycopy(bytes, offset + written, currentBuffer, currentPosition, toWrite); in write() 58 written += toWrite; in write() 59 currentPosition += toWrite; in write()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/ |
D | CharCache.java | 34 int toWrite = chars.length < available ? chars.length : available; in append() 35 System.arraycopy(chars, 0, cache, pos, toWrite); in append() 36 pos += toWrite; in append()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/write/ |
D | BitstreamWriter.java | 57 int toWrite = (curByte[0] << 7) | (curByte[1] << 6) | (curByte[2] << 5) in writeCurByte() local 60 os.write(toWrite); in writeCurByte()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedStream.java | 500 long toWrite; in emitDataFrame() local 512 toWrite = Math.min(bytesLeftInWriteWindow, sendBuffer.size()); in emitDataFrame() 513 bytesLeftInWriteWindow -= toWrite; in emitDataFrame() 518 connection.writeData(id, outFinished && toWrite == sendBuffer.size(), sendBuffer, toWrite); in emitDataFrame()
|
D | FramedConnection.java | 314 int toWrite; in writeData() local 329 toWrite = (int) Math.min(byteCount, bytesLeftInWriteWindow); in writeData() 330 toWrite = Math.min(toWrite, frameWriter.maxDataLength()); in writeData() 331 bytesLeftInWriteWindow -= toWrite; in writeData() 334 byteCount -= toWrite; in writeData() 335 frameWriter.data(outFinished && byteCount == 0, streamId, buffer, toWrite); in writeData()
|
/external/brotli/java/org/brotli/dec/ |
D | Decode.java | 576 int toWrite = Math.min(state.outputLength - state.outputUsed, in writeRingBuffer() local 578 if (toWrite != 0) { in writeRingBuffer() 580 state.outputOffset + state.outputUsed, toWrite); in writeRingBuffer() 581 state.outputUsed += toWrite; in writeRingBuffer() 582 state.bytesWritten += toWrite; in writeRingBuffer()
|
/external/boringssl/src/ssl/test/runner/ |
D | handshake_client.go | 386 toWrite := make([]byte, 0, len(helloBytes)+1) 387 toWrite = append(toWrite, helloBytes...) 388 toWrite = append(toWrite, typeFinished) 389 c.writeRecord(recordTypeHandshake, toWrite)
|
D | handshake_server.go | 753 toWrite := make([]byte, 0, len(helloBytes)+1) 754 toWrite = append(toWrite, helloBytes...) 755 toWrite = append(toWrite, typeEncryptedExtensions) 756 c.writeRecord(recordTypeHandshake, toWrite)
|