/external/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cc | 96 INTERCEPTOR(void*, realloc, void *q, uptr size) { 284 INTERCEPT_FUNCTION(realloc);
|
/external/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 831 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { 1485 INTERCEPT_FUNCTION(realloc);
|
/external/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cc | 281 S4 *x = (int*)Ident(realloc(0, sizeof(S4))); 284 x = (int*)Ident(realloc(x, 2 * sizeof(S4))); 287 x = (int*)Ident(realloc(x, 3 * sizeof(S4))); 291 x[2] = 1; // Init this here. Check that after realloc it is poisoned again. 292 x = (int*)Ident(realloc(x, 2 * sizeof(S4))); 295 x = (int*)Ident(realloc(x, 3 * sizeof(S4)));
|
/external/compiler-rt/lib/profile/ |
H A D | GCDAProfiling.c | 116 write_buffer = realloc(write_buffer, size);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_testlib.cc | 98 void *realloc(void *p, size_t size) { function
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors.cc | 488 TSAN_INTERCEPTOR(void*, realloc, void *p, uptr size) { 494 SCOPED_INTERCEPTOR_RAW(realloc, p, size); 2241 TSAN_INTERCEPT(realloc);
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | allocators_sanity.cc | 13 p = (int*)realloc(p, 2048 * sizeof(int));
|
H A D | dll_allocators_sanity.cc | 15 p = (int*)realloc(p, 2048 * sizeof(int));
|
H A D | realloc_left_oob.cc | 7 char *buffer = (char*)realloc(0, 42); 14 // CHECK-NEXT: {{#0 .* realloc }}
|
H A D | realloc_right_oob.cc | 7 char *buffer = (char*)realloc(0, 42); 14 // CHECK-NEXT: {{#0 .* realloc }}
|
H A D | realloc_uaf.cc | 7 char *buffer = (char*)realloc(0, 42); 18 // CHECK-NEXT: {{#0 .* realloc }}
|
H A D | use_after_realloc.cc | 7 char *buffer = (char*)realloc(0, 32), 9 buffer = (char*)realloc(buffer, 64); 17 // CHECK-NEXT: {{#0 .* realloc }} 20 // CHECK-NEXT: {{#0 .* realloc }}
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | allocator_returns_null.cc | 1 // Test the behavior of malloc/calloc/realloc when the allocation size is huge. 13 // RUN: env ASAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rCRASH 14 // RUN: env ASAN_OPTIONS=allocator_may_return_null=1 %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rNULL 15 // RUN: env ASAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrCRASH 16 // RUN: env ASAN_OPTIONS=allocator_may_return_null=1 %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrNULL 45 if (!strcmp(argv[1], "realloc")) { 46 fprintf(stderr, "realloc:\n"); 47 x = (char*)realloc(0, size); 49 if (!strcmp(argv[1], "realloc-after-malloc")) { 50 fprintf(stderr, "realloc [all...] |
H A D | free_hook_realloc.cc | 27 int *y = (int*)realloc(x, 200);
|
/external/compiler-rt/test/msan/ |
H A D | allocator_returns_null.cc | 1 // Test the behavior of malloc/calloc/realloc when the allocation size is huge. 13 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rCRASH 14 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rNULL 15 // RUN: MSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrCRASH 16 // RUN: MSAN_OPTIONS=allocator_may_return_null=1 %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrNULL 45 if (!strcmp(argv[1], "realloc")) { 46 fprintf(stderr, "realloc:\n"); 47 x = (char*)realloc(0, size); 49 if (!strcmp(argv[1], "realloc-after-malloc")) { 50 fprintf(stderr, "realloc [all...] |
/external/compiler-rt/test/tsan/ |
H A D | allocator_returns_null.cc | 1 // Test the behavior of malloc/calloc/realloc when the allocation size is huge. 10 // RUN: TSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rCRASH 11 // RUN: TSAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrCRASH 40 if (!strcmp(argv[1], "realloc")) { 41 fprintf(stderr, "realloc:\n"); 42 x = (char*)realloc(0, size); 44 if (!strcmp(argv[1], "realloc-after-malloc")) { 45 fprintf(stderr, "realloc-after-malloc:\n"); 48 x = (char*)realloc(t, size); 60 // CHECK-rCRASH: realloc [all...] |
/external/deqp/framework/delibs/debase/ |
H A D | deMemory.c | 108 return realloc(ptr, (size_t)numBytes);
|
/external/dhcpcd/ |
H A D | common.c | 278 void *value = realloc(ptr, s);
|
H A D | if-bsd.c | 333 p = realloc(link_buf, len);
|
H A D | if-linux.c | 178 nbuf = realloc(buf, buflen);
|
/external/e2fsprogs/contrib/ |
H A D | spd_readdir.c | 213 dnew = realloc(dirstruct->dp,
|
/external/e2fsprogs/debugfs/ |
H A D | lsdel.c | 154 delarray = realloc(delarray,
|
/external/e2fsprogs/e2fsck/ |
H A D | argv_parse.c | 66 new_argv = realloc(argv,
|
H A D | logfile.c | 49 n = realloc(s->s, needlen); 193 n = realloc(outbuf, outbufsize + c);
|
H A D | mtrace.c | 57 /* This function is called when the block being alloc'd, realloc'd, or 115 hdr = (__ptr_t) realloc (ptr, size); 120 /* Failed realloc. */
|