Home
last modified time | relevance | path

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

/system/bt/osi/include/
Dreactor.h29 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,
Dthread.h26 typedef struct reactor_t reactor_t; typedef
72 reactor_t *thread_get_reactor(const thread_t *thread);
Deager_reader.h29 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…
Dsocket.h26 typedef struct reactor_t reactor_t; typedef
100 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket…
Dfixed_queue.h28 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/
Dreactor_test.cpp19 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/
Dreactor.c40 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 …]
Dthread.c44 reactor_t *reactor;
172 reactor_t *thread_get_reactor(const thread_t *thread) { in thread_get_reactor()
Dsocket.c192 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket… in socket_register()
Deager_reader.c141 void eager_reader_register(eager_reader_t *reader, reactor_t *reactor, eager_reader_cb read_cb, voi… in eager_reader_register()
Dfixed_queue.c235 void fixed_queue_register_dequeue(fixed_queue_t *queue, reactor_t *reactor, fixed_queue_cb ready_cb… in fixed_queue_register_dequeue()