Home | History | Annotate | Download | only in genrb

Lines Matching full:oldpos

184 mapKey(struct SRBRoot *bundle, int32_t oldpos) {
193 if (oldpos < map[i].oldpos) {
199 assert(oldpos == map[start].oldpos);
1441 int32_t lPos = ((const KeyMapEntry *)l)->oldpos;
1442 int32_t rPos = ((const KeyMapEntry *)r)->oldpos;
1462 /* Sort pool bundle keys first (negative oldpos), and otherwise keys in parsing order. */
1473 return compareInt32(((const KeyMapEntry *)l)->oldpos, ((const KeyMapEntry *)r)->oldpos);
1492 map[i].oldpos =
1493 (int32_t)(keys - bundle->fPoolBundleKeys) | 0x80000000; /* negative oldpos */
1500 map[i].oldpos = (int32_t)(keys - bundle->fKeys);
1523 map[i].newpos = map[i].oldpos;
1524 if (j < keysCount && map[j].oldpos < 0) {
1529 key = getKeyString(bundle, map[i].oldpos);
1531 for (; j < keysCount && map[j].oldpos >= 0; ++j) {
1536 suffix = keys + map[j].oldpos;
1545 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */
1562 int32_t oldpos, newpos, limit;
1563 oldpos = newpos = bundle->fKeysBottom;
1568 while (oldpos < limit) {
1569 if (keys[oldpos] == 1) {
1570 ++oldpos; /* skip unused bytes */
1573 while (i < keysCount && map[i].newpos == oldpos) {
1577 keys[newpos++] = keys[oldpos++];