Home
last modified time | relevance | path

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

12

/system/bt/bta/dm/
Dbta_dm_api.c210 (tBTA_DM_API_SEARCH *)osi_calloc(sizeof(tBTA_DM_API_SEARCH)); in BTA_DmSearch()
254 (tBTA_DM_API_DISCOVER *)osi_calloc(sizeof(tBTA_DM_API_DISCOVER)); in BTA_DmDiscover()
453 (tBTA_DM_API_ADD_DEVICE *)osi_calloc(sizeof(tBTA_DM_API_ADD_DEVICE)); in BTA_DmAddDevice()
494 (tBTA_DM_API_REMOVE_DEVICE *)osi_calloc(sizeof(tBTA_DM_API_REMOVE_DEVICE)); in BTA_DmRemoveDevice()
646 (tBTA_DM_API_ADD_BLEKEY *)osi_calloc(sizeof(tBTA_DM_API_ADD_BLEKEY)); in BTA_DmAddBleKey()
676 (tBTA_DM_API_ADD_BLE_DEVICE *)osi_calloc(sizeof(tBTA_DM_API_ADD_BLE_DEVICE)); in BTA_DmAddBleDevice()
705 (tBTA_DM_API_PASSKEY_REPLY *)osi_calloc(sizeof(tBTA_DM_API_PASSKEY_REPLY)); in BTA_DmBlePasskeyReply()
734 (tBTA_DM_API_CONFIRM *)osi_calloc(sizeof(tBTA_DM_API_CONFIRM)); in BTA_DmBleConfirmReply()
760 (tBTA_DM_API_BLE_SEC_GRANT *)osi_calloc(sizeof(tBTA_DM_API_BLE_SEC_GRANT)); in BTA_DmBleSecurityGrant()
795 (tBTA_DM_API_BLE_CONN_PARAMS *)osi_calloc(sizeof(tBTA_DM_API_BLE_CONN_PARAMS)); in BTA_DmSetBlePrefConnParams()
[all …]
/system/bt/bta/hh/
Dbta_hh_api.c68 (tBTA_HH_API_ENABLE *)osi_calloc(sizeof(tBTA_HH_API_ENABLE)); in BTA_HhEnable()
114 BT_HDR *p_buf = (BT_HDR *)osi_calloc(sizeof(BT_HDR)); in BTA_HhClose()
135 (tBTA_HH_API_CONN *)osi_calloc(sizeof(tBTA_HH_API_CONN)); in BTA_HhOpen()
155 (tBTA_HH_CMD_DATA *)osi_calloc(sizeof(tBTA_HH_CMD_DATA)); in bta_hh_snd_write_dev()
309 BT_HDR *p_buf = (BT_HDR *)osi_calloc(sizeof(BT_HDR)); in BTA_HhGetDscpInfo()
333 tBTA_HH_MAINT_DEV *p_buf = (tBTA_HH_MAINT_DEV *)osi_calloc(len); in BTA_HhAddDev()
371 (tBTA_HH_MAINT_DEV *)osi_calloc(sizeof(tBTA_HH_MAINT_DEV)); in BTA_HhRemoveDev()
395 (tBTA_HH_SCPP_UPDATE *)osi_calloc(sizeof(tBTA_HH_SCPP_UPDATE)); in BTA_HhUpdateLeScanParam()
/system/bt/bta/gatt/
Dbta_gattc_api.c246 tBTA_GATTC_API_SEARCH *p_buf = (tBTA_GATTC_API_SEARCH *)osi_calloc(len); in BTA_GATTC_ServiceSearchRequest()
340 (tBTA_GATTC_API_READ *)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadCharacteristic()
366 (tBTA_GATTC_API_READ *)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadCharDescr()
394 (tBTA_GATTC_API_READ_MULTI *)osi_calloc(sizeof(tBTA_GATTC_API_READ_MULTI)); in BTA_GATTC_ReadMultiple()
430 (tBTA_GATTC_API_WRITE *)osi_calloc(sizeof(tBTA_GATTC_API_WRITE) + len); in BTA_GATTC_WriteCharValue()
473 tBTA_GATTC_API_WRITE *p_buf = (tBTA_GATTC_API_WRITE *)osi_calloc(len); in BTA_GATTC_WriteCharDescr()
511 (tBTA_GATTC_API_WRITE *)osi_calloc(sizeof(tBTA_GATTC_API_WRITE) + len); in BTA_GATTC_PrepareWrite()
545 (tBTA_GATTC_API_EXEC *)osi_calloc(sizeof(tBTA_GATTC_API_EXEC)); in BTA_GATTC_ExecuteWrite()
569 (tBTA_GATTC_API_CONFIRM *)osi_calloc(sizeof(tBTA_GATTC_API_CONFIRM)); in BTA_GATTC_SendIndConfirm()
Dbta_gatts_api.c204 (tBTA_GATTS_API_ADD_CHAR *)osi_calloc(sizeof(tBTA_GATTS_API_ADD_CHAR)); in BTA_GATTS_AddCharacteristic()
238 (tBTA_GATTS_API_ADD_DESCR *)osi_calloc(sizeof(tBTA_GATTS_API_ADD_DESCR)); in BTA_GATTS_AddCharDescriptor()
335 (tBTA_GATTS_API_INDICATION *)osi_calloc(sizeof(tBTA_GATTS_API_INDICATION)); in BTA_GATTS_HandleValueIndication()
367 tBTA_GATTS_API_RSP *p_buf = (tBTA_GATTS_API_RSP *)osi_calloc(len); in BTA_GATTS_SendRsp()
/system/bt/btif/src/
Dbtif_uid.c43 uid_set_t* set = osi_calloc(sizeof(uid_set_t)); in uid_set_create()
70 node = osi_calloc(sizeof(uid_set_node_t)); in uid_set_find_or_create_node()
112 bt_uid_traffic_t* result = osi_calloc(sizeof(bt_uid_traffic_t) * (len + 1)); in uid_set_read_and_clear()
Dbtif_gatt_multi_adv_util.c65 p_multi_adv_com_data_cb = osi_calloc(sizeof(btgatt_multi_adv_common_data)); in btif_obtain_multi_adv_data_cb()
68 osi_calloc((max_adv_inst * INST_ID_IDX_MAX) * sizeof(INT8)); in btif_obtain_multi_adv_data_cb()
71 osi_calloc((max_adv_inst + 1) * sizeof(btgatt_multi_adv_inst_cb)); in btif_obtain_multi_adv_data_cb()
/system/bt/osi/src/
Dfuture.c39 future_t *ret = osi_calloc(sizeof(future_t)); in future_new()
55 future_t *ret = osi_calloc(sizeof(future_t)); in future_new_immediate()
Dallocator.c72 void *osi_calloc(size_t size) { in osi_calloc() function
91 osi_calloc,
Dbuffer.c39 buffer_t *buffer = osi_calloc(sizeof(buffer_t) + size); in buffer_new()
58 buffer_t *ret = osi_calloc(sizeof(buffer_t)); in buffer_new_slice()
Dsocket.c52 socket_t *ret = (socket_t *)osi_calloc(sizeof(socket_t)); in socket_new()
78 socket_t *ret = (socket_t *)osi_calloc(sizeof(socket_t)); in socket_new_from_fd()
123 socket_t *ret = (socket_t *)osi_calloc(sizeof(socket_t)); in socket_accept()
Dringbuffer.c34 ringbuffer_t* p = osi_calloc(sizeof(ringbuffer_t)); in ringbuffer_init()
36 p->base = osi_calloc(size); in ringbuffer_init()
Dconfig.c66 config_t *config = osi_calloc(sizeof(config_t)); in config_new_empty()
298 char *temp_filename = osi_calloc(temp_filename_len); in config_save()
449 section_t *section = osi_calloc(sizeof(section_t)); in section_new()
477 entry_t *entry = osi_calloc(sizeof(entry_t)); in entry_new()
Ddata_dispatcher.c42 data_dispatcher_t *ret = osi_calloc(sizeof(data_dispatcher_t)); in data_dispatcher_new()
Darray.c45 array_t *array = osi_calloc(sizeof(array_t) + element_size * INTERNAL_ELEMENTS); in array_new()
Dreactor.c66 reactor_t *ret = (reactor_t *)osi_calloc(sizeof(reactor_t)); in reactor_new()
140 (reactor_object_t *)osi_calloc(sizeof(reactor_object_t)); in reactor_register()
/system/bt/btcore/src/
Dproperty.c31 bt_property_t *clone = osi_calloc(sizeof(bt_property_t) * count); in property_copy_array()
35 clone[i].val = osi_calloc(clone[i].len); in property_copy_array()
209 bt_property_t *property = osi_calloc(sizeof(bt_property_t)); in property_new_()
Duuid.c45 return osi_calloc(UUID_WELL_FORMED_STRING_LEN_WITH_NULL); in uuid_string_new()
65 bt_uuid_t *uuid = osi_calloc(sizeof(bt_uuid_t)); in uuid_new()
Dmodule.c210 callbacked_wrapper_t *wrapper = osi_calloc(sizeof(callbacked_wrapper_t)); in module_start_up_callbacked_wrapper()
/system/bt/osi/include/
Dallocator.h41 void *osi_calloc(size_t size);
/system/bt/device/src/classic/
Dpeer.c100 peer = osi_calloc(sizeof(classic_peer_t)); in classic_peer_by_address()
/system/bt/stack/gatt/
Dgatt_sr.c145 p_buf = (BT_HDR *)osi_calloc(len); in process_read_multi_rsp()
460 tGATTS_RSP *p_msg = (tGATTS_RSP *)osi_calloc(sizeof(tGATTS_RSP)); in gatt_process_read_multi_req()
763 p_msg = (BT_HDR *)osi_calloc(msg_len); in gatts_process_primary_service_req()
820 p_msg = (BT_HDR *)osi_calloc(buf_len); in gatts_process_find_info()
966 p_msg = (BT_HDR *)osi_calloc(msg_len); in gatts_process_read_by_type_req()
1141 BT_HDR *p_msg = (BT_HDR *)osi_calloc(buf_len); in gatts_process_read_req()
/system/bt/device/src/
Dinterop.c77 interop_addr_entry_t *entry = osi_calloc(sizeof(interop_addr_entry_t)); in interop_database_add()
/system/bt/stack/btm/
Dbtm_ble_multi_adv.c821 btm_multi_adv_cb.p_adv_inst = osi_calloc(sizeof(tBTM_BLE_MULTI_ADV_INST) * in btm_ble_multi_adv_init()
824 btm_multi_adv_cb.op_q.p_sub_code = osi_calloc(sizeof(UINT8) * in btm_ble_multi_adv_init()
827 btm_multi_adv_cb.op_q.p_inst_id = osi_calloc(sizeof(UINT8) * in btm_ble_multi_adv_init()
Dbtm_dev.c80 p_dev_rec = osi_calloc(sizeof(tBTM_SEC_DEV_REC)); in BTM_SecAddDevice()
251 p_dev_rec = osi_calloc(sizeof(tBTM_SEC_DEV_REC)); in btm_sec_alloc_dev()
/system/bt/hci/src/
Dhci_inject.c135 client_t *client = (client_t *)osi_calloc(sizeof(client_t)); in accept_ready()

12