Home
last modified time | relevance | path

Searched refs:dynarray_header (Results 1 – 9 of 9) sorted by relevance

/glibc-2.36/malloc/
Ddynarray-skeleton.c130 struct dynarray_header dynarray_abstract;
137 } dynarray_header; member
184 if (list->u.dynarray_header.array != list->scratch) in DYNARRAY_NAME()
185 free (list->u.dynarray_header.array); in DYNARRAY_NAME()
187 free (list->u.dynarray_header.array); in DYNARRAY_NAME()
199 list->u.dynarray_header.used = 0; in DYNARRAY_NAME()
200 list->u.dynarray_header.allocated = DYNARRAY_INITIAL_SIZE; in DYNARRAY_NAME()
201 list->u.dynarray_header.array = DYNARRAY_SCRATCH (list); in DYNARRAY_NAME()
210 (list->u.dynarray_header.array, list->u.dynarray_header.used); in DYNARRAY_FREE()
220 return list->u.dynarray_header.allocated == __dynarray_error_marker (); in DYNARRAY_NAME()
[all …]
Ddynarray.h101 struct dynarray_header struct
119 __dynarray_error (struct dynarray_header *list) in __dynarray_error() argument
129 bool __libc_dynarray_emplace_enlarge (struct dynarray_header *,
138 bool __libc_dynarray_resize (struct dynarray_header *, size_t size,
143 bool __libc_dynarray_resize_clear (struct dynarray_header *, size_t size,
160 bool __libc_dynarray_finalize (struct dynarray_header *list, void *scratch,
Dtst-dynarray.c114 <= dyn.u.dynarray_header.allocated); in test_int()
117 TEST_VERIFY_EXIT (count <= dyn.u.dynarray_header.allocated); in test_int()
126 bool heap_array = dyn.u.dynarray_header.array != dyn.scratch; in test_int()
150 TEST_VERIFY_EXIT ((dyn.u.dynarray_header.array != dyn.scratch) in test_int()
153 TEST_VERIFY_EXIT (dyn.u.dynarray_header.allocated in test_int()
243 <= dyn.u.dynarray_header.allocated); in test_str()
246 TEST_VERIFY_EXIT (count <= dyn.u.dynarray_header.allocated); in test_str()
255 bool heap_array = dyn.u.dynarray_header.array != dyn.scratch; in test_str()
279 TEST_VERIFY_EXIT ((dyn.u.dynarray_header.array != dyn.scratch) in test_str()
282 TEST_VERIFY_EXIT (dyn.u.dynarray_header.allocated in test_str()
Dtst-dynarray-fail.c252 TEST_VERIFY_EXIT (dyn.u.dynarray_header.array == dyn.scratch); in test_str_fail()
254 TEST_VERIFY_EXIT (dyn.u.dynarray_header.allocated > 0); in test_str_fail()
281 TEST_VERIFY_EXIT (dyn.u.dynarray_header.array == dyn.scratch); in test_str_fail()
283 TEST_VERIFY_EXIT (dyn.u.dynarray_header.allocated > 0); in test_str_fail()
Dtst-dynarray-shared.h51 TEST_VERIFY_EXIT ((dyn)->u.dynarray_header.array \
53 TEST_VERIFY_EXIT ((dyn)->u.dynarray_header.allocated > 0); \
Ddynarray_resize_clear.c23 __libc_dynarray_resize_clear (struct dynarray_header *list, size_t size, in __libc_dynarray_resize_clear()
Ddynarray_finalize.c24 __libc_dynarray_finalize (struct dynarray_header *list, in __libc_dynarray_finalize()
Ddynarray_resize.c26 __libc_dynarray_resize (struct dynarray_header *list, size_t size, in __libc_dynarray_resize()
Ddynarray_emplace_enlarge.c26 __libc_dynarray_emplace_enlarge (struct dynarray_header *list, in __libc_dynarray_emplace_enlarge()