Home
last modified time | relevance | path

Searched refs:MAGIC_NUMBER (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dformat_utils_test.cpp29 EXPECT_EQ(0x9BC13AFE, FormatUtils::MAGIC_NUMBER) << "Magic number must not be changed."; in TEST()
59 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_2, 0, 0); in TEST()
65 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_402, 0, 0); in TEST()
71 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_403, 0, 0); in TEST()
78 getBuffer(FormatUtils::MAGIC_NUMBER - 1, FormatUtils::VERSION_2, 0, 0); in TEST()
84 getBuffer(FormatUtils::MAGIC_NUMBER, 100, 0, 0); in TEST()
90 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_2, 0, 0); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dformat_utils.cpp23 const uint32_t FormatUtils::MAGIC_NUMBER = 0x9BC13AFE; member in latinime::FormatUtils
56 case MAGIC_NUMBER: in detectFormatVersion()
Dformat_utils.h48 static const uint32_t MAGIC_NUMBER; variable
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java765 headerBuffer.write((byte) (0xFF & (FormatSpec.MAGIC_NUMBER >> 24))); in writeDictionaryHeader()
766 headerBuffer.write((byte) (0xFF & (FormatSpec.MAGIC_NUMBER >> 16))); in writeDictionaryHeader()
767 headerBuffer.write((byte) (0xFF & (FormatSpec.MAGIC_NUMBER >> 8))); in writeDictionaryHeader()
768 headerBuffer.write((byte) (0xFF & FormatSpec.MAGIC_NUMBER)); in writeDictionaryHeader()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFormatSpec.java162 public static final int MAGIC_NUMBER = 0x9BC13AFE; field in FormatSpec
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp107 if (!buffer->writeUintAndAdvancePosition(FormatUtils::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE, in writeDictionaryVersion()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java170 if (magicNumber != FormatSpec.MAGIC_NUMBER) { in process()