• Home
  • Raw
  • Download

Lines Matching refs:blockLength

90     int32_t allocDataBlock(int32_t blockLength);
401 int32_t MutableCodePointTrie::allocDataBlock(int32_t blockLength) { in allocDataBlock() argument
403 int32_t newTop = newBlock + blockLength; in allocDataBlock()
587 const uint16_t *q, int32_t qStart, int32_t blockLength) { in findSameBlock() argument
589 length -= blockLength; in findSameBlock()
593 if (equalBlocks(p + pStart, q, blockLength)) { in findSameBlock()
602 uint32_t value, int32_t blockLength) { in findAllSameBlock() argument
604 limit -= blockLength; in findAllSameBlock()
609 if (i == blockLength) { in findAllSameBlock()
628 const UIntB *q, int32_t qStart, int32_t blockLength) { in getOverlap() argument
629 int32_t overlap = blockLength - 1; in getOverlap()
639 int32_t blockLength) { in getAllSameOverlap() argument
640 int32_t min = length - (blockLength - 1); in getAllSameOverlap()
799 blockLength = newBlockLength; in init()
805 int32_t start = prevDataLength - blockLength; in extend()
811 for (int32_t end = newDataLength - blockLength; start <= end; ++start) { in extend()
841 int32_t blockLimit = blockStart + blockLength; in makeHashCode()
851 for (int32_t i = 1; i < blockLength; ++i) { in makeHashCode()
878 if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) { in findEntry()
896 if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) { in findEntry()
919 int32_t blockLength = 0; member in __anon5a66f5c00111::MixedBlocks
936 int32_t blockLength = UCPTRIE_FAST_DATA_BLOCK_LENGTH; in compactWholeDataBlocks() local
940 blockLength = UCPTRIE_SMALL_DATA_BLOCK_LENGTH; in compactWholeDataBlocks()
948 if (allValuesSameAs(p + 1, blockLength - 1, value)) { in compactWholeDataBlocks()
953 newDataCapacity += blockLength; in compactWholeDataBlocks()
974 newDataCapacity += blockLength; in compactWholeDataBlocks()
1013 newDataCapacity += blockLength; in compactWholeDataBlocks()
1036 void printBlock(const uint32_t *block, int32_t blockLength, uint32_t value, in printBlock() argument
1045 for (; i < blockLength; ++i) { in printBlock()
1099 int32_t blockLength = UCPTRIE_FAST_DATA_BLOCK_LENGTH; in compactData() local
1100 if (!mixedBlocks.init(newDataCapacity, blockLength)) { in compactData()
1111 blockLength = UCPTRIE_SMALL_DATA_BLOCK_LENGTH; in compactData()
1114 if (!mixedBlocks.init(newDataCapacity, blockLength)) { in compactData()
1134 n = findAllSameBlock(newData, n + 1, newDataLength, value, blockLength); in compactData()
1140 n = getAllSameOverlap(newData, newDataLength, value, blockLength); in compactData()
1144 printBlock(nullptr, blockLength, value, i << UCPTRIE_SHIFT_3, n, initialValue); in compactData()
1149 while (n < blockLength) { in compactData()
1162 n = getOverlap(newData, newDataLength, block, 0, blockLength); in compactData()
1166 printBlock(block, blockLength, 0, i << UCPTRIE_SHIFT_3, n, initialValue); in compactData()
1171 while (n < blockLength) { in compactData()
1440 int32_t blockLength = UCPTRIE_INDEX_2_BLOCK_LENGTH; in compactIndex() local
1442 for (int32_t i = 0; i < i2Length; i += blockLength) { in compactIndex()
1444 if ((i2Length - i) >= blockLength) { in compactIndex()
1446 U_ASSERT(blockLength == UCPTRIE_INDEX_2_BLOCK_LENGTH); in compactIndex()
1450 blockLength = i2Length - i; in compactIndex()
1452 index2, i, blockLength); in compactIndex()
1462 n = getOverlap(index16, indexLength, index2, i, blockLength); in compactIndex()
1466 while (n < blockLength) { in compactIndex()