Home
last modified time | relevance | path

Searched refs:reactor_t (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/osi/include/
Dreactor.h29 typedef struct reactor_t reactor_t; typedef
42 reactor_t* reactor_new(void);
45 void reactor_free(reactor_t* reactor);
49 reactor_status_t reactor_start(reactor_t* reactor);
53 reactor_status_t reactor_run_once(reactor_t* reactor);
58 void reactor_stop(reactor_t* reactor);
70 reactor_object_t* reactor_register(reactor_t* reactor, int fd, void* context,
Dthread.h26 typedef struct reactor_t reactor_t; typedef
81 reactor_t* thread_get_reactor(const thread_t* thread);
Dsocket.h26 typedef struct reactor_t reactor_t; typedef
104 void socket_register(socket_t* socket, reactor_t* reactor, void* context,
Dfixed_queue.h28 typedef struct reactor_t reactor_t; typedef
128 void fixed_queue_register_dequeue(fixed_queue_t* queue, reactor_t* reactor,
/packages/modules/Bluetooth/system/osi/test/
Dreactor_test.cc15 reactor_t* reactor = (reactor_t*)ptr; in reactor_thread()
24 static void spawn_reactor_thread(reactor_t* reactor) { in spawn_reactor_thread()
32 reactor_t* reactor = reactor_new(); in TEST_F()
40 reactor_t* reactor = reactor_new(); in TEST_F()
47 reactor_t* reactor = reactor_new(); in TEST_F()
56 reactor_t* reactor = reactor_new(); in TEST_F()
70 reactor_t* reactor;
81 reactor_t* reactor = reactor_new(); in TEST_F()
97 reactor_t* reactor = reactor_new(); in TEST_F()
/packages/modules/Bluetooth/system/osi/src/
Dreactor.cc43 struct reactor_t { struct
56 reactor_t* reactor; // the reactor instance this object is registered with. argument
65 static reactor_status_t run_reactor(reactor_t* reactor, int iterations);
70 reactor_t* reactor_new(void) { in reactor_new()
71 reactor_t* ret = (reactor_t*)osi_calloc(sizeof(reactor_t)); in reactor_new()
112 void reactor_free(reactor_t* reactor) { in reactor_free()
122 reactor_status_t reactor_start(reactor_t* reactor) { in reactor_start()
127 reactor_status_t reactor_run_once(reactor_t* reactor) { in reactor_run_once()
132 void reactor_stop(reactor_t* reactor) { in reactor_stop()
138 reactor_object_t* reactor_register(reactor_t* reactor, int fd, void* context, in reactor_register()
[all …]
Dthread.cc49 reactor_t* reactor;
185 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
Dsocket.cc191 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
Dfixed_queue.cc235 void fixed_queue_register_dequeue(fixed_queue_t* queue, reactor_t* reactor, in fixed_queue_register_dequeue()
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc180 reactor_object_t* reactor_register(reactor_t* reactor, int fd, void* context, in reactor_register()
186 reactor_status_t reactor_run_once(reactor_t* reactor) { in reactor_run_once()
190 reactor_status_t reactor_start(reactor_t* reactor) { in reactor_start()
194 reactor_t* reactor_new(void) { in reactor_new()
198 void reactor_free(reactor_t* reactor) { inc_func_call_count(__func__); } in reactor_free()
199 void reactor_stop(reactor_t* reactor) { inc_func_call_count(__func__); } in reactor_stop()
242 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
318 void fixed_queue_register_dequeue(fixed_queue_t* queue, reactor_t* reactor, in fixed_queue_register_dequeue()
423 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_thread.h51 reactor_t* return_value{0};
52 std::function<reactor_t*(const thread_t* thread)> body{
54 reactor_t* operator()(const thread_t* thread) { return body(thread); }; in operator()
Dmock_osi_socket.h122 std::function<void(socket_t* socket, reactor_t* reactor, void* context,
124 body{[](socket_t* /* socket */, reactor_t* /* reactor */,
127 void operator()(socket_t* socket, reactor_t* reactor, void* context, in operator()
Dmock_osi_fixed_queue.h167 std::function<void(fixed_queue_t* queue, reactor_t* reactor,
169 body{[](fixed_queue_t* /* queue */, reactor_t* /* reactor */,
171 void operator()(fixed_queue_t* queue, reactor_t* reactor, in operator()
Dmock_osi_thread.cc56 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
Dmock_osi_socket.cc80 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
Dmock_osi_fixed_queue.cc103 void fixed_queue_register_dequeue(fixed_queue_t* queue, reactor_t* reactor, in fixed_queue_register_dequeue()
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc361 [](fixed_queue_t* /* q */, reactor_t* /* reactor */, in FakeOsi()