Home
last modified time | relevance | path

Searched defs:formatVersion (Results 1 – 14 of 14) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp57 const int formatVersion, const std::vector<int> &locale, in newPolicyForOnMemoryDict()
85 const FormatUtils::FORMAT_VERSION formatVersion, in newPolicyForOnMemoryV4Dict()
113 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::detectFormatVersion( in newPolicyForDirectoryDict() local
144 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion, in newPolicyForV4Dict()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java50 private static boolean canCheckBigramProbability(final int formatVersion) { in canCheckBigramProbability()
54 private static boolean supportsBeginningOfSentence(final int formatVersion) { in supportsBeginningOfSentence()
59 final int formatVersion) throws IOException { in createEmptyDictionaryAndGetFile()
71 final int formatVersion) throws IOException { in createEmptyVer4DictionaryAndGetFile()
92 private void testIsValidDictionary(final int formatVersion) { in testIsValidDictionary()
122 private void testConstructingDictionaryOnMemory(final int formatVersion) { in testConstructingDictionaryOnMemory()
155 private void testAddTooLongWord(final int formatVersion) { in testAddTooLongWord()
232 private void testAddUnigramWord(final int formatVersion) { in testAddUnigramWord()
276 private void testRandomlyAddUnigramWord(final int formatVersion) { in testRandomlyAddUnigramWord()
314 private void testAddBigramWords(final int formatVersion) { in testAddBigramWords()
[all …]
DBinaryDictionaryDecayingTests.java67 private static boolean supportsBeginningOfSentence(final int formatVersion) { in supportsBeginningOfSentence()
107 final int formatVersion) throws IOException { in createEmptyDictionaryAndGetFile()
118 private File createEmptyVer4DictionaryAndGetFile(final String dictId, final int formatVersion) in createEmptyVer4DictionaryAndGetFile()
154 private void testReadDictInJavaSide(final int formatVersion) { in testReadDictInJavaSide()
216 private void testAddValidAndInvalidWords(final int formatVersion) { in testAddValidAndInvalidWords()
261 private void testDecayingProbability(final int formatVersion) { in testDecayingProbability()
318 private void testAddManyUnigramsToDecayingDict(final int formatVersion) { in testAddManyUnigramsToDecayingDict()
379 private void testOverflowUnigrams(final int formatVersion) { in testOverflowUnigrams()
440 private void testAddManyBigramsToDecayingDict(final int formatVersion) { in testAddManyBigramsToDecayingDict()
516 private void testOverflowBigrams(final int formatVersion) { in testOverflowBigrams()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtilsTests.java39 final int formatVersion) throws IOException { in createEmptyDictionaryAndGetFile()
73 final int formatVersion = FormatSpec.VERSION4; in testRenameDictionary() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_dict_buffers.cpp41 const FormatUtils::FORMAT_VERSION formatVersion) { in openVer4DictBuffers()
130 const FormatUtils::FORMAT_VERSION formatVersion) in Ver4DictBuffers()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_dict_buffers.cpp35 const FormatUtils::FORMAT_VERSION formatVersion) { in openVer4DictBuffers()
180 const FormatUtils::FORMAT_VERSION formatVersion, in Ver4DictBuffers()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
Ddict_file_writing_utils.cpp44 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion); in createEmptyDictFile() local
67 const FormatUtils::FORMAT_VERSION formatVersion) { in createEmptyV4DictFile()
Dformat_utils.cpp28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) { in getFormatVersion()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java55 final String remoteFilename, final int version, final int formatVersion, in WordListMetadata()
88 final Integer formatVersion = values.getAsInteger(MetadataDbHelper.FORMATVERSION_COLUMN); in createFromContentValues() local
DMetadataDbHelper.java456 final int formatVersion) { in makeContentValues()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java113 private boolean matchesExpectedBinaryDictFormatVersionForThisType(final int formatVersion) { in matchesExpectedBinaryDictFormatVersionForThisType()
117 private boolean needsToMigrateDictionary(final int formatVersion) { in needsToMigrateDictionary()
DBinaryDictionary.java139 final Locale locale, final String dictType, final long formatVersion, in BinaryDictionary()
167 private static native long createOnMemoryNative(long formatVersion, in createOnMemoryNative()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
Dheader_policy.h34 HeaderPolicy(const uint8_t *const dictBuf, const FormatUtils::FORMAT_VERSION formatVersion) in HeaderPolicy()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp71 jlong formatVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionary_createOnMemory()