Home
last modified time | relevance | path

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

/freebsd/bin/ed/
H A Dsub.c84 REALLOC(rhbuf, rhbufsz, i + 2, NULL); in extract_subst_template()
100 REALLOC(rhbuf, rhbufsz, i + 1, NULL); in extract_subst_template()
186 REALLOC(rbuf, rbufsz, off + i, ERR); in substitute_matching_text()
196 REALLOC(rbuf, rbufsz, off + i, ERR); in substitute_matching_text()
207 REALLOC(rbuf, rbufsz, off + i + 2, ERR); in substitute_matching_text()
235 REALLOC(rbuf, rbufsz, off + k - j, ERR); in apply_subst_template()
242 REALLOC(rbuf, rbufsz, off + k - j, ERR); in apply_subst_template()
246 REALLOC(rbuf, rbufsz, off + 1, ERR); in apply_subst_template()
249 REALLOC(rbuf, rbufsz, off + 1, ERR); in apply_subst_template()
H A Dio.c118 REALLOC(sbuf, sbufsz, i + 1, ERR); in get_stream_line()
122 REALLOC(sbuf, sbufsz, i + 2, ERR); in get_stream_line()
221 REALLOC(cvbuf, cvbufsz, l, NULL); in get_extended_line()
232 REALLOC(cvbuf, cvbufsz, l + n, NULL); in get_extended_line()
240 REALLOC(cvbuf, cvbufsz, l + 1, NULL); in get_extended_line()
259 REALLOC(ibuf, ibufsz, i + 2, ERR); in get_tty_line()
H A Dmain.c931 REALLOC(file, filesz, PATH_MAX, NULL); in get_filename()
956 REALLOC(buf, n, j + 1, ERR); in get_shell_command()
961 REALLOC(buf, n, i + 2, ERR); in get_shell_command()
968 REALLOC(buf, n, i + 1, ERR); in get_shell_command()
980 REALLOC(buf, n, i + shcmdi, ERR); in get_shell_command()
992 REALLOC(buf, n, i + j, ERR); in get_shell_command()
998 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()
1071 REALLOC(buf, n, size + bp->len, ERR); in join_lines()
1075 REALLOC(buf, n, size + 2, ERR); in join_lines()
1301 REALLOC(file, filesz, PATH_MAX, NULL); in strip_escapes()
H A Ded.h113 #define REALLOC(b,n,i,err) \ macro
139 #define REALLOC(b,n,i,err) \ macro
H A Dre.c103 REALLOC(lhbuf, lhbufsz, len + 1, NULL); in extract_pattern()
H A Dglbl.c117 REALLOC(ocmd, ocmdsz, n + 1, ERR); in exec_global()
H A Dbuf.c64 REALLOC(sfbuf, sfbufsz, len + 1, NULL); in get_sbuf_line()
/freebsd/contrib/libcbor/test/
H A Dcopy_test.c242 MALLOC, MALLOC, MALLOC, MALLOC, REALLOC, MALLOC_FAIL); in test_bytestring_second_chunk_alloc_failure()
291 MALLOC, MALLOC, MALLOC, MALLOC, REALLOC, MALLOC_FAIL); in test_string_second_chunk_alloc_failure()
340 MALLOC, MALLOC, REALLOC, MALLOC_FAIL); in test_array_second_item_alloc_failure()
412 MALLOC, MALLOC, MALLOC, REALLOC, MALLOC_FAIL); in test_map_second_key_failure()
H A Dtest_allocator.h12 REALLOC, enumerator
H A Dtest_allocator.c73 if (expectations[alloc_calls] == REALLOC) { in instrumented_realloc()
/freebsd/contrib/nvi/common/
H A Dutil.c51 REALLOC(sp, bp, void *, csize); in binc()
H A Dmem.h184 #define REALLOC(sp, p, cast, size) do { \ macro
H A Dlog.c714 REALLOC(sp, bp, u_char *, blen); in apply_with()
/freebsd/contrib/nvi/ex/
H A Dex_subst.c303 REALLOC(sp, sp->newl, size_t *, \
315 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \
328 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \
H A Dex_argv.c472 REALLOC(sp, exp->args, ARGS **, cnt * sizeof(ARGS *)); in argv_alloc()
493 REALLOC(sp, ap->bp, CHAR_T *, ap->blen * sizeof(CHAR_T)); in argv_alloc()
/freebsd/contrib/sendmail/mail.local/
H A Dmail.local.c100 #define REALLOC(ptr, size) (((ptr) == NULL) ? malloc(size) : realloc(ptr, size)) macro
734 REALLOC((char *) rcpt_addr, in dolmtp()
/freebsd/contrib/byacc/
H A Ddefs.h186 #define REALLOC(p,n) (realloc((char*)(p),(size_t)(n))) macro
H A DCHANGES4552 REALLOC macros.
/freebsd/contrib/expat/lib/
H A Dxmlparse.c762 #define REALLOC(parser, p, s) (parser->m_mem.realloc_fcn((p), (s)))
2404 return REALLOC(parser, ptr, size); in XML_MemFree()
2678 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in storeRawNames()
3034 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in doContent()
3401 temp = (ATTRIBUTE *)REALLOC(parser, (void *)parser->m_atts, in storeAtts()
3420 temp2 = (XML_AttrInfo *)REALLOC(parser, (void *)parser->m_attInfo, in storeAtts()
3597 temp = (NS_ATT *)REALLOC(parser, parser->m_nsAtts, in storeAtts()
4025 XML_Char *temp = (XML_Char *)REALLOC( in addBinding()
5417 char *const new_connector = (char *)REALLOC( in doProlog()
5437 int *const new_scaff_index = (int *)REALLOC( in doProlog()
761 #define REALLOC( global() macro
[all...]