Home
last modified time | relevance | path

Searched refs:resp_data (Results 1 – 6 of 6) sorted by relevance

/external/qemu/android/protocol/
Dcore-commands-proxy.c95 _coreCmdProxy_get_response(UICmdRespHeader* resp, void** resp_data) in _coreCmdProxy_get_response() argument
105 *resp_data = malloc(resp->resp_data_size); in _coreCmdProxy_get_response()
106 if (*resp_data == NULL) { in _coreCmdProxy_get_response()
109 status = syncsocket_read(_coreCmdProxy.sync_reader, *resp_data, in _coreCmdProxy_get_response()
170 UICmdGetNetSpeedResp* resp_data = NULL; in corecmd_get_netspeed() local
181 status = _coreCmdProxy_get_response(&resp, (void**)&resp_data); in corecmd_get_netspeed()
197 ret->upload = resp_data->upload; in corecmd_get_netspeed()
198 ret->download = resp_data->download; in corecmd_get_netspeed()
200 strcpy((char*)ret->name, resp_data->name); in corecmd_get_netspeed()
202 strcpy((char*)ret->display, resp_data->name + strlen(resp_data->name) + 1); in corecmd_get_netspeed()
[all …]
Dcore-commands-impl.c130 _coreCmdImpl_respond(CoreCmdImpl* corecmd, UICmdRespHeader* resp, void* resp_data) in _coreCmdImpl_respond() argument
139 if (status > 0 && resp_data != NULL && resp->resp_data_size != 0) { in _coreCmdImpl_respond()
140 status = syncsocket_write(corecmd->sync_writer, resp_data, in _coreCmdImpl_respond()
207 UICmdGetNetSpeedResp* resp_data = NULL; in _coreCmdImpl_handle_command() local
229 resp_data = in _coreCmdImpl_handle_command()
231 resp_data->upload = netspeed->upload; in _coreCmdImpl_handle_command()
232 resp_data->download = netspeed->download; in _coreCmdImpl_handle_command()
233 strcpy(resp_data->name, netspeed->name); in _coreCmdImpl_handle_command()
235 strcpy(resp_data->name + strlen(resp_data->name) + 1, in _coreCmdImpl_handle_command()
238 strcpy(resp_data->name + strlen(resp_data->name) + 1, ""); in _coreCmdImpl_handle_command()
[all …]
/external/chromium/net/http/
Dhttp_transaction_unittest.cc230 std::string resp_data = t->data; in Start() local
232 (t->handler)(request, &resp_status, &resp_headers, &resp_data); in Start()
250 data_ = resp_data; in Start()
Dhttp_network_transaction_unittest.cc2045 scoped_ptr<spdy::SpdyFrame> resp_data(ConstructSpdyGetSynReply(NULL, 0, 3)); in TEST_F() local
2050 CreateMockRead(*resp_data, 5), in TEST_F()
/external/libnfc-nxp/src/
DphDnldNfc.c2596 phDnldNfc_sData_Hdr_t *resp_data = in phDnldNfc_Process_Response() local
2606 ((uint16_t)resp_data->frame_length[0] << BYTE_SIZE)| in phDnldNfc_Process_Response()
2607 resp_data->frame_length[1]; in phDnldNfc_Process_Response()
2654 phDnldNfc_sData_Hdr_t *resp_data = NULL; in phDnldNfc_Receive_Complete() local
2708 resp_data = (phDnldNfc_sData_Hdr_t *) pdata; in phDnldNfc_Receive_Complete()
2710 switch(resp_data->frame_type) in phDnldNfc_Receive_Complete()
2715 ((uint16_t)resp_data->frame_length[0] << BYTE_SIZE)| in phDnldNfc_Receive_Complete()
2716 resp_data->frame_length[1]; in phDnldNfc_Receive_Complete()
2850 resp_data->frame_type); in phDnldNfc_Receive_Complete()
2863 resp_data->frame_type); in phDnldNfc_Receive_Complete()
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc4897 scoped_ptr<spdy::SpdyFrame> resp_data(ConstructSpdyGetSynReply(NULL, 0, 3)); in TEST_P() local
4902 CreateMockRead(*resp_data, 5), in TEST_P()