Lines Matching defs:hb_prealloced_array_t
378 struct hb_prealloced_array_t struct
380 unsigned int len;
381 unsigned int allocated;
382 Type *array;
383 Type static_array[StaticSize];
385 void init (void) in init()
392 inline Type& operator [] (unsigned int i) { return array[i]; } in operator []()
393 inline const Type& operator [] (unsigned int i) const { return array[i]; } in operator []()
395 inline Type *push (void) in push()
403 inline bool resize (unsigned int size) in resize()
437 inline void pop (void) in pop()
442 inline void remove (unsigned int i) in remove()
452 inline void shrink (unsigned int l) in shrink()
459 inline Type *find (T v) { in find()
466 inline const Type *find (T v) const { in find()
473 inline void qsort (void) in qsort()
478 inline void qsort (unsigned int start, unsigned int end) in qsort()
484 inline Type *bsearch (T *x) in bsearch()
490 inline const Type *bsearch (T *x) const in bsearch()
496 inline bool bfind (T *x, unsigned int *i) const in bfind()
529 struct hb_auto_array_t : hb_prealloced_array_t <Type> argument