Searched refs:cb_wrapper (Results 1 – 1 of 1) sorted by relevance
753 void cmd_with_cb_data_init(cmd_with_cb_data* cb_wrapper) { in cmd_with_cb_data_init() argument754 new (&cb_wrapper->cb) hci_cmd_cb; in cmd_with_cb_data_init()755 new (&cb_wrapper->posted_from) Location; in cmd_with_cb_data_init()758 void cmd_with_cb_data_cleanup(cmd_with_cb_data* cb_wrapper) { in cmd_with_cb_data_cleanup() argument759 cb_wrapper->cb.~hci_cmd_cb(); in cmd_with_cb_data_cleanup()760 cb_wrapper->posted_from.~Location(); in cmd_with_cb_data_cleanup()834 cmd_with_cb_data* cb_wrapper = (cmd_with_cb_data*)context; in btu_hcif_command_complete_evt_with_cb_on_task() local836 cb_wrapper->posted_from.ToString().c_str()); in btu_hcif_command_complete_evt_with_cb_on_task()840 std::move(cb_wrapper->cb).Run(stream, param_len); in btu_hcif_command_complete_evt_with_cb_on_task()841 cmd_with_cb_data_cleanup(cb_wrapper); in btu_hcif_command_complete_evt_with_cb_on_task()[all …]