#include <memory_region.h>
Definition at line 18 of file memory_region.h.
◆ MemoryRegion() [1/3]
dart::MemoryRegion::MemoryRegion |
( |
| ) |
|
|
inline |
◆ MemoryRegion() [2/3]
dart::MemoryRegion::MemoryRegion |
( |
void * |
pointer, |
|
|
uword |
size |
|
) |
| |
|
inline |
◆ MemoryRegion() [3/3]
dart::MemoryRegion::MemoryRegion |
( |
const MemoryRegion & |
other | ) |
|
|
inline |
◆ Contains()
bool dart::MemoryRegion::Contains |
( |
uword |
address | ) |
const |
|
inline |
◆ CopyFrom()
Definition at line 9 of file memory_region.cc.
9 {
10 ASSERT(from.pointer() !=
nullptr && from.size() > 0);
13 memmove(
reinterpret_cast<void*
>(
start() +
offset), from.pointer(),
14 from.size());
15}
◆ end()
uword dart::MemoryRegion::end |
( |
| ) |
const |
|
inline |
◆ Extend()
Definition at line 71 of file memory_region.h.
71 {
72 pointer_ =
region.pointer();
73 size_ = (
region.size() + extra);
74 }
ClipOpAndAA opAA SkRegion region
◆ Load()
T dart::MemoryRegion::Load |
( |
uword |
offset | ) |
const |
|
inline |
◆ operator=()
Definition at line 23 of file memory_region.h.
23 {
24 pointer_ = other.pointer_;
25 size_ = other.size_;
26 return *this;
27 }
◆ pointer()
void * dart::MemoryRegion::pointer |
( |
| ) |
const |
|
inline |
◆ PointerTo()
T * dart::MemoryRegion::PointerTo |
( |
uword |
offset | ) |
const |
|
inline |
◆ set_size()
void dart::MemoryRegion::set_size |
( |
uword |
new_size | ) |
|
|
inline |
◆ size()
uword dart::MemoryRegion::size |
( |
| ) |
const |
|
inline |
◆ start()
uword dart::MemoryRegion::start |
( |
| ) |
const |
|
inline |
◆ Store()
void dart::MemoryRegion::Store |
( |
uword |
offset, |
|
|
T |
value |
|
) |
| const |
|
inline |
◆ StoreUnaligned()
void dart::MemoryRegion::StoreUnaligned |
( |
uword |
offset, |
|
|
T |
value |
|
) |
| const |
|
inline |
Definition at line 47 of file memory_region.h.
47 {
49 }
static void StoreUnaligned(T *ptr, T value)
◆ Subregion()
Definition at line 63 of file memory_region.h.
63 {
66 pointer_ =
reinterpret_cast<void*
>(from.start() +
offset);
68 }
The documentation for this class was generated from the following files: