Flutter Engine
The Flutter Engine
|
A mapping to a buffer for a file that has been loaded into a namespace. More...
#include <file_in_namespace_buffer.h>
Public Member Functions | |
FileInNamespaceBuffer (int namespace_fd, const char *path, bool executable) | |
~FileInNamespaceBuffer () | |
const uint8_t * | GetMapping () const override |
size_t | GetSize () const override |
bool | IsDontNeedSafe () const override |
Public Member Functions inherited from fml::Mapping | |
Mapping () | |
virtual | ~Mapping () |
A mapping to a buffer for a file that has been loaded into a namespace.
Definition at line 12 of file file_in_namespace_buffer.h.
flutter_runner::FileInNamespaceBuffer::FileInNamespaceBuffer | ( | int | namespace_fd, |
const char * | path, | ||
bool | executable | ||
) |
Loads the file at |path| into the namespace |namespace_fd|, creating a mapping to the loaded buffer.
The file will be loaded with the readable permission. If |executable| is true, the file will also be loaded with the executable permission.
Definition at line 20 of file file_in_namespace_buffer.cc.
flutter_runner::FileInNamespaceBuffer::~FileInNamespaceBuffer | ( | ) |
Definition at line 47 of file file_in_namespace_buffer.cc.
|
overridevirtual |
Implements fml::Mapping.
Definition at line 55 of file file_in_namespace_buffer.cc.
|
overridevirtual |
Implements fml::Mapping.
Definition at line 59 of file file_in_namespace_buffer.cc.
|
overridevirtual |
Implements fml::Mapping.
Definition at line 63 of file file_in_namespace_buffer.cc.