/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/ |
H A D | mremap.c | 12 || (p1 = realloc (p1, 16300)) == NULL in main() 13 || (p1 = realloc (p1, 4000)) == NULL in main() 14 || (p1 = realloc (p1, 500)) == NULL in main() 15 || (p1 = realloc (p1, 1023*1024)) == NULL in main() 16 || (p1 = realloc (p1, 8191*1024)) == NULL in main() 17 || (p1 = realloc (p1, 512*1024)) == NULL in main() 19 || (p1 = realloc (p1, 1023*1024)) == NULL in main() 20 || (p1 = realloc (p1, 8191*1024)) == NULL in main() 21 || (p1 = realloc (p1, 512*1024)) == NULL) in main()
|
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/ |
H A D | mremap.c | 12 || (p1 = realloc (p1, 16300)) == NULL in main() 13 || (p1 = realloc (p1, 4000)) == NULL in main() 14 || (p1 = realloc (p1, 500)) == NULL in main() 15 || (p1 = realloc (p1, 1023*1024)) == NULL in main() 16 || (p1 = realloc (p1, 8191*1024)) == NULL in main() 17 || (p1 = realloc (p1, 512*1024)) == NULL in main() 19 || (p1 = realloc (p1, 1023*1024)) == NULL in main() 20 || (p1 = realloc (p1, 8191*1024)) == NULL in main() 21 || (p1 = realloc (p1, 512*1024)) == NULL) in main()
|
/netbsd/external/gpl2/diffutils/dist/m4/ |
H A D | realloc.m4 | 4 dnl Determine whether realloc works when both arguments are 0. 11 dnl mistakenly use a broken realloc -- as it might if this test were omitted. 13 [Define if the realloc check has been performed. ]) 15 AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc, 17 char *realloc (); 21 exit (realloc (0, 0) ? 0 : 1); 26 dnl When crosscompiling, assume realloc is broken. 30 AC_LIBOBJ(realloc) 31 AC_DEFINE(realloc, rpl_realloc,
|
/netbsd/external/gpl3/gdb/dist/gnulib/import/m4/ |
H A D | realloc.m4 | 1 # realloc.m4 serial 18 14 AC_CACHE_CHECK([for GNU libc compatible realloc], 21 char *realloc (); 24 [[char *p = realloc (0, 0); 53 # Test whether 'realloc (0, 0)' is handled like in GNU libc, and replace 54 # realloc if it is not. 61 [Define to 1 if your system has a GNU libc compatible 'realloc' 70 # Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it 71 # fails), and replace realloc if it is not. 78 [Define if the 'realloc' function is POSIX compliant.])
|
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/m4/ |
H A D | realloc.m4 | 1 # realloc.m4 serial 18 14 AC_CACHE_CHECK([for GNU libc compatible realloc], 21 char *realloc (); 24 [[char *p = realloc (0, 0); 53 # Test whether 'realloc (0, 0)' is handled like in GNU libc, and replace 54 # realloc if it is not. 61 [Define to 1 if your system has a GNU libc compatible 'realloc' 70 # Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it 71 # fails), and replace realloc if it is not. 78 [Define if the 'realloc' function is POSIX compliant.])
|
/netbsd/crypto/external/bsd/heimdal/dist/cf/ |
H A D | broken-realloc.m4 | 4 dnl Test for realloc that doesn't handle NULL as first parameter 7 AC_CACHE_CHECK(if realloc if broken, ac_cv_func_realloc_broken, [ 15 return realloc(NULL, 17) == NULL; 20 AC_DEFINE(BROKEN_REALLOC, 1, [Define if realloc(NULL) doesn't work.]) 23 dnl #ifndef realloc 24 dnl #define realloc(X, Y) rk_realloc((X), (Y))
|
/netbsd/tests/usr.bin/c++/ |
H A D | t_msan_realloc.sh | 42 atf_test_case realloc 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
|
/netbsd/tests/usr.bin/cc/ |
H A D | t_msan_realloc.sh | 42 atf_test_case realloc 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
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_malloc_win.cc | 103 void *realloc(void *ptr, size_t size) { in realloc() function 116 return realloc(ptr, size); in _realloc_base() 126 return realloc(p, size); in _recalloc() 229 TryToOverrideFunction("realloc", (uptr)realloc); in ReplaceSystemMalloc() 230 TryToOverrideFunction("_realloc_base", (uptr)realloc); in ReplaceSystemMalloc() 231 TryToOverrideFunction("_realloc_crt", (uptr)realloc); in ReplaceSystemMalloc()
|
H A D | asan_malloc_linux.cc | 157 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 245 void *(*realloc)(void *oldMem, uptr bytes); member 259 void *(*realloc)(void *oldMem, uptr bytes); member 265 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 270 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_malloc_win.cc | 105 void *realloc(void *ptr, size_t size) { in realloc() function 118 return realloc(ptr, size); in _realloc_base() 128 return realloc(p, size); in _recalloc() 236 TryToOverrideFunction("realloc", (uptr)realloc); in ReplaceSystemMalloc() 237 TryToOverrideFunction("_realloc_base", (uptr)realloc); in ReplaceSystemMalloc() 238 TryToOverrideFunction("_realloc_crt", (uptr)realloc); in ReplaceSystemMalloc()
|
H A D | asan_malloc_linux.cc | 159 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 247 void *(*realloc)(void *oldMem, uptr bytes); member 261 void *(*realloc)(void *oldMem, uptr bytes); member 267 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 272 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_malloc_win.cc | 103 void *realloc(void *ptr, size_t size) { in realloc() function 116 return realloc(ptr, size); in _realloc_base() 126 return realloc(p, size); in _recalloc() 229 TryToOverrideFunction("realloc", (uptr)realloc); in ReplaceSystemMalloc() 230 TryToOverrideFunction("_realloc_base", (uptr)realloc); in ReplaceSystemMalloc() 231 TryToOverrideFunction("_realloc_crt", (uptr)realloc); in ReplaceSystemMalloc()
|
H A D | asan_malloc_linux.cc | 157 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 245 void *(*realloc)(void *oldMem, uptr bytes); member 259 void *(*realloc)(void *oldMem, uptr bytes); member 265 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 270 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | realloc.c | 37 #undef realloc 41 #undef realloc 48 return realloc(ptr, size); in rk_realloc()
|
/netbsd/external/gpl2/diffutils/dist/lib/ |
H A D | realloc.c | 25 #undef realloc 30 char *realloc (); 45 return realloc (p, n);
|
/netbsd/external/gpl3/gcc.old/dist/libbacktrace/ |
H A D | instrumented_alloc.c | 53 #define realloc instrumented_realloc macro 56 #undef realloc 91 res = realloc (ptr, size); in instrumented_realloc()
|
/netbsd/external/gpl3/gcc/dist/libbacktrace/ |
H A D | instrumented_alloc.c | 53 #define realloc instrumented_realloc macro 56 #undef realloc 91 res = realloc (ptr, size); in instrumented_realloc()
|
/netbsd/external/bsd/tre/dist/lib/ |
H A D | xmalloc.h | 56 #undef realloc 61 #define realloc USE_XREALLOC_INSTEAD_OF_REALLOC macro 70 #define xrealloc(ptr, new_size) realloc(ptr, new_size)
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | dbe_memmgr.c | 111 realloc (void *ptr, size_t size) in realloc() function 113 if (NULL_PTR (realloc)) in realloc() 115 ptr = CALL_REAL (realloc)(ptr, size); in realloc()
|
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/internal/ |
H A D | scopebuffer.d | 13 import core.stdc.stdlib : realloc; 95 struct ScopeBuffer(T, alias realloc = /*core.stdc.stdlib*/.realloc) 147 realloc(buf, 0); in free() 270 void *newBuf = realloc((bufLen & wasResized) ? buf : null, newsize * T.sizeof);
|
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/internal/ |
H A D | scopebuffer.d | 13 import core.stdc.stdlib : realloc; 96 struct ScopeBuffer(T, alias realloc = /*core.stdc.stdlib*/.realloc) 148 realloc(buf, 0); in free() 271 void *newBuf = realloc((bufLen & wasResized) ? buf : null, newsize * T.sizeof);
|
/netbsd/external/bsd/elftoolchain/dist/libdwarf/ |
H A D | libdwarf_rw.c | 210 *block = realloc(*block, (size_t) *size); in _dwarf_write_lsb_alloc() 266 *block = realloc(*block, (size_t) *size); in _dwarf_write_msb_alloc() 335 *block = realloc(*block, (size_t) *size); in _dwarf_write_sleb128_alloc() 398 *block = realloc(*block, (size_t) *size); in _dwarf_write_uleb128_alloc() 492 *block = realloc(*block, (size_t) *size); in _dwarf_write_string_alloc() 536 *block = realloc(*block, (size_t) *size); in _dwarf_write_block_alloc() 567 *block = realloc(*block, (size_t) *size); in _dwarf_write_padding_alloc()
|
/netbsd/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
H A D | striconv.c | 117 result = (*resultp != NULL ? realloc (*resultp, length) : malloc (length)); in mem_cd_iconv() 210 (result != NULL ? realloc (result, length + 1) : malloc (length + 1)); in str_cd_iconv() 283 newresult = (char *) realloc (result, newsize); in str_cd_iconv() 332 newresult = (char *) realloc (result, newsize); in str_cd_iconv() 360 char *smaller_result = (char *) realloc (result, length); in str_cd_iconv()
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
H A D | striconv.c | 117 result = (*resultp != NULL ? realloc (*resultp, length) : malloc (length)); in mem_cd_iconv() 210 (result != NULL ? realloc (result, length + 1) : malloc (length + 1)); in str_cd_iconv() 283 newresult = (char *) realloc (result, newsize); in str_cd_iconv() 332 newresult = (char *) realloc (result, newsize); in str_cd_iconv() 360 char *smaller_result = (char *) realloc (result, length); in str_cd_iconv()
|