HomeSort by relevance Sort by last modified time
    Searched refs:MmappedBuffer (Results 1 - 11 of 11) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
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,
57 void *const mmappedBuffer, const int alignedSize, const int mmapFd,
59 : mByteArrayView(buffer, bufferSize), mMmappedBuffer(mmappedBuffer),
63 AK_FORCE_INLINE MmappedBuffer(const bool isUpdatable)
67 DISALLOW_IMPLICIT_CONSTRUCTORS(MmappedBuffer);
mmapped_buffer.cpp 30 /* static */ MmappedBuffer::MmappedBufferPtr MmappedBuffer::openBuffer(
43 void *const mmappedBuffer = mmap(0, alignedSize, protMode, MAP_PRIVATE, mmapFd,
45 if (mmappedBuffer == MAP_FAILED) {
50 uint8_t *const buffer = static_cast<uint8_t *>(mmappedBuffer) + offset;
56 return MmappedBufferPtr(new MmappedBuffer(buffer, bufferSize, mmappedBuffer, alignedSize,
60 /* static */ MmappedBuffer::MmappedBufferPtr MmappedBuffer::openBuffer(
66 return MmappedBufferPtr(new MmappedBuffer(isUpdatable))
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
sparse_table_dict_content.h 48 MmappedBuffer::openBuffer(dictPath, lookupTableFileName, isUpdatable)),
50 MmappedBuffer::openBuffer(dictPath, addressTableFileName, isUpdatable)),
52 MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)),
112 const MmappedBuffer::MmappedBufferPtr mLookupTableBuffer;
113 const MmappedBuffer::MmappedBufferPtr mAddressTableBuffer;
114 const MmappedBuffer::MmappedBufferPtr mContentBuffer;
single_dict_content.h 43 : mMmappedBuffer(MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)),
81 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
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;
ver4_dict_buffers.cpp 34 const char *const dictPath, MmappedBuffer::MmappedBufferPtr &&headerBuffer,
43 MmappedBuffer::MmappedBufferPtr bodyBuffer = MmappedBuffer::openBuffer(dictPath,
170 Ver4DictBuffers::Ver4DictBuffers(MmappedBuffer::MmappedBufferPtr &&headerBuffer,
171 MmappedBuffer::MmappedBufferPtr &&bodyBuffer,
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
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;
ver4_dict_buffers.cpp 40 const char *const dictPath, MmappedBuffer::MmappedBufferPtr headerBuffer,
129 MmappedBuffer::MmappedBufferPtr headerBuffer, const bool isUpdatable,
132 mDictBuffer(MmappedBuffer::openBuffer(dictPath,
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
dictionary_structure_with_buffer_policy_factory.cpp 108 MmappedBuffer::MmappedBufferPtr mmappedBuffer =
109 MmappedBuffer::openBuffer(headerFilePath, isUpdatable);
110 if (!mmappedBuffer) {
114 mmappedBuffer->getReadOnlyByteArrayView());
126 headerFilePath, formatVersion, std::move(mmappedBuffer));
132 headerFilePath, formatVersion, std::move(mmappedBuffer));
146 MmappedBuffer::MmappedBufferPtr &&mmappedBuffer) {
157 DictBuffers::openVer4DictBuffers(dictPath, std::move(mmappedBuffer), formatVersion)
    [all...]
dictionary_structure_with_buffer_policy_factory.h 55 MmappedBuffer::MmappedBufferPtr &&mmappedBuffer);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.h 44 PatriciaTriePolicy(MmappedBuffer::MmappedBufferPtr mmappedBuffer)
45 : mMmappedBuffer(std::move(mmappedBuffer)),
156 const MmappedBuffer::MmappedBufferPtr mMmappedBuffer;

Completed in 89 milliseconds