Home
last modified time | relevance | path

Searched refs:magicNumber (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dformat_utils_test.cpp32 const std::vector<uint8_t> getBuffer(const int magicNumber, const int version, const uint16_t flags, in getBuffer() argument
35 buffer.push_back(magicNumber >> 24); in getBuffer()
36 buffer.push_back(magicNumber >> 16); in getBuffer()
37 buffer.push_back(magicNumber >> 8); in getBuffer()
38 buffer.push_back(magicNumber); in getBuffer()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dformat_utils.cpp54 const uint32_t magicNumber = ByteArrayUtils::readUint32(dictBuffer.data(), 0); in detectFormatVersion() local
55 switch (magicNumber) { in detectFormatVersion()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java166 final int magicNumber = ((tmpBuffer[MAGIC_NUMBER_START_OFFSET] & 0xFF) << 24) in process() local
170 if (magicNumber != FormatSpec.MAGIC_NUMBER) { in process()