Searched refs:TMALLOC (Results 1 – 10 of 10) sorted by relevance
| /trueos/contrib/byacc/ |
| HD | reader.c | 130 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 …]
|
| HD | 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()
|
| HD | main.c | 405 char *result = TMALLOC(char, len + strlen(suffix) + 1); in alloc_file_name() 439 file_prefix = TMALLOC(char, len + 1); in create_file_names()
|
| HD | mstring.c | 122 struct mstring *n = TMALLOC(struct mstring, 1); in msnew()
|
| HD | verbose.c | 26 null_rules = TMALLOC(Value_t, nrules); in verbose()
|
| HD | mkpar.c | 194 rules_used = TMALLOC(Value_t, nrules); in unused_rules()
|
| HD | defs.h | 161 #define TMALLOC(t,n) ((t*) malloc((size_t)(n) * sizeof(t))) macro
|
| HD | lr0.c | 542 nullable = TMALLOC(char, nsyms); in set_nullable()
|
| HD | output.c | 322 translate = TMALLOC(int, nstates); in output_accessing_symbols() 1281 symnam = TMALLOC(const char *, max + 2); in output_debug()
|
| HD | CHANGES | 1069 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
|