Lines Matching defs:oldpos
186 mapKey(struct SRBRoot *bundle, int32_t oldpos) {
195 if (oldpos < map[i].oldpos) {
201 assert(oldpos == map[start].oldpos);
1447 int32_t lPos = ((const KeyMapEntry *)l)->oldpos;
1448 int32_t rPos = ((const KeyMapEntry *)r)->oldpos;
1468 /* Sort pool bundle keys first (negative oldpos), and otherwise keys in parsing order. */
1479 return compareInt32(((const KeyMapEntry *)l)->oldpos, ((const KeyMapEntry *)r)->oldpos);
1498 map[i].oldpos =
1499 (int32_t)(keys - bundle->fPoolBundleKeys) | 0x80000000; /* negative oldpos */
1506 map[i].oldpos = (int32_t)(keys - bundle->fKeys);
1529 map[i].newpos = map[i].oldpos;
1530 if (j < keysCount && map[j].oldpos < 0) {
1535 key = getKeyString(bundle, map[i].oldpos);
1537 for (; j < keysCount && map[j].oldpos >= 0; ++j) {
1542 suffix = keys + map[j].oldpos;
1551 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */
1568 int32_t oldpos, newpos, limit;
1569 oldpos = newpos = bundle->fKeysBottom;
1574 while (oldpos < limit) {
1575 if (keys[oldpos] == 1) {
1576 ++oldpos; /* skip unused bytes */
1579 while (i < keysCount && map[i].newpos == oldpos) {
1583 keys[newpos++] = keys[oldpos++];