Lines Matching full:malloc
273 conn_item = malloc(sizeof(conn_item_t)); in esp_hh_cb()
275 ESP_LOGE(TAG, "conn_item malloc failed!"); in esp_hh_cb()
336 …(esp_hid_raw_report_map_t *)malloc(dev->config.report_maps_len * sizeof(esp_hid_raw_report_map_t)); in esp_hh_cb()
339 ESP_LOGE(TAG, "malloc report maps failed"); in esp_hh_cb()
344 dev->config.report_maps[0].data = (uint8_t *)malloc(param->dscp.dl_len); in esp_hh_cb()
346 ESP_LOGE(TAG, "Malloc Report Map Failed"); in esp_hh_cb()
366 report = (esp_hidh_dev_report_t *)malloc(sizeof(esp_hidh_dev_report_t)); in esp_hh_cb()
368 ESP_LOGE(TAG, "Malloc Report Failed"); in esp_hh_cb()
517 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) != NULL) { in esp_hh_cb()
540 ESP_LOGE(TAG, "GET_RPT ERROR: malloc event data failed!"); in esp_hh_cb()
559 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) != NULL) { in esp_hh_cb()
574 ESP_LOGE(TAG, "GET_IDLE ERROR: malloc event data failed!"); in esp_hh_cb()
614 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) != NULL) { in esp_hh_cb()
630 ESP_LOGE(TAG, "GET_PROTO ERROR: malloc event data failed!"); in esp_hh_cb()
704 if ((p_param = (esp_hidh_event_data_t *)malloc(event_data_size)) == NULL) { in esp_hh_cb()
706 ESP_LOGE(TAG, "DATA_IND ERROR: malloc event data failed!"); in esp_hh_cb()
796 if ((p_data = malloc(len + 1)) == NULL) { in esp_bt_hidh_dev_report_write()
797 ESP_LOGE(TAG, "%s malloc failed!", __func__); in esp_bt_hidh_dev_report_write()
838 if ((p_data = malloc(len + 1)) == NULL) { in esp_bt_hidh_dev_set_report()
839 ESP_LOGE(TAG, "%s malloc failed!", __func__); in esp_bt_hidh_dev_set_report()