Lines Matching full:array_t
29 struct array_t {
37 static bool grow(array_t *array);
41 array_t *array_new(size_t element_size) {
44 array_t *array = osi_calloc(sizeof(array_t) + element_size * INTERNAL_ELEMENTS);
56 void array_free(array_t *array) {
66 void *array_ptr(const array_t *array) {
70 void *array_at(const array_t *array, size_t index) {
76 size_t array_length(const array_t *array) {
81 bool array_append_value(array_t *array, uint32_t value) {
85 bool array_append_ptr(array_t *array, void *data) {
99 static bool grow(array_t *array) {