Home
last modified time | relevance | path

Searched refs:malloc_function_pointer (Results 1 – 2 of 2) sorted by relevance

/llvm-project/clang/test/CodeGen/
H A Dalloc-size.c370 void *(*malloc_function_pointer)(int)__attribute__((alloc_size(1))); variable
375 void *const vp = malloc_function_pointer(100); in test_fn_pointer()
396 gi = __builtin_object_size(malloc_function_pointer(100), 0); in test_fn_pointer()
398 gi = __builtin_object_size(malloc_function_pointer(100), 1); in test_fn_pointer()
400 gi = __builtin_object_size(malloc_function_pointer(100), 2); in test_fn_pointer()
402 gi = __builtin_object_size(malloc_function_pointer(100), 3); in test_fn_pointer()
413 void *const zeroPtr = malloc_function_pointer(0); in test_fn_pointer()
417 gi = __builtin_object_size(malloc_function_pointer(0), 0); in test_fn_pointer()
H A Dalloc-size-fnptr.c22 extern void *(*malloc_function_pointer)(void *, int)__attribute__((alloc_size(2)));
27 malloc_function_pointer(NULL, 100); in call_function_pointer()