/freebsd/bin/ed/ |
H A D | sub.c | 84 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 D | io.c | 118 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 D | main.c | 931 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 D | ed.h | 113 #define REALLOC(b,n,i,err) \ macro 139 #define REALLOC(b,n,i,err) \ macro
|
H A D | re.c | 103 REALLOC(lhbuf, lhbufsz, len + 1, NULL); in extract_pattern()
|
H A D | glbl.c | 117 REALLOC(ocmd, ocmdsz, n + 1, ERR); in exec_global()
|
H A D | buf.c | 64 REALLOC(sfbuf, sfbufsz, len + 1, NULL); in get_sbuf_line()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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.
|
/freebsd/contrib/expat/lib/ |
H A D | xmlparse.c | 762 #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...] |