Searched refs:dynarray_header (Results 1 – 9 of 9) sorted by relevance
/glibc-2.36/malloc/ |
D | dynarray-skeleton.c | 130 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 …]
|
D | dynarray.h | 101 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,
|
D | tst-dynarray.c | 114 <= 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()
|
D | tst-dynarray-fail.c | 252 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()
|
D | tst-dynarray-shared.h | 51 TEST_VERIFY_EXIT ((dyn)->u.dynarray_header.array \ 53 TEST_VERIFY_EXIT ((dyn)->u.dynarray_header.allocated > 0); \
|
D | dynarray_resize_clear.c | 23 __libc_dynarray_resize_clear (struct dynarray_header *list, size_t size, in __libc_dynarray_resize_clear()
|
D | dynarray_finalize.c | 24 __libc_dynarray_finalize (struct dynarray_header *list, in __libc_dynarray_finalize()
|
D | dynarray_resize.c | 26 __libc_dynarray_resize (struct dynarray_header *list, size_t size, in __libc_dynarray_resize()
|
D | dynarray_emplace_enlarge.c | 26 __libc_dynarray_emplace_enlarge (struct dynarray_header *list, in __libc_dynarray_emplace_enlarge()
|