Searched refs:memdup_multiply (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dalloc-util.h37 #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n)))
68 _alloc_(2, 3) static inline void *memdup_multiply(const void *p, size_t a, size_t b) { function
/systemd/src/test/
H A Dtest-util.c729 dup = (int*)memdup_multiply(org, sizeof(int), 3);

Completed in 1055 milliseconds