Lines Matching defs:strtbl
808 * strtbl - String table to grow
812 strtbl_alloc(ARSTRTBL *strtbl, size_t need)
821 uint64_t used64 = strtbl->used;
822 uint64_t size64 = strtbl->size;
843 tbl32 = (strtbl == &long_strtbl);
854 if (strtbl->base == NULL)
881 strtbl->base = realloc(strtbl->base, size64);
882 if (strtbl->base == NULL) {
887 strtbl->size = (size_t)size64;
914 * strtbl - String table to pad
919 strtbl_pad(ARSTRTBL *strtbl, size_t n, int ch)
924 if ((n + strtbl->used) > strtbl->size)
925 strtbl_alloc(strtbl, n);
928 strtbl->base[strtbl->used++] = ch;