Home
last modified time | relevance | path

Searched refs:rsp_buf (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/http/example/
A Dhttp_example.c18 static char rsp_buf[RSP_BUF_SIZE]; variable
36 memset(rsp_buf, 0, sizeof(rsp_buf)); in http_comp_example()
37 client_data.response_buf = rsp_buf; in http_comp_example()
38 client_data.response_buf_len = sizeof(rsp_buf); in http_comp_example()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsdp.c849 if (sad->rsp_buf) { in select_attrs()
948 sad.rsp_buf = rsp_buf; in create_attr_list()
1072 struct net_buf *rsp_buf; in sdp_svc_att_req() local
1133 rsp_buf = bt_sdp_create_pdu(); in sdp_svc_att_req()
1144 net_buf_add_u8(rsp_buf, 0); in sdp_svc_att_req()
1151 net_buf_add_u8(rsp_buf, 1); in sdp_svc_att_req()
1154 net_buf_add_u8(rsp_buf, 0); in sdp_svc_att_req()
1258 rsp_buf_cpy = rsp_buf; in sdp_svc_search_att_req()
1279 net_buf_add_u8(rsp_buf, 2); in sdp_svc_search_att_req()
1300 net_buf_add_u8(rsp_buf, 0); in sdp_svc_search_att_req()
[all …]
A Dl2cap_br.c398 struct net_buf *rsp_buf; in l2cap_br_info_req() local
407 rsp_buf = bt_l2cap_create_pdu(&br_sig_pool, 0); in l2cap_br_info_req()
412 hdr_info = net_buf_add(rsp_buf, sizeof(*hdr_info)); in l2cap_br_info_req()
416 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in l2cap_br_info_req()
422 net_buf_add_le32(rsp_buf, L2CAP_FEAT_FIXED_CHAN_MASK); in l2cap_br_info_req()
429 (void)memset(net_buf_add(rsp_buf, 8), 0, 8); in l2cap_br_info_req()
441 bt_l2cap_send(conn, BT_L2CAP_CID_BR_SIG, rsp_buf); in l2cap_br_info_req()
A Dsmp.c1285 struct net_buf *rsp_buf; in smp_br_pairing_req() local
1311 if (!rsp_buf) { in smp_br_pairing_req()
1324 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in smp_br_pairing_req()
1336 smp_br_send(smp, rsp_buf, NULL); in smp_br_pairing_req()
1909 struct net_buf *rsp_buf; in smp_send_pairing_random() local
1912 if (!rsp_buf) { in smp_send_pairing_random()
1916 req = net_buf_add(rsp_buf, sizeof(*req)); in smp_send_pairing_random()
1919 smp_send(smp, rsp_buf, NULL, NULL); in smp_send_pairing_random()
2177 struct net_buf *rsp_buf; in send_pairing_rsp() local
2180 if (!rsp_buf) { in send_pairing_rsp()
[all …]
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_mgr.c107 char rsp_buf[2048]; in task_http_download_func() local
112 memset(rsp_buf, 0, sizeof(rsp_buf)); in task_http_download_func()
113 client_data.response_buf = rsp_buf; in task_http_download_func()
114 client_data.response_buf_len = sizeof(rsp_buf); in task_http_download_func()
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dhttputility.c153 char rsp_buf[HTTP_BUFF_SIZE]; variable
173 memset(rsp_buf, 0, sizeof(rsp_buf)); in task_http_download_func()
174 client_data.response_buf = rsp_buf; in task_http_download_func()
175 client_data.response_buf_len = sizeof(rsp_buf); in task_http_download_func()
226 memset(rsp_buf, 0, HTTP_BUFF_SIZE); in task_http_request_func()
227 client_data.response_buf = rsp_buf; in task_http_request_func()
228 client_data.response_buf_len = sizeof(rsp_buf); in task_http_request_func()
A Dmodhttp.c178 static char rsp_buf[HTTP_BUFF_SIZE]; variable
204 memset(rsp_buf, 0, sizeof(rsp_buf)); in task_http_download_func()
205 client_data.response_buf = rsp_buf; in task_http_download_func()
206 client_data.response_buf_len = sizeof(rsp_buf); in task_http_download_func()
291 memset(rsp_buf, 0, HTTP_BUFF_SIZE); in task_http_request_func()
292 client_data.response_buf = rsp_buf; in task_http_request_func()
293 client_data.response_buf_len = sizeof(rsp_buf); in task_http_request_func()
A Dhttpclient.c22 static char rsp_buf[RSP_BUF_SIZE]; variable
95 memset(rsp_buf, 0, sizeof(rsp_buf)); in http_client_new()
96 http_client_obj->client_data.response_buf = rsp_buf; in http_client_new()
97 http_client_obj->client_data.response_buf_len = sizeof(rsp_buf); in http_client_new()
595 memset(rsp_buf, 0, sizeof(rsp_buf)); in task_http_download_func()
596 client_data.response_buf = rsp_buf; in task_http_download_func()
597 client_data.response_buf_len = sizeof(rsp_buf); in task_http_download_func()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/http/
A Dmodule_http.c160 char rsp_buf[HTTP_BUFF_SIZE]; variable
178 memset(rsp_buf, 0, sizeof(rsp_buf)); in task_http_download_func()
179 client_data.response_buf = rsp_buf; in task_http_download_func()
180 client_data.response_buf_len = sizeof(rsp_buf); in task_http_download_func()
226 memset(rsp_buf, 0, HTTP_BUFF_SIZE); in task_http_request_func()
227 client_data.response_buf = rsp_buf; in task_http_request_func()
228 client_data.response_buf_len = sizeof(rsp_buf); in task_http_request_func()
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c173 static uint8_t *rsp_buf = NULL; variable
192 rsp_buf = (uint8_t *)aos_malloc(RSP_BUF_SIZE); in on_fs_upload()
194 if (rsp_buf != NULL && req_buf != NULL) { in on_fs_upload()
199 memset(rsp_buf, 0, sizeof(rsp_buf)); in on_fs_upload()
200 client_data.response_buf = rsp_buf; in on_fs_upload()
201 client_data.response_buf_len = sizeof(rsp_buf); in on_fs_upload()
238 aos_free(rsp_buf); in on_fs_upload()
239 rsp_buf = NULL; in on_fs_upload()
/AliOS-Things-master/components/uvoice/application/alicloudtts/
A Dalicloudtts.c178 char *rsp_buf = malloc(2048); in http_download() local
191 memset(rsp_buf, 0, 2048); in http_download()
192 client_data.response_buf = rsp_buf; in http_download()
213 free(rsp_buf); in http_download()

Completed in 26 milliseconds