• Home
  • Raw
  • Download

Lines Matching refs:indexLength

1326     int32_t indexLength = index3Start;  in compactIndex()  local
1344 if (indexLength == index3Start) { in compactIndex()
1348 n = getOverlap(index16, indexLength, in compactIndex()
1351 i3 = indexLength - n; in compactIndex()
1352 int32_t prevIndexLength = indexLength; in compactIndex()
1354 index16[indexLength++] = index[i + n++]; in compactIndex()
1356 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1358 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1367 int32_t k = indexLength; in compactIndex()
1396 int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex()
1400 if (indexLength == index3Start) { in compactIndex()
1404 n = getOverlap(index16, indexLength, in compactIndex()
1405 index16, indexLength, INDEX_3_18BIT_BLOCK_LENGTH); in compactIndex()
1407 i3 = (indexLength - n) | 0x8000; in compactIndex()
1408 int32_t prevIndexLength = indexLength; in compactIndex()
1410 int32_t start = indexLength; in compactIndex()
1412 index16[indexLength++] = index16[start + n++]; in compactIndex()
1415 indexLength += INDEX_3_18BIT_BLOCK_LENGTH; in compactIndex()
1417 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1419 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1430 U_ASSERT(indexLength <= index3Start + index3Capacity); in compactIndex()
1435 if (indexLength >= (UCPTRIE_NO_INDEX3_NULL_OFFSET + UCPTRIE_INDEX_3_BLOCK_LENGTH)) { in compactIndex()
1456 n = findSameBlock(index16, index3Start, indexLength, in compactIndex()
1463 if (indexLength == index3Start) { in compactIndex()
1467 n = getOverlap(index16, indexLength, index2, i, blockLength); in compactIndex()
1469 i2 = indexLength - n; in compactIndex()
1470 int32_t prevIndexLength = indexLength; in compactIndex()
1472 index16[indexLength++] = index2[i + n++]; in compactIndex()
1474 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex()
1480 U_ASSERT(indexLength <= index16Capacity); in compactIndex()
1485 (long)iLimit, (long)indexLength); in compactIndex()
1488 return indexLength; in compactIndex()
1571 int32_t indexLength = compactIndex(fastILimit, mixedBlocks, errorCode); in compactTrie() local
1573 return indexLength; in compactTrie()
1603 int32_t indexLength = compactTrie(fastLimit >> UCPTRIE_SHIFT_3, errorCode); in build() local
1610 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build()
1611 index16[indexLength++] = 0xffee; // arbitrary value in build()
1616 int32_t length = indexLength * 2; in build()
1618 if (((indexLength ^ dataLength) & 1) != 0) { in build()
1665 trie->indexLength = indexLength; in build()
1687 for (int32_t i = 0, j = 0; j < indexLength; i += SMALL_DATA_BLOCKS_PER_BMP_BLOCK, ++j) { in build()
1691 uprv_memcpy(dest16, index16, indexLength * 2); in build()
1692 dest16 += indexLength; in build()
1694 bytes += indexLength * 2; in build()