Lines Matching refs:whtl
1740 WMFHANDLES *whtl;
1744 whtl = (WMFHANDLES *) malloc(sizeof(WMFHANDLES));
1745 if(!whtl)return(3);
1746 whtl->table = malloc(initsize * sizeof(uint32_t));
1747 if(!whtl->table){
1748 free(whtl);
1751 memset(whtl->table , 0, initsize * sizeof(uint32_t)); // zero all slots in the table
1752 whtl->allocated = initsize;
1753 whtl->chunk = chunksize;
1754 whtl->table[0] = 0; // This slot isn't actually ever used
1755 whtl->lolimit = 1; // first available table entry
1756 whtl->hilimit = 0; // no entries in the table yet.
1757 whtl->peak = 0; // no entries in the table ever
1758 *wht = whtl;
1832 WMFHANDLES *whtl;
1834 whtl = *wht;
1835 if(!whtl)return(2);
1836 if(!whtl->table)return(3);
1837 free(whtl->table);
1838 free(whtl);