Lines Matching refs:array_t
30 struct array_t { struct
38 static bool grow(array_t* array); argument
42 array_t* array_new(size_t element_size) { in array_new()
45 array_t* array = static_cast<array_t*>( in array_new()
46 osi_calloc(sizeof(array_t) + element_size * INTERNAL_ELEMENTS)); in array_new()
54 void array_free(array_t* array) { in array_free()
62 void* array_ptr(const array_t* array) { return array_at(array, 0); } in array_ptr()
64 void* array_at(const array_t* array, size_t index) { in array_at()
70 size_t array_length(const array_t* array) { in array_length()
75 bool array_append_value(array_t* array, uint32_t value) { in array_append_value()
79 bool array_append_ptr(array_t* array, void* data) { in array_append_ptr()
96 static bool grow(array_t* array) { in grow()