/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | WritableBufferTestBase.java | 41 protected abstract byte[] writtenBytes(); in writtenBytes() method in WritableBufferTestBase 82 byte[] writtenBytes = writtenBytes(); in testWriteSrcIndex() 83 assertEquals(5, writtenBytes.length); in testWriteSrcIndex() 84 for (int i = 0; i < writtenBytes.length; i++) { in testWriteSrcIndex() 85 assertEquals(5 + i, writtenBytes[i]); in testWriteSrcIndex() 102 assertArrayEquals(b, writtenBytes()); in testMultipleWrites()
|
D | ByteWritableBufferTest.java | 37 protected byte[] writtenBytes() { in writtenBytes() method in ByteWritableBufferTest
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLEvpCipher.java | 150 final int writtenBytes; in doFinalInternal() local 152 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, output, outputOffset); in doFinalInternal() 155 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, lastBlock, 0); in doFinalInternal() 156 if (writtenBytes > bytesLeft) { in doFinalInternal() 158 "buffer is too short: " + writtenBytes + " > " + bytesLeft); in doFinalInternal() 159 } else if (writtenBytes > 0) { in doFinalInternal() 160 System.arraycopy(lastBlock, 0, output, outputOffset, writtenBytes); in doFinalInternal() 163 outputOffset += writtenBytes; in doFinalInternal()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLEvpCipher.java | 146 final int writtenBytes; in doFinalInternal() local 148 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, output, outputOffset); in doFinalInternal() 151 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, lastBlock, 0); in doFinalInternal() 152 if (writtenBytes > bytesLeft) { in doFinalInternal() 153 … throw new ShortBufferWithoutStackTraceException("buffer is too short: " + writtenBytes + " > " in doFinalInternal() 155 } else if (writtenBytes > 0) { in doFinalInternal() 156 System.arraycopy(lastBlock, 0, output, outputOffset, writtenBytes); in doFinalInternal() 159 outputOffset += writtenBytes; in doFinalInternal()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | FileDeferredOutputStream.java | 17 private int writtenBytes; field in FileDeferredOutputStream 35 if (count != writtenBytes) { in writeTo() 46 writtenBytes++; in write() 51 writtenBytes += bytes.length; in write() 56 writtenBytes += len; in write()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | Mp4Extractor.java | 555 int writtenBytes = trackOutput.sampleData(input, sampleCurrentNalBytesRemaining, false); in readSample() local 556 sampleBytesRead += writtenBytes; in readSample() 557 sampleBytesWritten += writtenBytes; in readSample() 558 sampleCurrentNalBytesRemaining -= writtenBytes; in readSample() 571 int writtenBytes = trackOutput.sampleData(input, sampleSize - sampleBytesWritten, false); in readSample() local 572 sampleBytesRead += writtenBytes; in readSample() 573 sampleBytesWritten += writtenBytes; in readSample() 574 sampleCurrentNalBytesRemaining -= writtenBytes; in readSample()
|
D | FragmentedMp4Extractor.java | 1336 int writtenBytes; in readSample() local 1342 writtenBytes = sampleCurrentNalBytesRemaining; in readSample() 1351 writtenBytes = output.sampleData(input, sampleCurrentNalBytesRemaining, false); in readSample() 1353 sampleBytesWritten += writtenBytes; in readSample() 1354 sampleCurrentNalBytesRemaining -= writtenBytes; in readSample() 1359 int writtenBytes = output.sampleData(input, sampleSize - sampleBytesWritten, false); in readSample() local 1360 sampleBytesWritten += writtenBytes; in readSample()
|
/external/exoplayer/tree/extensions/gvr/src/main/java/com/google/android/exoplayer2/ext/gvr/ |
D | GvrAudioProcessor.java | 149 int writtenBytes = gvrAudioSurround.getOutput(buffer, 0, buffer.capacity()); in getOutput() local 150 buffer.position(0).limit(writtenBytes); in getOutput()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpWritableBufferTest.java | 45 protected byte[] writtenBytes() { in writtenBytes() method in OkHttpWritableBufferTest
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyWritableBufferTest.java | 52 protected byte[] writtenBytes() { in writtenBytes() method in NettyWritableBufferTest
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | AudioTrackPositionTracker.java | 302 public int getAvailableBufferSize(long writtenBytes) { in getAvailableBufferSize() argument 303 int bytesPending = (int) (writtenBytes - (getPlaybackHeadPosition() * outputPcmFrameSize)); in getAvailableBufferSize()
|