Home
last modified time | relevance | path

Searched refs:osi_calloc (Results 1 – 25 of 34) sorted by relevance

12

/hal_espressif-latest/components/bt/common/osi/include/osi/
Dallocator.h61 #define osi_calloc(size) \ macro
83 #define osi_calloc(size) \
110 #define osi_calloc(size) osi_calloc_func((size)) macro
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_act.c499 char *buf = osi_calloc(BTA_HF_CLIENT_RFC_READ_MAX); in bta_hf_client_rfc_data()
612 if ((evt = osi_calloc(sizeof(tBTA_HF_CLIENT_OPERATOR_NAME))) != NULL) { in bta_hf_client_operator_name()
638 if ((evt = osi_calloc(sizeof(tBTA_HF_CLIENT_NUMBER))) != NULL) { in bta_hf_client_clip()
663 if ((evt = osi_calloc(sizeof(tBTA_HF_CLIENT_NUMBER))) != NULL) { in bta_hf_client_ccwa()
711 if ((evt = osi_calloc(sizeof(tBTA_HF_CLIENT_CLCC))) != NULL) { in bta_hf_client_clcc()
744 if ((evt = osi_calloc(sizeof(tBTA_HF_CLIENT_CNUM))) != NULL) { in bta_hf_client_cnum()
771 if ((evt = osi_calloc(sizeof(tBTA_HF_CLIENT_NUMBER))) != NULL) { in bta_hf_client_binp()
Dbta_hf_client_sco.c553 p_buf = osi_calloc(sizeof(BT_HDR) + pkt_offset + p_scb->out_pkt_len); in bta_hf_client_sco_event()
/hal_espressif-latest/components/bt/common/osi/
Dfuture.c28 future_t *ret = osi_calloc(sizeof(future_t)); in future_new()
48 future_t *ret = osi_calloc(sizeof(future_t)); in future_new_immediate()
Dconfig.c55 config_t *config = osi_calloc(sizeof(config_t)); in config_new_empty()
364 char *keyname = osi_calloc(keyname_bufsz); in get_config_size_from_flash()
412 char *line = osi_calloc(1024); in config_save()
414 char *keyname = osi_calloc(keyname_bufsz); in config_save()
416 char *buf = osi_calloc(config_size); in config_save()
566 char *line = osi_calloc(1024); in config_parse()
567 char *section = osi_calloc(1024); in config_parse()
569 char *keyname = osi_calloc(keyname_bufsz); in config_parse()
576 buf = osi_calloc(buf_size); in config_parse()
667 section_t *section = osi_calloc(sizeof(section_t)); in section_new()
[all …]
Dlist.c25 list_t *list = (list_t *) osi_calloc(sizeof(list_t)); in list_new_internal()
118 list_node_t *node = (list_node_t *)osi_calloc(sizeof(list_node_t)); in list_insert_after()
137 list_node_t *node = (list_node_t *)osi_calloc(sizeof(list_node_t)); in list_prepend()
156 list_node_t *node = (list_node_t *)osi_calloc(sizeof(list_node_t)); in list_append()
Dhash_map.c59 hash_map_t *hash_map = osi_calloc(sizeof(hash_map_t)); in hash_map_new_internal()
70 hash_map->bucket = osi_calloc(sizeof(hash_map_bucket_t) * num_bucket); in hash_map_new_internal()
151 hash_map_entry = osi_calloc(sizeof(hash_map_entry_t)); in hash_map_set()
Dthread.c217 osi_thread_t *thread = (osi_thread_t *)osi_calloc(sizeof(osi_thread_t)); in osi_thread_create()
223 …thread->work_queues = (struct work_queue **)osi_calloc(sizeof(struct work_queue *) * work_queue_nu… in osi_thread_create()
380 struct osi_event *event = osi_calloc(sizeof(struct osi_event)); in osi_event_create()
Dbuffer.c59 buffer_t *ret = osi_calloc(sizeof(buffer_t)); in buffer_new_slice()
Dfixed_pkt_queue.c23 fixed_pkt_queue_t *ret = osi_calloc(sizeof(fixed_pkt_queue_t)); in fixed_pkt_queue_new()
Dallocator.c204 char *new_string = (char *)osi_calloc(size); in osi_strdup()
Dfixed_queue.c40 fixed_queue_t *ret = osi_calloc(sizeof(fixed_queue_t)); in fixed_queue_new()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hf_client/
Dbta_hf_client_co.c191 bta_hf_client_co_cb_ptr = osi_calloc(sizeof(bta_hf_client_co_cb_t)); in bta_hf_client_sco_co_open()
198 bta_hf_ct_plc_ptr = (bta_hf_ct_plc_t *)osi_calloc(sizeof(bta_hf_ct_plc_t)); in bta_hf_client_sco_co_open()
/hal_espressif-latest/components/bt/host/bluedroid/hci/
Dhci_hal_h4.c110 …hci_hal_env.adv_fc_cmd_buf = osi_calloc(HCI_CMD_LINKED_BUF_SIZE(HCIC_PARAM_SIZE_BLE_UPDATE_ADV_FLO… in hci_hal_env_init()
576 pkt = (BT_HDR *) osi_calloc(pkt_size); in host_recv_pkt_cb()
596 linked_pkt = (pkt_linked_item_t *) osi_calloc(pkt_size); in host_recv_pkt_cb()
Dpacket_fragmenter.c173 partial_packet = (BT_HDR *)osi_calloc(full_length + sizeof(BT_HDR)); in reassemble_and_dispatch()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hf_ag/
Dbta_ag_co.c408 bta_ag_co_cb_ptr = osi_calloc(sizeof(bta_ag_co_cb_t)); in bta_ag_sco_co_open()
414 bta_hf_ct_plc_ptr = (bta_hf_ct_plc_t *)osi_calloc(sizeof(bta_hf_ct_plc_t)); in bta_ag_sco_co_open()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c191 if ((p_buf = (BT_HDR *)osi_calloc(len)) == NULL) { in process_read_multi_rsp()
312 if ((p_buf = (BT_HDR *)osi_calloc(len)) == NULL) { in process_read_multi_var_rsp()
943 if ((p_msg = (BT_HDR *)osi_calloc(msg_len)) == NULL) { in gatts_process_primary_service_req()
997 if ((p_msg = (BT_HDR *)osi_calloc(buf_len)) == NULL) { in gatts_process_find_info()
1140 if ((p_msg = (BT_HDR *)osi_calloc(msg_len)) == NULL) { in gatts_process_read_by_type_req()
1478 if ((p_msg = (BT_HDR *)osi_calloc(buf_len)) == NULL) { in gatts_process_read_req()
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_config.c241 char *str = (char *)osi_calloc(length * 2 + 1); in btc_config_set_bin()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_av.c1041 av_dest->meta_msg.p_data = osi_calloc(av_src->meta_msg.len); in btc_av_event_deep_copy()
1047 av_dest->meta_msg.p_msg = osi_calloc(sizeof(tAVRC_MSG)); in btc_av_event_deep_copy()
1053 av_dest->meta_msg.p_msg->vendor.p_vendor_data = osi_calloc( in btc_av_event_deep_copy()
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2cap_client.c99 l2cap_client_t *ret = (l2cap_client_t *)osi_calloc(sizeof(l2cap_client_t)); in l2cap_client_new()
/hal_espressif-latest/components/bt/host/bluedroid/device/
Dcontroller.c593 … controller_param_ptr = (controller_local_param_t *)osi_calloc(sizeof(controller_local_param_t)); in controller_get_interface()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_bgconn.c78 connection = osi_calloc(sizeof(background_connection_t)); in background_connection_add()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/
Dbtu_hcif.c1215 BT_HDR *event = osi_calloc(sizeof(BT_HDR) + sizeof(command_complete_hack_t)); in btu_hcif_command_complete_evt()
1459 BT_HDR *event = osi_calloc(sizeof(BT_HDR) + sizeof(command_status_hack_t)); in btu_hcif_command_status_evt()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dhcimsgs.h58 pkt_linked_item_t *linked_pkt = osi_calloc(HCI_CMD_LINKED_BUF_SIZE(param_len)); in hci_get_cmd_buf()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c689 dst->wifi_conn_report.extra_info = osi_calloc(sizeof(esp_blufi_extra_info_t)); in btc_blufi_call_deep_copy()

12