Lines Matching refs:key_count
97 void IndexTable::init(sal_Unicode start_, sal_Unicode end_, IndexKey *keys, sal_Int16 key_count, In… in init() argument
104 for (j = 0; j < key_count; j++) { in init()
110 if (j == key_count) in init()
182 mkey_count=key_count=0; in makeIndexKeys()
186 for (i = 0; i < len && key_count < MAX_KEYS; i++) in makeIndexKeys()
196 if (key_count > 0 && i + 1 < len ) { in makeIndexKeys()
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()
220 if (key_count > 0) { in makeIndexKeys()
227 keys[key_count-1].desc = keyStr.copy(i+1, end-i-1); in makeIndexKeys()
229 mkeys[mkey_count++]=key_count; 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()
277 tables[j++].init(start, end, keys, key_count, this); in init()
282 tables[j++].init(start, end, keys, key_count, this); in init()