Home
last modified time | relevance | path

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

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java39 private static final int HEADER_LENGTH = 10; field in PKCS1Encoding
169 return baseBlockSize - HEADER_LENGTH; in getInputBlockSize()
187 return baseBlockSize - HEADER_LENGTH; in getOutputBlockSize()
404 if (badType | start < HEADER_LENGTH) in decodeBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java37 private static final int HEADER_LENGTH = 10; field in PKCS1Encoding
167 return baseBlockSize - HEADER_LENGTH; in getInputBlockSize()
185 return baseBlockSize - HEADER_LENGTH; in getOutputBlockSize()
402 if (badType | start < HEADER_LENGTH) in decodeBlock()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java131 private static final int HEADER_LENGTH = 5; field in OkHttpClientTransportTest
549 .data(eq(false), eq(3), captor.capture(), eq(12 + HEADER_LENGTH)); in writeMessage()
693 eq(false), eq(3), any(Buffer.class), eq(messageLength + HEADER_LENGTH)); in outboundFlowControl()
701 Utils.DEFAULT_WINDOW_SIZE - messageLength - HEADER_LENGTH; in outboundFlowControl()
710 eq(messageLength + HEADER_LENGTH - partiallySentSize)); in outboundFlowControl()
725 setInitialWindowSize(HEADER_LENGTH + 10); in outboundFlowControlWithInitialWindowSizeChange()
731 .data(eq(false), eq(3), any(Buffer.class), eq(HEADER_LENGTH + 10)); in outboundFlowControlWithInitialWindowSizeChange()
733 frameHandler().windowUpdate(0, HEADER_LENGTH + 10); in outboundFlowControlWithInitialWindowSizeChange()
736 setInitialWindowSize(HEADER_LENGTH + 20); in outboundFlowControlWithInitialWindowSizeChange()
743 setInitialWindowSize(HEADER_LENGTH); in outboundFlowControlWithInitialWindowSizeChange()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DMessageFramer.java67 private static final int HEADER_LENGTH = 5; field in MessageFramer
78 private final byte[] headerScratch = new byte[HEADER_LENGTH];
240 WritableBuffer writeableHeader = bufferAllocator.allocate(HEADER_LENGTH); in writeBufferChain()
DMessageDeframer.java43 private static final int HEADER_LENGTH = 5; field in MessageDeframer
97 private int requiredLength = HEADER_LENGTH;
412 requiredLength = HEADER_LENGTH; in processBody()