OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MmapFile
(Results
1 - 7
of
7
) sorted by null
/external/libtextclassifier/util/memory/
mmap.h
31
// Similar to a pointer: you "allocate" it using
MmapFile
(filename) and "delete"
33
// signature of
MmapFile
and Unmap; fortunately, it's a small class, so there
61
// Shortcut to simplify checking success of
MmapFile
(). See usage example
88
// MmapHandle mmap_handle =
MmapFile
(filename);
99
MmapHandle
MmapFile
(const std::string &filename);
101
// Like
MmapFile
(const std::string &filename), but uses a file descriptor.
102
MmapHandle
MmapFile
(int fd);
109
MmapHandle
MmapFile
(int fd, int64 segment_offset, int64 segment_size);
111
// Unmaps a file mapped using
MmapFile
. Returns true on success, false
120
: handle_(
MmapFile
(filename)) {
[
all
...]
mmap.cc
56
MmapHandle
MmapFile
(const std::string &filename) {
70
return
MmapFile
(fd);
73
MmapHandle
MmapFile
(int fd) {
82
return
MmapFile
(fd, /*segment_offset=*/0, /*segment_size=*/sb.st_size);
85
MmapHandle
MmapFile
(int fd, int64 segment_offset, int64 segment_size) {
/bionic/libc/bionic/
grp_pwd_file.h
38
class
MmapFile
{
40
MmapFile
(const char* filename, const char* required_prefix);
48
DISALLOW_COPY_AND_ASSIGN(
MmapFile
);
84
MmapFile
mmap_file_;
100
MmapFile
mmap_file_;
grp_pwd_file.cpp
195
MmapFile
::
MmapFile
(const char* filename, const char* required_prefix)
200
void
MmapFile
::Unmap() {
210
bool
MmapFile
::GetFile(const char** start, const char** end) {
232
bool
MmapFile
::DoMmap() {
262
bool
MmapFile
::Find(Line* line, Predicate predicate) {
292
bool
MmapFile
::FindById(uid_t uid, Line* line) {
304
bool
MmapFile
::FindByName(const char* name, Line* line) {
/external/autotest/client/deps/glbench/src/
utils.h
19
void *
MmapFile
(const char *name, size_t *length);
yuvtest.cc
73
MmapFile
(vertex, &size_vertex));
75
MmapFile
(fragment, &size_fragment));
138
char* pixels = static_cast<char *>(
MmapFile
(YUV2RGB_NAME, &size));
utils.cc
29
// Sets the base path for
MmapFile
to `dirname($argv0)`/$relative.
43
void *
MmapFile
(const char* name, size_t* length) {
Completed in 288 milliseconds