Searched refs:bodyLength (Results 1 – 6 of 6) sorted by relevance
401 int bodyLength = -1; in sendReply() local405 bodyLength = mPrivateOutput.size(); in sendReply()406 orginalBodyLength = bodyLength; in sendReply()438 if (bodyLength > 0) { in sendReply()477 if (bodyLength > 0) { in sendReply()483 if (bodyLength > (mMaxPacketLength - headerArray.length - 6)) { in sendReply()484 bodyLength = mMaxPacketLength - headerArray.length - 6; in sendReply()487 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendReply()497 bodyLength += 3; in sendReply()498 out.write((byte)(bodyLength >> 8)); in sendReply()[all …]
444 int bodyLength = -1; in sendRequest() local447 bodyLength = mPrivateOutput.size(); in sendRequest()503 if (bodyLength > 0) { in sendRequest()517 if (bodyLength > 0) { in sendRequest()523 if (bodyLength > (mMaxPacketSize - headerArray.length - 6)) { in sendRequest()526 bodyLength = mMaxPacketSize - headerArray.length - 6; in sendRequest()529 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendRequest()544 bodyLength += 3; in sendRequest()545 out.write((byte)(bodyLength >> 8)); in sendRequest()546 out.write((byte)bodyLength); in sendRequest()[all …]
126 int bodyLength = getEnvelopeBodyLength(scAddressLength, tpduLength); in handleDataDownload() local130 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); in handleDataDownload()137 if (bodyLength > 127) { in handleDataDownload()140 envelope[index++] = (byte) bodyLength; in handleDataDownload()
465 int bodyLength = mBody.length(); in testPostWithData() local466 if (bodyLength > 0) { in testPostWithData()472 … "http://localhost:8080/test1", "POST", null, testEventHandler, bodyProvider, bodyLength); in testPostWithData()
122 const size_t bodyLength = header & 0b11111; in parseCea861Block() local124 const size_t dataBlockSize = bodyLength + kDataBlockHeaderSize; in parseCea861Block()153 dataBlockOffset += bodyLength + kDataBlockHeaderSize; in parseCea861Block()
368 size_t bodyLength = MIN(static_cast<size_t>(len), in nativeSendCecCommand() local370 message.body.resize(bodyLength); in nativeSendCecCommand()371 for (size_t i = 0; i < bodyLength; ++i) { in nativeSendCecCommand()