5#include "flutter/fml/paths.h"
9#include "flutter/fml/build_config.h"
14std::string
JoinPaths(std::initializer_list<std::string> components) {
17 const size_t size = components.size();
18 for (
const auto& component : components) {
34 result.reserve(str.size());
35 for (std::string::size_type
i = 0;
i < str.size(); ++
i) {
37 if (
i > str.size() - 3 || !isxdigit(str[
i + 1]) ||
38 !isxdigit(str[
i + 2])) {
41 const std::string hex = str.substr(
i + 1, 2);
42 const unsigned char c = strtoul(hex.c_str(),
nullptr, 16);
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
std::string JoinPaths(std::initializer_list< std::string > components)
std::pair< bool, std::string > GetExecutablePath()
std::pair< bool, std::string > GetExecutableDirectoryPath()
std::string SanitizeURIEscapedCharacters(const std::string &str)
std::string GetDirectoryName(const std::string &path)
constexpr std::size_t size(T(&array)[N])