Searched refs:maxitems (Results 1 – 2 of 2) sorted by relevance
61 int maxitems; variable1092 maxitems = 300; in initialize_grammar()1093 pitem = calloc(maxitems, sizeof(bucket *)); in initialize_grammar()1123 int olditems = maxitems; in expand_items()1125 maxitems += 300; in expand_items()1126 pitem = reallocarray(pitem, maxitems, sizeof(bucket *)); in expand_items()1129 memset(pitem + olditems, 0, (maxitems - olditems) * sizeof(bucket *)); in expand_items()1221 if (i == maxitems - 1 || pitem[i + 1] == 0 || in end_rule()1226 if (nitems >= maxitems) in end_rule()1247 if ((nitems += 2) > maxitems) in insert_empty_rule()[all …]
609 size_t maxitems = 0; in tsearch() local636 if (numitems >= maxitems) { in tsearch()637 maxitems += 1024; in tsearch()638 items = xreallocarray(items, maxitems, sizeof(*items)); in tsearch()