Home
last modified time | relevance | path

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

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsFraming.java28 private static final int FRAME_LENGTH_HEADER_SIZE = 4; field in AltsFraming
39 return FRAME_LENGTH_HEADER_SIZE; in getFrameLengthHeaderSize()
51 return FRAME_LENGTH_HEADER_SIZE + FRAME_MESSAGE_TYPE_HEADER_SIZE; in getFramingOverhead()
132 int result = FRAME_LENGTH_HEADER_SIZE + FRAME_MESSAGE_TYPE_HEADER_SIZE; in getFramePrefixLength()
175 int dataLength = frameLength - FRAME_LENGTH_HEADER_SIZE; in flush()
274 while (buffer.position() < FRAME_LENGTH_HEADER_SIZE && input.hasRemaining()) { in readBytes()
280 if (buffer.position() == FRAME_LENGTH_HEADER_SIZE && input.hasRemaining()) { in readBytes()
289 int frameLength = dataLength + FRAME_LENGTH_HEADER_SIZE; in readBytes()
311 int result = FRAME_LENGTH_HEADER_SIZE + FRAME_MESSAGE_TYPE_HEADER_SIZE; in getFramePrefixLength()