Lines Matching refs:content
43 …uint8_t *content = bootstrap_handle->sysdep->core_sysdep_malloc(bootstrap_handle->response.content… in _bootstrap_http_recv_handler() local
46 if (content == NULL) { in _bootstrap_http_recv_handler()
49 memset(content, 0, bootstrap_handle->response.content_len + packet->data.body.len + 1); in _bootstrap_http_recv_handler()
50 if (content != NULL) { in _bootstrap_http_recv_handler()
51 … memcpy(content, bootstrap_handle->response.content, bootstrap_handle->response.content_len); in _bootstrap_http_recv_handler()
52 bootstrap_handle->sysdep->core_sysdep_free(bootstrap_handle->response.content); in _bootstrap_http_recv_handler()
54 …memcpy(content + bootstrap_handle->response.content_len, packet->data.body.buffer, packet->data.bo… in _bootstrap_http_recv_handler()
55 bootstrap_handle->response.content = content; in _bootstrap_http_recv_handler()
77 …if (((res = core_json_value((char *)bootstrap_handle->response.content, bootstrap_handle->response… in _bootstrap_connection_info()
79 …((res = core_json_value((char *)bootstrap_handle->response.content, bootstrap_handle->response.con… in _bootstrap_connection_info()
97 …if ((res = core_json_value((char *)bootstrap_handle->response.content, bootstrap_handle->response.… in _bootstrap_connection_info()
127 request.content = NULL; in _bootstrap_send_get_request()
142 char *content = NULL; in _bootstrap_send_post_request() local
148 …res = core_sprintf(bootstrap_handle->sysdep, &content, content_fmt, content_src, sizeof(content_sr… in _bootstrap_send_post_request()
157 request.content = (uint8_t *)content; in _bootstrap_send_post_request()
158 request.content_len = (uint32_t)strlen(content); in _bootstrap_send_post_request()
161 bootstrap_handle->sysdep->core_sysdep_free(content); in _bootstrap_send_post_request()
493 if (bootstrap_handle->response.content != NULL) { in aiot_bootstrap_deinit()
494 sysdep->core_sysdep_free(bootstrap_handle->response.content); in aiot_bootstrap_deinit()
559 if (bootstrap_handle->response.content != NULL) { in aiot_bootstrap_send_request()
560 bootstrap_handle->sysdep->core_sysdep_free(bootstrap_handle->response.content); in aiot_bootstrap_send_request()
665 if (bootstrap_handle->response.content != NULL) { in aiot_bootstrap_recv()
666 bootstrap_handle->sysdep->core_sysdep_free(bootstrap_handle->response.content); in aiot_bootstrap_recv()