Lines Matching defs:newpos
302 return map[start].newpos;
1506 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos);
1532 map[i].newpos = 0;
1539 map[i].newpos = 0;
1561 map[i].newpos = map[i].oldpos;
1583 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */
1594 * Re-sort by newpos, then modify the key characters array in-place
1595 * to squeeze out unused bytes, and readjust the newpos offsets.
1600 int32_t oldpos, newpos, limit;
1601 oldpos = newpos = bundle->fKeysBottom;
1604 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {}
1611 while (i < keysCount && map[i].newpos == oldpos) {
1612 map[i++].newpos = newpos;
1615 keys[newpos++] = keys[oldpos++];
1620 bundle->fKeysTop = newpos;
1625 /* key size reduction by limit - newpos */