| /src/games/hack/ |
| alloc.c | 90 if (!(nptr = realloc(ptr, lth)))
|
| /src/sys/arch/atari/stand/tostools/libtos/ |
| xalloc.c | 50 void * p = realloc(ptr, size);
|
| /src/lib/libc/stdlib/ |
| reallocarray.c | 52 return realloc(optr, 0);
|
| reallocarr.c | 85 nptr = realloc(optr, number * size);
|
| /src/lib/libbsdmalloc/ |
| Makefile | 16 CFLAGS+= -fno-builtin-realloc
|
| /src/tests/usr.bin/c++/ |
| t_msan_realloc.sh | 42 atf_test_case realloc 44 atf_set "descr" "Test memory sanitizer for realloc" 50 atf_set "descr" "Test memory sanitizer for realloc with profiling option" 55 atf_set "descr" "Test memory sanitizer for realloc with position independent code (PIC) flag" 60 atf_set "descr" "Test memory sanitizer for realloc with position independent execution (PIE) flag" 69 p = (char *)realloc(p, 10000); 86 p = (char *)realloc(p, 10000); 110 p = (char *)realloc(p, 10000); 134 p = (char *)realloc(p, 10000); 164 atf_add_test_case realloc [all...] |
| /src/tests/usr.bin/cc/ |
| t_msan_realloc.sh | 42 atf_test_case realloc 44 atf_set "descr" "Test memory sanitizer for realloc" 50 atf_set "descr" "Test memory sanitizer for realloc with profiling option" 55 atf_set "descr" "Test memory sanitizer for realloc with position independent code (PIC) flag" 60 atf_set "descr" "Test memory sanitizer for realloc with position independent execution (PIE) flag" 69 p = (char *)realloc(p, 10000); 86 p = (char *)realloc(p, 10000); 110 p = (char *)realloc(p, 10000); 134 p = (char *)realloc(p, 10000); 164 atf_add_test_case realloc [all...] |
| /src/bin/setfacl/ |
| util.c | 58 newptr = realloc(ptr, size); 60 err(1, "realloc() failed");
|
| /src/sys/sys/ |
| malloc.h | 72 #define realloc(ptr, size, type, flags) kern_realloc(ptr, size, flags) macro
|
| /src/bin/ps/ |
| fmt.c | 34 nv = realloc(v, nlen);
|
| /src/usr.sbin/user/ |
| defs.h | 41 if ((ptr = (type *) realloc(ptr, sizeof(type) * size)) == NULL) { \ 42 warn("can't realloc %ld bytes", (long)(size * sizeof(type))); \
|
| /src/usr.bin/xlint/common/ |
| mem.c | 78 return not_null(realloc(p, s));
|
| /src/bin/csh/ |
| alloc.c | 63 Realloc(void *p, size_t n) 67 if ((ptr = realloc(p, n)) == NULL) {
|
| /src/usr.bin/make/ |
| make_malloc.c | 81 /* realloc, but die on error. */ 85 if ((ptr = realloc(ptr, size)) == NULL)
|
| /src/lib/libc/db/recno/ |
| rec_utils.c | 74 p = realloc(t->bt_rkey.data, sizeof(nrec)); 102 p = realloc(t->bt_rdata.data, rl->dsize + 1);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_malloc_win.cc | 105 void *realloc(void *ptr, size_t size) { function in typeref:typename:ALLOCATION_FUNCTION_ATTRIBUTE void * 118 return realloc(ptr, size); 128 return realloc(p, size); 150 // _expand is used in realloc-like functions to resize the buffer if possible. 202 // Realloc should never reallocate in place. 236 TryToOverrideFunction("realloc", (uptr)realloc); 237 TryToOverrideFunction("_realloc_base", (uptr)realloc); 238 TryToOverrideFunction("_realloc_crt", (uptr)realloc);
|
| asan_malloc_linux.cc | 13 // We simply define functions like malloc, free, realloc, etc. 159 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { 247 void *(*realloc)(void *oldMem, uptr bytes); member in struct:MallocDebugK 261 void *(*realloc)(void *oldMem, uptr bytes); member in struct:MallocDebugL 267 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 272 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
| /src/tests/lib/libcurses/slave/ |
| slave.c | 90 args = realloc(args, (argslen + 1) * sizeof(args[0])); 92 err(1, "slave realloc of args array failed"); 145 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL) 146 err(1, "slave cmdbuf realloc to %d "
|
| /src/distrib/utils/more/ |
| position.c | 147 table = (off_t *)realloc(table, tablesize * sizeof *table);
|
| /src/lib/libc/stdio/ |
| fgetwln.c | 71 if ((p = realloc(_EXT(fp)->_fgetstr_buf, newsize)) == NULL)
|
| /src/share/examples/refuse/fanoutfs/ |
| defs.h | 54 if ((_newptr = (type *) realloc(ptr, sizeof(type) * (size))) == NULL) { \ 55 (void) fprintf(stderr, "%s: can't realloc %lu bytes\n", \
|
| /src/share/examples/refuse/id3fs/ |
| defs.h | 54 if ((_newptr = (type *) realloc(ptr, sizeof(type) * (size))) == NULL) { \ 55 (void) fprintf(stderr, "%s: can't realloc %lu bytes\n", \
|
| /src/share/examples/refuse/virtdir/ |
| defs.h | 54 if ((_newptr = (type *) realloc(ptr, sizeof(type) * (size))) == NULL) { \ 55 (void) fprintf(stderr, "%s: can't realloc %lu bytes\n", \
|
| /src/tools/compat/ |
| fgetln.c | 61 if (!(p = realloc(buf, 2 * bufsz))) {
|
| getline.c | 80 if ((nbuf = realloc(*buf, nbufsiz)) == NULL)
|