Home
last modified time | relevance | path

Searched refs:MmappedBuffer (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmmapped_buffer.cpp30 /* static */ MmappedBuffer::MmappedBufferPtr MmappedBuffer::openBuffer( in openBuffer()
56 return MmappedBufferPtr(new MmappedBuffer(buffer, bufferSize, mmappedBuffer, alignedSize, in openBuffer()
60 /* static */ MmappedBuffer::MmappedBufferPtr MmappedBuffer::openBuffer( in openBuffer()
66 return MmappedBufferPtr(new MmappedBuffer(isUpdatable)); in openBuffer()
72 /* static */ MmappedBuffer::MmappedBufferPtr MmappedBuffer::openBuffer( in openBuffer()
84 MmappedBuffer::~MmappedBuffer() { in ~MmappedBuffer()
Dmmapped_buffer.h28 class MmappedBuffer {
30 typedef std::unique_ptr<const MmappedBuffer> MmappedBufferPtr;
41 ~MmappedBuffer();
56 AK_FORCE_INLINE MmappedBuffer(uint8_t *const buffer, const int bufferSize, in MmappedBuffer() function
63 AK_FORCE_INLINE MmappedBuffer(const bool isUpdatable) in MmappedBuffer() function
67 DISALLOW_IMPLICIT_CONSTRUCTORS(MmappedBuffer);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dsparse_table_dict_content.h48 MmappedBuffer::openBuffer(dictPath, lookupTableFileName, isUpdatable)), in SparseTableDictContent()
50 MmappedBuffer::openBuffer(dictPath, addressTableFileName, isUpdatable)), in SparseTableDictContent()
52 MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)), in SparseTableDictContent()
112 const MmappedBuffer::MmappedBufferPtr mLookupTableBuffer;
113 const MmappedBuffer::MmappedBufferPtr mAddressTableBuffer;
114 const MmappedBuffer::MmappedBufferPtr mContentBuffer;
Dsingle_dict_content.h43 : mMmappedBuffer(MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)), in SingleDictContent()
81 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.h39 MmappedBuffer::MmappedBufferPtr &&headerBuffer,
112 Ver4DictBuffers(MmappedBuffer::MmappedBufferPtr &&headerBuffer,
113 MmappedBuffer::MmappedBufferPtr &&bodyBuffer,
121 const MmappedBuffer::MmappedBufferPtr mHeaderBuffer;
122 const MmappedBuffer::MmappedBufferPtr mDictBuffer;
Dver4_dict_buffers.cpp34 const char *const dictPath, MmappedBuffer::MmappedBufferPtr &&headerBuffer, in openVer4DictBuffers()
43 MmappedBuffer::MmappedBufferPtr bodyBuffer = MmappedBuffer::openBuffer(dictPath, in openVer4DictBuffers()
170 Ver4DictBuffers::Ver4DictBuffers(MmappedBuffer::MmappedBufferPtr &&headerBuffer, in Ver4DictBuffers()
171 MmappedBuffer::MmappedBufferPtr &&bodyBuffer, in Ver4DictBuffers()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.h48 MmappedBuffer::MmappedBufferPtr headerBuffer,
133 const MmappedBuffer::MmappedBufferPtr headerBuffer, const bool isUpdatable,
138 const MmappedBuffer::MmappedBufferPtr mHeaderBuffer;
139 const MmappedBuffer::MmappedBufferPtr mDictBuffer;
Dver4_dict_buffers.cpp40 const char *const dictPath, MmappedBuffer::MmappedBufferPtr headerBuffer, in openVer4DictBuffers()
129 MmappedBuffer::MmappedBufferPtr headerBuffer, const bool isUpdatable, in Ver4DictBuffers()
132 mDictBuffer(MmappedBuffer::openBuffer(dictPath, in Ver4DictBuffers()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp108 MmappedBuffer::MmappedBufferPtr mmappedBuffer = in newPolicyForDirectoryDict()
109 MmappedBuffer::openBuffer(headerFilePath, isUpdatable); in newPolicyForDirectoryDict()
146 MmappedBuffer::MmappedBufferPtr &&mmappedBuffer) { in newPolicyForV4Dict()
173 MmappedBuffer::MmappedBufferPtr mmappedBuffer( in newPolicyForFileDict()
174 MmappedBuffer::openBuffer(path, bufOffset, size, false /* isUpdatable */)); in newPolicyForFileDict()
Ddictionary_structure_with_buffer_policy_factory.h55 MmappedBuffer::MmappedBufferPtr &&mmappedBuffer);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h44 PatriciaTriePolicy(MmappedBuffer::MmappedBufferPtr mmappedBuffer) in PatriciaTriePolicy()
156 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer;