Home
last modified time | relevance | path

Searched refs:bytesConsumed (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DMockAltsHandshakerResp.java85 static HandshakerResp getOkResponse(int bytesConsumed) { in getOkResponse() argument
88 resp.setBytesConsumed(bytesConsumed); in getOkResponse()
94 static HandshakerResp getEmptyOutFrameResponse(int bytesConsumed) { in getEmptyOutFrameResponse() argument
96 resp.setBytesConsumed(bytesConsumed); in getEmptyOutFrameResponse()
102 static HandshakerResp getFinishedResponse(int bytesConsumed) { in getFinishedResponse() argument
112 resp.setBytesConsumed(bytesConsumed); in getFinishedResponse()
DAltsTsiTest.java171 int bytesConsumed = 0; in send() local
182 bytesConsumed = req.getServerStart().getInBytes().size(); in send()
191 return MockAltsHandshakerResp.getOkResponse(bytesConsumed); in send()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java809 int bytesConsumed = 0;
823 bytesConsumed += written;
873 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
883 bytesConsumed, bytesProduced);
908 return new SSLEngineResult(OK, NEED_WRAP, bytesConsumed, bytesProduced);
915 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
935 bytesConsumed, bytesProduced);
938 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
1241 private SSLEngineResult readPendingBytesFromBIO(ByteBuffer dst, int bytesConsumed,
1253 bytesConsumed, bytesProduced);
[all …]
DConscryptEngineSocket.java612 len -= engineResult.bytesConsumed();
/external/skia/modules/skshaper/src/
DSkShaper_primitive.cpp172 size_t bytesConsumed = linebreak(utf8text, utf8text + textBytes, font, width, in shape() local
174 size_t bytesVisible = bytesConsumed - bytesCollapsed; in shape()
203 glyphOffset += SkUTF::CountUTF8(utf8text, bytesConsumed); in shape()
204 utf8Offset += bytesConsumed; in shape()
205 utf8text += bytesConsumed; in shape()
206 textBytes -= bytesConsumed; in shape()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java810 int bytesConsumed = 0;
824 bytesConsumed += written;
874 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
884 bytesConsumed, bytesProduced);
909 return new SSLEngineResult(OK, NEED_WRAP, bytesConsumed, bytesProduced);
916 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
936 bytesConsumed, bytesProduced);
939 return newResult(bytesConsumed, bytesProduced, handshakeStatus);
1242 private SSLEngineResult readPendingBytesFromBIO(ByteBuffer dst, int bytesConsumed,
1254 bytesConsumed, bytesProduced);
[all …]
DConscryptEngineSocket.java620 len -= engineResult.bytesConsumed();
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGzipInflatingBuffer.java76 bytesConsumed += 1; in readUnsignedByte()
109 bytesConsumed += length; in skipBytes()
179 private int bytesConsumed = 0; field in GzipInflatingBuffer
232 int savedBytesConsumed = bytesConsumed; in getAndResetBytesConsumed()
233 bytesConsumed = 0; in getAndResetBytesConsumed()
420 bytesConsumed += bytesConsumedDelta; in inflate()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DEngineWrapBenchmark.java154 if (result.bytesConsumed() != src.limit()) { in verifyResult()
158 src.limit(), result.bytesConsumed())); in verifyResult()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DEngineWrapBenchmark.java152 if (result.bytesConsumed() != src.limit()) { in verifyResult()
156 src.limit(), result.bytesConsumed())); in verifyResult()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java198 … assertEquals(input.position() - inputPositionBefore, unwrapResult.bytesConsumed()); in handshakeCompleted()
213 assertEquals(0, wrapResult.bytesConsumed()); in handshakeCompleted()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java203 … assertEquals(input.position() - inputPositionBefore, unwrapResult.bytesConsumed()); in handshakeCompleted()
218 assertEquals(0, wrapResult.bytesConsumed()); in handshakeCompleted()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java470 assertEquals(0, clientResult.bytesConsumed()); in doEngineHandshake()
471 assertEquals(0, serverResult.bytesConsumed()); in doEngineHandshake()
500 assertEquals(serverPacketBuffer.position() - sTOcPos, clientResult.bytesConsumed()); in doEngineHandshake()
501 assertEquals(clientPacketBuffer.position() - cTOsPos, serverResult.bytesConsumed()); in doEngineHandshake()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DTestUtils.java472 assertEquals(0, clientResult.bytesConsumed()); in doEngineHandshake()
473 assertEquals(0, serverResult.bytesConsumed()); in doEngineHandshake()
502 assertEquals(serverPacketBuffer.position() - sTOcPos, clientResult.bytesConsumed()); in doEngineHandshake()
503 assertEquals(clientPacketBuffer.position() - cTOsPos, serverResult.bytesConsumed()); in doEngineHandshake()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java106 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly()
153 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit()
482 assertEquals(0, res.bytesConsumed()); in test_SSLEngine_Closed()
DSSLEngineTest.java310 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly()
357 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java104 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly()
151 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit()
480 assertEquals(0, res.bytesConsumed()); in test_SSLEngine_Closed()
DSSLEngineTest.java306 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectly()
353 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); in assertSendsCorrectlyWhenSplit()
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py812 bytesConsumed = tripletIndex
813 self.glyphStream = self.glyphStream[bytesConsumed:]
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...