v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::AddressRegion Class Reference

#include <address-region.h>

Inheritance diagram for v8::base::AddressRegion:
Collaboration diagram for v8::base::AddressRegion:

Classes

struct  StartAddressLess
 

Public Types

using Address = uintptr_t
 

Public Member Functions

constexpr AddressRegion ()=default
 
constexpr AddressRegion (Address address, size_t size)
 
Address begin () const
 
Address end () const
 
size_t size () const
 
void set_size (size_t size)
 
bool is_empty () const
 
bool contains (Address address) const
 
bool contains (Address address, size_t size) const
 
bool contains (AddressRegion region) const
 
base::AddressRegion GetOverlap (AddressRegion region) const
 
bool operator== (AddressRegion other) const
 
bool operator!= (AddressRegion other) const
 

Private Attributes

Address address_ = 0
 
size_t size_ = 0
 

Detailed Description

Definition at line 16 of file address-region.h.

Member Typedef Documentation

◆ Address

Definition at line 26 of file address-region.h.

Constructor & Destructor Documentation

◆ AddressRegion() [1/2]

v8::base::AddressRegion::AddressRegion ( )
constexprdefault

◆ AddressRegion() [2/2]

v8::base::AddressRegion::AddressRegion ( Address address,
size_t size )
inlineconstexpr

Definition at line 30 of file address-region.h.

Member Function Documentation

◆ begin()

Address v8::base::AddressRegion::begin ( ) const
inline

Definition at line 33 of file address-region.h.

Here is the caller graph for this function:

◆ contains() [1/3]

bool v8::base::AddressRegion::contains ( Address address) const
inline

Definition at line 41 of file address-region.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ contains() [2/3]

bool v8::base::AddressRegion::contains ( Address address,
size_t size ) const
inline

Definition at line 46 of file address-region.h.

Here is the call graph for this function:

◆ contains() [3/3]

bool v8::base::AddressRegion::contains ( AddressRegion region) const
inline

Definition at line 52 of file address-region.h.

Here is the call graph for this function:

◆ end()

Address v8::base::AddressRegion::end ( ) const
inline

Definition at line 34 of file address-region.h.

Here is the caller graph for this function:

◆ GetOverlap()

base::AddressRegion v8::base::AddressRegion::GetOverlap ( AddressRegion region) const
inline

Definition at line 56 of file address-region.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_empty()

bool v8::base::AddressRegion::is_empty ( ) const
inline

Definition at line 39 of file address-region.h.

Here is the caller graph for this function:

◆ operator!=()

bool v8::base::AddressRegion::operator!= ( AddressRegion other) const
inline

Definition at line 67 of file address-region.h.

◆ operator==()

bool v8::base::AddressRegion::operator== ( AddressRegion other) const
inline

Definition at line 63 of file address-region.h.

◆ set_size()

void v8::base::AddressRegion::set_size ( size_t size)
inline

Definition at line 37 of file address-region.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

size_t v8::base::AddressRegion::size ( ) const
inline

Definition at line 36 of file address-region.h.

Here is the caller graph for this function:

Member Data Documentation

◆ address_

Address v8::base::AddressRegion::address_ = 0
private

Definition at line 72 of file address-region.h.

◆ size_

size_t v8::base::AddressRegion::size_ = 0
private

Definition at line 73 of file address-region.h.


The documentation for this class was generated from the following file: