#include "handle.h"#include "flutter/fml/logging.h"#include <iostream>#include <vector>#include <zircon/syscalls.h>Go to the source code of this file.
Typedefs | |
| using | HandleVector = std::vector< zircon_dart_handle_t * > |
| using | HandleVectorPtr = HandleVector * |
Functions | |
| static void | HandleFree (void *isolate_callback_data, void *peer) |
| static void | HandlePairFree (void *isolate_callback_data, void *peer) |
| void | zircon_dart_handle_free (zircon_dart_handle_t *handle) |
| int32_t | zircon_dart_handle_close (zircon_dart_handle_t *handle) |
| int32_t | zircon_dart_handle_is_valid (zircon_dart_handle_t *handle) |
| int | zircon_dart_handle_attach_finalizer (Dart_Handle object, void *pointer, intptr_t external_allocation_size) |
| int | zircon_dart_handle_pair_attach_finalizer (Dart_Handle object, void *pointer, intptr_t external_allocation_size) |
| zircon_dart_handle_list_t * | zircon_dart_handle_list_create () |
| void | zircon_dart_handle_list_append (zircon_dart_handle_list_t *list, zircon_dart_handle_t *handle) |
| void | zircon_dart_handle_list_free (zircon_dart_handle_list_t *list) |
| using HandleVector = std::vector<zircon_dart_handle_t*> |
| using HandleVectorPtr = HandleVector* |
|
static |
Definition at line 14 of file handle.cc.
References FML_CHECK, and zircon_dart_handle_free().
Referenced by zircon_dart_handle_attach_finalizer().
|
static |
Definition at line 20 of file handle.cc.
References FML_CHECK.
Referenced by zircon_dart_handle_pair_attach_finalizer().
| int zircon_dart_handle_attach_finalizer | ( | Dart_Handle | object, |
| void * | pointer, | ||
| intptr_t | external_allocation_size | ||
| ) |
Definition at line 54 of file handle.cc.
References FML_LOG, and HandleFree().
| int32_t zircon_dart_handle_close | ( | zircon_dart_handle_t * | handle | ) |
Definition at line 35 of file handle.cc.
References FML_CHECK, and zircon_dart_handle_t::handle.
Referenced by zircon_dart_handle_free().
| void zircon_dart_handle_free | ( | zircon_dart_handle_t * | handle | ) |
Definition at line 27 of file handle.cc.
References FML_CHECK, zircon_dart_handle_t::handle, and zircon_dart_handle_close().
Referenced by HandleFree().
| int32_t zircon_dart_handle_is_valid | ( | zircon_dart_handle_t * | handle | ) |
Definition at line 46 of file handle.cc.
References zircon_dart_handle_t::handle.
| void zircon_dart_handle_list_append | ( | zircon_dart_handle_list_t * | list, |
| zircon_dart_handle_t * | handle | ||
| ) |
Definition at line 95 of file handle.cc.
References data, zircon_dart_handle_list_t::data, FML_CHECK, and zircon_dart_handle_list_t::size.
| zircon_dart_handle_list_t * zircon_dart_handle_list_create | ( | ) |
Definition at line 87 of file handle.cc.
References zircon_dart_handle_list_t::data, and zircon_dart_handle_list_t::size.
| void zircon_dart_handle_list_free | ( | zircon_dart_handle_list_t * | list | ) |
Definition at line 104 of file handle.cc.
References data, and zircon_dart_handle_list_t::data.
| int zircon_dart_handle_pair_attach_finalizer | ( | Dart_Handle | object, |
| void * | pointer, | ||
| intptr_t | external_allocation_size | ||
| ) |
Definition at line 68 of file handle.cc.
References FML_LOG, and HandlePairFree().