Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::KernelBufferList Class Reference

#include <unit_test.h>

Public Member Functions

 KernelBufferList (const uint8_t *kernel_buffer)
 
 KernelBufferList (const uint8_t *kernel_buffer, KernelBufferList *next)
 
 ~KernelBufferList ()
 
void AddBufferToList (const uint8_t *kernel_buffer)
 

Detailed Description

Definition at line 263 of file unit_test.h.

Constructor & Destructor Documentation

◆ KernelBufferList() [1/2]

dart::KernelBufferList::KernelBufferList ( const uint8_t *  kernel_buffer)
inlineexplicit

Definition at line 265 of file unit_test.h.

266 : kernel_buffer_(kernel_buffer), next_(nullptr) {}

◆ KernelBufferList() [2/2]

dart::KernelBufferList::KernelBufferList ( const uint8_t *  kernel_buffer,
KernelBufferList next 
)
inline

Definition at line 268 of file unit_test.h.

269 : kernel_buffer_(kernel_buffer), next_(next) {}
static float next(float f)

◆ ~KernelBufferList()

dart::KernelBufferList::~KernelBufferList ( )
inline

Definition at line 271 of file unit_test.h.

271 {
272 free(const_cast<uint8_t*>(kernel_buffer_));
273 if (next_ != nullptr) {
274 delete next_;
275 }
276 }

Member Function Documentation

◆ AddBufferToList()

void dart::KernelBufferList::AddBufferToList ( const uint8_t *  kernel_buffer)

Definition at line 50 of file unit_test.cc.

50 {
51 next_ = new KernelBufferList(kernel_buffer_, next_);
52 kernel_buffer_ = kernel_buffer;
53}
KernelBufferList(const uint8_t *kernel_buffer)
Definition: unit_test.h:265

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