Searched refs:fixed_queue_t (Results 1 - 3 of 3) sorted by relevance

/external/bluetooth/bluedroid/osi/include/
H A Dfixed_queue.h23 struct fixed_queue_t;
24 typedef struct fixed_queue_t fixed_queue_t; typedef in typeref:struct:fixed_queue_t
32 fixed_queue_t *fixed_queue_new(size_t capacity);
36 void fixed_queue_free(fixed_queue_t *queue, fixed_queue_free_cb free_cb);
41 void fixed_queue_enqueue(fixed_queue_t *queue, void *data);
46 void *fixed_queue_dequeue(fixed_queue_t *queue);
52 bool fixed_queue_try_enqueue(fixed_queue_t *queue, void *data);
58 void *fixed_queue_try_dequeue(fixed_queue_t *queue);
65 int fixed_queue_get_enqueue_fd(const fixed_queue_t *queu
[all...]
/external/bluetooth/bluedroid/osi/src/
H A Dfixed_queue.c28 typedef struct fixed_queue_t { struct
34 } fixed_queue_t; typedef in typeref:struct:fixed_queue_t
36 fixed_queue_t *fixed_queue_new(size_t capacity) {
37 fixed_queue_t *ret = calloc(1, sizeof(fixed_queue_t));
69 void fixed_queue_free(fixed_queue_t *queue, fixed_queue_free_cb free_cb) {
84 void fixed_queue_enqueue(fixed_queue_t *queue, void *data) {
97 void *fixed_queue_dequeue(fixed_queue_t *queue) {
112 bool fixed_queue_try_enqueue(fixed_queue_t *queue, void *data) {
127 void *fixed_queue_try_dequeue(fixed_queue_t *queu
[all...]
H A Dthread.c39 fixed_queue_t *work_queue;
188 fixed_queue_t *queue = (fixed_queue_t *)context;

Completed in 85 milliseconds