OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mmappedBuffer
(Results
1 - 2
of
2
) sorted by null
/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
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
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
...]
Completed in 418 milliseconds