OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MmapHandle
(Results
1 - 2
of
2
) sorted by null
/external/libtextclassifier/lang_id/common/file/
mmap.h
40
class
MmapHandle
{
42
MmapHandle
(void *start, size_t num_bytes)
75
//
MmapHandle
mmap_handle = MmapFile(filename);
86
MmapHandle
MmapFile(const string &filename);
89
MmapHandle
MmapFile(int fd);
93
bool Unmap(
MmapHandle
mmap_handle);
111
const
MmapHandle
&handle() { return handle_; }
114
MmapHandle
handle_;
/external/libtextclassifier/utils/memory/
mmap.h
40
class
MmapHandle
{
42
MmapHandle
(void *start, size_t num_bytes, void *unmap_addr = nullptr)
88
//
MmapHandle
mmap_handle = MmapFile(filename);
99
MmapHandle
MmapFile(const std::string &filename);
102
MmapHandle
MmapFile(int fd);
109
MmapHandle
MmapFile(int fd, int64 segment_offset, int64 segment_size);
113
bool Unmap(
MmapHandle
mmap_handle);
133
const
MmapHandle
&handle() { return handle_; }
136
MmapHandle
handle_;
Completed in 214 milliseconds