Searched refs:MAGIC_NUMBER (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | format_utils_test.cpp | 29 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/ |
D | format_utils.cpp | 23 const uint32_t FormatUtils::MAGIC_NUMBER = 0x9BC13AFE; member in latinime::FormatUtils 56 case MAGIC_NUMBER: in detectFormatVersion()
|
D | format_utils.h | 48 static const uint32_t MAGIC_NUMBER; variable
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 765 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/ |
D | FormatSpec.java | 162 public static final int MAGIC_NUMBER = 0x9BC13AFE; field in FormatSpec
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_read_write_utils.cpp | 107 if (!buffer->writeUintAndAdvancePosition(FormatUtils::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE, in writeDictionaryVersion()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtils.java | 170 if (magicNumber != FormatSpec.MAGIC_NUMBER) { in process()
|