Home
last modified time | relevance | path

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

/AliOS-Things-master/components/amp/services/app_mgr/
A Dapp_mgr.c448 amp_warn(MOD_STR, "http_buffer = %p", http_buffer); in apppack_download()
453 amp_free(http_buffer); in apppack_download()
464 amp_free(http_buffer); in apppack_download()
473 nbytes = strlen(http_buffer); in apppack_download()
475 amp_warn(MOD_STR, "send %s", http_buffer); in apppack_download()
498 memset(http_buffer, 0, OTA_BUFFER_MAX_SIZE); in apppack_download()
525 pos = strstr(http_buffer, "\r\n\r\n"); in apppack_download()
531 int len = pos - http_buffer; in apppack_download()
550 func((uint8_t *)http_buffer, nbytes); in apppack_download()
557 memset(http_buffer, 0, OTA_BUFFER_MAX_SIZE); in apppack_download()
[all …]
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dhttputility.c295 char *http_buffer = NULL; in native_http_download() local
309 http_param->buffer = http_buffer; in native_http_download()
347 if (http_buffer) in native_http_download()
348 aos_free(http_buffer); in native_http_download()
361 char *http_buffer = NULL; in native_http_request() local
389 http_buffer = aos_malloc(HTTP_BUFF_SIZE + 1); in native_http_request()
390 if (!http_buffer) { in native_http_request()
394 memset(http_buffer, 0, HTTP_BUFF_SIZE + 1); in native_http_request()
395 http_param->buffer = http_buffer; in native_http_request()
523 if (http_buffer) in native_http_request()
[all …]
A Dmodhttp.c403 char *http_buffer = NULL; in http_download() local
417 http_buffer = aos_malloc(32 + 1); in http_download()
418 if (!http_buffer) { in http_download()
422 memset(http_buffer, 0, 32 + 1); in http_download()
423 http_param->rec_data_buffer = http_buffer; in http_download()
457 if (http_buffer) { in http_download()
458 aos_free(http_buffer); in http_download()
477 char *http_buffer = NULL; in http_request() local
502 if (!http_buffer) { in http_request()
603 if (http_buffer) { in http_request()
[all …]
A Dhttpclient.c649 char *http_buffer = NULL; in obj_http_download() local
673 http_param->buffer = http_buffer; in obj_http_download()
682 if (http_buffer) in obj_http_download()
683 aos_free(http_buffer); in obj_http_download()
698 char *http_buffer = NULL; in obj_http_request() local
721 http_param->buffer = http_buffer; in obj_http_request()
730 if (http_buffer) in obj_http_request()
731 aos_free(http_buffer); in obj_http_request()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/http/
A Dmodule_http.c284 char *http_buffer = NULL; in native_http_download() local
300 http_param->buffer = http_buffer; in native_http_download()
337 if (http_buffer) in native_http_download()
338 aos_free(http_buffer); in native_http_download()
353 char *http_buffer = NULL; in native_http_request() local
384 http_buffer = aos_malloc(HTTP_BUFF_SIZE + 1); in native_http_request()
385 if (!http_buffer) in native_http_request()
390 memset(http_buffer, 0, HTTP_BUFF_SIZE + 1); in native_http_request()
391 http_param->buffer = http_buffer; in native_http_request()
517 if (http_buffer) in native_http_request()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/
A Dmodule_http.c386 char *http_buffer = NULL; in native_http_get_param() local

Completed in 20 milliseconds