MCPcopy Create free account
hub / github.com/apache/trafficserver / WriteAliasName

Function WriteAliasName

lib/yamlcpp/src/emitterutils.cpp:256–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256bool WriteAliasName(ostream_wrapper& out, const std::string& str) {
257 int codePoint;
258 for (std::string::const_iterator i = str.begin();
259 GetNextCodePointAndAdvance(codePoint, i, str.end());) {
260 if (!IsAnchorChar(codePoint)) {
261 return false;
262 }
263
264 WriteCodePoint(out, codePoint);
265 }
266 return true;
267}
268} // namespace
269
270StringFormat::value ComputeStringFormat(const std::string& str,

Callers 2

WriteAliasFunction · 0.85
WriteAnchorFunction · 0.85

Calls 5

IsAnchorCharFunction · 0.85
WriteCodePointFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected