Searched refs:osi_calloc (Results 1 – 25 of 41) sorted by relevance
12
64 (tBTA_HH_API_ENABLE*)osi_calloc(sizeof(tBTA_HH_API_ENABLE)); in BTA_HhEnable()107 BT_HDR* p_buf = (BT_HDR*)osi_calloc(sizeof(BT_HDR)); in BTA_HhClose()128 (tBTA_HH_API_CONN*)osi_calloc(sizeof(tBTA_HH_API_CONN)); in BTA_HhOpen()148 (tBTA_HH_CMD_DATA*)osi_calloc(sizeof(tBTA_HH_CMD_DATA)); in bta_hh_snd_write_dev()305 BT_HDR* p_buf = (BT_HDR*)osi_calloc(sizeof(BT_HDR)); in BTA_HhGetDscpInfo()329 tBTA_HH_MAINT_DEV* p_buf = (tBTA_HH_MAINT_DEV*)osi_calloc(len); in BTA_HhAddDev()365 (tBTA_HH_MAINT_DEV*)osi_calloc(sizeof(tBTA_HH_MAINT_DEV)); in BTA_HhRemoveDev()
42 uid_set_t* set = (uid_set_t*)osi_calloc(sizeof(uid_set_t)); in uid_set_create()67 node = (uid_set_node_t*)osi_calloc(sizeof(uid_set_node_t)); in uid_set_find_or_create_node()105 (bt_uid_traffic_t*)osi_calloc(sizeof(bt_uid_traffic_t) * (len + 1)); in uid_set_read_and_clear()
406 app_info.p_name = (char*)osi_calloc(BTIF_HD_APP_NAME_LEN); in register_app()408 app_info.p_description = (char*)osi_calloc(BTIF_HD_APP_DESCRIPTION_LEN); in register_app()411 app_info.p_provider = (char*)osi_calloc(BTIF_HD_APP_PROVIDER_LEN); in register_app()
236 tBTA_GATTC_API_SEARCH* p_buf = (tBTA_GATTC_API_SEARCH*)osi_calloc(len); in BTA_GATTC_ServiceSearchRequest()360 (tBTA_GATTC_API_READ*)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadCharacteristic()381 (tBTA_GATTC_API_READ*)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadUsingCharUuid()412 (tBTA_GATTC_API_READ*)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadCharDescr()440 (tBTA_GATTC_API_READ_MULTI*)osi_calloc(sizeof(tBTA_GATTC_API_READ_MULTI)); in BTA_GATTC_ReadMultiple()473 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_WriteCharValue()510 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_WriteCharDescr()548 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_PrepareWrite()585 (tBTA_GATTC_API_EXEC*)osi_calloc(sizeof(tBTA_GATTC_API_EXEC)); in BTA_GATTC_ExecuteWrite()608 (tBTA_GATTC_API_CONFIRM*)osi_calloc(sizeof(tBTA_GATTC_API_CONFIRM)); in BTA_GATTC_SendIndConfirm()
238 (tBTA_GATTS_API_INDICATION*)osi_calloc(sizeof(tBTA_GATTS_API_INDICATION)); in BTA_GATTS_HandleValueIndication()269 tBTA_GATTS_API_RSP* p_buf = (tBTA_GATTS_API_RSP*)osi_calloc(len); in BTA_GATTS_SendRsp()
39 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new()55 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new_immediate()
65 void* osi_calloc(size_t size) { in osi_calloc() function82 const allocator_t allocator_calloc = {osi_calloc, osi_free};
40 static_cast<buffer_t*>(osi_calloc(sizeof(buffer_t) + size)); in buffer_new()59 buffer_t* ret = static_cast<buffer_t*>(osi_calloc(sizeof(buffer_t))); in buffer_new_slice()
52 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()124 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_accept()
35 static_cast<ringbuffer_t*>(osi_calloc(sizeof(ringbuffer_t))); in ringbuffer_init()37 p->base = static_cast<uint8_t*>(osi_calloc(size)); in ringbuffer_init()
46 osi_calloc(sizeof(array_t) + element_size * INTERNAL_ELEMENTS)); in array_new()
70 reactor_t* ret = (reactor_t*)osi_calloc(sizeof(reactor_t)); in reactor_new()144 (reactor_object_t*)osi_calloc(sizeof(reactor_object_t)); in reactor_register()
71 thread_t* ret = static_cast<thread_t*>(osi_calloc(sizeof(thread_t))); in thread_new_sized()
47 static_cast<fixed_queue_t*>(osi_calloc(sizeof(fixed_queue_t))); in fixed_queue_new()
35 static_cast<bt_property_t*>(osi_calloc(sizeof(bt_property_t) * count)); in property_copy_array()39 clone[i].val = osi_calloc(clone[i].len); in property_copy_array()220 static_cast<bt_property_t*>(osi_calloc(sizeof(bt_property_t))); in property_new_()222 property->val = osi_calloc(len + 1); in property_new_()
41 void* osi_calloc(size_t size);
57 static_cast<BT_HDR*>(osi_calloc(sizeof(BT_HDR) + packet_length)); in AllocatePacket()
46 ptr = osi_calloc(size); in callArbitraryFunction()
114 BT_HDR* response = static_cast<BT_HDR*>(osi_calloc(data.size() + kBtHdrSize)); in OnTransmitPacketCommandComplete()125 BT_HDR* response = static_cast<BT_HDR*>(osi_calloc(data.size() + kBtHdrSize)); in OnTransmitPacketStatus()
659 tAVRC_APP_SETTING* app_sett = (tAVRC_APP_SETTING*)osi_calloc( in avrc_ctrl_pars_vendor_rsp()684 p_result->get_app_attr_txt.p_attrs = (tAVRC_APP_SETTING_TEXT*)osi_calloc( in avrc_ctrl_pars_vendor_rsp()710 uint8_t* p_str = (uint8_t*)osi_calloc( in avrc_ctrl_pars_vendor_rsp()737 p_result->get_app_val_txt.p_attrs = (tAVRC_APP_SETTING_TEXT*)osi_calloc( in avrc_ctrl_pars_vendor_rsp()762 uint8_t* p_str = (uint8_t*)osi_calloc( in avrc_ctrl_pars_vendor_rsp()789 (tAVRC_ATTR_ENTRY*)osi_calloc(num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_ctrl_pars_vendor_rsp()814 (uint8_t*)osi_calloc(p_attrs[i].name.str_len); in avrc_ctrl_pars_vendor_rsp()
130 (tBTA_DM_API_SEARCH*)osi_calloc(sizeof(tBTA_DM_API_SEARCH)); in BTA_DmSearch()172 (tBTA_DM_API_DISCOVER*)osi_calloc(sizeof(tBTA_DM_API_DISCOVER)); in BTA_DmDiscover()565 tBTA_DM_API_DISCOVER* p_msg = (tBTA_DM_API_DISCOVER*)osi_calloc(len); in bta_dm_discover_send_msg()
101 (tBTA_PAN_API_SET_ROLE*)osi_calloc(sizeof(tBTA_PAN_API_SET_ROLE)); in BTA_PanSetRole()
139 p_buf = (BT_HDR*)osi_calloc(len); in process_read_multi_rsp()416 tGATTS_RSP* p_msg = (tGATTS_RSP*)osi_calloc(sizeof(tGATTS_RSP)); in gatt_process_read_multi_req()654 BT_HDR* p_msg = (BT_HDR*)osi_calloc(msg_len); in gatts_process_primary_service_req()688 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_find_info()816 BT_HDR* p_msg = (BT_HDR*)osi_calloc(msg_len); in gatts_process_read_by_type_req()967 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_read_req()
87 osi_calloc(sizeof(interop_addr_entry_t))); in interop_database_add()
137 client_t* client = (client_t*)osi_calloc(sizeof(client_t)); in accept_ready()