Searched refs:MmappedBuffer (Results 1 – 11 of 11) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | mmapped_buffer.cpp | 30 /* 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()
|
D | mmapped_buffer.h | 28 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/ |
D | sparse_table_dict_content.h | 48 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;
|
D | single_dict_content.h | 43 : mMmappedBuffer(MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)), in SingleDictContent() 81 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_dict_buffers.h | 39 MmappedBuffer::MmappedBufferPtr &&headerBuffer, 112 Ver4DictBuffers(MmappedBuffer::MmappedBufferPtr &&headerBuffer, 113 MmappedBuffer::MmappedBufferPtr &&bodyBuffer, 121 const MmappedBuffer::MmappedBufferPtr mHeaderBuffer; 122 const MmappedBuffer::MmappedBufferPtr mDictBuffer;
|
D | ver4_dict_buffers.cpp | 34 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/ |
D | ver4_dict_buffers.h | 48 MmappedBuffer::MmappedBufferPtr headerBuffer, 133 const MmappedBuffer::MmappedBufferPtr headerBuffer, const bool isUpdatable, 138 const MmappedBuffer::MmappedBufferPtr mHeaderBuffer; 139 const MmappedBuffer::MmappedBufferPtr mDictBuffer;
|
D | ver4_dict_buffers.cpp | 40 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/ |
D | dictionary_structure_with_buffer_policy_factory.cpp | 108 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()
|
D | dictionary_structure_with_buffer_policy_factory.h | 55 MmappedBuffer::MmappedBufferPtr &&mmappedBuffer);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.h | 44 PatriciaTriePolicy(MmappedBuffer::MmappedBufferPtr mmappedBuffer) in PatriciaTriePolicy() 156 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer;
|