Searched refs:element_size (Results 1 – 9 of 9) sorted by relevance
/glibc-2.36/support/ |
D | blob_repeat.c | 39 fill0 (char *target, const char *element, size_t element_size, in fill0() argument 44 memcpy (target, element, element_size); in fill0() 45 target += element_size; in fill0() 53 fill (char *target, const char *element, size_t element_size, in fill() argument 56 if (element_size == 0 || count == 0) in fill() 58 else if (element_size == 1) in fill() 60 else if (element_size == sizeof (wchar_t)) in fill() 66 else if (element_size < 1024 && count > 4096) in fill() 70 size_t buffer_count = sizeof (buffer) / element_size; in fill() 71 fill0 (buffer, element, element_size, buffer_count); in fill() [all …]
|
D | blob_repeat.h | 38 size_t element_size, 48 (const void *element, size_t element_size, size_t count);
|
/glibc-2.36/malloc/ |
D | dynarray_emplace_enlarge.c | 27 void *scratch, size_t element_size) in __libc_dynarray_emplace_enlarge() argument 34 if (element_size < 4) in __libc_dynarray_emplace_enlarge() 36 else if (element_size < 8) in __libc_dynarray_emplace_enlarge() 55 if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size)) in __libc_dynarray_emplace_enlarge() 63 memcpy (new_array, list->array, list->used * element_size); in __libc_dynarray_emplace_enlarge()
|
D | dynarray_resize_clear.c | 24 void *scratch, size_t element_size) in __libc_dynarray_resize_clear() argument 27 if (!__libc_dynarray_resize (list, size, scratch, element_size)) in __libc_dynarray_resize_clear() 31 memset (array + (old_size * element_size), 0, in __libc_dynarray_resize_clear() 32 (size - old_size) * element_size); in __libc_dynarray_resize_clear()
|
D | dynarray.h | 130 void *scratch, size_t element_size); 139 void *scratch, size_t element_size); 144 void *scratch, size_t element_size); 161 size_t element_size,
|
D | dynarray_resize.c | 27 void *scratch, size_t element_size) in __libc_dynarray_resize() argument 41 if (INT_MULTIPLY_WRAPV (size, element_size, &new_size_bytes)) in __libc_dynarray_resize() 53 memcpy (new_array, list->array, list->used * element_size); in __libc_dynarray_resize()
|
D | alloc_buffer_alloc_array.c | 23 __libc_alloc_buffer_alloc_array (struct alloc_buffer *buf, size_t element_size, in __libc_alloc_buffer_alloc_array() argument 30 bool overflow = __builtin_mul_overflow (element_size, count, &size); in __libc_alloc_buffer_alloc_array()
|
D | dynarray_finalize.c | 25 void *scratch, size_t element_size, in __libc_dynarray_finalize() argument 45 size_t allocation_size = used * element_size; in __libc_dynarray_finalize()
|
/glibc-2.36/elf/ |
D | dl-find_object.c | 174 element_size = sizeof ((struct dlfo_mappings_segment) {}.objects[0]) in _dlfo_mappings_segment_allocate_unpadded() enumerator 177 + size * element_size); in _dlfo_mappings_segment_allocate_unpadded() 212 element_size = sizeof ((struct dlfo_mappings_segment) {}.objects[0]) in _dlfo_mappings_segment_allocate() enumerator 215 + size * element_size in _dlfo_mappings_segment_allocate() 235 / element_size); in _dlfo_mappings_segment_allocate()
|