#include <process.h>
Definition at line 226 of file process.h.
◆ BufferListBase()
dart::bin::BufferListBase::BufferListBase |
( |
| ) |
|
|
inline |
Definition at line 254 of file process.h.
255 : head_(nullptr), tail_(nullptr), data_size_(0), free_size_(0) {}
◆ ~BufferListBase()
dart::bin::BufferListBase::~BufferListBase |
( |
| ) |
|
|
inline |
Definition at line 256 of file process.h.
256 {
259 }
#define DEBUG_ASSERT(cond)
bool EMSCRIPTEN_KEEPALIVE IsEmpty(const SkPath &path)
◆ Allocate()
bool dart::bin::BufferListBase::Allocate |
( |
| ) |
|
|
inlineprotected |
Definition at line 291 of file process.h.
291 {
293 BufferListNode* node =
new BufferListNode(
kBufferSize);
294 if ((node == nullptr) || !node->Valid()) {
295
296 delete node;
297 return false;
298 }
299 if (head_ == nullptr) {
300 head_ = node;
301 tail_ = node;
302 } else {
305 tail_ = node;
306 }
308 return true;
309 }
void set_next(BufferListNode *n)
BufferListNode * next() const
static constexpr intptr_t kBufferSize
◆ data_size()
intptr_t dart::bin::BufferListBase::data_size |
( |
| ) |
const |
|
inlineprotected |
Definition at line 329 of file process.h.
329{ return data_size_; }
◆ Free()
void dart::bin::BufferListBase::Free |
( |
| ) |
|
|
inlineprotected |
Definition at line 311 of file process.h.
311 {
312 BufferListNode* current = head_;
313 while (current != nullptr) {
314 BufferListNode* tmp = current;
315 current = current->
next();
316 delete tmp;
317 }
318 head_ = nullptr;
319 tail_ = nullptr;
320 data_size_ = 0;
321 free_size_ = 0;
322 }
◆ free_size()
intptr_t dart::bin::BufferListBase::free_size |
( |
| ) |
const |
|
inlineprotected |
Definition at line 332 of file process.h.
332{ return free_size_; }
◆ FreeSpaceAddress()
uint8_t * dart::bin::BufferListBase::FreeSpaceAddress |
( |
| ) |
|
|
inlineprotected |
◆ GetData()
Definition at line 263 of file process.h.
263 {
265 intptr_t buffer_position = 0;
269 }
273 }
274 for (BufferListNode* current = head_; current != nullptr;
275 current = current->next()) {
280 }
284 }
static T Minimum(T x, T y)
static Dart_Handle NewDartOSError()
static Dart_Handle Allocate(intptr_t size, uint8_t **buffer)
struct _Dart_Handle * Dart_Handle
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
DART_EXPORT bool Dart_IsNull(Dart_Handle object)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
◆ head()
◆ set_data_size()
void dart::bin::BufferListBase::set_data_size |
( |
intptr_t |
size | ) |
|
|
inlineprotected |
Definition at line 330 of file process.h.
330{ data_size_ =
size; }
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ set_free_size()
void dart::bin::BufferListBase::set_free_size |
( |
intptr_t |
size | ) |
|
|
inlineprotected |
◆ tail()
◆ kBufferSize
constexpr intptr_t dart::bin::BufferListBase::kBufferSize = 16 * 1024 |
|
staticconstexprprotected |
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/bin/process.h