Home
last modified time | relevance | path

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

/trueos/contrib/byacc/
HDreader.c130 line = TMALLOC(char, linesize); in get_line()
170 p = TMALLOC(char, s - line + 1); in dup_line()
751 p = TMALLOC(param, 1); in save_param()
855 buf = TMALLOC(char, buf_size); in copy_param()
1071 s = TMALLOC(char, n); in get_literal()
1213 : TMALLOC(char *, tagmax)); in cache_tag()
1217 s = TMALLOC(char, len + 1); in cache_tag()
1416 bp->argnames = TMALLOC(char *, args); in declare_argtypes()
1500 cache = TMALLOC(char, cache_size); in read_declarations()
1585 pitem = TMALLOC(bucket *, maxitems); in initialize_grammar()
[all …]
HDsymtab.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()
HDmain.c405 char *result = TMALLOC(char, len + strlen(suffix) + 1); in alloc_file_name()
439 file_prefix = TMALLOC(char, len + 1); in create_file_names()
HDmstring.c122 struct mstring *n = TMALLOC(struct mstring, 1); in msnew()
HDverbose.c26 null_rules = TMALLOC(Value_t, nrules); in verbose()
HDmkpar.c194 rules_used = TMALLOC(Value_t, nrules); in unused_rules()
HDdefs.h161 #define TMALLOC(t,n) ((t*) malloc((size_t)(n) * sizeof(t))) macro
HDlr0.c542 nullable = TMALLOC(char, nsyms); in set_nullable()
HDoutput.c322 translate = TMALLOC(int, nstates); in output_accessing_symbols()
1281 symnam = TMALLOC(const char *, max + 2); in output_debug()
HDCHANGES1069 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1077 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
1081 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1087 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation