Flutter Engine
The Flutter Engine
Namespaces | Functions
string_utils.cc File Reference
#include "string_utils.h"
#include <array>
#include <cctype>
#include <codecvt>
#include <locale>
#include <regex>
#include <sstream>
#include "flutter/fml/string_conversion.h"
#include "third_party/dart/third_party/double-conversion/src/double-conversion.h"
#include "no_destructor.h"

Go to the source code of this file.

Namespaces

namespace  base
 

Functions

std::u16string base::ASCIIToUTF16 (std::string src)
 
std::u16string base::UTF8ToUTF16 (std::string src)
 
std::string base::UTF16ToUTF8 (std::u16string src)
 
std::u16string base::NumberToString16 (float number)
 
std::u16string base::NumberToString16 (int32_t number)
 
std::u16string base::NumberToString16 (unsigned int number)
 
std::u16string base::NumberToString16 (double number)
 
std::string base::NumberToString (int32_t number)
 
std::string base::NumberToString (unsigned int number)
 
std::string base::NumberToString (float number)
 
std::string base::NumberToString (double number)
 
std::string base::JoinString (std::vector< std::string > tokens, std::string delimiter)
 
std::u16string base::JoinString (std::vector< std::u16string > tokens, std::u16string delimiter)
 
void base::ReplaceChars (std::string in, std::string from, std::string to, std::string *out)
 
void base::ReplaceChars (std::u16string in, std::u16string from, std::u16string to, std::u16string *out)
 
const std::string & base::EmptyString ()
 
std::string base::ToUpperASCII (std::string str)
 
std::string base::ToLowerASCII (std::string str)
 
bool base::LowerCaseEqualsASCII (std::string a, std::string b)
 
bool base::ContainsOnlyChars (std::u16string str, char16_t ch)