Lines Matching refs:BodyLen
836 UINTN BodyLen; in HttpResponseWorker() local
909 BodyLen = BufferSize - (EndofHeader - HttpHeaders); in HttpResponseWorker()
910 if (BodyLen > 0) { in HttpResponseWorker()
915 HttpInstance->CacheBody = AllocateZeroPool (BodyLen); in HttpResponseWorker()
921 CopyMem (HttpInstance->CacheBody, EndofHeader, BodyLen); in HttpResponseWorker()
922 HttpInstance->CacheLen = BodyLen; in HttpResponseWorker()
1038 BodyLen = 0; in HttpResponseWorker()
1051 BodyLen = HttpInstance->NextMsg - (HttpInstance->CacheBody + HttpInstance->CacheOffset); in HttpResponseWorker()
1053 BodyLen = HttpInstance->CacheLen - HttpInstance->CacheOffset; in HttpResponseWorker()
1056 if (BodyLen > 0) { in HttpResponseWorker()
1060 if (HttpMsg->BodyLength < BodyLen) { in HttpResponseWorker()
1067 CopyMem (HttpMsg->Body, HttpInstance->CacheBody + HttpInstance->CacheOffset, BodyLen); in HttpResponseWorker()
1068 HttpInstance->CacheOffset = BodyLen + HttpInstance->CacheOffset; in HttpResponseWorker()
1069 HttpMsg->BodyLength = BodyLen; in HttpResponseWorker()
1088 if (BodyLen == 0 && HttpInstance->MsgParser == NULL) { in HttpResponseWorker()