Searched refs:reactor_t (Results 1 – 11 of 11) sorted by relevance
/system/bt/osi/include/ |
D | reactor.h | 29 typedef struct reactor_t reactor_t; typedef 41 reactor_t *reactor_new(void); 44 void reactor_free(reactor_t *reactor); 48 reactor_status_t reactor_start(reactor_t *reactor); 52 reactor_status_t reactor_run_once(reactor_t *reactor); 56 void reactor_stop(reactor_t *reactor); 66 reactor_object_t *reactor_register(reactor_t *reactor,
|
D | thread.h | 26 typedef struct reactor_t reactor_t; typedef 72 reactor_t *thread_get_reactor(const thread_t *thread);
|
D | eager_reader.h | 29 typedef struct reactor_t reactor_t; typedef 53 void eager_reader_register(eager_reader_t *reader, reactor_t *reactor, eager_reader_cb read_cb, voi…
|
D | socket.h | 26 typedef struct reactor_t reactor_t; typedef 100 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket…
|
D | fixed_queue.h | 28 typedef struct reactor_t reactor_t; typedef 120 void fixed_queue_register_dequeue(fixed_queue_t *queue, reactor_t *reactor, fixed_queue_cb ready_cb…
|
/system/bt/osi/test/ |
D | reactor_test.cpp | 19 reactor_t *reactor = (reactor_t *)ptr; in reactor_thread() 28 static void spawn_reactor_thread(reactor_t *reactor) { in spawn_reactor_thread() 38 reactor_t *reactor = reactor_new(); in TEST_F() 48 reactor_t *reactor = reactor_new(); in TEST_F() 55 reactor_t *reactor = reactor_new(); in TEST_F() 64 reactor_t *reactor = reactor_new(); in TEST_F() 78 reactor_t *reactor; 89 reactor_t *reactor = reactor_new(); in TEST_F() 105 reactor_t *reactor = reactor_new(); in TEST_F()
|
/system/bt/osi/src/ |
D | reactor.c | 40 struct reactor_t { struct 53 reactor_t *reactor; // the reactor instance this object is registered with. argument 60 static reactor_status_t run_reactor(reactor_t *reactor, int iterations); 65 reactor_t *reactor_new(void) { in reactor_new() 66 reactor_t *ret = (reactor_t *)osi_calloc(sizeof(reactor_t)); in reactor_new() 106 void reactor_free(reactor_t *reactor) { in reactor_free() 116 reactor_status_t reactor_start(reactor_t *reactor) { in reactor_start() 121 reactor_status_t reactor_run_once(reactor_t *reactor) { in reactor_run_once() 126 void reactor_stop(reactor_t *reactor) { in reactor_stop() 132 reactor_object_t *reactor_register(reactor_t *reactor, in reactor_register() [all …]
|
D | thread.c | 44 reactor_t *reactor; 172 reactor_t *thread_get_reactor(const thread_t *thread) { in thread_get_reactor()
|
D | socket.c | 192 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket… in socket_register()
|
D | eager_reader.c | 141 void eager_reader_register(eager_reader_t *reader, reactor_t *reactor, eager_reader_cb read_cb, voi… in eager_reader_register()
|
D | fixed_queue.c | 235 void fixed_queue_register_dequeue(fixed_queue_t *queue, reactor_t *reactor, fixed_queue_cb ready_cb… in fixed_queue_register_dequeue()
|