Home
last modified time | relevance | path

Searched refs:readSlice (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiFrameProtectorTest.java231 ByteBuf in1 = in.readSlice(AltsTsiFrameProtector.getHeaderBytes() - 1); in parserHeader_frameOkFragment()
232 ByteBuf in2 = in.readSlice(1); in parserHeader_frameOkFragment()
255 ByteBuf in1 = in.readSlice(AltsTsiFrameProtector.getHeaderBytes() - 1); in parseHeader_frameFailFragment()
256 ByteBuf in2 = in.readSlice(1); in parseHeader_frameFailFragment()
331 List<ByteBuf> framePlain1 = Collections.singletonList(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesNoFragment()
380 List<ByteBuf> framePlain1 = Collections.singletonList(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesNoFragment_Leftover()
448 List<ByteBuf> framePlain1 = Collections.singletonList(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesFragmentSecond()
464 protectedBuf.readSlice( in parseFrame_twoFramesFragmentSecond()
473 assertThat(out1).isEqualTo(plain.readSlice(payloadBytes1)); in parseFrame_twoFramesFragmentSecond()
DFakeChannelCrypter.java65 ByteBuf ciphertext = ciphertextAndTag.readSlice(ciphertextAndTag.readableBytes() - TAG_BYTES); in decrypt()
DTsiTest.java146 buf = protect.readSlice(size); in sendMessage()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiFrameProtector.java173 framePlain.add(in.readSlice(unprotectedBytesLeft)); in handleUnprotected()
288 firstFrameCiphertext.add(buf.readSlice(requiredCiphertextBytes)); in handlePayload()
327 ciphertextsAndTags.add(lastBuf.readSlice(payloadSize + suffixBytes)); in handlePayload()
/external/perfetto/ui/src/query/
Dindex.ts38 function readSlice( function
252 readSlice(this.file!, start, end, (source, end, buffer) => {