Home
last modified time | relevance | path

Searched refs:gototab (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/one-true-awk/
H A Db.c156 p = (gtt *) realloc(f->gototab, new_count * sizeof(gtt)); in resize_state()
159 f->gototab = p; in resize_state()
172 f->gototab[i].entries = (gtte *) calloc(NCHARS, sizeof(gtte)); in resize_state()
173 if (f->gototab[i].entries == NULL) in resize_state()
175 f->gototab[i].allocated = NCHARS; in resize_state()
176 f->gototab[i].inuse = 0; in resize_state()
614 size_t new_size = f->gototab[state].allocated * 2; in resize_gototab()
615 gtte *p = (gtte *) realloc(f->gototab[state].entries, new_size * sizeof(gtte)); in resize_gototab()
620 size_t orig_size = f->gototab[state].allocated; // 2nd half of new mem is this size in resize_gototab()
623 f->gototab[state].allocated = new_size; // update gototab info in resize_gototab()
[all …]
H A DFIXES45 Fixed regex engine gototab reallocation issue that was
76 Fix issue #199: gototab improvements to dynamically resize the
H A Dawk.h268 gtt *gototab; member