Searched refs:contentSize (Results 1 – 2 of 2) sorted by relevance
259 final int contentSize = buffer.getInt(); in handleMessage() local260 if (contentSize == 0) { in handleMessage()263 final int end = buffer.position() + contentSize; in handleMessage()293 int contentSize = -1; in loop() local316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { in loop()317 contentSize = buffer.getInt(4); in loop()318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { in loop()319 mLogger.logError("Encountered invalid content size: " + contentSize); in loop()322 length += contentSize; in loop()336 contentSize = -1; in loop()[all …]
5721 final int contentSize = (int) info.size; in readPaxExtendedHeader() local5726 while (eol < contentSize && data[eol] != ' ') eol++; in readPaxExtendedHeader()5727 if (eol >= contentSize) { in readPaxExtendedHeader()5755 } while (offset < contentSize); in readPaxExtendedHeader()7011 final int contentSize = (int) info.size; in readPaxExtendedHeader() local7016 while (eol < contentSize && data[eol] != ' ') eol++; in readPaxExtendedHeader()7017 if (eol >= contentSize) { in readPaxExtendedHeader()7045 } while (offset < contentSize); in readPaxExtendedHeader()