Classes | |
| class | BuildInfo |
| class | BuildInfoTest |
| class | ElfSnapshot |
| class | MappedResource |
| class | RootInspectNode |
| class | VMServiceObject |
Functions | |
| TEST_F (BuildInfoTest, AllPropertiesAreDefined) | |
| TEST_F (BuildInfoTest, AllPropertiesAreDumped) | |
| bool | ReadFileToString (const std::string &path, std::string *result) |
| bool | ReadFileToStringAt (int dirfd, const std::string &path, std::string *result) |
| bool | WriteFile (const std::string &path, const char *data, ssize_t size) |
| void | HandleIfException (std::shared_ptr<::sys::ServiceDirectory > services, const std::string &component_url, Dart_Handle result) |
| void | HandleException (std::shared_ptr<::sys::ServiceDirectory > services, const std::string &component_url, const std::string &error, const std::string &stack_trace) |
| template<size_t SIZE, typename T > | |
| size_t | ArraySize (T(&array)[SIZE]) |
| static bool | OpenVmo (fuchsia::mem::Buffer *resource_vmo, fdio_ns_t *namespc, const std::string &path, bool executable) |
| static int | OpenFdExec (const std::string &path, int dirfd) |
| void | BindTemp (fdio_ns_t *ns) |
| bool | VmoFromFilename (const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer) |
| bool | VmoFromFilenameAt (int dirfd, const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer) |
| zx_status_t | IsSizeValid (const fuchsia::mem::Buffer &buffer, bool *is_valid) |
|
inline |
Definition at line 11 of file inlines.h.
Referenced by dart_runner::DartRunner::DartRunner().
| void dart_utils::BindTemp | ( | fdio_ns_t * | ns | ) |
Definition at line 23 of file tempfs.cc.
| void dart_utils::HandleException | ( | std::shared_ptr<::sys::ServiceDirectory > | services, |
| const std::string & | component_url, | ||
| const std::string & | error, | ||
| const std::string & | stack_trace | ||
| ) |
Definition at line 105 of file handle_exception.cc.
References error, and FML_LOG.
Referenced by HandleIfException().
| void dart_utils::HandleIfException | ( | std::shared_ptr<::sys::ServiceDirectory > | services, |
| const std::string & | component_url, | ||
| Dart_Handle | result | ||
| ) |
Definition at line 90 of file handle_exception.cc.
References error, HandleException(), and tonic::StdStringFromDart().
| zx_status_t dart_utils::IsSizeValid | ( | const fuchsia::mem::Buffer & | buffer, |
| bool * | is_valid | ||
| ) |
|
static |
Definition at line 104 of file mapped_resource.cc.
References FML_LOG.
Referenced by dart_utils::ElfSnapshot::Load().
|
static |
Definition at line 28 of file mapped_resource.cc.
References FML_CHECK, FML_LOG, VmoFromFilename(), and VmoFromFilenameAt().
Referenced by dart_utils::MappedResource::LoadFromNamespace().
| bool dart_utils::ReadFileToString | ( | const std::string & | path, |
| std::string * | result | ||
| ) |
Definition at line 56 of file files.cc.
References ReadFileToStringAt().
Referenced by RegisterProfilerSymbols(), and flutter_runner::RegisterProfilerSymbols().
| bool dart_utils::ReadFileToStringAt | ( | int | dirfd, |
| const std::string & | path, | ||
| std::string * | result | ||
| ) |
Definition at line 60 of file files.cc.
Referenced by ReadFileToString().
| dart_utils::TEST_F | ( | BuildInfoTest | , |
| AllPropertiesAreDefined | |||
| ) |
Definition at line 37 of file build_info_unittests.cc.
References dart_utils::BuildInfo::DartSdkGitRevision(), dart_utils::BuildInfo::DartSdkSemanticVersion(), dart_utils::BuildInfo::FlutterEngineGitRevision(), and dart_utils::BuildInfo::FuchsiaSdkVersion().
| dart_utils::TEST_F | ( | BuildInfoTest | , |
| AllPropertiesAreDumped | |||
| ) |
Definition at line 46 of file build_info_unittests.cc.
References checkProperty(), dart_utils::RootInspectNode::CreateRootChild(), dart_utils::BuildInfo::DartSdkGitRevision(), dart_utils::BuildInfo::DartSdkSemanticVersion(), dart_utils::BuildInfo::Dump(), dart_utils::BuildInfo::FlutterEngineGitRevision(), dart_utils::BuildInfo::FuchsiaSdkVersion(), dart_utils::RootInspectNode::GetInspector(), and inspect_node_name.
| 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 | ||
| ) |
Definition at line 63 of file vmo.cc.
References FML_LOG.
Referenced by flutter_runner::FileInNamespaceBuffer::FileInNamespaceBuffer(), OpenVmo(), and VmoFromFilename().
| bool dart_utils::WriteFile | ( | const std::string & | path, |
| const char * | data, | ||
| ssize_t | size | ||
| ) |