Home
last modified time | relevance | path

Searched refs:response_buf (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/py_engine/modules/network/http/
A Dmodhttp.c205 client_data.response_buf = rsp_buf; in task_http_download_func()
224 num = aos_write(fd, client_data.response_buf, in task_http_download_func()
292 client_data.response_buf = rsp_buf; in task_http_request_func()
311 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
312 strcpy(http_param->rec_data_buffer, client_data.response_buf); in task_http_request_func()
320 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
321 strcpy(http_param->rec_data_buffer, client_data.response_buf); in task_http_request_func()
335 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
350 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
365 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
[all …]
A Dhttputility.c174 client_data.response_buf = rsp_buf; in task_http_download_func()
191 num = aos_write(fd, client_data.response_buf, in task_http_download_func()
227 client_data.response_buf = rsp_buf; in task_http_request_func()
244 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
245 strcpy(param->buffer, client_data.response_buf); in task_http_request_func()
263 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
264 strcpy(param->buffer, client_data.response_buf); in task_http_request_func()
274 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
275 strcpy(param->buffer, client_data.response_buf); in task_http_request_func()
281 client_data.response_buf, client_data.response_buf_len); in task_http_request_func()
[all …]
A Dhttpclient.c96 http_client_obj->client_data.response_buf = rsp_buf; in http_client_new()
564 return mp_obj_new_str(http_client_obj->client_data.response_buf, in obj_http_get_response()
565 strlen(http_client_obj->client_data.response_buf)); in obj_http_get_response()
596 client_data.response_buf = rsp_buf; in task_http_download_func()
611 num = aos_write(fd, client_data.response_buf, in task_http_download_func()
737 return mp_obj_new_str(http_client_obj->client_data.response_buf, in obj_http_request()
738 strlen(http_client_obj->client_data.response_buf)); in obj_http_request()
760 return mp_obj_new_str(http_client_obj->client_data.response_buf, in obj_HTTPConnection()
761 strlen(http_client_obj->client_data.response_buf)); in obj_HTTPConnection()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/http/
A Dmodule_http.c179 client_data.response_buf = rsp_buf; in task_http_download_func()
192 num = aos_write(fd, client_data.response_buf, client_data.content_block_len); in task_http_download_func()
227 client_data.response_buf = rsp_buf; in task_http_request_func()
242 …amp_info(MOD_STR,"GET Data received: %s, len=%d \r\n", client_data.response_buf, client_data.respo… in task_http_request_func()
243 strcpy(param->buffer,client_data.response_buf); in task_http_request_func()
254 …amp_info(MOD_STR,"POST Data received: %s, len=%d \r\n", client_data.response_buf, client_data.resp… in task_http_request_func()
255 strcpy(param->buffer,client_data.response_buf); in task_http_request_func()
263 …amp_info(MOD_STR,"Data received: %s, len=%d \r\n", client_data.response_buf, client_data.response_… in task_http_request_func()
264 strcpy(param->buffer,client_data.response_buf); in task_http_request_func()
269 …amp_info(MOD_STR,"Data received: %s, len=%d \r\n", client_data.response_buf, client_data.response_… in task_http_request_func()
[all …]
/AliOS-Things-master/components/http/src/
A Dhttp_client.c416 client_data->response_buf[count] = '\0'; in httpclient_retrieve_content()
522 client_data->response_buf[count] = '\0'; in httpclient_retrieve_content()
850 client_data->response_buf[0] = '\0'; in httpclient_recv()
953 if(client_data->response_buf){ in httpclient_prepare()
954 free(client_data->response_buf); in httpclient_prepare()
955 client_data->response_buf = NULL; in httpclient_prepare()
976 char *response_buf = client_data->response_buf; in httpclient_reset() local
983 client_data->response_buf = response_buf; in httpclient_reset()
1003 if(client_data->response_buf){ in httpclient_unprepare()
1004 free(client_data->response_buf); in httpclient_unprepare()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/
A Dmodule_http.c176 client_data.response_buf = amp_calloc(HTTP_BUFF_SIZE, 1); in http_download_func()
198 memset(client_data.response_buf, 0, HTTP_BUFF_SIZE); in http_download_func()
206 num = aos_write(fd, client_data.response_buf, client_data.content_block_len); in http_download_func()
233 if (client_data.response_buf) { in http_download_func()
234 amp_free(client_data.response_buf); in http_download_func()
282 client_data.response_buf = amp_calloc(HTTP_BUFF_SIZE, 1); in task_http_request_func()
309 strcpy(param->buffer, client_data.response_buf); in task_http_request_func()
328 strcpy(param->buffer, client_data.response_buf); in task_http_request_func()
345 strcpy(param->buffer, client_data.response_buf); in task_http_request_func()
373 if (client_data.response_buf) { in task_http_request_func()
[all …]
/AliOS-Things-master/components/http/example/
A Dhttp_example.c37 client_data.response_buf = rsp_buf; in http_comp_example()
45 printf("Data received: %s \r\n", client_data.response_buf); in http_comp_example()
/AliOS-Things-master/components/linkkit/infra/
A Dinfra_httpc.c282 memcpy(client_data->response_buf + count, data, in _utils_fill_rx_buf()
285 client_data->response_buf[count] = '\0'; in _utils_fill_rx_buf()
290 memcpy(client_data->response_buf + count, data, in _utils_fill_rx_buf()
292 client_data->response_buf[client_data->response_buf_len - 1] = '\0'; in _utils_fill_rx_buf()
531 client_data->response_buf[0] = '\0'; in httpclient_recv_response()
617 if ((NULL != client_data->response_buf) && in httpclient_common()
786 http_handle->http_client_data.response_buf = response_payload; in wrapper_http_perform()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_mgr.c113 client_data.response_buf = rsp_buf; in task_http_download_func()
127 num = aos_write(fd, client_data.response_buf, client_data.content_block_len); in task_http_download_func()
/AliOS-Things-master/components/ota/ota_agent/download/
A Dota_download_http.c80 client_data->response_buf = (char *)dl_buf; in ota_httpc_settings_init()
288 content = (char *)client_data.response_buf; in ota_download_image_header()
445 ret = ota_write(&offset, client_data.response_buf, client_data.content_block_len); in ota_download_start()
A Dota_download_file2fs_http.c129 ret = ota_fwrite(fd, client_data.response_buf, client_data.content_block_len); in ota_download_store_fs_start()
/AliOS-Things-master/components/linkkit/include/linkkit/infra/
A Dinfra_httpc.h91 char *response_buf; /**< Buffer to store the response data. */ member
/AliOS-Things-master/components/ucloud_ai/src/
A Ducloud_ai_common.c121 *stream = ai_client_data.response_buf; in ucloud_ai_get_stream()
/AliOS-Things-master/components/http/include/
A Dhttpclient.h83 char *response_buf; /**< buffer to store the response body data. */ member
/AliOS-Things-master/components/ucamera/src/device/wifi/
A Dwifi_camera.c102 dev->stream_buf = wifi_camera_client_data.response_buf; in wifi_camera_get_frame()
/AliOS-Things-master/components/uvoice/application/alicloudtts/
A Dalicloudtts.c192 client_data.response_buf = rsp_buf; in http_download()
205 … num = recv_cb->recv_data(client_data.response_buf, client_data.content_block_len, idx++); in http_download()
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c200 client_data.response_buf = rsp_buf; in on_fs_upload()

Completed in 25 milliseconds