Lines Matching refs:widths
9 //! Caches string widths in a hash table, to avoid a trip to the app server.
83 delete[] (hashed_escapement*)fBuffer[x].widths;
216 table.widths = new hashed_escapement[kTableCount];
237 const hashed_escapement* widths
238 = static_cast<hashed_escapement*>(table.widths);
242 while ((found = widths[hashed].code) != kInvalidCode) {
254 *escapement = widths[hashed].escapement;
296 hashed_escapement* widths = static_cast<hashed_escapement*>(table.widths);
313 while ((found = widths[hashed].code) != kInvalidCode) {
322 widths[hashed].code = value;
323 widths[hashed].escapement = escapements[charCount];
338 if (widths[oldPos].code != kInvalidCode) {
340 = Hash(widths[oldPos].code) & (newSize - 1);
345 newWidths[newPos] = widths[oldPos];
351 delete[] widths;
353 table.widths = widths = newWidths;