Lines Matching refs:BodyLength
317 if (HttpMsg->Body == NULL || HttpMsg->BodyLength == 0) { in EfiHttpRequest()
890 UINTN BodyLength; in HttpBodyParserCallback() local
903 BodyLength = Wrap->HttpToken->Message->BodyLength; in HttpBodyParserCallback()
904 if (Data < Body + BodyLength) { in HttpBodyParserCallback()
1190 if ((HttpMsg->Body == NULL) || (HttpMsg->BodyLength == 0)) { in HttpResponseWorker()
1221 if (HttpMsg->BodyLength < BodyLen) { in HttpResponseWorker()
1222 … CopyMem (HttpMsg->Body, HttpInstance->CacheBody + HttpInstance->CacheOffset, HttpMsg->BodyLength); in HttpResponseWorker()
1223 HttpInstance->CacheOffset = HttpInstance->CacheOffset + HttpMsg->BodyLength; in HttpResponseWorker()
1230 HttpMsg->BodyLength = BodyLen; in HttpResponseWorker()
1253 HttpMsg->BodyLength = 0; in HttpResponseWorker()
1328 …HttpMsg->BodyLength = MIN ((UINTN) (HttpInstance->NextMsg - (CHAR8 *) Fragment.Bulk), HttpMsg->Bod… in HttpResponseWorker()
1329 CopyMem (HttpMsg->Body, Fragment.Bulk, HttpMsg->BodyLength); in HttpResponseWorker()
1331 HttpInstance->CacheLen = Fragment.Len - HttpMsg->BodyLength; in HttpResponseWorker()
1343 … CopyMem (HttpInstance->CacheBody, Fragment.Bulk + HttpMsg->BodyLength, HttpInstance->CacheLen); in HttpResponseWorker()
1346 …nce->CacheBody + (UINTN) (HttpInstance->NextMsg - (CHAR8 *) (Fragment.Bulk + HttpMsg->BodyLength)); in HttpResponseWorker()
1349 HttpMsg->BodyLength = MIN (Fragment.Len, (UINT32) HttpMsg->BodyLength); in HttpResponseWorker()
1350 CopyMem (HttpMsg->Body, Fragment.Bulk, HttpMsg->BodyLength); in HttpResponseWorker()
1351 HttpInstance->CacheLen = Fragment.Len - HttpMsg->BodyLength; in HttpResponseWorker()
1363 … CopyMem (HttpInstance->CacheBody, Fragment.Bulk + HttpMsg->BodyLength, HttpInstance->CacheLen); in HttpResponseWorker()