Searched refs:maxitems (Results 1 – 2 of 2) sorted by relevance
145 size_t items, maxitems; /* Number of items contained and total space. */ member
95 ts->maxitems = RAX_STACK_STATIC_ITEMS; in raxStackInit()101 if (ts->items == ts->maxitems) { in raxStackPush()103 ts->stack = rax_malloc(sizeof(void*)*ts->maxitems*2); in raxStackPush()110 memcpy(ts->stack,ts->static_items,sizeof(void*)*ts->maxitems); in raxStackPush()112 void **newalloc = rax_realloc(ts->stack,sizeof(void*)*ts->maxitems*2); in raxStackPush()120 ts->maxitems *= 2; in raxStackPush()