Flutter Engine
dart_vm.cc File Reference
#include "flutter/runtime/dart_vm.h"
#include <sys/stat.h>
#include <mutex>
#include <sstream>
#include <vector>
#include "flutter/common/settings.h"
#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/file.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/mapping.h"
#include "flutter/fml/size.h"
#include "flutter/fml/synchronization/count_down_latch.h"
#include "flutter/fml/time/time_delta.h"
#include "flutter/fml/trace_event.h"
#include "flutter/lib/io/dart_io.h"
#include "flutter/lib/ui/dart_runtime_hooks.h"
#include "flutter/lib/ui/dart_ui.h"
#include "flutter/runtime/dart_isolate.h"
#include "flutter/runtime/dart_service_isolate.h"
#include "flutter/runtime/ptrace_check.h"
#include "third_party/dart/runtime/include/bin/dart_io_api.h"
#include "third_party/skia/include/core/SkExecutor.h"
#include "third_party/tonic/converter/dart_converter.h"
#include "third_party/tonic/dart_class_library.h"
#include "third_party/tonic/dart_class_provider.h"
#include "third_party/tonic/file_loader/file_loader.h"
#include "third_party/tonic/logging/dart_error.h"
#include "third_party/tonic/scopes/dart_api_scope.h"
#include "third_party/tonic/typed_data/typed_list.h"

Go to the source code of this file.

Namespaces

 dart
 
 dart::observatory
 
 flutter
 

Functions

static std::string flutter::DartOldGenHeapSizeArgs (uint64_t heap_size)
 
bool flutter::DartFileModifiedCallback (const char *source_url, int64_t since_ms)
 
void flutter::ThreadExitCallback ()
 
Dart_Handle flutter::GetVMServiceAssetsArchiveCallback ()
 
static bool flutter::ServiceStreamListenCallback (const char *stream_id)
 
static void flutter::ServiceStreamCancelCallback (const char *stream_id)
 
static std::vector< const char * > flutter::ProfilingFlags (bool enable_profiling)
 
void flutter::PushBackAll (std::vector< const char *> *args, const char **argv, size_t argc)
 
static void flutter::EmbedderInformationCallback (Dart_EmbedderInformation *info)
 

Variables

unsigned int dart::observatory::observatory_assets_archive_len
 
const uint8_t * dart::observatory::observatory_assets_archive
 
static const char * flutter::kDartLanguageArgs []
 
static const char * flutter::kDartPrecompilationArgs []
 
static FML_ALLOW_UNUSED_TYPE const char * flutter::kDartWriteProtectCodeArgs []
 
static FML_ALLOW_UNUSED_TYPE const char * flutter::kDartDisableIntegerDivisionArgs []
 
static const char * flutter::kDartAssertArgs []
 
static const char * flutter::kDartStartPausedArgs []
 
static const char * flutter::kDartDisableServiceAuthCodesArgs []
 
static const char * flutter::kDartTraceStartupArgs []
 
static const char * flutter::kDartEndlessTraceBufferArgs []
 
static const char * flutter::kDartSystraceTraceBufferArgs []
 
static const char *kDartFuchsiaTraceArgs [] flutter::FML_ALLOW_UNUSED_TYPE
 
static const char * flutter::kDartTraceStreamsArgs []
 
constexpr char flutter::kFileUriPrefix [] = "file://"
 
constexpr size_t flutter::kFileUriPrefixLength = sizeof(kFileUriPrefix) - 1
 
static const char flutter::kStdoutStreamId [] = "Stdout"
 
static const char flutter::kStderrStreamId [] = "Stderr"
 
static std::atomic_size_t flutter::gVMLaunchCount