HomeSort by: relevance | last modified time | path
    Searched refs:REALLOC (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/games/atc/
grammar.y 181 if (sp->num_beacons % REALLOC == 0) {
183 sp->num_beacons + REALLOC, sizeof(BEACON)) != 0)
205 if (sp->num_exits % REALLOC == 0) {
208 REALLOC) * sizeof (EXIT));
210 sp->exit = realloc(sp->exit,
211 (sp->num_exits + REALLOC) *
238 if (sp->num_airports % REALLOC == 0) {
241 + REALLOC) * sizeof(AIRPORT));
243 sp->airport = realloc(sp->airport,
244 (sp->num_airports + REALLOC) *
    [all...]
def.h 54 #define REALLOC 10
  /src/bin/ed/
sub.c 95 REALLOC(rhbuf, rhbufsz, i + 2, NULL);
111 REALLOC(rhbuf, rhbufsz, i + 1, NULL);
197 REALLOC(rbuf, rbufsz, off + i, ERR);
207 REALLOC(rbuf, rbufsz, off + i, ERR);
217 REALLOC(rbuf, rbufsz, off + i + 2, ERR);
245 REALLOC(rbuf, rbufsz, off + k - j, ERR);
252 REALLOC(rbuf, rbufsz, off + k - j, ERR);
256 REALLOC(rbuf, rbufsz, off + 1, ERR);
259 REALLOC(rbuf, rbufsz, off + 1, ERR);
io.c 130 REALLOC(sbuf, sbufsz, i + 1, ERR);
134 REALLOC(sbuf, sbufsz, i + 2, ERR);
234 REALLOC(cvbuf, cvbufsz, l, NULL);
245 REALLOC(cvbuf, cvbufsz, l + n, NULL);
253 REALLOC(cvbuf, cvbufsz, l + 1, NULL);
272 REALLOC(ibuf, ibufsz, i + 2, ERR);
re.c 122 REALLOC(lhbuf, lhbufsz, len + 1, NULL);
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) { \
glbl.c 129 REALLOC(ocmd, ocmdsz, n + 1, ERR);
161 if ((ts = (line_t **) realloc(active_list,
buf.c 78 REALLOC(sfbuf, sfbufsz, len + 1, NULL);
  /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/
util.c 54 REALLOC(sp, bp, void *, csize);
58 * Theoretically, realloc is supposed to leave any already
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/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))
btree.c 228 newmap = REALLOC(map, char, bt->mapsz + HFS_MAPXSZ);
375 newmap = REALLOC(bt->map, char, bt->mapsz + HFS_MAPXSZ);
  /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/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/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/gpl2/gmake/dist/
hash.c 24 #define REALLOC(o, t, n) ((t *) xrealloc ((o), sizeof (t) * (n)))
  /src/external/bsd/nvi/dist/ex/
ex_argv.c 436 REALLOC(sp, exp->args, ARGS **, cnt * sizeof(ARGS *));
457 REALLOC(sp, ap->bp, CHAR_T *, ap->blen * sizeof(CHAR_T));
ex_subst.c 315 REALLOC(sp, sp->newl, size_t *, \
327 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \
340 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_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...]
  /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/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...]
  /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/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...]

Completed in 49 milliseconds

1 2