HomeSort by relevance Sort by last modified time
    Searched refs:formatVersion (Results 1 - 25 of 72) sorted by null

1 2 3

  /packages/inputmethods/LatinIME/native/jni/src/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(
115 switch (formatVersion) {
126 headerFilePath, formatVersion, std::move(mmappedBuffer));
132 headerFilePath, formatVersion, std::move(mmappedBuffer));
145 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion,
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
format_utils.cpp 28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) {
29 switch (formatVersion) {
format_utils.h 50 static FORMAT_VERSION getFormatVersion(const int formatVersion);
dict_file_writing_utils.cpp 45 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion);
46 switch (formatVersion) {
51 filePath, localeAsCodePointVector, attributeMap, formatVersion);
56 filePath, localeAsCodePointVector, attributeMap, formatVersion);
68 const FormatUtils::FORMAT_VERSION formatVersion) {
69 HeaderPolicy headerPolicy(formatVersion, localeAsCodePointVector, attributeMap);
dict_file_writing_utils.h 52 const FormatUtils::FORMAT_VERSION formatVersion);
58 const FormatUtils::FORMAT_VERSION formatVersion);
  /external/icu/icu4c/source/tools/toolutil/
swapimpl.cpp 91 pInfo->formatVersion[0]==2
96 pInfo->formatVersion[0]);
106 // formatVersion 2 initially has indexes[8], 32 bytes.
180 (3<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=7) &&
181 (pInfo->formatVersion[0]>=7 ||
182 (pInfo->formatVersion[2]==UTRIE_SHIFT &&
183 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT))
188 pInfo->formatVersion[0]);
216 * In formatVersion 7, UPROPS_DATA_TOP_INDEX has the post-header data size
    [all...]
pkgitems.cpp 376 pInfo->formatVersion[0], pInfo->formatVersion[1]);
384 if(pInfo->formatVersion[0]>1 || (pInfo->formatVersion[0]==1 && pInfo->formatVersion[1]>=1)) {
409 if(poolInfo->formatVersion[0]<=1) {
457 pInfo->formatVersion[0]==6 &&
458 pInfo->formatVersion[1]>=2
461 pInfo->formatVersion[0], pInfo->formatVersion[1])
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
WordListMetadata.java 59 final int version, final int formatVersion,
72 mFormatVersion = formatVersion;
94 final Integer formatVersion = values.getAsInteger(MetadataDbHelper.FORMATVERSION_COLUMN);
106 || null == formatVersion
112 checksum, retryCount, localFilename, remoteFilename, version, formatVersion,
  /external/icu/icu4c/source/common/
ucol_data.h 69 UVersionInfo formatVersion; /* format version from the UDataInfo header */
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...]
uresdata.cpp 139 uprv_memcpy(context, pInfo->formatVersion, 4);
149 (1<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=3));
156 UVersionInfo formatVersion, const void *inBytes, int32_t length,
165 /* formatVersion 1.1 must have a root item and at least 5 indexes */
166 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) {
180 if(formatVersion[0]==1 && formatVersion[1]==0) {
183 /* bundles with formatVersion 1.1 and later contain an indexes[] array *
    [all...]
dictionarydata.cpp 177 pInfo->formatVersion[0] == 1)) {
179 pInfo->dataFormat[0], pInfo->dataFormat[1], pInfo->dataFormat[2], pInfo->dataFormat[3], pInfo->formatVersion[0]);
ucmndata.c 334 udm->pHeader->info.formatVersion[0]==1
344 udm->pHeader->info.formatVersion[0]==1
  /packages/inputmethods/LatinIME/native/jni/src/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);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_dict_buffers.cpp 35 const FormatUtils::FORMAT_VERSION formatVersion) {
66 formatVersion, buffers));
172 const FormatUtils::FORMAT_VERSION formatVersion,
175 mHeaderPolicy(mHeaderBuffer->getReadOnlyByteArrayView().data(), formatVersion),
ver4_dict_buffers.h 40 const FormatUtils::FORMAT_VERSION formatVersion);
114 const FormatUtils::FORMAT_VERSION formatVersion,
  /system/extras/verity/
KeystoreSigner.java 45 * FormatVersion ::= INTEGER
87 private ASN1Integer formatVersion;
95 this.formatVersion = new ASN1Integer(FORMAT_VERSION);
111 v.add(formatVersion);
118 v.add(formatVersion);
128 formatVersion = (ASN1Integer) sequence.getObjectAt(0);
129 if (formatVersion.getValue().intValue() != FORMAT_VERSION) {
BootSignature.java 50 * formatVersion ::= INTEGER
66 private ASN1Integer formatVersion;
82 this.formatVersion = new ASN1Integer(FORMAT_VERSION);
96 formatVersion = (ASN1Integer) sequence.getObjectAt(0);
97 if (formatVersion.getValue().intValue() != FORMAT_VERSION) {
181 v.add(formatVersion);
verify_boot_signature.c 56 ASN1_INTEGER *formatVersion;
64 ASN1_SIMPLE(BootSignature, formatVersion, ASN1_INTEGER),
177 /* Confirm that formatVersion matches our supported version */
183 ASN1_INTEGER_to_BN(bs->formatVersion, &value);
  /external/icu/icu4c/source/common/unicode/
udata.h 97 * <p>The <code>formatVersion</code> field should be used to
143 uint8_t formatVersion[4];
  /external/icu/icu4c/source/samples/udata/
reader.c 48 1, 0, 0, 0, /* formatVersion */
64 pInfo->formatVersion[0]==1 &&
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUBinary.java 598 byte[] formatVersion = new byte[] {
605 (authenticate != null && !authenticate.isDataVersionAcceptable(formatVersion))) {
609 formatVersion[0] & 0xff, formatVersion[1] & 0xff,
610 formatVersion[2] & 0xff, formatVersion[3] & 0xff));
628 public static int writeHeader(int dataFormat, int formatVersion, int dataVersion,
642 dos.writeInt(formatVersion);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUBinary.java 594 byte[] formatVersion = new byte[] {
601 (authenticate != null && !authenticate.isDataVersionAcceptable(formatVersion))) {
605 formatVersion[0] & 0xff, formatVersion[1] & 0xff,
606 formatVersion[2] & 0xff, formatVersion[3] & 0xff));
624 public static int writeHeader(int dataFormat, int formatVersion, int dataVersion,
638 dos.writeInt(formatVersion);

Completed in 2398 milliseconds

1 2 3