/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/ |
dictionary_structure_with_buffer_policy_factory.h | 37 newPolicyForOnMemoryDict(const int formatVersion, const std::vector<int> &locale, 45 newPolicyForOnMemoryV4Dict(const FormatUtils::FORMAT_VERSION formatVersion, 54 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion,
|
dictionary_structure_with_buffer_policy_factory.cpp | 57 const int formatVersion, const std::vector<int> &locale, 59 FormatUtils::FORMAT_VERSION dictFormatVersion = FormatUtils::getFormatVersion(formatVersion); 76 formatVersion); 85 const FormatUtils::FORMAT_VERSION formatVersion, 88 HeaderPolicy headerPolicy(formatVersion, locale, attributeMap); 113 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::detectFormatVersion( 116 switch (formatVersion) { 125 headerFilePath, formatVersion, std::move(mmappedBuffer)); 131 headerFilePath, formatVersion, std::move(mmappedBuffer)); 144 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion, [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
format_utils.cpp | 28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) { 29 switch (formatVersion) {
|
format_utils.h | 44 static FORMAT_VERSION getFormatVersion(const int formatVersion);
|
dict_file_writing_utils.cpp | 44 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion); 45 switch (formatVersion) { 50 filePath, localeAsCodePointVector, attributeMap, formatVersion); 55 filePath, localeAsCodePointVector, attributeMap, formatVersion); 67 const FormatUtils::FORMAT_VERSION formatVersion) { 68 HeaderPolicy headerPolicy(formatVersion, localeAsCodePointVector, attributeMap);
|
dict_file_writing_utils.h | 52 const FormatUtils::FORMAT_VERSION formatVersion); 58 const FormatUtils::FORMAT_VERSION formatVersion);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryTests.java | 50 private static boolean canCheckBigramProbability(final int formatVersion) { 51 return formatVersion > FormatSpec.VERSION401; 54 private static boolean supportsBeginningOfSentence(final int formatVersion) { 55 return formatVersion > FormatSpec.VERSION401; 59 final int formatVersion) throws IOException { 60 if (formatVersion == FormatSpec.VERSION4 61 || formatVersion == FormatSpec.VERSION4_ONLY_FOR_TESTING 62 || formatVersion == FormatSpec.VERSION4_DEV) { 63 return createEmptyVer4DictionaryAndGetFile(dictId, formatVersion); 65 throw new IOException("Dictionary format version " + formatVersion [all...] |
BinaryDictionaryDecayingTests.java | 67 private static boolean supportsBeginningOfSentence(final int formatVersion) { 68 return formatVersion > FormatSpec.VERSION401; 107 final int formatVersion) throws IOException { 108 if (formatVersion == FormatSpec.VERSION4 109 || formatVersion == FormatSpec.VERSION4_ONLY_FOR_TESTING 110 || formatVersion == FormatSpec.VERSION4_DEV) { 111 return createEmptyVer4DictionaryAndGetFile(dictId, formatVersion); 113 throw new IOException("Dictionary format version " + formatVersion 118 private File createEmptyVer4DictionaryAndGetFile(final String dictId, final int formatVersion) 131 if (BinaryDictionaryUtils.createEmptyDictFile(file.getAbsolutePath(), formatVersion, [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
BinaryDictionaryUtilsTests.java | 39 final int formatVersion) throws IOException { 40 if (formatVersion == FormatSpec.VERSION4) { 43 throw new IOException("Dictionary format version " + formatVersion 73 final int formatVersion = FormatSpec.VERSION4; 76 dictFile0 = createEmptyDictionaryAndGetFile("MoveFromDictionary", formatVersion); 89 assertTrue(binaryDictionary.getFormatVersion() == formatVersion);
|
/external/icu/icu4c/source/tools/toolutil/ |
swapimpl.cpp | 93 pInfo->formatVersion[0]==2 98 pInfo->formatVersion[0]); 108 // formatVersion 2 initially has indexes[8], 32 bytes. 182 (3<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=7) && 183 (pInfo->formatVersion[0]>=7 || 184 (pInfo->formatVersion[2]==UTRIE_SHIFT && 185 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT)) 190 pInfo->formatVersion[0]); 218 * In formatVersion 7, UPROPS_DATA_TOP_INDEX has the post-header data size [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
swapimpl.cpp | 96 (3<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=7) && 97 (pInfo->formatVersion[0]>=7 || 98 (pInfo->formatVersion[2]==UTRIE_SHIFT && 99 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT)) 104 pInfo->formatVersion[0]); 132 * In formatVersion 7, UPROPS_DATA_TOP_INDEX has the post-header data size. 249 ((pInfo->formatVersion[0]==1 && 250 pInfo->formatVersion[2]==UTRIE_SHIFT && 251 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT) | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
WordListMetadata.java | 55 final String remoteFilename, final int version, final int formatVersion, 67 mFormatVersion = formatVersion; 88 final Integer formatVersion = values.getAsInteger(MetadataDbHelper.FORMATVERSION_COLUMN); 100 || null == formatVersion 106 checksum, localFilename, remoteFilename, version, formatVersion, flags, locale);
|
/external/icu/icu4c/source/common/ |
ucol_data.h | 69 UVersionInfo formatVersion; /* format version from the UDataInfo header */
|
uresdata.c | 140 uprv_memcpy(context, pInfo->formatVersion, 4); 150 (pInfo->formatVersion[0]==1 || pInfo->formatVersion[0]==2)); 157 UVersionInfo formatVersion, const void *inBytes, int32_t length, 166 /* formatVersion 1.1 must have a root item and at least 5 indexes */ 167 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) { 181 if(formatVersion[0]==1 && formatVersion[1]==0) { 184 /* bundles with formatVersion 1.1 and later contain an indexes[] array * [all...] |
ucol_swp.cpp | 146 inHeader->formatVersion[0]==3 /*&& 147 inHeader->formatVersion[1]>=0*/ 161 /* swap a header-less collation formatVersion=3 binary, inside a resource bundle or ucadata.icu */ 200 udata_printError(ds, "ucol_swap(formatVersion=3): too few bytes (%d after header) for collation data\n", 209 inHeader->formatVersion[0]==3 /*&& 210 inHeader->formatVersion[1]>=0*/ 212 udata_printError(ds, "ucol_swap(formatVersion=3): magic 0x%08x or format version %02x.%02x is not a collation binary\n", 214 inHeader->formatVersion[0], inHeader->formatVersion[1]); 220 udata_printError(ds, "ucol_swap(formatVersion=3): endianness %d or charset %d does not match the swapper\n" [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
ver4_dict_buffers.cpp | 41 const FormatUtils::FORMAT_VERSION formatVersion) { 50 formatVersion)); 130 const FormatUtils::FORMAT_VERSION formatVersion) 134 mHeaderPolicy(mHeaderBuffer->getReadOnlyByteArrayView().data(), formatVersion),
|
ver4_dict_buffers.h | 49 const FormatUtils::FORMAT_VERSION formatVersion); 134 const FormatUtils::FORMAT_VERSION formatVersion);
|
/system/extras/verity/ |
KeystoreSigner.java | 39 * FormatVersion ::= INTEGER 82 private ASN1Integer formatVersion; 87 this.formatVersion = new ASN1Integer(0); 99 v.add(formatVersion); 106 v.add(formatVersion);
|
BootSignature.java | 37 * FormatVersion ::= INTEGER 52 private ASN1Integer formatVersion; 59 this.formatVersion = new ASN1Integer(0); 102 v.add(formatVersion);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
ver4_dict_buffers.h | 41 const FormatUtils::FORMAT_VERSION formatVersion); 124 const FormatUtils::FORMAT_VERSION formatVersion,
|
/external/chromium_org/third_party/icu/source/common/ |
uresdata.c | 135 uprv_memcpy(context, pInfo->formatVersion, 4); 145 (pInfo->formatVersion[0]==1 || pInfo->formatVersion[0]==2)); 152 UVersionInfo formatVersion, const void *inBytes, int32_t length, 161 /* formatVersion 1.1 must have a root item and at least 5 indexes */ 162 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) { 176 if(formatVersion[0]==1 && formatVersion[1]==0) { 179 /* bundles with formatVersion 1.1 and later contain an indexes[] array * [all...] |
ucol_swp.cpp | 136 inHeader->formatVersion[0]==3 /*&& 137 inHeader->formatVersion[1]>=0*/ 197 inHeader->formatVersion[0]==3 /*&& 198 inHeader->formatVersion[1]>=0*/ 202 inHeader->formatVersion[0], inHeader->formatVersion[1]); 354 pInfo->formatVersion[0]==3 /*&& 355 pInfo->formatVersion[1]>=0*/ 360 pInfo->formatVersion[0], pInfo->formatVersion[1]) [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
udata.h | 93 * <p>The <code>formatVersion</code> field should be used to 138 uint8_t formatVersion[4];
|
/external/icu/icu4c/source/common/unicode/ |
udata.h | 93 * <p>The <code>formatVersion</code> field should be used to 138 uint8_t formatVersion[4];
|
/external/icu/icu4c/source/samples/udata/ |
reader.c | 48 1, 0, 0, 0, /* formatVersion */ 64 pInfo->formatVersion[0]==1 &&
|