Lines Matching defs:body
31 int body = -1;
43 if (body < 0) {
47 body = n + 1;
48 statusCode = parseHeader(input, body, mHeaders);
49 expected = calculateLength(body, mHeaders);
63 mBody = ByteBuffer.wrap(input, body, expected - body);
66 private static int parseHeader(byte[] input, int body, Map<String, String> headers)
68 String headerText = new String(input, 0, body - BODY_SEPARATOR_LENGTH,
101 private static int calculateLength(int body, Map<String, String> headers) throws IOException {
107 return body + Integer.parseInt(contentLength);