Lines Matching refs:res
31 void *res = REAL(aligned_alloc)(align, size); in INTERCEPTOR() local
32 if (res) in INTERCEPTOR()
33 __nsan_set_value_unknown(static_cast<u8 *>(res), size); in INTERCEPTOR()
34 return res; in INTERCEPTOR()
41 void *res = REAL(calloc)(nmemb, size); in INTERCEPTOR() local
42 if (res) in INTERCEPTOR()
43 __nsan_set_value_unknown(static_cast<u8 *>(res), nmemb * size); in INTERCEPTOR()
44 return res; in INTERCEPTOR()
56 void *res = REAL(malloc)(size); in INTERCEPTOR() local
57 if (res) in INTERCEPTOR()
58 __nsan_set_value_unknown(static_cast<u8 *>(res), size); in INTERCEPTOR()
59 return res; in INTERCEPTOR()
65 void *res = REAL(realloc)(ptr, size); in INTERCEPTOR() local
68 if (res) in INTERCEPTOR()
69 __nsan_set_value_unknown(static_cast<u8 *>(res), size); in INTERCEPTOR()
70 return res; in INTERCEPTOR()
75 void *res = REAL(reallocarray)(ptr, nmemb, size); in INTERCEPTOR() local
76 if (res) in INTERCEPTOR()
77 __nsan_set_value_unknown(static_cast<u8 *>(res), nmemb * size); in INTERCEPTOR()
78 return res; in INTERCEPTOR()
83 int res = REAL(posix_memalign)(memptr, align, size); in INTERCEPTOR() local
84 if (res == 0 && *memptr) in INTERCEPTOR()
86 return res; in INTERCEPTOR()
92 void *const res = REAL(memalign)(align, size); in INTERCEPTOR() local
93 if (res) in INTERCEPTOR()
94 __nsan_set_value_unknown(static_cast<u8 *>(res), size); in INTERCEPTOR()
95 return res; in INTERCEPTOR()
99 void *const res = REAL(__libc_memalign)(align, size); in INTERCEPTOR() local
100 if (res) in INTERCEPTOR()
101 __nsan_set_value_unknown(static_cast<u8 *>(res), size); in INTERCEPTOR()
102 return res; in INTERCEPTOR()