Home
last modified time | relevance | path

Searched refs:nodeSize (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java125 final int nodeSize = getPtNodeMaximumSize(node, codePointToOneByteCodeMap); in calculatePtNodeArrayMaximumSize() local
126 node.mCachedSize = nodeSize; in calculatePtNodeArrayMaximumSize()
127 size += nodeSize; in calculatePtNodeArrayMaximumSize()
329 int nodeSize = getNodeHeaderSize(ptNode, codePointToOneByteCodeMap); in computeActualPtNodeArraySize() local
331 nodeSize += FormatSpec.PTNODE_FREQUENCY_SIZE; in computeActualPtNodeArraySize()
334 nodeSize += getByteSize(getOffsetToTargetNodeArrayDuringUpdate(ptNodeArray, in computeActualPtNodeArraySize()
335 nodeSize + size, ptNode.mChildren)); in computeActualPtNodeArraySize()
340 nodeSize + size + FormatSpec.PTNODE_ATTRIBUTE_FLAGS_SIZE, in computeActualPtNodeArraySize()
342 nodeSize += getByteSize(offset) + FormatSpec.PTNODE_ATTRIBUTE_FLAGS_SIZE; in computeActualPtNodeArraySize()
345 ptNode.mCachedSize = nodeSize; in computeActualPtNodeArraySize()
[all …]
DFusionDictionary.java555 final int nodeSize = nodeArray.mData.size(); in countPtNodes() local
556 int size = nodeSize; in countPtNodes()
557 for (int i = nodeSize - 1; i >= 0; --i) { in countPtNodes()