Searched refs:TMALLOC (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/byacc/ |
H A D | symtab.c | 36 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 D | reader.c | 336 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 D | main.c | 540 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 D | mstring.c | 119 struct mstring *n = TMALLOC(struct mstring, 1); in msnew()
|
H A D | verbose.c | 26 null_rules = TMALLOC(Value_t, nrules); in verbose()
|
H A D | mkpar.c | 198 rules_used = TMALLOC(Value_t, nrules); in unused_rules()
|
H A D | lr0.c | 545 nullable = TMALLOC(char, nsyms); in set_nullable()
|
H A D | defs.h | 183 #define TMALLOC(t,n) ((t*) malloc((size_t)(n) * sizeof(t))) macro
|
H A D | CHANGES | 4543 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
|