Searched refs:TREALLOC (Results 1 – 4 of 4) sorted by relevance
| /dflybsd-src/contrib/byacc/ |
| H A D | reader.c | 118 cache = TREALLOC(char, cache, cache_size); in cachec() 237 input_file_name = TREALLOC(char, input_file_name, input_file_name_len); in line_directive() 308 line = TREALLOC(char, line, linesize); in get_line() 1164 tmp = TREALLOC(char, buf, buf_size); in copy_param() 1529 ? TREALLOC(char *, tag_table, tagmax) in cache_tag() 1954 pitem = TREALLOC(bucket *, pitem, maxitems); in expand_items() 1963 plhs = TREALLOC(bucket *, plhs, maxrules); in expand_rules() 1966 rprec = TREALLOC(Value_t, rprec, maxrules); in expand_rules() 1969 rassoc = TREALLOC(Assoc_t, rassoc, maxrules); in expand_rules() 3737 rprec = TREALLOC(Value_t, rprec, nrules); in pack_grammar() [all …]
|
| H A D | defs.h | 186 #define TREALLOC(t,p,n) ((t*)realloc((char*)(p), (size_t)(n) * sizeof(t))) macro
|
| H A D | output.c | 874 table = TREALLOC(Value_t, table, newmax); in pack_vector() 877 check = TREALLOC(Value_t, check, newmax); in pack_vector()
|
| H A D | CHANGES | 4361 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 4369 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 4373 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 4379 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
|