Home
last modified time | relevance | path

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

/src/bin/ed/
H A Dsub.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()
H A Dio.c120 REALLOC(sbuf, sbufsz, i + 1, ERR); in get_stream_line()
124 REALLOC(sbuf, sbufsz, i + 2, ERR); in get_stream_line()
223 REALLOC(cvbuf, cvbufsz, l, NULL); in get_extended_line()
234 REALLOC(cvbuf, cvbufsz, l + n, NULL); in get_extended_line()
242 REALLOC(cvbuf, cvbufsz, l + 1, NULL); in get_extended_line()
261 REALLOC(ibuf, ibufsz, i + 2, ERR); in get_tty_line()
H A Dmain.c933 REALLOC(file, filesz, PATH_MAX, NULL); in get_filename()
958 REALLOC(buf, n, j + 1, ERR); in get_shell_command()
963 REALLOC(buf, n, i + 2, ERR); in get_shell_command()
970 REALLOC(buf, n, i + 1, ERR); in get_shell_command()
982 REALLOC(buf, n, i + shcmdi, ERR); in get_shell_command()
994 REALLOC(buf, n, i + j, ERR); in get_shell_command()
1000 REALLOC(shcmd, shcmdsz, i + 1, ERR); in get_shell_command()
1073 REALLOC(buf, n, size + bp->len, ERR); in join_lines()
1077 REALLOC(buf, n, size + 2, ERR); in join_lines()
1303 REALLOC(file, filesz, PATH_MAX, NULL); in strip_escapes()
H A Ded.h117 #define REALLOC(b,n,i,err) \ macro
143 #define REALLOC(b,n,i,err) \ macro
H A Dre.c105 REALLOC(lhbuf, lhbufsz, len + 1, NULL); in extract_pattern()
H A Dglbl.c119 REALLOC(ocmd, ocmdsz, n + 1, ERR); in exec_global()
H A Dbuf.c66 REALLOC(sfbuf, sfbufsz, len + 1, NULL); in get_sbuf_line()
/src/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()
/src/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()
/src/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()
/src/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()
/src/contrib/byacc/
H A Ddefs.h186 #define REALLOC(p,n) (realloc((char*)(p),(size_t)(n))) macro
H A DCHANGES4552 REALLOC macros.
/src/contrib/expat/lib/
H A Dxmlparse.c790 # define REALLOC(parser, p, s) (expat_realloc((parser), (p), (s), __LINE__)) macro
794 # define REALLOC(parser, p, s) (parser->m_mem.realloc_fcn((p), (s))) macro
3146 char *temp = REALLOC(parser, tag->buf, bufSize);
3508 char *temp = REALLOC(parser, tag->buf, bufSize);
3887 temp = REALLOC(parser, parser->m_atts,
3906 temp2 = REALLOC(parser, parser->m_attInfo,
4083 temp = REALLOC(parser, parser->m_nsAtts, nsAttsSize * sizeof(NS_ATT));
4511 = REALLOC(parser, b->uri, sizeof(XML_Char) * (len + EXPAND_SPARE));
5908 char *const new_connector = REALLOC(
5928 int *const new_scaff_index = REALLOC(
[all …]