Searched refs:cb_wrapper (Results 1 – 1 of 1) sorted by relevance
609 void cmd_with_cb_data_init(cmd_with_cb_data* cb_wrapper) { in cmd_with_cb_data_init() argument610 new (&cb_wrapper->cb) hci_cmd_cb; in cmd_with_cb_data_init()611 new (&cb_wrapper->posted_from) Location; in cmd_with_cb_data_init()614 void cmd_with_cb_data_cleanup(cmd_with_cb_data* cb_wrapper) { in cmd_with_cb_data_cleanup() argument615 cb_wrapper->cb.~hci_cmd_cb(); in cmd_with_cb_data_cleanup()616 cb_wrapper->posted_from.~Location(); in cmd_with_cb_data_cleanup()681 cmd_with_cb_data* cb_wrapper = (cmd_with_cb_data*)context; in btu_hcif_command_complete_evt_with_cb_on_task() local682 log::verbose("command complete for: {}", cb_wrapper->posted_from.ToString()); in btu_hcif_command_complete_evt_with_cb_on_task()686 std::move(cb_wrapper->cb).Run(stream, param_len); in btu_hcif_command_complete_evt_with_cb_on_task()687 cmd_with_cb_data_cleanup(cb_wrapper); in btu_hcif_command_complete_evt_with_cb_on_task()[all …]