• Home
  • Raw
  • Download

Lines Matching refs:indexLength

1321     int32_t indexLength = index3Start;  in compactIndex()  local
1339 if (indexLength == index3Start) { in compactIndex()
1343 n = getOverlap(index16, indexLength, in compactIndex()
1346 i3 = indexLength - n; in compactIndex()
1347 int32_t prevIndexLength = indexLength; in compactIndex()
1349 index16[indexLength++] = index[i + n++]; in compactIndex()
1351 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1353 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1362 int32_t k = indexLength; in compactIndex()
1391 int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex()
1395 if (indexLength == index3Start) { in compactIndex()
1399 n = getOverlap(index16, indexLength, in compactIndex()
1400 index16, indexLength, INDEX_3_18BIT_BLOCK_LENGTH); in compactIndex()
1402 i3 = (indexLength - n) | 0x8000; in compactIndex()
1403 int32_t prevIndexLength = indexLength; in compactIndex()
1405 int32_t start = indexLength; in compactIndex()
1407 index16[indexLength++] = index16[start + n++]; in compactIndex()
1410 indexLength += INDEX_3_18BIT_BLOCK_LENGTH; in compactIndex()
1412 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1414 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1425 U_ASSERT(indexLength <= index3Start + index3Capacity); in compactIndex()
1430 if (indexLength >= (UCPTRIE_NO_INDEX3_NULL_OFFSET + UCPTRIE_INDEX_3_BLOCK_LENGTH)) { in compactIndex()
1451 n = findSameBlock(index16, index3Start, indexLength, in compactIndex()
1458 if (indexLength == index3Start) { in compactIndex()
1462 n = getOverlap(index16, indexLength, index2, i, blockLength); in compactIndex()
1464 i2 = indexLength - n; in compactIndex()
1465 int32_t prevIndexLength = indexLength; in compactIndex()
1467 index16[indexLength++] = index2[i + n++]; in compactIndex()
1469 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1475 U_ASSERT(indexLength <= index16Capacity); in compactIndex()
1480 (long)iLimit, (long)indexLength); in compactIndex()
1483 return indexLength; in compactIndex()
1566 int32_t indexLength = compactIndex(fastILimit, mixedBlocks, errorCode); in compactTrie() local
1568 return indexLength; in compactTrie()
1598 int32_t indexLength = compactTrie(fastLimit >> UCPTRIE_SHIFT_3, errorCode); in build() local
1605 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build()
1606 index16[indexLength++] = 0xffee; // arbitrary value in build()
1611 int32_t length = indexLength * 2; in build()
1613 if (((indexLength ^ dataLength) & 1) != 0) { in build()
1660 trie->indexLength = indexLength; in build()
1682 for (int32_t i = 0, j = 0; j < indexLength; i += SMALL_DATA_BLOCKS_PER_BMP_BLOCK, ++j) { in build()
1686 uprv_memcpy(dest16, index16, indexLength * 2); in build()
1687 dest16 += indexLength; in build()
1689 bytes += indexLength * 2; in build()