Searched refs:add_overflow_size_t (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/util/ |
D | os_memory_aligned.h | 44 add_overflow_size_t(size_t a, size_t b, size_t *res) in add_overflow_size_t() function 83 if (add_overflow_size_t(size, alignment, &alloc_size) || in os_malloc_aligned() 84 add_overflow_size_t(alloc_size, sizeof(void *), &alloc_size)) { in os_malloc_aligned()
|
D | os_memory_fd.c | 118 if (add_overflow_size_t(size, alignment, &alloc_size) || in os_malloc_aligned_fd() 119 add_overflow_size_t(alloc_size, header_size, &alloc_size)) in os_malloc_aligned_fd()
|