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

/system/bt/osi/include/
H A Dalarm.h26 typedef struct fixed_queue_t fixed_queue_t; typedef in typeref:struct:fixed_queue_t
H A Dfixed_queue.h26 struct fixed_queue_t;
27 typedef struct fixed_queue_t fixed_queue_t; typedef in typeref:struct:fixed_queue_t
31 typedef void (*fixed_queue_cb)(fixed_queue_t* queue, void* context);
37 fixed_queue_t* fixed_queue_new(size_t capacity);
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);
53 bool fixed_queue_is_empty(fixed_queue_t* queue);
57 size_t fixed_queue_length(fixed_queue_t* queue);
61 size_t fixed_queue_capacity(fixed_queue_t* queu
[all...]
/system/bt/osi/src/
H A Dfixed_queue.cc31 typedef struct fixed_queue_t { struct
41 } fixed_queue_t; typedef in typeref:struct:fixed_queue_t
45 fixed_queue_t* fixed_queue_new(size_t capacity) {
46 fixed_queue_t* ret =
47 static_cast<fixed_queue_t*>(osi_calloc(sizeof(fixed_queue_t)));
68 void fixed_queue_free(fixed_queue_t* queue, fixed_queue_free_cb free_cb) {
85 void fixed_queue_flush(fixed_queue_t* queue, fixed_queue_free_cb free_cb) {
96 bool fixed_queue_is_empty(fixed_queue_t* queue) {
103 size_t fixed_queue_length(fixed_queue_t* queu
[all...]

Completed in 68 milliseconds