Flutter Engine
The Flutter Engine
Namespaces | Functions
utilities.cc File Reference
#include "impeller/compiler/utilities.h"
#include <algorithm>
#include <cctype>
#include <filesystem>
#include <iostream>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::compiler
 

Functions

bool impeller::compiler::SetPermissiveAccess (const std::filesystem::path &p)
 Sets the file access mode of the file at path 'p' to 0644. More...
 
std::string impeller::compiler::Utf8FromPath (const std::filesystem::path &path)
 Converts a native format path to a utf8 string. More...
 
std::string impeller::compiler::InferShaderNameFromPath (std::string_view path)
 
std::string impeller::compiler::ToCamelCase (std::string_view string)
 
std::string impeller::compiler::ToLowerCase (std::string_view string)
 
std::string impeller::compiler::ConvertToEntrypointName (std::string_view string)
 Ensure that the entrypoint name is a valid identifier in the target language. More...
 
bool impeller::compiler::StringStartsWith (const std::string &target, const std::string &prefix)