Searched refs:growby (Results 1 – 4 of 4) sorted by relevance
20 ch->growby = grow; in HTChunkInit()73 ch->allocated = (int) (needed - (needed % (size_t) ch->growby) in HTChunkCreate2()74 + (unsigned) ch->growby); in HTChunkCreate2()113 BOOL HTChunkRealloc(HTChunk *ch, int growby) in HTChunkRealloc() argument117 ch->allocated = ch->allocated + growby; in HTChunkRealloc()140 if (!HTChunkRealloc(ch, ch->growby)) in HTChunkPutc()150 HTChunk *chunk = HTChunkCreateMayFail(ch->growby, ch->failok); in HTChunkPutc2()168 ch->allocated = needed - 1 - ((needed - 1) % ch->growby) in HTChunkEnsure()169 + ch->growby; /* Round up */ in HTChunkEnsure()186 int growby = l - (l % ch->growby) + ch->growby; /* Round up */ in HTChunkPutb() local[all …]
29 int growby; /* Allocation unit in bytes */ member57 extern HTChunk *HTChunkCreate(int growby);66 extern HTChunk *HTChunkCreateMayFail(int growby, int failok);72 extern HTChunk *HTChunkCreate2(int growby, size_t needed);122 extern BOOL HTChunkRealloc(HTChunk *ch, int growby);
448 int growby = 0; in Stbl_addCellToRow() local450 while (me->ncells + colspan + 1 > me->allocated + growby) in Stbl_addCellToRow()451 growby += CELLS_GROWBY; in Stbl_addCellToRow()452 if (growby) { in Stbl_addCellToRow()454 cells = typecallocn(STable_cellinfo, (unsigned) growby); in Stbl_addCellToRow()457 (unsigned) (me->allocated + growby)); in Stbl_addCellToRow()459 for (i = 0; cells && i < growby; i++) { in Stbl_addCellToRow()464 me->allocated += growby; in Stbl_addCellToRow()518 int growby = 1 + icell + colspan - me->allocated; in Stbl_reserveCellsInRow() local523 if (growby > 0) { in Stbl_reserveCellsInRow()[all …]
869 int growby; local871 growby = max (count, GROWBY_MIN_SIZE);872 tempbufsize += growby;