HomeSort by: relevance | last modified time | path
    Searched refs:Ident (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_test.cc 122 char *x = Ident((char*)calloc(1, size));
129 free(Ident(x));
133 free(Ident(malloc(Ident(1 << 27)))); // Try to drain the quarantine.
206 long double *p = Ident(new long double[10]);
207 EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[026]");
208 EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[026]");
209 delete [] Ident(p);
228 Packed5 *p = Ident(new Packed5[2])
    [all...]
asan_mem_test.cc 19 size_t size = Ident(sizeof(T) * length);
20 T *array = Ident((T*)malloc(size));
21 int element = Ident(42);
22 int zero = Ident(0);
23 void *(*MEMSET)(void *s, int c, size_t n) = Ident(memset);
109 if (!Ident(AllocateTwoAdjacentArrays)(&x1, &x2, size))
113 EXPECT_DEATH(Ident(memset)(x1, 0, size * 2),
126 size_t size = Ident(sizeof(T) * length);
127 T *src = Ident((T*)malloc(size));
128 T *dest = Ident((T*)malloc(size))
    [all...]
asan_str_test.cc 67 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(oob_kind, 1));
68 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(oob_kind, 5));
70 EXPECT_DEATH(Ident(strlen(str + length + 1)),
75 EXPECT_DEATH(Ident(strlen(str)), RightOOBReadMessage(oob_kind, 0));
76 EXPECT_DEATH(Ident(strlen(str + length)), RightOOBReadMessage(oob_kind, 0));
82 size_t length = Ident(10);
83 char *heap_string = Ident((char*)malloc(length + 1));
102 EXPECT_EQ(0U, wcslen(Ident(L"")));
105 EXPECT_EQ(hello_len, wcslen(Ident(L"Hello, World!")));
106 wchar_t *heap_string = Ident((wchar_t*)malloc(hello_size))
    [all...]
asan_interface_test.cc 32 char *array = Ident((char*)malloc(kArraySize));
33 int *int_ptr = Ident(new int);
65 void *zero_alloc = Ident(malloc(0));
82 array = Ident((char*)malloc(kMallocSize));
96 free(Ident(malloc(kLargeMallocSize))); // Drain quarantine.
100 free(Ident(malloc(kLargeMallocSize)));
115 free(Ident(malloc(kManyThreadsMallocSizes[size_index])));
119 free(Ident(malloc(1 << 20)));
142 int *x = Ident(new int);
143 delete Ident(x)
    [all...]
asan_benchmarks_test.cc 74 Ident(stack);
79 Ident(&FunctionWithLargeStack)();
asan_oob_test.cc 108 char *p = Ident(new char[size]);
asan_mac_test.cc 229 void *alloc = Ident(malloc(kMallocSize));
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_test_utils.h 78 static T Ident(T t) {
sanitizer_allocator_test.cc 256 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x)));
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
msan_test.cc 341 S4 *x = (int*)Ident(malloc(sizeof(S4)));
347 S4 *x = (int*)Ident(realloc(0, sizeof(S4)));
350 x = (int*)Ident(realloc(x, 2 * sizeof(S4)));
353 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));
358 x = (int*)Ident(realloc(x, 2 * sizeof(S4)));
361 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));
368 S4 *x = (int*)Ident(calloc(1, sizeof(S4)));
379 char *x = Ident((char*)calloc(1, size));
386 free(Ident(x));
4631 char *array = Ident((char*)malloc(kArraySize))
    [all...]

Completed in 20 milliseconds