Lines Matching refs:rsp
244 MsgHeader rsp; in onRequestComplete() local
245 rsp.token = request->curr->token; in onRequestComplete()
246 rsp.type = MsgType_RESPONSE; in onRequestComplete()
247 rsp.id = request->curr->id; in onRequestComplete()
248 rsp.error = (Error)e; in onRequestComplete()
249 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); in onRequestComplete()
250 if (!rsp.payload) { in onRequestComplete()
254 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete()
255 rsp.payload->size = response_len; in onRequestComplete()
257 rsp.payload->size = 0; in onRequestComplete()
263 sap::processResponse(&rsp, this); in onRequestComplete()
264 free(rsp.payload); in onRequestComplete()
287 MsgHeader rsp; in onUnsolicitedResponse() local
288 rsp.payload = payload; in onUnsolicitedResponse()
289 rsp.type = MsgType_UNSOL_RESPONSE; in onUnsolicitedResponse()
290 rsp.id = (MsgId)unsolResponse; in onUnsolicitedResponse()
291 rsp.error = Error_RIL_E_SUCCESS; in onUnsolicitedResponse()
292 sap::processUnsolResponse(&rsp, this); in onUnsolicitedResponse()