Flutter Engine
The Flutter Engine
Namespaces | Functions
vmo.cc File Reference
#include "vmo.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <fuchsia/io/cpp/fidl.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/fdio/directory.h>
#include <lib/fdio/io.h>
#include <zircon/status.h>
#include <ios>
#include "flutter/fml/logging.h"

Go to the source code of this file.

Namespaces

namespace  dart_utils
 

Functions

bool dart_utils::VmoFromFilename (const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer)
 
bool dart_utils::VmoFromFilenameAt (int dirfd, const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer)
 
zx_status_t dart_utils::IsSizeValid (const fuchsia::mem::Buffer &buffer, bool *is_valid)