Searched refs:bodyLength (Results 1 – 5 of 5) sorted by relevance
391 int bodyLength = -1; in sendReply() local395 bodyLength = mPrivateOutput.size(); in sendReply()396 orginalBodyLength = bodyLength; in sendReply()428 if (bodyLength > 0) { in sendReply()467 if (bodyLength > 0) { in sendReply()473 if (bodyLength > (mMaxPacketLength - headerArray.length - 6)) { in sendReply()474 bodyLength = mMaxPacketLength - headerArray.length - 6; in sendReply()477 byte[] body = mPrivateOutput.readBytes(bodyLength); in sendReply()487 bodyLength += 3; in sendReply()488 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 …]
122 int bodyLength = getEnvelopeBodyLength(scAddressLength, tpduLength); in handleDataDownload() local126 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); in handleDataDownload()133 if (bodyLength > 127) { in handleDataDownload()136 envelope[index++] = (byte) bodyLength; in handleDataDownload()
466 int bodyLength = mBody.length(); in testPostWithData() local467 if (bodyLength > 0) { in testPostWithData()473 … "http://localhost:8080/test1", "POST", null, testEventHandler, bodyProvider, bodyLength); in testPostWithData()
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()