Searched refs:mmapFd (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | mmapped_buffer.cpp | 33 const int mmapFd = open(path, O_RDONLY); in openBuffer() local 34 if (mmapFd < 0) { in openBuffer() 43 void *const mmappedBuffer = mmap(0, alignedSize, protMode, MAP_PRIVATE, mmapFd, in openBuffer() 47 close(mmapFd); in openBuffer() 53 close(mmapFd); in openBuffer() 57 mmapFd, isUpdatable)); in openBuffer()
|
D | mmapped_buffer.h | 57 void *const mmappedBuffer, const int alignedSize, const int mmapFd, in MmappedBuffer() argument 60 mAlignedSize(alignedSize), mMmapFd(mmapFd), mIsUpdatable(isUpdatable) {} in MmappedBuffer()
|