Home
last modified time | relevance | path

Searched refs:TMALLOC (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/byacc/
H A Dsymtab.c36 bp = TMALLOC(bucket, 1); in make_bucket()
42 bp->name = TMALLOC(char, strlen(name) + 1); in make_bucket()
91 symbol_table = TMALLOC(bucket *, TABLE_SIZE); in create_symbol_table()
H A Dreader.c336 save_area.line_data = TMALLOC(char, linesize); in get_line()
368 line = TMALLOC(char, linesize); in get_line()
410 p = TMALLOC(char, s - line + 1); in dup_line()
1186 p = TMALLOC(param, 1); in save_param()
1308 buf = TMALLOC(char, buf_size); in copy_param()
1536 s = TMALLOC(char, n); in get_literal()
1685 : TMALLOC(char *, tagmax)); in cache_tag()
1689 s = TMALLOC(char, len + 1); in cache_tag()
1888 bp->argnames = TMALLOC(char *, args); in declare_argtypes()
2046 cache = TMALLOC(char, cache_size); in read_declarations()
[all …]
H A Dmain.c540 input_file_name = TMALLOC(char, input_file_name_len + 1); in getargs()
565 char *result = TMALLOC(char, len + strlen(suffix) + 1); in alloc_file_name()
613 file_prefix = TMALLOC(char, len + 1); in create_file_names()
H A Dmstring.c119 struct mstring *n = TMALLOC(struct mstring, 1); in msnew()
H A Dverbose.c26 null_rules = TMALLOC(Value_t, nrules); in verbose()
H A Dmkpar.c198 rules_used = TMALLOC(Value_t, nrules); in unused_rules()
H A Dlr0.c545 nullable = TMALLOC(char, nsyms); in set_nullable()
H A Ddefs.h183 #define TMALLOC(t,n) ((t*) malloc((size_t)(n) * sizeof(t))) macro
H A DCHANGES4543 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4551 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
4555 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4561 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation