Lines Matching refs:keys
97 void IndexTable::init(sal_Unicode start_, sal_Unicode end_, IndexKey *keys, sal_Int16 key_count, In… in init() argument
105 if (keys[j].key > 0 && (i == keys[j].key || index->compare(i, keys[j].key) == 0)) { in init()
138 sal_Int32 len = keys[mkeys[i]].mkey.getLength(); in getIndexWeight()
140 keys[mkeys[i]].mkey, 0, len) == 0) in getIndexWeight()
156 if (keys[wgt].desc.getLength()) in getIndexDescription()
157 return keys[wgt].desc; in getIndexDescription()
158 else if (keys[wgt].key > 0) in getIndexDescription()
159 return OUString(&keys[wgt].key, 1); in getIndexDescription()
161 return keys[wgt].mkey; in getIndexDescription()
197 … for (curr = keyStr[++i]; key_count < MAX_KEYS && keys[key_count-1].key < curr; key_count++) { in makeIndexKeys()
198 keys[key_count].key = keys[key_count-1].key+1; in makeIndexKeys()
199 keys[key_count].desc = OUString(); in makeIndexKeys()
227 keys[key_count-1].desc = keyStr.copy(i+1, end-i-1); in makeIndexKeys()
230 keys[key_count].key = 0; in makeIndexKeys()
231 keys[key_count].mkey = keyStr.copy(i+1, end-i-1); in makeIndexKeys()
232 keys[key_count++].desc=OUString(); in makeIndexKeys()
239 keys[key_count].key = curr; in makeIndexKeys()
240 keys[key_count++].desc = OUString(); in makeIndexKeys()
246 if (keys[mkeys[i]].mkey.getLength() < keys[mkeys[j]].mkey.getLength()) { in makeIndexKeys()
277 tables[j++].init(start, end, keys, key_count, this); in init()
282 tables[j++].init(start, end, keys, key_count, this); in init()