Lines Matching refs:malloc
33 void *res = malloc/**/(size); break_optimization(0); return res;} in malloc_fff()
76 int *a = (int*)malloc(100 * sizeof(int)); in TEST()
80 int *r = (int*)malloc(10); in TEST()
132 free(Ident(malloc(Ident(1 << 27)))); // Try to drain the quarantine. in TEST()
317 EXPECT_DEATH(Ident((char*)malloc(size))[-1] = 0, buff); in TestLargeMalloc()
331 EXPECT_DEATH(Ident((char*)malloc(n_megs << 20))[-1] = 0, in TEST()
358 free(Ident(malloc(size))); in ManyThreadsWorker()
382 int *ptr = (int*)malloc(sizeof(int) * kMinElem); in TEST()
391 int *ptr2 = Ident((int*)malloc(0)); in TEST()
399 void *ptr = Ident(malloc(42)); in TEST()
406 void *ptr = Ident(malloc(42)); in TEST()
413 void *ptr = Ident(malloc(0)); in TEST()
437 char *array = Ident((char*)malloc(kArraySize)); in TEST()
452 int *x = (int*)malloc(100 * sizeof(int)); in WrongFree()
468 int *x = (int*)malloc(100 * sizeof(int)); in DoubleFree()
726 char *a = Ident((char*)malloc(Ident(12))); in TEST()
798 char *s = Ident((char*)malloc(size)); in MallocAndMemsetString()
836 char *s = Ident((char*)malloc(size)); in TEST()
982 char *x = Ident((char*)malloc(8)); in UseThenFreeThenUse()
1220 EXPECT_DEATH(delete (Ident((int *)malloc(2 * sizeof(int)))), in TEST()
1224 EXPECT_DEATH(delete [] (Ident((int*)malloc(2 * sizeof(int)))), in TEST()
1267 printf("%p\n", malloc(size)); in TEST()
1295 void *x = malloc(kAllocSize); in TEST()