Searched refs:amp_calloc (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/amp/services/amp_memmgt/ |
A D | amp_memory.h | 13 void *amp_calloc(unsigned int nitems, unsigned int size);
|
A D | amp_memory.c | 37 void *amp_calloc(unsigned int nitems, unsigned int size) in amp_calloc() function
|
/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_mgr.c | 115 priv = (gpio_params_t *)amp_calloc(1, sizeof(gpio_params_t)); in board_parse_gpio() 184 gpio_dev_t *new_gpio = amp_calloc(1, sizeof(*new_gpio)); in board_parse_gpio() 339 uart_dev_t *new_uart = amp_calloc(1, sizeof(*new_uart)); in board_parse_uart() 453 i2c_dev_t *new_i2c = amp_calloc(1, sizeof(*new_i2c)); in board_parse_i2c() 557 spi_dev_t *new_spi = amp_calloc(1, sizeof(*new_spi)); in board_parse_spi() 689 can_dev_t *new_can = amp_calloc(1, sizeof(*new_can)); in board_parse_can() 761 pwm_dev_t *new_pwm = amp_calloc(1, sizeof(*new_pwm)); in board_parse_pwm() 840 adc_dev_t *new_adc = amp_calloc(1, sizeof(*new_adc)); in board_parse_adc() 986 timer_dev_t *new_timer = amp_calloc(1, sizeof(*new_timer)); in board_parse_timer() 1199 json_data = amp_calloc(1, sizeof(char) * (len + 1)); in board_get_json_buff() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/tcp/ |
A D | module_tcp.c | 83 tcp_create_notify_param_t *p = amp_calloc(1, sizeof(tcp_create_notify_param_t)); in tcp_create_routine() 191 tcp_send_notify_param_t *p = amp_calloc(1, sizeof(tcp_send_notify_param_t)); in tcp_send_routine() 293 tcp_recv_notify_param_t *p = amp_calloc(1, sizeof(*p)); in tcp_recv_routine() 362 recv_param = (tcp_recv_param_t *)amp_calloc(1, sizeof(*recv_param)); in native_tcp_receive()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/ |
A D | module_http.c | 173 client_data.header_buf = amp_calloc(HTTP_BUFF_SIZE, 1); in http_download_func() 176 client_data.response_buf = amp_calloc(HTTP_BUFF_SIZE, 1); in http_download_func() 181 customer_header = amp_calloc(HTTP_HEADER_SIZE, 1); in http_download_func() 279 client_data.header_buf = amp_calloc(HTTP_BUFF_SIZE, 1); in task_http_request_func() 282 client_data.response_buf = amp_calloc(HTTP_BUFF_SIZE, 1); in task_http_request_func() 286 customer_header = amp_calloc(HTTP_HEADER_SIZE, 1); in task_http_request_func()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/udp/ |
A D | module_udp.c | 171 p = amp_calloc(1, sizeof(udp_send_notify_param_t)); in udp_send_routine() 354 p = amp_calloc(1, sizeof(udp_recv_notify_param_t)); in udp_recv_routine() 431 recv_param = (udp_recv_param_t *)amp_calloc(1, sizeof(*recv_param)); in native_udp_recvfrom()
|
/AliOS-Things-master/components/amp/main/ |
A D | amp_engine.c | 85 json_data = amp_calloc(1, sizeof(char) * (file_len + 1)); in search_js_app_main_entry()
|
A D | amp_task.c | 108 amp_task_msg_t *p_param = (amp_task_msg_t *)amp_calloc(1, sizeof(amp_task_msg_t)); in amp_task_timer_action()
|
Completed in 11 milliseconds