| /src/games/atc/ |
| def.h | 54 #define REALLOC 10
|
| /src/external/gpl2/dtc/dist/tests/ |
| sw_tree1.c | 26 REALLOC, 56 case REALLOC: 119 alloc_mode = REALLOC; 121 } else if (streq(argv[1], "realloc")) { 122 alloc_mode = REALLOC;
|
| /src/external/bsd/nvi/dist/common/ |
| mem.h | 193 * Don't depend on realloc(NULL, size) working. 195 #define REALLOC(sp, p, cast, size) { \ 197 malloc(size) : realloc(p, size))) == NULL) \
|
| /src/external/gpl2/gmake/dist/ |
| hash.c | 24 #define REALLOC(o, t, n) ((t *) xrealloc ((o), sizeof (t) * (n)))
|
| /src/external/mit/libcbor/dist/test/ |
| memory_allocation_test.c | 25 REALLOC, 78 if (expectations[alloc_calls] == REALLOC) { 80 return realloc(ptr, size); 87 print_error("Unexpected call to realloc"); 261 // TODO: string chunks realloc test
|
| /src/bin/ed/ |
| ed.h | 124 /* REALLOC: assure at least a minimum size for buffer b */ 125 #define REALLOC(b,n,i,err) \ 130 if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
|
| /src/external/lgpl3/gmp/dist/demos/expr/ |
| expr.c | 74 #define REALLOC(ptr, alloc, incr, type) \ 94 REALLOC (p->data_stack, p->data_alloc, 20, union mpX_t); \ 282 REALLOC (p->control_stack, p->control_alloc, 20, \
|
| /src/external/bsd/nvi/dist/motif_l/ |
| m_vi.c | 175 #ifdef REALLOC 176 #undef REALLOC 179 #define REALLOC( ptr, size ) \ 180 ((ptr == NULL) ? malloc(size) : realloc(ptr,size)) 304 this_screen->characters = REALLOC( this_screen->characters, 309 this_screen->flags = REALLOC( this_screen->flags, 1063 clipboard = (char *) realloc( clipboard, clipboard_length );
|
| /src/external/bsd/byacc/dist/ |
| defs.h | 192 #define REALLOC(p,n) (realloc((char*)(p),(size_t)(n))) 193 #define TREALLOC(t,p,n) ((t*)realloc((char*)(p), (size_t)(n) * sizeof(t)))
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
| dfa.c | 130 ptr_t r = realloc(p, n); 140 #define REALLOC(p, t, n) ((p) = (t *) xrealloc((ptr_t) (p), (n) * sizeof (t))) 149 REALLOC(p, t, nalloc); \ 1850 REALLOC(d->follows[i].elems, position, merged.nelem); 2264 REALLOC(d->realtrans, int *, d->tralloc + 1); 2266 REALLOC(d->fails, int *, d->tralloc); 2267 REALLOC(d->success, int, d->tralloc); 2332 REALLOC(d->realtrans, int *, d->tralloc + 1); 2334 REALLOC(d->fails, int *, d->tralloc); 2335 REALLOC(d->success, int, d->tralloc) [all...] |
| regex.c | 273 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 314 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 338 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc and 2094 bufp->buffer = REALLOC (COMPILED_BUFFER_VAR, bufp->allocated); [all...] |
| /src/external/gpl2/grep/dist/src/ |
| dfa.c | 35 extern char *calloc(), *malloc(), *realloc(); 156 ptr_t r = realloc(p, n); 166 #define REALLOC(p, t, n) ((p) = (t *) xrealloc((ptr_t) (p), (n) * sizeof (t))) 175 REALLOC(p, t, nalloc); \ 1871 REALLOC(d->follows[i].elems, position, merged.nelem); 2285 REALLOC(d->realtrans, int *, d->tralloc + 1); 2287 REALLOC(d->fails, int *, d->tralloc); 2288 REALLOC(d->success, int, d->tralloc); 2353 REALLOC(d->realtrans, int *, d->tralloc + 1); 2355 REALLOC(d->fails, int *, d->tralloc) [all...] |
| /src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| internal.h | 31 # define REALLOC(ptr, type, n) \ 32 ((type *) ((ptr) ? realloc(ptr, SIZE(type, n)) : malloc(SIZE(type, n)))) 34 ((n) ? REALLOC(type, n) : (FREE(ptr), (type *) 0))
|
| /src/external/zlib/pigz/dist/ |
| pigz.c | 306 #include <stdlib.h> /* exit(), malloc(), free(), realloc(), atol(), */ 581 ptr = realloc(ptr, size); 631 #define REALLOC(p, s) realloc_track(&mem_track, p, s) 793 #define REALLOC realloc 1235 space->buf = REALLOC(space->buf, more); 2504 g.hname = REALLOC(g.hname, size); 3379 bigger = REALLOC(roll, hold);
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| regex.c | 136 char *realloc (); 327 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 374 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 398 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| regex.c | 136 char *realloc (); 327 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 374 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 398 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/gpl3/gcc/dist/libiberty/ |
| regex.c | 136 char *realloc (); 327 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 374 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 398 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| regex.c | 136 char *realloc (); 327 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 374 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 398 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/gpl3/gdb/dist/libiberty/ |
| regex.c | 136 char *realloc (); 327 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 374 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 398 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| regex.c | 136 char *realloc (); 327 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 374 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 398 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2016 The REALLOC define eliminates a flurry of conversion warnings, 2019 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2022 # define REALLOC(p,s) realloc ((p), (s)) 2025 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/sys/dev/stbi/ |
| stb_image.c | 448 #define REALLOC(ptr, size) realloc((ptr), (size), M_TEMP, M_WAITOK) 453 #define REALLOC(ptr, size) realloc((ptr), (size)) 2180 // - all output is written to a single output buffer (can malloc/realloc) 2343 q = (char *) REALLOC(z->zout_start, limit); 3046 p = (uint8 *) REALLOC(z->idata, idata_limit); if (p == NULL) return e("outofmem", "Out of memory");
|
| /src/external/gpl2/diffutils/dist/lib/ |
| regex.c | 141 char *realloc (); 326 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 373 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 397 # define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2085 The REALLOC define eliminates a flurry of conversion warnings, 2088 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2091 # define REALLOC(p,s) realloc ((p), (s)) 2094 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/gpl2/grep/dist/lib/ |
| regex.c | 152 char *realloc (); 338 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) 385 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) 409 #define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) 2006 The REALLOC define eliminates a flurry of conversion warnings, 2009 # define REALLOC(p,s) realloc ((p), (size_t) (s)) 2012 # define REALLOC(p,s) realloc ((p), (s)) 2015 /* Extend the buffer by twice its current size via realloc an [all...] |
| /src/external/mit/expat/dist/lib/ |
| xmlparse.c | 673 char *m_buffer; // malloc/realloc base pointer of parse buffer 782 #define REALLOC(parser, p, s) (parser->m_mem.realloc_fcn((p), (s))) 1127 mtemp->realloc_fcn = realloc; 2510 return REALLOC(parser, ptr, size); 2784 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); 3146 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); 3525 temp = (ATTRIBUTE *)REALLOC(parser, (void *)parser->m_atts, 3544 temp2 = (XML_AttrInfo *)REALLOC(parser, (void *)parser->m_attInfo, 3721 temp = (NS_ATT *)REALLOC(parser, parser->m_nsAtts, 4149 XML_Char *temp = (XML_Char *)REALLOC( [all...] |