Lines Matching refs:HttpMsg
234 EFI_HTTP_MESSAGE *HttpMsg; in EfiHttpRequest() local
270 HttpMsg = Token->Message; in EfiHttpRequest()
271 if (HttpMsg == NULL) { in EfiHttpRequest()
275 Request = HttpMsg->Data.Request; in EfiHttpRequest()
317 if (HttpMsg->Body == NULL || HttpMsg->BodyLength == 0) { in EfiHttpRequest()
592 Status = HttpGenRequestMessage (HttpMsg, FileUrl, &RequestMsg, &RequestMsgSize); in EfiHttpRequest()
936 EFI_HTTP_MESSAGE *HttpMsg; in HttpResponseWorker() local
959 HttpMsg = Token->Message; in HttpResponseWorker()
963 HttpMsg->Headers = NULL; in HttpResponseWorker()
972 if (HttpMsg->Data.Response != NULL) { in HttpResponseWorker()
1091 HttpMsg->Data.Response->StatusCode = HttpMappingToStatusCode (StatusCode); in HttpResponseWorker()
1144 &HttpMsg->Headers, in HttpResponseWorker()
1145 &HttpMsg->HeaderCount in HttpResponseWorker()
1160 HttpMsg->Data.Response->StatusCode, in HttpResponseWorker()
1161 HttpMsg->HeaderCount, in HttpResponseWorker()
1162 HttpMsg->Headers, in HttpResponseWorker()
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()
1228 CopyMem (HttpMsg->Body, HttpInstance->CacheBody + HttpInstance->CacheOffset, BodyLen); in HttpResponseWorker()
1230 HttpMsg->BodyLength = BodyLen; in HttpResponseWorker()
1253 HttpMsg->BodyLength = 0; in HttpResponseWorker()
1265 Status = HttpTcpReceiveBody (Wrap, HttpMsg); 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()
1422 if (HttpMsg->Headers != NULL) { in HttpResponseWorker()
1423 FreePool (HttpMsg->Headers); in HttpResponseWorker()
1424 HttpMsg->Headers = NULL; in HttpResponseWorker()
1500 EFI_HTTP_MESSAGE *HttpMsg; in EfiHttpResponse() local
1508 HttpMsg = Token->Message; in EfiHttpResponse()
1509 if (HttpMsg == NULL) { in EfiHttpResponse()