Lines Matching refs:array
45 struct array { struct
50 struct array *array_create(void); argument
51 void array_destroy(struct array *);
52 void array_init(struct array *);
53 void array_cleanup(struct array *);
54 unsigned array_num(const struct array *);
55 void *array_get(const struct array *, unsigned index_);
56 void array_set(const struct array *, unsigned index_, void *val);
57 int array_setsize(struct array *, unsigned num);
58 int array_add(struct array *, void *val, unsigned *index_ret);
59 int array_insert(struct array *a, unsigned index_);
60 void array_remove(struct array *a, unsigned index_);
70 array_num(const struct array *a) in array_num()
76 array_get(const struct array *a, unsigned index_) in array_get()
83 array_set(const struct array *a, unsigned index_, void *val) in array_set()
90 array_add(struct array *a, void *val, unsigned *index_ret) in array_add()
139 struct array arr; \
230 #define DECLARRAY(T) DECLARRAY_BYTYPE(T##array, struct T)
231 #define DEFARRAY(T, INLINE) DEFARRAY_BYTYPE(T##array, struct T, INLINE)