Home
last modified time | relevance | path

Searched refs:REALLOC (Results 1 – 19 of 19) sorted by relevance

/NextBSD/bin/ed/
HDsub.c86 REALLOC(rhbuf, rhbufsz, i + 2, NULL); in extract_subst_template()
102 REALLOC(rhbuf, rhbufsz, i + 1, NULL); in extract_subst_template()
188 REALLOC(rbuf, rbufsz, off + i, ERR); in substitute_matching_text()
198 REALLOC(rbuf, rbufsz, off + i, ERR); in substitute_matching_text()
209 REALLOC(rbuf, rbufsz, off + i + 2, ERR); in substitute_matching_text()
237 REALLOC(rbuf, rbufsz, off + k - j, ERR); in apply_subst_template()
244 REALLOC(rbuf, rbufsz, off + k - j, ERR); in apply_subst_template()
248 REALLOC(rbuf, rbufsz, off + 1, ERR); in apply_subst_template()
251 REALLOC(rbuf, rbufsz, off + 1, ERR); in apply_subst_template()
HDio.c120 REALLOC(sbuf, sbufsz, i + 1, ERR); in get_stream_line()
124 REALLOC(sbuf, sbufsz, i + 2, ERR); in get_stream_line()
224 REALLOC(cvbuf, cvbufsz, l, NULL); in get_extended_line()
235 REALLOC(cvbuf, cvbufsz, l + n, NULL); in get_extended_line()
243 REALLOC(cvbuf, cvbufsz, l + 1, NULL); in get_extended_line()
262 REALLOC(ibuf, ibufsz, i + 2, ERR); in get_tty_line()
HDmain.c955 REALLOC(file, filesz, PATH_MAX, NULL); in get_filename()
980 REALLOC(buf, n, j + 1, ERR); in get_shell_command()
985 REALLOC(buf, n, i + 2, ERR); in get_shell_command()
992 REALLOC(buf, n, i + 1, ERR); in get_shell_command()
1004 REALLOC(buf, n, i + shcmdi, ERR); in get_shell_command()
1016 REALLOC(buf, n, i + j, ERR); in get_shell_command()
1022 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()
1095 REALLOC(buf, n, size + bp->len, ERR); in join_lines()
1099 REALLOC(buf, n, size + 2, ERR); in join_lines()
1325 REALLOC(file, filesz, PATH_MAX, NULL); in strip_escapes()
HDed.h116 #define REALLOC(b,n,i,err) \ macro
142 #define REALLOC(b,n,i,err) \ macro
HDre.c105 REALLOC(lhbuf, lhbufsz, len + 1, NULL); in extract_pattern()
HDglbl.c120 REALLOC(ocmd, ocmdsz, n + 1, ERR); in exec_global()
HDbuf.c66 REALLOC(sfbuf, sfbufsz, len + 1, NULL); in get_sbuf_line()
/NextBSD/gnu/usr.bin/grep/
HDdfa.c166 #define REALLOC(p, t, n) ((p) = (t *) xrealloc((ptr_t) (p), (n) * sizeof (t))) macro
175 REALLOC(p, t, nalloc); \
1869 REALLOC(d->follows[i].elems, position, merged.nelem); in dfaanalyze()
2283 REALLOC(d->realtrans, int *, d->tralloc + 1); in build_state()
2285 REALLOC(d->fails, int *, d->tralloc); in build_state()
2286 REALLOC(d->success, int, d->tralloc); in build_state()
2351 REALLOC(d->realtrans, int *, d->tralloc + 1); in realloc_trans_if_necessary()
2353 REALLOC(d->fails, int *, d->tralloc); in realloc_trans_if_necessary()
2354 REALLOC(d->success, int, d->tralloc); in realloc_trans_if_necessary()
/NextBSD/contrib/nvi/ex/
HDex_subst.c308 REALLOC(sp, sp->newl, size_t *, \
320 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \
333 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \
HDex_argv.c476 REALLOC(sp, exp->args, ARGS **, cnt * sizeof(ARGS *)); in argv_alloc()
497 REALLOC(sp, ap->bp, CHAR_T *, ap->blen * sizeof(CHAR_T)); in argv_alloc()
/NextBSD/contrib/nvi/common/
HDutil.c58 REALLOC(sp, bp, void *, csize); in binc()
HDmem.h199 #define REALLOC(sp, p, cast, size) { \ macro
HDlog.c753 REALLOC(sp, bp, nword *, blen); in apply_with()
/NextBSD/contrib/expat/lib/
HDxmlparse.c563 #define REALLOC(p,s) (parser->m_mem.realloc_fcn((p),(s))) macro
1590 : (char *)REALLOC(buffer, len * 2)); in XML_Parse()
1923 return REALLOC(ptr, size); in XML_MemRealloc()
2093 char *temp = (char *)REALLOC(tag->buf, bufSize); in storeRawNames()
2447 char *temp = (char *)REALLOC(tag->buf, bufSize); in doContent()
2758 temp = (ATTRIBUTE *)REALLOC((void *)atts, attsSize * sizeof(ATTRIBUTE)); in storeAtts()
2763 temp2 = (XML_AttrInfo *)REALLOC((void *)attInfo, attsSize * sizeof(XML_AttrInfo)); in storeAtts()
2910 temp = (NS_ATT *)REALLOC(nsAtts, nsAttsSize * sizeof(NS_ATT)); in storeAtts()
3141 XML_Char *temp = (XML_Char *)REALLOC(b->uri, in addBinding()
4444 char *temp = (char *)REALLOC(groupConnector, groupSize *= 2); in doProlog()
[all …]
/NextBSD/contrib/byacc/
HDdefs.h164 #define REALLOC(p,n) (realloc((char*)(p),(size_t)(n))) macro
HDCHANGES1078 REALLOC macros.
/NextBSD/contrib/gdb/gdb/
HDwince-stub.c32 #define REALLOC(s, n) (void *) LocalReAlloc ((HLOCAL)(s), (UINT)(n), LMEM_MOVEABLE) macro
/NextBSD/contrib/gcclibs/libiberty/
HDregex.c2003 # define REALLOC(p,s) realloc ((p), (size_t) (s)) macro
2006 # define REALLOC(p,s) realloc ((p), (s)) macro
2078 bufp->buffer = (UCHAR_T *) REALLOC (COMPILED_BUFFER_VAR, \
/NextBSD/contrib/binutils/libiberty/
HDregex.c2003 # define REALLOC(p,s) realloc ((p), (size_t) (s)) macro
2006 # define REALLOC(p,s) realloc ((p), (s)) macro
2078 bufp->buffer = (UCHAR_T *) REALLOC (COMPILED_BUFFER_VAR, \