Home
last modified time | relevance | path

Searched refs:encodeSpaceAsPlus (Results 1 – 2 of 2) sorted by relevance

/external/libbrillo/brillo/
Ddata_encoding.cc45 std::string UrlEncode(const char* data, bool encodeSpaceAsPlus) { in UrlEncode() argument
56 } else if (c == ' ' && encodeSpaceAsPlus) { in UrlEncode()
90 bool encodeSpaceAsPlus) { in WebParamsEncode() argument
94 std::string key = UrlEncode(p.first.c_str(), encodeSpaceAsPlus); in WebParamsEncode()
95 std::string value = UrlEncode(p.second.c_str(), encodeSpaceAsPlus); in WebParamsEncode()
Ddata_encoding.h23 BRILLO_EXPORT std::string UrlEncode(const char* data, bool encodeSpaceAsPlus);
36 bool encodeSpaceAsPlus);