| /src/bin/ed/ |
| H A D | sub.c | 86 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 D | io.c | 120 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 D | main.c | 933 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 D | ed.h | 117 #define REALLOC(b,n,i,err) \ macro 143 #define REALLOC(b,n,i,err) \ macro
|
| H A D | re.c | 105 REALLOC(lhbuf, lhbufsz, len + 1, NULL); in extract_pattern()
|
| H A D | glbl.c | 119 REALLOC(ocmd, ocmdsz, n + 1, ERR); in exec_global()
|
| H A D | buf.c | 66 REALLOC(sfbuf, sfbufsz, len + 1, NULL); in get_sbuf_line()
|
| /src/contrib/libcbor/test/ |
| H A D | copy_test.c | 242 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 D | test_allocator.h | 12 REALLOC, enumerator
|
| H A D | test_allocator.c | 73 if (expectations[alloc_calls] == REALLOC) { in instrumented_realloc()
|
| /src/contrib/nvi/common/ |
| H A D | util.c | 51 REALLOC(sp, bp, void *, csize); in binc()
|
| H A D | mem.h | 184 #define REALLOC(sp, p, cast, size) do { \ macro
|
| H A D | log.c | 714 REALLOC(sp, bp, u_char *, blen); in apply_with()
|
| /src/contrib/nvi/ex/ |
| H A D | ex_subst.c | 303 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 D | ex_argv.c | 472 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 D | mail.local.c | 100 #define REALLOC(ptr, size) (((ptr) == NULL) ? malloc(size) : realloc(ptr, size)) macro 734 REALLOC((char *) rcpt_addr, in dolmtp()
|
| /src/contrib/byacc/ |
| H A D | defs.h | 186 #define REALLOC(p,n) (realloc((char*)(p),(size_t)(n))) macro
|
| H A D | CHANGES | 4552 REALLOC macros.
|
| /src/contrib/expat/lib/ |
| H A D | xmlparse.c | 790 # 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 …]
|