Searched refs:free_cb (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_fixed_queue.h | 77 std::function<void(fixed_queue_t* queue, fixed_queue_free_cb free_cb)> body{ 79 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() 80 body(queue, free_cb); in operator() 89 std::function<void(fixed_queue_t* queue, fixed_queue_free_cb free_cb)> body{ 91 void operator()(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in operator() 92 body(queue, free_cb); in operator()
|
D | mock_osi_fixed_queue.cc | 71 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush() argument 73 test::mock::osi_fixed_queue::fixed_queue_flush(queue, free_cb); in fixed_queue_flush() 75 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free() argument 77 test::mock::osi_fixed_queue::fixed_queue_free(queue, free_cb); in fixed_queue_free()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | fixed_queue.cc | 71 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free() argument 76 if (free_cb) in fixed_queue_free() 79 free_cb(list_node(node)); in fixed_queue_free() 88 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush() argument 93 if (free_cb != NULL) { in fixed_queue_flush() 94 free_cb(data); in fixed_queue_flush()
|
D | list.cc | 18 list_free_cb free_cb; member 32 list->free_cb = callback; in list_new_internal() 212 if (list->free_cb) list->free_cb(node->data); in list_free_node_()
|
/packages/modules/Bluetooth/system/osi/include/ |
D | fixed_queue.h | 44 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb); 49 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb);
|
/packages/modules/Bluetooth/system/test/fake/ |
D | fake_osi.cc | 54 list_t(list_free_cb free_cb) { in list_t() 56 free_cb_ = free_cb; in list_t() 277 [](fixed_queue_t* q, fixed_queue_free_cb free_cb) { in FakeOsi() argument 279 test::mock::osi_fixed_queue::fixed_queue_flush(q, free_cb); in FakeOsi()
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 312 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_flush() argument 315 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) { in fixed_queue_free() argument
|