v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ArrayBufferList Struct Referencefinal

#include <array-buffer-sweeper.h>

Collaboration diagram for v8::internal::ArrayBufferList:

Public Types

using Age = ArrayBufferExtension::Age
 

Public Member Functions

 ArrayBufferList (Age age)
 
bool IsEmpty () const
 
size_t ApproximateBytes () const
 
size_t BytesSlow () const
 
size_t Append (ArrayBufferExtension *extension)
 
void Append (ArrayBufferList &list)
 
V8_EXPORT_PRIVATE bool ContainsSlow (ArrayBufferExtension *extension) const
 

Private Attributes

ArrayBufferExtensionhead_ = nullptr
 
ArrayBufferExtensiontail_ = nullptr
 
size_t bytes_ = 0
 
ArrayBufferExtension::Age age_
 

Friends

class ArrayBufferSweeper
 

Detailed Description

Definition at line 26 of file array-buffer-sweeper.h.

Member Typedef Documentation

◆ Age

Constructor & Destructor Documentation

◆ ArrayBufferList()

v8::internal::ArrayBufferList::ArrayBufferList ( Age age)
inlineexplicit

Definition at line 29 of file array-buffer-sweeper.h.

Here is the caller graph for this function:

Member Function Documentation

◆ Append() [1/2]

size_t v8::internal::ArrayBufferList::Append ( ArrayBufferExtension * extension)

Definition at line 23 of file array-buffer-sweeper.cc.

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

◆ Append() [2/2]

void v8::internal::ArrayBufferList::Append ( ArrayBufferList & list)

Definition at line 45 of file array-buffer-sweeper.cc.

Here is the call graph for this function:

◆ ApproximateBytes()

size_t v8::internal::ArrayBufferList::ApproximateBytes ( ) const
inline

Definition at line 32 of file array-buffer-sweeper.h.

Here is the caller graph for this function:

◆ BytesSlow()

size_t v8::internal::ArrayBufferList::BytesSlow ( ) const

Definition at line 72 of file array-buffer-sweeper.cc.

Here is the call graph for this function:

◆ ContainsSlow()

bool v8::internal::ArrayBufferList::ContainsSlow ( ArrayBufferExtension * extension) const

Definition at line 64 of file array-buffer-sweeper.cc.

Here is the call graph for this function:

◆ IsEmpty()

bool v8::internal::ArrayBufferList::IsEmpty ( ) const

Definition at line 83 of file array-buffer-sweeper.cc.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ArrayBufferSweeper

friend class ArrayBufferSweeper
friend

Definition at line 49 of file array-buffer-sweeper.h.

Member Data Documentation

◆ age_

ArrayBufferExtension::Age v8::internal::ArrayBufferList::age_
private

Definition at line 47 of file array-buffer-sweeper.h.

◆ bytes_

size_t v8::internal::ArrayBufferList::bytes_ = 0
private

Definition at line 46 of file array-buffer-sweeper.h.

◆ head_

ArrayBufferExtension* v8::internal::ArrayBufferList::head_ = nullptr
private

Definition at line 41 of file array-buffer-sweeper.h.

◆ tail_

ArrayBufferExtension* v8::internal::ArrayBufferList::tail_ = nullptr
private

Definition at line 42 of file array-buffer-sweeper.h.


The documentation for this struct was generated from the following files: