Lines Matching refs:escape
66 void round_trip_e ( const char *p, char escape ) {
70 ss << std::quoted(sv, '"', escape );
72 ss >> std::quoted(s, '"', escape );
78 std::string quote ( const char *p, char delim='"', char escape='\\' ) {
80 ss << std::quoted(p, delim, escape);
86 std::string unquote ( const char *p, char delim='"', char escape='\\' ) {
90 ss >> std::quoted(s, delim, escape);
131 void round_trip_e ( const wchar_t *p, wchar_t escape ) {
135 ss << std::quoted(sv, wchar_t('"'), escape );
137 ss >> std::quoted(s, wchar_t('"'), escape );
142 std::wstring quote ( const wchar_t *p, wchar_t delim='"', wchar_t escape='\\' ) {
146 ss << std::quoted(sv, delim, escape);
152 std::wstring unquote ( const wchar_t *p, wchar_t delim='"', wchar_t escape='\\' ) {
158 ss >> std::quoted(s, delim, escape);