MCPcopy Create free account
hub / github.com/catboost/catboost / CGIEscape

Function CGIEscape

library/cpp/string_utils/quote/quote.cpp:148–150  ·  view source on GitHub ↗

CGIEscape returns pointer to the end of the result string so as it could be possible to populate single long buffer with several calls to CGIEscape in a row.

Source from the content-addressed store, hash-verified

146// so as it could be possible to populate single long buffer
147// with several calls to CGIEscape in a row.
148char* CGIEscape(char* to, const char* from) {
149 return Escape(to, FixZero(from), TCStringEndIterator());
150}
151
152char* CGIEscape(char* to, const char* from, size_t len) {
153 return Escape(to, from, from + len);

Callers 2

CGIEscapeRetFunction · 0.70
quote.cppFile · 0.70

Calls 7

FixZeroFunction · 0.85
TCStringEndIteratorClass · 0.85
CgiEscapeBufLenFunction · 0.85
EscapeFunction · 0.70
sizeMethod · 0.45
DataMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected