Home
last modified time | relevance | path

Searched refs:mMmappedBuffer (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dsingle_dict_content.h43 : mMmappedBuffer(MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)), in SingleDictContent()
45 mMmappedBuffer ? mMmappedBuffer->getReadWriteByteArrayView() : in SingleDictContent()
48 mIsValid(mMmappedBuffer) {} in SingleDictContent()
51 : mMmappedBuffer(nullptr), in SingleDictContent()
81 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h45 : mMmappedBuffer(std::move(mmappedBuffer)), in PatriciaTriePolicy()
46 mHeaderPolicy(mMmappedBuffer->getReadOnlyByteArrayView().data(), in PatriciaTriePolicy()
47 FormatUtils::detectFormatVersion(mMmappedBuffer->getReadOnlyByteArrayView())), in PatriciaTriePolicy()
48 mBuffer(mMmappedBuffer->getReadOnlyByteArrayView().skip(mHeaderPolicy.getSize())), in PatriciaTriePolicy()
156 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmmapped_buffer.h59 : mByteArrayView(buffer, bufferSize), mMmappedBuffer(mmappedBuffer), in MmappedBuffer()
64 : mByteArrayView(), mMmappedBuffer(nullptr), mAlignedSize(0), in MmappedBuffer()
70 void *const mMmappedBuffer; variable
Dmmapped_buffer.cpp88 int ret = munmap(mMmappedBuffer, mAlignedSize); in ~MmappedBuffer()