Home
last modified time | relevance | path

Searched defs:malloc (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Analysis/
H A DNewDelete-intersections.mm27 int *p1 = (int *)malloc(sizeof(int)); function
30 int *p2 = (int *)malloc(sizeof(int)); function
34 int *p3 = (int *)malloc(sizeof(int)); // no warn function
36 int *p4 = (int *)malloc(sizeof(int)); function
H A Dnull-deref-static.m3 void *malloc(unsigned long); function
H A Dexceptions.mm6 void *malloc(size_t); function
H A Dmalloc.m6 void *malloc(size_t); function
H A DMismatchedDeallocator-checker-test.mm8 void *malloc(size_t); function
H A Dobjc-boxing.m48 extern void *malloc(size_t); function
H A Dmalloc.mm213 void *newItem = malloc(4); function
H A Duninit-vals.m6 void *malloc(size_t); function
H A Dedges-new.mm524 void *malloc(unsigned long); function
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-malloc.m4 - (id) test1 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
5 - (int) test2 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
H A Dat-defs.m21 extern void *malloc(__typeof__(sizeof(0))); function
/llvm-project-15.0.7/clang/test/Sema/
H A Dimplicit-builtin-freestanding.c6 int malloc(int a) { return a; } in malloc() function
H A Dimplicit-builtin-redecl.c5 static void* malloc(int size) { in malloc() function
H A Dimplicit-builtin-decl.c15 void g(int malloc) { // okay: these aren't functions in g()
/llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dpr5056.cpp11 inline void *A<T>::malloc(int) in malloc() function in A
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dinterception_malloc_test.cpp12 extern "C" void *malloc(size_t size) { in malloc() function
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A D2009-01-26-WriteBarrier-2.m7 void * malloc(size_t size); function
/llvm-project-15.0.7/compiler-rt/test/tsan/Linux/
H A Duser_malloc.cpp12 extern "C" void *malloc(unsigned long size) { in malloc() function
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/llvmlibc/
H A Dcallee-namespace.cpp18 void malloc() {} in malloc() function
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_hip_runtime_wrapper.h83 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { in malloc() function
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp65 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() argument
170 void *(*malloc)(uptr bytes); member
182 void *(*malloc)(uptr bytes); member
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp27 INTERCEPTOR_ATTRIBUTE void *malloc(size_t size) { in malloc() function
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h165 #define malloc(size) _malloc_dbg((size), KMP_MEM_BLOCK, __FILE__, __LINE__) macro
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cpp101 void *malloc(size_t size) { in malloc() function
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_malloc_linux.cpp53 INTERCEPTOR(void *, malloc, uptr size) { in INTERCEPTOR() argument

12