/system/bt/bta/hh/ |
D | bta_hh_api.cc | 60 (tBTA_HH_API_ENABLE*)osi_calloc(sizeof(tBTA_HH_API_ENABLE)); in BTA_HhEnable() 100 BT_HDR* p_buf = (BT_HDR*)osi_calloc(sizeof(BT_HDR)); in BTA_HhClose() 120 (tBTA_HH_API_CONN*)osi_calloc(sizeof(tBTA_HH_API_CONN)); in BTA_HhOpen() 140 (tBTA_HH_CMD_DATA*)osi_calloc(sizeof(tBTA_HH_CMD_DATA)); in bta_hh_snd_write_dev() 289 BT_HDR* p_buf = (BT_HDR*)osi_calloc(sizeof(BT_HDR)); in BTA_HhGetDscpInfo() 313 tBTA_HH_MAINT_DEV* p_buf = (tBTA_HH_MAINT_DEV*)osi_calloc(len); in BTA_HhAddDev() 349 (tBTA_HH_MAINT_DEV*)osi_calloc(sizeof(tBTA_HH_MAINT_DEV)); in BTA_HhRemoveDev()
|
/system/bt/btif/src/ |
D | btif_uid.cc | 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()
|
D | btif_hd.cc | 403 app_info.p_name = (char*)osi_calloc(BTIF_HD_APP_NAME_LEN); in register_app() 405 app_info.p_description = (char*)osi_calloc(BTIF_HD_APP_DESCRIPTION_LEN); in register_app() 408 app_info.p_provider = (char*)osi_calloc(BTIF_HD_APP_PROVIDER_LEN); in register_app()
|
/system/bt/bta/gatt/ |
D | bta_gattc_api.cc | 243 tBTA_GATTC_API_SEARCH* p_buf = (tBTA_GATTC_API_SEARCH*)osi_calloc(len); in BTA_GATTC_ServiceSearchRequest() 367 (tBTA_GATTC_API_READ*)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadCharacteristic() 388 (tBTA_GATTC_API_READ*)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadUsingCharUuid() 419 (tBTA_GATTC_API_READ*)osi_calloc(sizeof(tBTA_GATTC_API_READ)); in BTA_GATTC_ReadCharDescr() 447 (tBTA_GATTC_API_READ_MULTI*)osi_calloc(sizeof(tBTA_GATTC_API_READ_MULTI)); in BTA_GATTC_ReadMultiple() 480 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_WriteCharValue() 517 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_WriteCharDescr() 555 tBTA_GATTC_API_WRITE* p_buf = (tBTA_GATTC_API_WRITE*)osi_calloc( in BTA_GATTC_PrepareWrite() 592 (tBTA_GATTC_API_EXEC*)osi_calloc(sizeof(tBTA_GATTC_API_EXEC)); in BTA_GATTC_ExecuteWrite() 615 (tBTA_GATTC_API_CONFIRM*)osi_calloc(sizeof(tBTA_GATTC_API_CONFIRM)); in BTA_GATTC_SendIndConfirm()
|
D | bta_gatts_api.cc | 244 (tBTA_GATTS_API_INDICATION*)osi_calloc(sizeof(tBTA_GATTS_API_INDICATION)); in BTA_GATTS_HandleValueIndication() 275 tBTA_GATTS_API_RSP* p_buf = (tBTA_GATTS_API_RSP*)osi_calloc(len); in BTA_GATTS_SendRsp()
|
/system/bt/osi/src/ |
D | future.cc | 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()
|
D | buffer.cc | 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()
|
D | allocator.cc | 65 void* osi_calloc(size_t size) { in osi_calloc() function 82 const allocator_t allocator_calloc = {osi_calloc, osi_free};
|
D | socket.cc | 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()
|
D | ringbuffer.cc | 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()
|
D | array.cc | 46 osi_calloc(sizeof(array_t) + element_size * INTERNAL_ELEMENTS)); in array_new()
|
D | reactor.cc | 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()
|
/system/bt/stack/avrc/ |
D | avrc_opt.cc | 54 p_cmd = (BT_HDR*)osi_calloc(AVRC_META_CMD_BUF_SIZE); in avrc_vendor_msg() 94 BT_HDR* p_cmd = (BT_HDR*)osi_calloc(AVRC_CMD_BUF_SIZE); in AVRC_UnitCmd() 137 BT_HDR* p_cmd = (BT_HDR*)osi_calloc(AVRC_CMD_BUF_SIZE); in AVRC_SubCmd()
|
D | avrc_pars_ct.cc | 311 player->name.p_str = (uint8_t*)osi_calloc( in avrc_pars_browse_rsp() 339 folder->name.p_str = (uint8_t*)osi_calloc( in avrc_pars_browse_rsp() 498 (uint8_t*)osi_calloc((folder_name->str_len + 1) * sizeof(uint8_t)); in avrc_pars_browse_rsp() 666 tAVRC_APP_SETTING* app_sett = (tAVRC_APP_SETTING*)osi_calloc( in avrc_ctrl_pars_vendor_rsp() 691 p_result->get_app_attr_txt.p_attrs = (tAVRC_APP_SETTING_TEXT*)osi_calloc( in avrc_ctrl_pars_vendor_rsp() 717 uint8_t* p_str = (uint8_t*)osi_calloc( in avrc_ctrl_pars_vendor_rsp() 744 p_result->get_app_val_txt.p_attrs = (tAVRC_APP_SETTING_TEXT*)osi_calloc( in avrc_ctrl_pars_vendor_rsp() 769 uint8_t* p_str = (uint8_t*)osi_calloc( in avrc_ctrl_pars_vendor_rsp() 796 (tAVRC_ATTR_ENTRY*)osi_calloc(num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_ctrl_pars_vendor_rsp() 821 (uint8_t*)osi_calloc(p_attrs[i].name.str_len); in avrc_ctrl_pars_vendor_rsp()
|
D | avrc_api.cc | 239 BT_HDR* p_pkt_copy = (BT_HDR*)osi_calloc(BT_HDR_SIZE + offset + pkt_len); in avrc_copy_packet() 318 p_pkt = (BT_HDR*)osi_calloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in avrc_send_continue_frag() 428 p_rsp = (BT_HDR*)osi_calloc(BT_DEFAULT_BUFFER_SIZE); in avrc_proc_vendor_command() 489 p_rcb->p_rmsg = (BT_HDR*)osi_calloc(BT_DEFAULT_BUFFER_SIZE); in avrc_proc_far_msg() 925 BT_HDR* p_cmd = (BT_HDR*)osi_calloc(AVRC_CMD_BUF_SIZE); in avrc_pass_msg() 1220 (BT_HDR*)osi_calloc(AVRC_PACKET_LEN + offset_len + BT_HDR_SIZE); in AVRC_MsgReq()
|
/system/bt/btcore/src/ |
D | property.cc | 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_()
|
/system/bt/osi/include/ |
D | allocator.h | 41 void* osi_calloc(size_t size);
|
/system/bt/stack/test/a2dp/ |
D | a2dp_vendor_ldac_decoder_test.cc | 57 static_cast<BT_HDR*>(osi_calloc(sizeof(BT_HDR) + packet_length)); in AllocatePacket()
|
/system/bt/osi/test/fuzzers/allocator/ |
D | fuzz_allocator.cc | 46 ptr = osi_calloc(size); in callArbitraryFunction()
|
/system/bt/hci/test/ |
D | hci_layer_test.cc | 80 static_cast<BT_HDR*>(osi_calloc(sizeof(BT_HDR) + packet_length)); in AllocatePacket()
|
/system/bt/bta/pan/ |
D | bta_pan_api.cc | 102 (tBTA_PAN_API_SET_ROLE*)osi_calloc(sizeof(tBTA_PAN_API_SET_ROLE)); in BTA_PanSetRole()
|
/system/bt/bta/dm/ |
D | bta_dm_api.cc | 82 (tBTA_DM_API_SEARCH*)osi_calloc(sizeof(tBTA_DM_API_SEARCH)); in BTA_DmSearch() 139 (tBTA_DM_API_DISCOVER*)osi_calloc(sizeof(tBTA_DM_API_DISCOVER)); in BTA_DmDiscover()
|
/system/bt/device/src/ |
D | interop.cc | 87 osi_calloc(sizeof(interop_addr_entry_t))); in interop_database_add()
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 144 BT_HDR* p_buf = (BT_HDR*)osi_calloc(len); in build_read_multi_rsp() 468 tGATTS_RSP* p_msg = (tGATTS_RSP*)osi_calloc(sizeof(tGATTS_RSP)); in gatt_process_read_multi_req() 713 BT_HDR* p_msg = (BT_HDR*)osi_calloc(msg_len); in gatts_process_primary_service_req() 749 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_find_info() 880 BT_HDR* p_msg = (BT_HDR*)osi_calloc(msg_len); in gatts_process_read_by_type_req() 1036 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_read_req()
|
/system/bt/hci/src/ |
D | hci_inject.cc | 137 client_t* client = (client_t*)osi_calloc(sizeof(client_t)); in accept_ready()
|