Searched refs:codePointToOneByteCodeMap (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 122 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in fitsOnOneByte() argument 124 if (codePointToOneByteCodeMap != null) { in fitsOnOneByte() 125 if (codePointToOneByteCodeMap.containsKey(character)) { in fitsOnOneByte() 126 codePoint = codePointToOneByteCodeMap.get(character); in fitsOnOneByte() 151 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getCharSize() argument 153 if (fitsOnOneByte(character, codePointToOneByteCodeMap)) return 1; in getCharSize() 162 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getCharArraySize() argument 164 for (int character : chars) size += getCharSize(character, codePointToOneByteCodeMap); in getCharArraySize() 178 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeCharArray() argument 181 if (codePointToOneByteCodeMap != null) { in writeCharArray() [all …]
|
D | BinaryDictEncoderUtils.java | 63 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeCharactersSize() argument 64 int size = CharEncoding.getCharArraySize(characters, codePointToOneByteCodeMap); in getPtNodeCharactersSize() 79 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeCharactersSize() argument 80 return getPtNodeCharactersSize(ptNode.mChars, codePointToOneByteCodeMap); in getPtNodeCharactersSize() 99 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getPtNodeMaximumSize() argument 100 int size = getNodeHeaderSize(ptNode, codePointToOneByteCodeMap); in getPtNodeMaximumSize() 122 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in calculatePtNodeArrayMaximumSize() argument 125 final int nodeSize = getPtNodeMaximumSize(node, codePointToOneByteCodeMap); in calculatePtNodeArrayMaximumSize() 138 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in getNodeHeaderSize() argument 140 codePointToOneByteCodeMap); in getNodeHeaderSize() [all …]
|
D | Ver2DictEncoder.java | 111 final HashMap<Integer, Integer> codePointToOneByteCodeMap = new HashMap<>(); in makeCodePointTable() local 114 codePointToOneByteCodeMap.put(entry.getKey(), currentCodePointTableIndex); in makeCodePointTable() 121 return new CodePointTable(codePointToOneByteCodeMap, codePointOccurrenceArray); in makeCodePointTable() 210 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePtNodeFlags() argument 212 codePointToOneByteCodeMap); in writePtNodeFlags() 219 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeCharacters() argument 221 codePointToOneByteCodeMap); in writeCharacters() 235 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writeChildrenPosition() argument 237 codePointToOneByteCodeMap); in writeChildrenPosition() 272 final HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePtNode() argument [all …]
|
D | DictEncoder.java | 38 final HashMap<Integer, Integer> codePointToOneByteCodeMap); in writePtNode() argument
|
D | Ver4DictEncoder.java | 131 HashMap<Integer, Integer> codePointToOneByteCodeMap) { in writePtNode() argument
|